Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   can i get some help understanding PID (http://www.chiefdelphi.com/forums/showthread.php?t=100995)

inkspell4 23-01-2012 20:09

can i get some help understanding PID
 
So my team is thinking about transferring to CAN for our Jaguars and I don't understand the PID loops can I get some help please

DonRotolo 23-01-2012 21:33

Re: can i get some help understanding PID
 
You can search ChiefDelphi.

Like this thread, or this thread, and there's even a paper called "PID without a PhD" you might look for ...

inkspell4 24-01-2012 12:25

Re: can i get some help understanding PID
 
What Values have you found to work the best

Andrew Schreiber 24-01-2012 12:38

Re: can i get some help understanding PID
 
Quote:

Originally Posted by inkspell4 (Post 1112634)
What Values have you found to work the best

4


That is dependent on the system you are controlling. Play with some values and see what works best for you.

inkspell4 24-01-2012 12:55

Re: can i get some help understanding PID
 
For Which P,I, or D.
We are using jaguars to control cim motors and also how might you hook up a encoder directly into the jaguar for use with the pid loop

juchong 26-01-2012 17:52

Re: can i get some help understanding PID
 
I think you're assuming that the PID values control only the motor output. In reality, these values are used to control an entire system. One person's kitbot transmission may be different from someone else's which would mean that their values will be different. You have to sit down and tune your robot to how you think it responds better.

The P, I and D will all cause the robot to behave differently. I can recommend as a general rule of thumb to try a value < 1 for I and something around 20~30 for P (I'm not exactly sure on this value). Leave the D at 0 until you tune these.

You should definitely read the document mentioned above in order to understand what each value does to the system. Only then will you be able to see what it does and how it reacts.

Ether 26-01-2012 18:52

Re: can i get some help understanding PID
 
2 Attachment(s)
Quote:

Originally Posted by inkspell4 (Post 1112651)
how might you hook up a encoder directly into the jaguar for use with the pid loop

See attachments.

juchong 27-01-2012 10:46

Re: can i get some help understanding PID
 
Ether is correct, that's exactly how we've been connecting our encoders for years! Also, keep in mind that if you want to use the built in PID features of the JAGs, you're going to have to implement the CAN Bus. You won't be able to use PWM anymore.

mbushroe 28-01-2012 15:08

Re: can i get some help understanding PID
 
HOW do we control the Jaguar digitally from the cRIO? I am still looking for the C++ API that will allow us to use the serial interface to format and send commands to the Jaguar, and read the status data sent back.

Mike

Alan Anderson 28-01-2012 23:07

Re: can i get some help understanding PID
 
Quote:

Originally Posted by mbushroe (Post 1115302)
I am still looking for the C++ API that will allow us to use the serial interface to format and send commands to the Jaguar, and read the status data sent back.

Look into the CANJaguar class.


All times are GMT -5. The time now is 11:45.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi