I am trying to control velocity of DC motor by using Arduino PID system.
As PWM values are analogue, the Arduino system sends integers between 0-255 to adjust current
appropriate for the speed that we are aiming for…?
Thus, I measured the motor’s min/max (pulse/sec) values with PWM min(0)/ max (255) values under no-load test, and mapped the values at a fixed rate.
As a single analogue PWM value produces mapping pulse/sec value with an error range of 100-200, I believe that a test to find PID’s gain values will produce a graph indicative of vibration.
However, what should I do to obtain gain values that removes vibration via PID control system, and produces regular set values…?
I have attached an image of (pulse/sec) values measured through PWM values under no-load test.