| ??? 02/03/03 12:30 Read: times |
#38145 - RE: close loop motor speed control Responding to: ???'s previous message |
You could use a phase lock technique (?), clock your encoder into the processor, compare an encoder count with an internal count, ramped at a rate proportional to speed by a timer interrupt. The desired drive signal (PWM ?) is the difference between the internal count and the encoder count.
Steve |



