cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Can a PID motor control be implemented in CREO mechanism?

Sweetpeahub-old
6-Contributor

Can a PID motor control be implemented in CREO mechanism?

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

9 REPLIES 9

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

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

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?

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

You suggest to decrease Ki, right?
What do you mean for "saturated system"? Sorry but I don't understand well motion control...

I would like to be capable to limit the total torque of the motor up to 600 Nmm like a brushless motor that has 600 as max torque value.

In the attached file, at page 5 point 7 of the list, one says to edit the C parameter of the polynomial formula, that is the quadratic coefficient. But in your Creo file you have edited the B coefficient, that's the linear one. I also think that it is correct what you've done, but I wonder if it would have sense to change C coefficient.

Just my $0.02 I seem to remember there was a procedure to tune all 3 of the gains in my Controls Systems lab classes... 26 years ago.

cat2.JPG

 

It was written at the top of the doc...

Top Tags