optical encoder and PID control

15 years 7 months ago #24110647 by ckute
optical encoder and PID control was created by ckute
hello

I am using a us digital optical encoder e4p. I am trying to run the closed loop control with the roboteq but am unable to get the motors to run while in closed loop rs232 mode. I have seen values coming from the encoder but the motor control section at the bottom of the encoder tab of the roborun software doesnot turn on the motors. How can this be fixed?

Please Log in or Create an account to join the conversation.

15 years 7 months ago #24111597 by cosma
Replied by cosma on topic Re:optical encoder and PID control
The encoder tab on Roborun is faulty.

Please download and install the latest revision from <A href="dev.roboteq.com/dev1/doclink.html" target=_blank>www.roboteq.com/doclink.html

From that tab, when working, you should see the counter count up.

You will also see the measured speed. Speed is reported as a value from -127 to +127. The relationship between that number and the actual speed depends on the encoder count and the time base you select.

Best is to first exercise the motor/encoder in open loop so that you can looks at the numbers and configure the adequate time base. Also, you should verify that speed and count is in the same direction (polarity) as the command.

Only after that you should close the loop.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.063 seconds