Closed loop spindle

More
03 Oct 2016 14:06 #81188 by jeeybee
Replied by jeeybee on topic Closed loop spindle
When running 100rpm, pid commad = 100 and pid feedback is also 100

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

More
03 Oct 2016 14:29 #81190 by jeeybee
Replied by jeeybee on topic Closed loop spindle
Can it be so that the velocity settings for the spindle should be in RPS for the spindle so that the pid command and feedback should also be in rps
But the spindle rev in RPM?

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

More
03 Oct 2016 15:22 #81191 by andypugh
Replied by andypugh on topic Closed loop spindle

Can it be so that the velocity settings for the spindle should be in RPS for the spindle so that the pid command and feedback should also be in rps
But the spindle rev in RPM?


If you mean motion.spindle.revs that should be a revolution counter. It should increase by 1 every spindle revolution.
If that isn't what you mean, then what do you mean?

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

More
04 Oct 2016 06:18 #81204 by jeeybee
Replied by jeeybee on topic Closed loop spindle
I mean that the INI settings for the spindle should be in RPS, and the PID feedback and command?

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

More
04 Oct 2016 11:28 #81211 by andypugh
Replied by andypugh on topic Closed loop spindle

I mean that the INI settings for the spindle should be in RPS, and the PID feedback and command?


Sorry to be vague, but you can do it either way, as long as you are consistent.

The encoder speed output, however, will always be in RPS.

So, you can use RPS around the PID and scale to RPM for a GUI output (if required). Note that motion.spindle-speed-in should be in RPS.

Or, you can scale the encoder velocity to RPM (using the unscaled signal for motion.spindle-speed-in ) and use RPM around the PID.

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

More
05 Oct 2016 06:30 #81243 by jeeybee
Replied by jeeybee on topic Closed loop spindle
Ok that is probably the problem, I will check it, thanks.

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

Time to create page: 0.284 seconds
Powered by Kunena Forum