Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Innovative Controls (http://www.chiefdelphi.com/forums/showthread.php?t=116546)

Lightfoot26 30-04-2013 09:53

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! :)

Negative 9 30-04-2013 10:56

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?

fb39ca4 30-04-2013 11:06

Re: Innovative Controls
 
Quote:

Originally Posted by Negative 9 (Post 1269972)
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.

BrianArneson 30-04-2013 11:30

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.

DjScribbles 30-04-2013 11:42

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.

ayeckley 30-04-2013 20:22

Re: Innovative Controls
 
Quote:

Originally Posted by BrianArneson (Post 1269996)
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.

blujackolantern 30-04-2013 22:58

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.

Abhishek R 30-04-2013 23:11

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

Woolly 30-04-2013 23:14

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

kylelanman 30-04-2013 23:18

Re: Innovative Controls
 
Quote:

Originally Posted by blujackolantern (Post 1270543)
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.

z_beeblebrox 30-04-2013 23:31

Re: Innovative Controls
 
Quote:

Originally Posted by Abhishek R (Post 1270549)
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

Grim Tuesday 30-04-2013 23:43

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.

Meshbeard 01-05-2013 00:42

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.

asteb27 01-05-2013 01:36

Re: Innovative Controls
 
Quote:

Originally Posted by ayeckley (Post 1270438)
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?

BEEKMAN 01-05-2013 03:41

Re: Innovative Controls
 
Quote:

Originally Posted by asteb27 (Post 1270595)
What is YRG?

YRG= Yaw Rate Gyro (the technical name for a gyro)


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

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