Go to Post Maybe we should have some safety training before and during build instead of just having flyers at our pit. Hm... - JaneYoung [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #27   Spotlight this post!  
Unread 20-11-2009, 16:04
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: pic: Cyber Blue Swerve Chassis - Rear View

Quote:
Originally Posted by reversed_rocker View Post
when we built our crab drive, one problem we had was that the motor would over shoot the intended position, then try to swing back, and the process repeats.
This is a classic controls problem. You guys have implemented a "P" controller. Adding a derivative term will help, and make it a "PD" controller. One way to tune the system is to increase Kp until it gets pretty close to oscillating constantly, and then increase Kd until it doesn't overshoot any more. If at any point it starts acting "funny", decrease the constant some. One thing that really helps is to get back the position data at each point in time and then plot it.

I believe that there are some white papers around, but until I finally got the chance to take a controls class and talk with someone who does controls for a living, I had a little trouble with tuning the loops too.

I've used the following successfully many times in the past.
Code:
power = Kp * error + Kd * (error - last_error)
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyber Blue and Team 221 LLC "Wild Swerve" Chris Fultz General Forum 27 08-02-2010 14:47
pic: FRC-34 2009 Frame Concept (Rear View) Ed Sparks Extra Discussion 2 09-03-2009 11:00
pic: Cyber Blue Midieval Coast Chassis Chris Fultz Extra Discussion 7 10-12-2008 13:31
pic: Rear view of our 07 'bot Cody Carey Robot Showcase 7 16-02-2007 12:29
pic: 857 rear view programming CD47-Bot Robot Showcase 1 25-02-2003 22:24


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

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