Sorry, I couldn't express myself.
In attachmet, there is a plot of given value (above) and speed feedback from encoder.
At first, it is making one spin, which is visible on plot below. Engine is hold for a moment. Then, there is an increasing value of speed, and after few second, speed is decreasing (basing on received values).
I'm calculating this speed as current_angle - previous_angle. Nothing else.
There is no way for motor to make full round in 6000microseconds.
Grumpy_Mike:
differences are smaller, when motor is spinning at higher speed.
Is that not what you would expect?
No. If motor is spinning faster, it should rotate much more in given time, so the angle differences should be bigger.
600.pdf (141 KB)