??? 12/15/05 07:43 Read: times |
#105264 - Acceleration rate |
Hello everyone,
I have been working on a motor control board using the LPC935. I am trying to implement an acceleration/deceleration mode. Meaning that I set up an acceleration rate via a potentiometer, and the speed changes depending on this rate. Why I did is that I used an ADC input to get the rate, and I used that rate to increment the "ON duty cycle" of the PWM signal. I am working with a 8-bit resolution for the PWM, so the minimal value for increasing OCRAL is 1. Thus I need to play with delay to play with the time of variation. It sounds easy to code, but I am having troubles to make the process stable. Does anyone have some advices or suggestions about it? thanks a lot |
Topic | Author | Date |
Acceleration rate | 01/01/70 00:00 | |
Possible suggestion. | 01/01/70 00:00 | |
numbers | 01/01/70 00:00 | |
Another Suggestion | 01/01/70 00:00 | |
re hysteresis aka "dead zone" | 01/01/70 00:00 | |
Hysteresis vs Dead Zone | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
Are you sure? | 01/01/70 00:00 | |
you are right | 01/01/70 00:00 | |
I'm confused! | 01/01/70 00:00 | |
it's working now :-)![]() | 01/01/70 00:00 |