Go to Post You're never too cool for a giant conga line around an arena. - Michelle 236 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2012, 12:41
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
PID Control Tutorial Presented by Team 2168

Hello all,

I am the Control System Engineering for Team 2168 the Aluminum Falcons, out of Groton, CT.

During the off-season of 2011 our team took a self challenge to create informative tutorials which allowed us to share the knowledge we have gained during the years of our growth with other teams.

I have been working on a complete video walk through to show a simple way to tune the gains of a PID controller using Matlab and Simulink; using methods & tools which align more with how industry designs controllers and doesn't involve guess and check.

All the videos are not up yet, but the most important one is, the video which shows how to tune the gains. The video, m-files, .mdl files, and complete labview project are also available from our team website at:

http://team2168.org/index.php/resour...ntrol-tutorial


The custom PID controller I use is also provided to be used by any team who so desires, all I ask is that you give credit to us if you do use it and let us know how it has worked for you. Even though the files are provided in labview, I will soon (couple of days) also provide a Java implementation.

The example in the video covers tuning position control gains but it is easy to extend the method for speed control on your own. In the next few days I will be posting an official walk through for tuning speed control gains as well.

Please check it out and post any feedback you may have on the website or the youtube video.

-Kevin
  #2   Spotlight this post!  
Unread 19-01-2012, 06:35
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: PID Control Tutorial Presented by Team 2168

Thanks for this! I thought I was going to have a really tough time implementing PID, but with your comprehensive tutorials, I think it'll be less of a nightmare!

Do you have an ETA on the rest of the videos?
  #3   Spotlight this post!  
Unread 19-01-2012, 10:28
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: PID Control Tutorial Presented by Team 2168

Quote:
Originally Posted by DominickC View Post
Thanks for this! I thought I was going to have a really tough time implementing PID, but with your comprehensive tutorials, I think it'll be less of a nightmare!

Do you have an ETA on the rest of the videos?
No problem, thanks for the positive feedback. I'm trying as hard as I can to get most of the videos up by this weekend. So please check back soon.

You can expect a speed control tutorial, and PID control implemented in Java.

I also started tooling around with the PID control on the Jag last night, so I'll try to throw something together on that as well, if I have the time.


-Kevin
  #4   Spotlight this post!  
Unread 19-01-2012, 10:32
speedbuggy76 speedbuggy76 is offline
Manellis
AKA: Matt Ellis
FRC #0118 (The Robonauts)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Marietta, GA
Posts: 55
speedbuggy76 is a jewel in the roughspeedbuggy76 is a jewel in the roughspeedbuggy76 is a jewel in the rough
Re: PID Control Tutorial Presented by Team 2168

Thanks man, these look like they'll be really helpful! I just got through a controls course and would love to try to implement some of it.
__________________
Mentor for Team 118 - The Robonauts
Former mentor of 2415 - The WiredCats
Former member of 1002 - The CircuitRunners
  #5   Spotlight this post!  
Unread 19-01-2012, 13:17
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,303
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: PID Control Tutorial Presented by Team 2168

Very cool!
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #6   Spotlight this post!  
Unread 19-01-2012, 14:45
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: PID Control Tutorial Presented by Team 2168

Now, you said we need MathLab and Simulink? What version of Simulink do we need?
  #7   Spotlight this post!  
Unread 19-01-2012, 18:05
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: PID Control Tutorial Presented by Team 2168

Quote:
Originally Posted by DominickC View Post
Now, you said we need MathLab and Simulink? What version of Simulink do we need?


simulink 2009 or greater, with the control system tool box.... open matlab and type ver to see what you have installed.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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