Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   PID Controller (http://www.chiefdelphi.com/forums/showthread.php?t=100470)

MikeS23 17-01-2012 12:46

PID Controller
 
Okay so ive been messing with one of our test robots and i noticed that some of the motors are going faster than other motors i was wondering how to implement a PID controller using Encoders to make all of the motors run at the same frequency can someone show me an example of some code in labVEIW of how to do that?

zaphodp.jensen 17-01-2012 13:58

Re: PID Controller
 
Do you have the capability to do CAN? If you do, you can simply use the jaguar's built-in PID controls. You initialize all of the motors and apply their PID values in Begin.vi, and the encoders plug into the Jags. This also reduces the number of PWM cables running around your robot!

Ether 17-01-2012 14:33

Re: PID Controller
 

Quote:

Originally Posted by zaphodp.jensen (Post 1107770)
Do you have the capability to do CAN? If you do, you can simply use the jaguar's built-in PID controls.

Have you ever successfully tuned the Jag's speed controller for a drivetrain?

If so, please share your experience here:

http://www.chiefdelphi.com/forums/sh...d.php?t=100135


MikeS23 17-01-2012 17:14

Re: PID Controller
 
for the robot im doing this on it has all victors but thanks i can use that for this years robot


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

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