Can't run SCD2130 in Closed Loop Speed mode

9 years 2 months ago #29526474 by Roboteq
Please download the latest firmware revision at www.roboteq.com

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

9 years 2 months ago #29526472 by Roboteq
We will try to replicate here. What is the firmware revision?

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

9 years 2 months ago #29526471 by Anonymous
Replied by Anonymous on topic RE: Can't run SCD2130 in Closed Loop Speed mode
It works well when the motor is in 'Open Loop Speed'. If I only change the mode of motor to 'Closed Loop Speed' and leave the other settings the same, it doesn't move. But if I move the motor shaft by hand, the software will show me the encoder count number and speed.

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

9 years 2 months ago #29526470 by Roboteq
If your encoder is 500 CPR, then enter 125 in the encoder PPR.
This will allow you to measure the speed of the motor (and not the speed at the gearbox output).
Verify then that you get a speed reading that looks right.
When controlling the speed in closed loop, keep in mind that the -1000 to +1000 command will be -1000RPM to +1000RPM.
If your motor is capable of running faster, say for example 3000RPM. then change the MaxRPM parameter in the motor configuration menu>Speed&Acceleration>Max Speed(RPM) to 3000.
Also, disable the Pulse Inputs if you are not going to use them. The encoder inputs are shared with pulse inputs and the controller will waste time capturing the encoder signal.

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

9 years 2 months ago #29526469 by Anonymous
Replied by Anonymous on topic RE: Can't run SCD2130 in Closed Loop Speed mode
Actually, what I use is a motor with a gear box on the top and an encoder at the bottom. The CPR of the encoder is 500 and the gear ratio is 19.7. So I think the input PPR should be 500/4*19.7=2462.5. I just input it as 2462. But when I test it in Open Loop Speed mode, the speed the controller showed me was about 4 times faster than the real speed.
The most serious problem is that the motor didn't move even a little bit in Closed Loop Speed mode.
The version of the software I have is 050511

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

9 years 2 months ago #29526468 by Roboteq
5000 pulse per revolution would be a super high resolution encoder that would give 20000 counts per turn. Are you sure your encoder has even more PPR than that?
Do you see a speed value when you turn the encoder?
Save and send you configuration profile to This email address is being protected from spambots. You need JavaScript enabled to view it. for us to review.

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

9 years 2 months ago #29526467 by Anonymous
Replied by Anonymous on topic RE: Can't run SCD2130 in Closed Loop Speed mode
Actually, my firmware is the latest version. It's still not working....
Also, why can't I change the PPR value of encoder to more than 5000? The up limit is 20000.
And the value of 'Feedback 1' shown in the chart under Run tab is always 0. But the value of 'Counter 1' seems correct.

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

9 years 2 months ago #29526466 by Roboteq
If your firmware revision date is older than march 2011, download and install the file from the forum.

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

9 years 2 months ago #29526465 by Anonymous
Replied by Anonymous on topic RE: Can't run SCD2130 in Closed Loop Speed mode
I have already done what you suggested. But it still doesn't work. And I think I had the same problem as the one in the Forum: dev.roboteq.com/dev1/online-forum/10/sdc...not-working#29525589

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

9 years 2 months ago #29526464 by Roboteq
Enable the encoder in the configuration tab. Set as feedback for the motor channel you want.
Stay in open loop.
From the Run tab, make the motor spin with the slider. Monitor the speed in the chart. Verify that speed is measured and reported about right.
Verify also the speed polarity: positive value when slider moved in positive direction
Then you can close the loop in speed mode.

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

Moderators: tonysantoni
Time to create page: 0.173 seconds