| ??? 02/05/03 14:19 Read: times |
#38302 - RE: PLL motor speed control Responding to: ???'s previous message |
hi all
Thanks for your all ideas. First i want to control rpm at wide range not only at high rpm. second,i have succeed with this but only one motor. I have used timer0 interrupt for every 100us at @12Mhz and this has worked well (motor run smoothly, and the error is +-120rpm,I have printed rpm of motor on screen of LCD ). At 200us motor hasn't run smoothly. Now ,i wish to control 2 motors at the same time and 100 machine cycles in timer interrupt is not enough to do it ( 2 motors are more code in interrupt and ofcourse more time). I think 200 cycles is enough. In my opinion use timer0 and timer1 for every motor at 100 cycles is not good. So i wonder if i use @24Mhz i can fix my problem.Can i do that ? Best regards, |



