Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Stacked PID control

Jochen,

I think Rodger is suggesting using the step & direction pulses and not +/-10v. This is why I guess I should set the axis to stepper in MAX. But I'm not sure hence my question. My main concern with this is synchronization, I have 4 stages that must stay perfectly in sync during contoured moves. Will position mode be as good as torque control for this application I wonder – when I manage to get both modes working I'll do some testing.

Martin
Certified LabVIEW Architect
0 Kudos
Message 11 of 14
(1,167 Views)
Martin/Jochen,

The position mode I am speaking of does not use a serial bus or analog inputs. It used the step and direction or CW and CCW digital signals from the motion controller. This has become very common in Asia.

Our P-Command mode acts like an open loop stepper in the sense it doesn't try to close the position loop or do a pull-in move. But still has the ability to monitor the encoder feedback and trip on following error. Other signals used are the In Position signal. This goes from the drive to the motion controller and signals when the drive has caught up with the stream of step signals being sent to it. This can be used to improve the move complete status on our motion controller.

This is all new functionality which can be found in NI-Motion 6.1.5.

So it is a stepper board controlling a servo drive. It may sound odd, but it works.

One thing to watch for in this mode is properly sizing the motor for the application. If not, you will get a large lag (I have seen this in the > 5K counts range) between what the motion controller is commanding and what the servo drive/motor is actually doing. It does catch up at the end of a move, but if you aren't using the In Position line, you will most likely not hit your target position.

And remember in this mode, you do your servo tuning on the drive.

Rodger S.
Message 12 of 14
(1,164 Views)
Rodger,

thanks for the clarification. I have never come across such a drive, yet and they are really not common in Germany/Europe. That's why I was quite confused.

Regards,

Jochen
0 Kudos
Message 13 of 14
(1,160 Views)
Rodger,

As soon as I changed my drives from velocity control (default) to torque control every thing works fine. To be honest I'm not sure that I will bother trying position mode now (time scales being what they are & potential lag issues etc). Even the MAX auto-tune works as it should now.

This is another day when I remember why I stick with NI.

Thanks again Rodger,

Martin
Certified LabVIEW Architect
0 Kudos
Message 14 of 14
(1,151 Views)