Skip to main content
12-Amethyst
September 7, 2018
Solved

Can a PID motor control be implemented in CREO mechanism?

  • September 7, 2018
  • 2 replies
  • 6399 views

Is it possible to implement a PID (Proportional - Integral - Derivative) speed or position control on a motor in CREO mechanism?  Here is an example of a basic (non PID) speed control I have used with a torque motor.  What if there is a specific algorithm used by the control circuit such as PID?  Are there some example of how this might be implemented?  Is Custom Loads a possible or preferred way to do this?

 

Torque Motor Speed Control MethodTorque Motor Speed Control Method

 

 

Best answer by ChrisKaswer

Yes, you can! There was an old example model that PTC posted many years ago when the tool was "Mechanica Applied Motion". I have used this same model to have it run properly in Creo 5...at least it appears to run properly, as I haven't checked the details of all results to know it's accurate. I have attached a PDF of the original paper posted many years ago and my comments on how this should be modified to get the desired result in Creo (even those are old now!). The model is also attached (Creo 2 version).

 

Enjoy,

 

Chris

2 replies

17-Peridot
September 7, 2018

Sorry, this is me. I used the wrong login.

16-Pearl
September 18, 2018

Yes, you can! There was an old example model that PTC posted many years ago when the tool was "Mechanica Applied Motion". I have used this same model to have it run properly in Creo 5...at least it appears to run properly, as I haven't checked the details of all results to know it's accurate. I have attached a PDF of the original paper posted many years ago and my comments on how this should be modified to get the desired result in Creo (even those are old now!). The model is also attached (Creo 2 version).

 

Enjoy,

 

Chris

17-Peridot
September 21, 2018

Hi,
I wonder how one can limit the torque of the motor (in plus and minus).
I worked on your model and I saw that If I add only 1 torque motor, instead of 3, who is commanded by a user defined measure (that is the sum of the measur of the 3 troque motors) I have the same behavior as before.
2.JPG
But if I try to limit this new motor (-600<=total torque<=+600) the system doesn't respond well.
Cattura.JPG
What am I doing wrong?

12-Amethyst
September 21, 2018

Did you try adjusting the gains?  Particularly the integral gain should be reduced for a saturated system.