| ??? 02/03/03 13:18 Read: times |
#38154 - RE: close loop motor speed control Responding to: ???'s previous message |
hi Steve
I had used this method (compare an encoder count with an internal count) but it is not smooth I use Timer0 interrupt (every 200us) and my motor speed (PWM duty cycle) varry from 0 to 100 . Because this duty cycle seems not proportional to rpm (or internal count)so ramped at a rate proportional to speed is not good I have test this with speed from 0 to 10(duty cycle from 0 to 10%) it seems have linear relation with rpm (proportional) but with speed from 11 to 100,it has not this linear relation. regards |



