Hi .
Is there any one who can help me ?
I have a DC motor and I want to change it to servo. I just want to set PWM , using ATMGEA 8 , to access the set point and while this process , the speed may be decrease and finally the set point will be find. but I have a problem .
When I increase the PWM , the set point may be dis-match , on the other hand , one time the motor will be switch off before finding the set point and another time the motor stay on after the set point , therefore it can't find the goal correctly , Is there any one who has a source code to solve this error by PID controllers?
Please accept my apology if I can not tell you better the details.
I appreciate your kindly comments. Thanks for taking the time
Is there any one who can help me ?
I have a DC motor and I want to change it to servo. I just want to set PWM , using ATMGEA 8 , to access the set point and while this process , the speed may be decrease and finally the set point will be find. but I have a problem .
When I increase the PWM , the set point may be dis-match , on the other hand , one time the motor will be switch off before finding the set point and another time the motor stay on after the set point , therefore it can't find the goal correctly , Is there any one who has a source code to solve this error by PID controllers?
Please accept my apology if I can not tell you better the details.
I appreciate your kindly comments. Thanks for taking the time