Hey everyone. I am new to creating robotic controls using sensors - the digital encoder. I was wondering if anyone knew how to obtain the number of counts that a digital encoder gives through one rotation of a motor shaft so that I can find the “distance per count” constant for our program. Also our encoder is a 4x if that has any play on anything.
Also I wish to use the encoder as a sensor for a PID loop to control the rotational angle of a shaft. Recently I had learned of motor control profiling and I was wondering if any one could explain how this works as well as how to program it. Much thanks!
Thanks! I tried to test to see if we could just get feedback from the encoder and I noticed something odd: the rate of the Encoder Get was 0 even though I was reading a change in the distance output. What might be causing this?
You can look the model up to find out its specs from US Digital. I recall the model used being http://www.usdigital.com/products/encoders/incremental/rotary/kit/e4p It says on the website max RPM is 60,000 mechanically constrained. Count per revolution of the model appears to also factor in determining the actual RPM with examples of 360CPR =10,000 and 100CPR = 36,000