Go to Post Load the whole bot up with all 22 motors, put them all into the drive train. Oh yes. - Grim Tuesday [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

 
Reply
Thread Tools Rate Thread Display Modes
  #31   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: 803
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
  #32   Spotlight this post!  
Unread 21-11-2009, 01:07
reversed_rocker's Avatar
reversed_rocker reversed_rocker is offline
Alumni
AKA: Ken Condon
FRC #0706 (Cyberhawks)
Team Role: College Student
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Hartland
Posts: 69
reversed_rocker is on a distinguished road
Re: pic: Cyber Blue Swerve Chassis - Rear View

well its not so much an overshooting that we had problems with, it was that the motors would start vibrating because they were trying to switch directions so fast. it seemed harmless at first until the motors started getting hot. if you multiply the delta angle by a constant (where constant < 1) like i was describing it should give you a little bit better response
Reply With Quote
  #33   Spotlight this post!  
Unread 21-11-2009, 10:08
Steve Warner Steve Warner is online now
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 43
Steve Warner is an unknown quantity at this point
Re: pic: Cyber Blue Swerve Chassis - Rear View

Actually, to correct Collin a little. we are currently using the P term of the PID control with very little or no overshoot. However, we do have a maximum and minimum speed and a small deadband around the target angle. This seems to work pretty well on the bench but we haven't tried it on the floor yet. I know it will be different on the floor but I'm wondering if we will see a difference when the robot is standing still and when it is moving.
Reply With Quote
  #34   Spotlight this post!  
Unread 07-12-2009, 21:56
Matt Goelz's Avatar
Matt Goelz Matt Goelz is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Indianapolis, IN
Posts: 22
Matt Goelz has a spectacular aura aboutMatt Goelz has a spectacular aura aboutMatt Goelz has a spectacular aura about
Re: pic: Cyber Blue Swerve Chassis - Rear View

we got an official weight tonight. The robot with no battery and no bumpers, weighs 77 pounds.

I am not sure if this was already posted here, but we also have a video up on youtube of our first practice session with the robot.

that can be seen here

Matt G.
__________________
Alumni of FRC Team 234 - Cyber Blue (2009-2012)
Reply With Quote
Reply


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:06.

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