Go to Post i have a feeling that the field with be the same as it was last year just to save some money. but what is inside the the field will be diferent. - Michael Leicht [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 23-02-2010, 23:17
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Sensors needed for swerve?

What sensors are needed to make a perfect swerve drive?
__________________


  #2   Spotlight this post!  
Unread 23-02-2010, 23:29
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: Sensors needed for swerve?

I'm not sure about a "perfect" swerve, but I would think 1 gyro and a servo on each swerve module would make a swerve drive more intuitive. Having directional control was a nice little feature on our last robot. Our team also put on hall-effect sensors so that when we turn the robot on, the wheels would automatically realign themselves.
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/

Last edited by AmoryG : 23-02-2010 at 23:33.
  #3   Spotlight this post!  
Unread 24-02-2010, 00:18
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: Sensors needed for swerve?

Last year, we cut gear teeth into the top plate of our swerve modules and put a smaller gear on a 10-turn pot attached to the robot. I wouldn't suggest it, because it means you can't turn the module continuously around, but we also had the motors mounted on the modules.

I would actually try those absolute encoders that came in the kit. Glue the magnet onto the end of a shaft that turns with the module, then place the chip above it. If you're using CAN and the Jaguars, you can do position control directly (but you have to make a voltage divider circuit for the Jaguar, because the board runs off of 5v, but the Jaguar ADC is 3v), or you can do your own PID in the code. One idea I've played around with is using a Soft Pot and the corresponding wiper as an absolute encoder that can sit right above the module.

Never heard of the gyro idea, sounds intriguing. How well does it work for you?
  #4   Spotlight this post!  
Unread 24-02-2010, 01:16
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Sensors needed for swerve?

This year, team 20 has a half-swerve drive (each pair on the sides is linked). We have a gyro and a 10 turn pot on each side, and it drives exceptionally well. The gyro maintains the robot's heading, and the pots allow the wheels to spin about 5 turns total (took some effort to get the wheels to spin that far around). Plus, they auto-center at the start of the match, or whenever they're idle.
  #5   Spotlight this post!  
Unread 24-02-2010, 01:31
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Sensors needed for swerve?

I used 1 encoder.
Wheels center each other when ever the joystick is idle. And the joystick and motors are "linked".
If I am at 45 degrees in my pad, the motors align themselves at 45 degrees and stop spinning until I change the direction.
I didn't know there where absolute, I though they didn't know the center. I will look for those...) Thanks!

PS: I have 1 encoder per wheel right now. But I will ask the mechanical team to link them just like team 20
__________________



Last edited by elbuo : 24-02-2010 at 01:34.
  #6   Spotlight this post!  
Unread 24-02-2010, 07:35
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,393
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: Sensors needed for swerve?

Look at this page that describes the Team 1640 Swerve Drive. We use a Cherry Magnetic Sensor at the top of the pivot to tell the direction. It works well, the system knows which way the wheel is facing at all times.

But, our programming team came up with a "least turn" algorithm. Since there are drive motors are for each wheel and they don't really have the concept of "forwards/backwards", the programmers know which way to spin the wheels that gets them aligned in the fastest way. So unlike the "side linked crab" swerve drives that you see, we can go from going one direction to another by only moving the wheels < 90 degrees.

It also allows us to create and drive in snake mode to make it easier to follow the ball.
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
  #7   Spotlight this post!  
Unread 24-02-2010, 08:34
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Sensors needed for swerve?

To expand on what Foster said, this year team 1640 went with 4 wheel independent steering. Each wheel can independently rotate 360 degrees. We used the window motors for the steering. A 3/4" 15 tooth sprocket was mounted to the window motor and a 1/8 x 1/2" neodymium magnet is centered and atached on top of the sprocket. This assembly drives the wheel module 1: 1. A AN8 360 Cherry Electric absolute position sensor is mounted 2.5MM away from the magnet. The Cherry sensor was chosen over many other similiar sensor for many reasons.
1) its non-contact.
2) It is a robust sensor being IP67 and automotive qualified. Reverse battery protected. High static discharge rated. Sealed and designed for the nasty automotive environment.
3) Cost we paid about 35$
4) The sensor is tolerant of the magnet position misalignment and distance much more than other like sensors.
5)The Cherry sensor puts out a voltage from .5 to 4.5 over the 360 degree rotation. This avoids the non-linearity at the rails (0 and 5 volts) that other 0 - 5 volt magnetic sensors show.
We looked at some other like sensors that were SPI but did not want to have the programmers work out the communications. Their plate was full enough. Analog is much more simple. The voltage output was very stable and filtering was not needed. We are very satisfied with the Cherry product. Again, if your into swerve, I would check out the link above that Foster posted. There is allot of information- pictures and white papers on what we did and how we approached swerve. Swerve- crab-pivot drive is a major under taking.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
I2C for NXT sensors kamocat Programming 11 25-02-2010 23:02
Searching for sensors mutantblond General Forum 12 10-12-2008 16:30
Vex Sensors for FRC R.C. Technical Discussion 2 27-10-2008 11:59
Limit Sensors for Lift Richard McClellan Electrical 8 06-02-2008 00:55
Common ground for sensors? Jared Russell Electrical 1 03-02-2006 07:25


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

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