Go to Post Things go wrong; it happens to the best of us. You learn from it and move on. - Waynep [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 30-04-2013, 09:53
Lightfoot26's Avatar
Lightfoot26 Lightfoot26 is offline
Just Out For A Rip, Bud...
AKA: Seth Lightfoot
FRC #1625 (Winnovation)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Winnebago, IL
Posts: 120
Lightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really nice
Innovative Controls

I have been the Electrical and Programming Captain on team 1625 for 3 years now, and through those years we have had some pretty cool control methods (Like our Load Cell and infrared camera tracking in 2012 that won Innovation in Controls at Midwest) I am looking to make a jump in control methods over the summer and I need some ideas! I have been researching different sensors and discussing their applicability, I have also been looking into co-processors, vision programming ect. I have come to CD to see what cool control methods you have been using, be it an awesome custom dashboard, a beautiful vision system, "hacking" together a sensor, custom circuits, making individually addressable RGB LED's work in Labview, auton magic, ect. Share your awesome control methods, and hopefully we can learn and draw inspiration from each other!
__________________
Winnovation Team 1625 (2010-??)
  • Electrical/Programming Captain (2011-2013)
  • Auxiliary Driver (2012-2013)
  • Team Captain (2013)
  • Alumni (Graduated May 2013)
  • Electrical and Programming Mentor (2014-??)

Last edited by Lightfoot26 : 30-04-2013 at 09:57.
  #2   Spotlight this post!  
Unread 30-04-2013, 10:56
Negative 9 Negative 9 is offline
Registered User
FRC #0611
 
Join Date: Dec 2012
Location: Mclean, VA
Posts: 46
Negative 9 is an unknown quantity at this point
Re: Innovative Controls

Would it be practical to use a compass to sense your robot's orientation more accurately than say a drifting KOP gyro? Or would all the electronics and electromagnetic motors surrounding it mess that up?
  #3   Spotlight this post!  
Unread 30-04-2013, 11:06
fb39ca4 fb39ca4 is offline
Registered User
FRC #1899
 
Join Date: Jan 2012
Location: Bellevue, WA
Posts: 195
fb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to allfb39ca4 is a name known to all
Re: Innovative Controls

Quote:
Originally Posted by Negative 9 View Post
Would it be practical to use a compass to sense your robot's orientation more accurately than say a drifting KOP gyro? Or would all the electronics and electromagnetic motors surrounding it mess that up?
A combination of a gyroscope and magnetometer would be better, as magnetometers usually can't be sampled very fast.
  #4   Spotlight this post!  
Unread 30-04-2013, 11:30
BrianArneson BrianArneson is offline
Registered User
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2009
Location: Colorado
Posts: 15
BrianArneson is an unknown quantity at this point
Re: Innovative Controls

Team 443 used a netbook with RoboRealm running on it to process vision data from last years game and adjust speed of our shooter. One of my favorite uses of a gyro and mecanum wheels was field relative, being able to drive straight while rotating 360 was awesome. We also used a vertical gyro to auto balance us on the bridge last year. One thing that I always thought would be cool is being able to "record" autonomous by driving in teleop and it recording the values of wheels etc... and being able to "play" that in autonomous. There was also this this small serial LCD screen we could program things to display on, like battery voltage, team number, but ever got the chance to put it on the robot.
__________________
7 year FRC participant
Mentor on FIRST Team 662 - 2 years
Former student FIRST Team 4550 - 1 year
Former student FIRST Team 443 - 4 years
  #5   Spotlight this post!  
Unread 30-04-2013, 11:42
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Innovative Controls

This year was still pretty basic for controls on our team.

We used a Hall-Effect Sensor (https://www.sparkfun.com/products/9312 using the typical 3 wire circuit described in the datasheet) coupled with two magnets on our shooter wheel to compute RPM. The RPM was fed into a bang-bang control (which switched to power control mode during shots) to control our single-wheel curved-shooter RPM.

We used a gyroscope (kit) at the front-center of our robot to make sure our multi-disk autonomous routine drove straight. We simply used the output of the gyro to feed the myRobot.Drive(speed,angle); function, with the angle input capped at 10degrees. We also hoped to use this to drive a center-line autonomous, but I didn't see the need for it on Galileo, where most floor loaders that were better than us already had it.

I hoped to use encoders on our drive wheels to use position control during autonomous, but we were unable to get them working before bag date, and found tweaking time was good enough.

I had thought to use an accelerometer to help compensate our loader mechanism (which picks disks up from the floor, lifts up, and tosses them into a large tray where they funnel into our shooter bucket) so that we would load more gently while driving back, and more powerfully while driving forward, and not load at all while spinning. The code is in place, but I never had time to test it, since it solved a fairly minor/controllable problem.

We also had a 9-shot autonomous routine that was very close to working, however I couldn't get the team motivated enough to test it (tried it 5 times in practice, one or two more would have probably had it working, but the problems were with the timing on the first two disks, which messed up the rest of the routine, so it looked bad to them). We definitely had a robot capable of doing the 9 shot, I wish we could have completed it.
  #6   Spotlight this post!  
Unread 30-04-2013, 20:22
ayeckley's Avatar
ayeckley ayeckley is offline
Registered User
AKA: Alex Yeckley
FRC #2252 (Mavericks)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Sandusky, OH
Posts: 268
ayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond repute
Re: Innovative Controls

Quote:
Originally Posted by BrianArneson View Post
One thing that I always thought would be cool is being able to "record" autonomous by driving in teleop and it recording the values of wheels etc... and being able to "play" that in autonomous.
We did that in 2010 and 2011, but not since then. We found that the extra code complexity and attention to timing management required wasn't offset by a performance improvement in competition. Since we used mechanum wheels those years (be quiet Nick Lawrence, we still won Buckeye with it! ) we were able to do a neat trick where the robot would start in a fixed position, spin 360, drive to the top of the Bump, sidle on top of the Bump towards the Tower, then drive back off the Bump. Totally useless in game play, but kinda neat as a demo. Everything was done using cRIO resources, a YRG and encoders on all four wheels (with our own modified version of the WPILib mechanum drive routine that incorporated four independant PID loops). Got us one or possibly two RIIC Awards, so that was cool.
__________________


Last edited by ayeckley : 30-04-2013 at 20:24.
  #7   Spotlight this post!  
Unread 30-04-2013, 22:58
blujackolantern's Avatar
blujackolantern blujackolantern is offline
Registered User
FRC #1810
 
Join Date: Apr 2013
Location: Shawnee, KS
Posts: 5
blujackolantern is an unknown quantity at this point
Re: Innovative Controls

I don't know if this would count as an innovative control, but we did win an award for it in control at KC regionals. Our climb code was completely autonomous, our drivers would just get centered on the pyramid, press a button, and watch it climb.
  #8   Spotlight this post!  
Unread 30-04-2013, 23:11
Abhishek R Abhishek R is offline
Registered User
FRC #0624
Team Role: Alumni
 
Join Date: Mar 2013
Rookie Year: 2012
Location: Texas
Posts: 892
Abhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond repute
Re: Innovative Controls

Not sure if it counts, but 1477's driver told me at one of our regionals that he has been messing around with R/C cars forever, and likewise, has a controller to match. They are definitely one of the most agile bots I've seen, so I guess it works quite well.

It looks a bit like this: http://www.getprice.com.au/images/up...572/dc1500.jpg
__________________
2012 - 2015 : 624 CRyptonite
Team Website
  #9   Spotlight this post!  
Unread 30-04-2013, 23:14
Woolly's Avatar
Woolly Woolly is offline
Programming Mentor
AKA: Dillon Woollums
FRC #1806 (S.W.A.T.)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Springfield, MO
Posts: 512
Woolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond repute
Re: Innovative Controls

Cool stuff we had this year

Fully Automatic Frisbee shooting.
Line Robot up with goal (cross-hair on camera) -> Hold FC Preset button -> Hold Auto-fire Button -> Score Points
Tune shooter RPM as needed.

Automatic pyramid angle lineup
Select corner on Gampad's D-pad -> Hold "Set Header" button -> Abuse mecanum's ability to transverse

Oh yeah, forgot to mention the fact our drive-train controller's control scheme is incredibly reminiscent of Call of Duty.
LJoy = Forward/Backward/Left Strafe/Right Strafe
RJoy = Rotation
__________________


Team 1806 Student: 2012-2013 | Mentor: 2013-Present

Last edited by Woolly : 30-04-2013 at 23:19.
  #10   Spotlight this post!  
Unread 30-04-2013, 23:18
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Innovative Controls

Quote:
Originally Posted by blujackolantern View Post
I don't know if this would count as an innovative control, but we did win an award for it in control at KC regionals. Our climb code was completely autonomous, our drivers would just get centered on the pyramid, press a button, and watch it climb.
We did similar with our climb and won the controls innovation award at Cross Roads. Illuminating the robot different colors to indicate robot statuses also contributed to the win. In regards to the climb we took it one step back from fully autonomous. The entire sequence was an autonomous climb but we had "breakpoints" at key steps that allowed the drivers to verify everything latched successfully before moving onto the next level. A side from falling off twice, once from the 2nd level and once from the 3rd level, the climb sequence was solid.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

  #11   Spotlight this post!  
Unread 30-04-2013, 23:31
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Innovative Controls

Quote:
Originally Posted by Abhishek R View Post
Not sure if it counts, but 1477's driver told me at one of our regionals that he has been messing around with R/C cars forever, and likewise, has a controller to match. They are definitely one of the most agile bots I've seen, so I guess it works quite well.

It looks a bit like this: http://www.getprice.com.au/images/up...572/dc1500.jpg
We've hacked a pistol grip RC car controller and a custom control box to Logitech gamepad guts. That has worked pretty well.

Otherwise, our control system is not too fancy:

Potentiometer PID on the shooter-mount
Bang-bang control with optical speed sensor on shooter
Fairly unsophisticated autonomous driving with gyro and encoders.

Developed but not used on competition robot:

More sophisticated autonomous driving
Full auto frisbee firing
"Cheesy Drive" inspired drivetrain control software
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
  #12   Spotlight this post!  
Unread 30-04-2013, 23:43
Grim Tuesday's Avatar
Grim Tuesday Grim Tuesday is offline
Registered User
AKA: Simon Bohn
FRC #0639 (Code Red)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Baltimore MD (JHU)
Posts: 1,607
Grim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond repute
Re: Innovative Controls

Everyone should see 1111's control board this year; it's a 3D printed model of their robot and controls the real one like a voodoo doll.
  #13   Spotlight this post!  
Unread 01-05-2013, 00:42
Meshbeard's Avatar
Meshbeard Meshbeard is offline
Previously of 422
AKA: Jonas
FRC #0190 (190)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2006
Location: Richmond, VA
Posts: 25
Meshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to allMeshbeard is a name known to all
Re: Innovative Controls

I know that Talon 540 used a PSP as their controller this year. I'm trying to get more information about how they did that because it sounds really cool. They even managed to get the screen on the PSP to be a secondary display.
  #14   Spotlight this post!  
Unread 01-05-2013, 01:36
asteb27 asteb27 is offline
Registered User
FRC #0293
 
Join Date: Feb 2013
Location: New Jersey
Posts: 37
asteb27 is an unknown quantity at this point
Re: Innovative Controls

Quote:
Originally Posted by ayeckley View Post
We did that in 2010 and 2011, but not since then. We found that the extra code complexity and attention to timing management required wasn't offset by a performance improvement in competition. Since we used mechanum wheels those years (be quiet Nick Lawrence, we still won Buckeye with it! ) we were able to do a neat trick where the robot would start in a fixed position, spin 360, drive to the top of the Bump, sidle on top of the Bump towards the Tower, then drive back off the Bump. Totally useless in game play, but kinda neat as a demo. Everything was done using cRIO resources, a YRG and encoders on all four wheels (with our own modified version of the WPILib mechanum drive routine that incorporated four independant PID loops). Got us one or possibly two RIIC Awards, so that was cool.
What is YRG?
  #15   Spotlight this post!  
Unread 01-05-2013, 03:41
BEEKMAN BEEKMAN is offline
Registered User
AKA: Brendan McLeod
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Londonderry, NH
Posts: 138
BEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to behold
Re: Innovative Controls

Quote:
Originally Posted by asteb27 View Post
What is YRG?
YRG= Yaw Rate Gyro (the technical name for a gyro)
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 20:10.

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