Go to Post If this strategy backfires on any alliance that attempts it, they will have no one to blame but themselves. Be smart - know the risks before proceeding. - Travis Hoffman [more]
Home
Go Back   Chief Delphi > Technical > Technical 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
  #1   Spotlight this post!  
Unread 11-29-2016, 08:50 AM
NowlingPro NowlingPro is offline
Registered User
FRC #4926
 
Join Date: Nov 2016
Location: Columbus, Indiana
Posts: 8
NowlingPro is an unknown quantity at this point
Team 4926 Swerve Drive CAD

Here is the link to all of the CAD models and renders: https://grabcad.com/library/frc-team...swerve-drive-1

This is the swerve drive model that I created for my FRC team for future use hopefully. This is our first time working on swerve drive, but our programmers have experience with mecanum.

The model consists of 2 key components; the swerve drive pods and the dual speed gearboxes. The dual speed gearboxes are a bit on the experimental side as they do not use the traditional dog gear to shift. They instead rotate gears to mesh and unmesh on the fly. The gear ratios are 5.33 in high gear and 10.88 in low gear. Two gearboxes are put together to achieve shifting with a cylinder between them. This allows for half the needed cylinders while still having each wheel independently driven. A SRX Mag Encoder is attached to the output shaft. The output shaft then drives the swerve pod via chain and sprocket.

The swerve drive pods use a coaxial drive, with the drive power running inside the pivot shaft. The pivot shaft is a hub that clamps on a 1" x 2" rectangular tubing with thrust bearings to lower the friction. The pivot motor is attached to the 1" x 2" tubing and drives the hub with gears. The drive shaft comes to a bevel gear to rotate the power transmission by 90 degrees. The wheel is driven with a chain and sprocket, allowing for a simple change in gear ratio if needed. An electronics assembly has been added, but is still a work in progress.

Specs:
5.33 high gear and 10.88 low gear ratios
4" High traction wheels
48ish pounds as measured in Inventor (still working on accurate weight calculations)
Using the JVN Motor Calculator, I have 14.13 ft/s in high gear and 6.92 ft/s in low gear

Is there anything missing in my model? Any points of failure? Any suggestions on gear ratios or speeds? Any improvements that you can think of?

Thanks for all the feedback!
-Reed Nowling, GalacTech Robotics Engineering Design Team Leader
Reply With Quote
  #2   Spotlight this post!  
Unread 11-29-2016, 08:55 AM
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,229
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Team 4926 Swerve Drive CAD

Quote:
Originally Posted by NowlingPro View Post
Here is the link to all of the CAD models and renders: https://grabcad.com/library/frc-team...swerve-drive-1

This is the swerve drive model that I created for my FRC team for future use hopefully. This is our first time working on swerve drive, but our programmers have experience with mecanum.

The model consists of 2 key components; the swerve drive pods and the dual speed gearboxes. The dual speed gearboxes are a bit on the experimental side as they do not use the traditional dog gear to shift. They instead rotate gears to mesh and unmesh on the fly. The gear ratios are 5.33 in high gear and 10.88 in low gear. Two gearboxes are put together to achieve shifting with a cylinder between them. This allows for half the needed cylinders while still having each wheel independently driven. A SRX Mag Encoder is attached to the output shaft. The output shaft then drives the swerve pod via chain and sprocket.

The swerve drive pods use a coaxial drive, with the drive power running inside the pivot shaft. The pivot shaft is a hub that clamps on a 1" x 2" rectangular tubing with thrust bearings to lower the friction. The pivot motor is attached to the 1" x 2" tubing and drives the hub with gears. The drive shaft comes to a bevel gear to rotate the power transmission by 90 degrees. The wheel is driven with a chain and sprocket, allowing for a simple change in gear ratio if needed. An electronics assembly has been added, but is still a work in progress.

Specs:
5.33 high gear and 10.88 low gear ratios
4" High traction wheels
48ish pounds as measured in Inventor (still working on accurate weight calculations)
Using the JVN Motor Calculator, I have 14.13 ft/s in high gear and 6.92 ft/s in low gear

Is there anything missing in my model? Any points of failure? Any suggestions on gear ratios or speeds? Any improvements that you can think of?

Thanks for all the feedback!
-Reed Nowling, GalacTech Robotics Engineering Design Team Leader
Yeah... URL no worky.

This seems to be the right link: https://grabcad.com/library/frc-team...swerve-drive-1
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #3   Spotlight this post!  
Unread 11-29-2016, 08:57 AM
NowlingPro NowlingPro is offline
Registered User
FRC #4926
 
Join Date: Nov 2016
Location: Columbus, Indiana
Posts: 8
NowlingPro is an unknown quantity at this point
Re: Team 4926 Swerve Drive CAD

Sorry about that... Here is a new link https://grabcad.com/library/frc-team...swerve-drive-1
Reply With Quote
  #4   Spotlight this post!  
Unread 11-29-2016, 09:15 AM
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,229
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Team 4926 Swerve Drive CAD

Your turn encoder is not 1:1 output with your turning so you're going to end up with some funny math and/or alignment issues over time. Just something to consider.

It looks good though. The shifting mechanism is clever.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #5   Spotlight this post!  
Unread 11-29-2016, 11:41 AM
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 512
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Team 4926 Swerve Drive CAD

I see the thrust bearings, but I don't see any radial bearing/bushing to keep "Pivot Module Bottom" from rubbing against the frame. Is there something I'm missing or are you ok with metal-on-metal contact there?

Also I'm a little skeptical about the on-the-fly gear meshing. It definitely could work, but without a synchronizer like in a car transmission I could imagine a fast-moving gear crashing into a slow-moving gear and shattering. Just something to keep in mind.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #6   Spotlight this post!  
Unread 11-29-2016, 11:58 AM
Peyton Yeung's Avatar
Peyton Yeung Peyton Yeung is offline
45 Alumni
AKA: Peyton Yeung
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Kokomo, IN
Posts: 807
Peyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond repute
Re: Team 4926 Swerve Drive CAD

I believe 1658 made a crash gear shifting swerve unit. Maybe someone from that team can comment on how well it works.

https://www.youtube.com/watch?v=VRcOsjI2gkE
__________________
461 Westside Boiler Invasion
2016 Tippy Quarter finalist, Warren Finalist, IN State Semi Finalist,B^3 Double Finalist
2015 Indy Semi finalist, Purdue Quarter Finalist, IN State Quarter Finalist, CORI QF, R2OC Finalist, RAGE Winner
2014 Boilermaker Semi finalist, Crossroads Quarter Finalist, & CAGE Quarter Finalist
45 Technokats
2013 Boilermaker Quarter finalist
2012 CAGE Semi finalist & Queen City Champion
2011 CAGE Quarter finalist & Midwest Semi finalist
2010 CAGE Quarter finalist, Boilermaker Champion, & Washington DC Quarter Finalist
Reply With Quote
  #7   Spotlight this post!  
Unread 11-29-2016, 12:45 PM
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,210
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Team 4926 Swerve Drive CAD

Interesting take on a swerve drive. Using drive units separate from the main modules used to be a norm, but now people like to place the two closer together to save space. I would recommend that in your case, as your swerve is currently quite large and has a lot of unnecessary shafting.

I really don't like crash shifting. Your gear mesh is highly dependent on how accurately your cylinder/linkage move, not to mention the huge gear tooth stresses from having two different-speed gears mesh. What's wrong with just using a ballshifter/dogshifter, or no shifter at all? Any of those will reduce weight and footprint, not to mention complexity.
That being said, I like the way you've set up the gearbox. All the positive shaft retention everywhere is nice too.

Your caster box/module looks really solid, except for the washer on the horizontal bevel gear. Washers are not accurate in thickness, and in your case it also looks like it might rub the outer race of the bearing.

Why are you cutting away so much of the large turning gear?

I think your encoder stage should be fine, as long as you do the right math to convert it to true angle.

LOVE the wires and chains in CAD. looks very nifty.

And lastly: what made you choose this design over a bevel-beside-wheel swerve? For the amount of machining you're doing, that might end up a lot more compact and lighter for you.
__________________
<Now accepting CAD requests and commissions>


Last edited by asid61 : 11-29-2016 at 12:49 PM.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-29-2016, 01:17 PM
NowlingPro NowlingPro is offline
Registered User
FRC #4926
 
Join Date: Nov 2016
Location: Columbus, Indiana
Posts: 8
NowlingPro is an unknown quantity at this point
Re: Team 4926 Swerve Drive CAD

Quote:
Originally Posted by marshall View Post
Your turn encoder is not 1:1 output with your turning so you're going to end up with some funny math and/or alignment issues over time. Just something to consider.

It looks good though. The shifting mechanism is clever.
With some simple gear ratio math I think we should be able to get the right angle.

Quote:
Originally Posted by Ari423 View Post
I see the thrust bearings, but I don't see any radial bearing/bushing to keep "Pivot Module Bottom" from rubbing against the frame. Is there something I'm missing or are you ok with metal-on-metal contact there?

Also I'm a little skeptical about the on-the-fly gear meshing. It definitely could work, but without a synchronizer like in a car transmission I could imagine a fast-moving gear crashing into a slow-moving gear and shattering. Just something to keep in mind.
I felt that with the small amount of rotation happening within that part (no more than 180 degrees at a time) I felt that just using a bit of lubricant would suffice.

Quote:
Originally Posted by Peyton Yeung View Post
I believe 1658 made a crash gear shifting swerve unit. Maybe someone from that team can comment on how well it works.

https://www.youtube.com/watch?v=VRcOsjI2gkE
I found my inspiration for both this transmission and swerve from this very video.

Quote:
Originally Posted by asid61 View Post
Interesting take on a swerve drive. Using drive units separate from the main modules used to be a norm, but now people like to place the two closer together to save space. I would recommend that in your case, as your swerve is currently quite large and has a lot of unnecessary shafting.

I really don't like crash shifting. Your gear mesh is highly dependent on how accurately your cylinder/linkage move, not to mention the huge gear tooth stresses from having two different-speed gears mesh. What's wrong with just using a ballshifter/dogshifter, or no shifter at all? Any of those will reduce weight and footprint, not to mention complexity.
That being said, I like the way you've set up the gearbox. All the positive shaft retention everywhere is nice too.

Your caster box/module looks really solid, except for the washer on the horizontal bevel gear. Washers are not accurate in thickness, and in your case it also looks like it might rub the outer race of the bearing.

Why are you cutting away so much of the large turning gear?

I think your encoder stage should be fine, as long as you do the right math to convert it to true angle.

LOVE the wires and chains in CAD. looks very nifty.

And lastly: what made you choose this design over a bevel-beside-wheel swerve? For the amount of machining you're doing, that might end up a lot more compact and lighter for you.
I decided to make the two separate as I wanted a simple swerve pod that would be able to be replaced in a short amount of time, and be easy to manufacture. I feel that making them separate will give more flexibility at times of failure. I also wanted a dual speed transmission on the bot, and I came up with few good ways to do such within each pod.
My team used dogshifters this year and I felt like the mesh speed was not optimal. I (as the competition driver) had to back off the throttle to shift between gears, and I would lose a lot of momentum. I am hoping this will provide on-the-fly shifting, possibly even with a choice between manual and auto shifting. As for using a shifter, this was more of a personal preference. I have been the driver for 3 years for my team, and I am one of the more aggressive drivers (I pushed a robot up on its back wheels and all the way across the width of the field a few weeks ago), so torque is a necessity. However, my team typically picks a position that requires high speed and maneuverability on the field. A shifter seems to be the best choice.
Any suggestions to replace the washer?
I think the gear you are referring to (the big gear on top of the 1" x 2" tube) is a versa gear from Vex. So it comes with the versa key slots in the center.
Thanks! I have been working a lot on using chains and wires in assemblies this off season. I still am learning a lot about using these and this was one of my better uses of it.
I am not quite sure of what you are referring too about bevel-beside-wheel swerve. I think I have an idea of it, but could you explain further or link a picture?

Thanks for the help!
Reply With Quote
  #9   Spotlight this post!  
Unread 11-29-2016, 02:10 PM
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,229
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Team 4926 Swerve Drive CAD

Quote:
Originally Posted by asid61
I think your encoder stage should be fine, as long as you do the right math to convert it to true angle.
Quote:
Originally Posted by NowlingPro View Post
With some simple gear ratio math I think we should be able to get the right angle.
Math? Yes. Simple? No.

I will give you that the SRX libraries and CTRE sensors make this easier by overflowing and counting ticks and keeping them across reboots but it's not as simple as multiplying by a gear ratio. You also need to account for the angle over time and deal with different offsets for each module. Not to mention that least-turn-angle is a lot easier to implement without all of this.

Also, keep in mind the processing power of the controller and the fact that you are multiplying calculations by 4 for all of the modules. Swerve is CPU intensive and anyone who says otherwise isn't logging that data or paying any attention to it. Also keep in mind the limitations of the closed loop calculations that you can do on the Talons. PID is a lot easier with 1:1.

There is a reason other swerve designs incorporate 1:1 turning encoders. Teams went crazy in 2015 trying to figure out how to do it for the AM Swerve modules. Triple Strange just posted a design that had some not-so-simple machining to do it. Check out the 221 site and you'll see 1:1 for turning on all of their designs and crab chassis. There is a reason for this. This is a bigger headache than folks seem to think.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #10   Spotlight this post!  
Unread 11-29-2016, 07:45 PM
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,210
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Team 4926 Swerve Drive CAD

Quote:
Originally Posted by marshall View Post
Math? Yes. Simple? No.

I will give you that the SRX libraries and CTRE sensors make this easier by overflowing and counting ticks and keeping them across reboots but it's not as simple as multiplying by a gear ratio. You also need to account for the angle over time and deal with different offsets for each module. Not to mention that least-turn-angle is a lot easier to implement without all of this.

Also, keep in mind the processing power of the controller and the fact that you are multiplying calculations by 4 for all of the modules. Swerve is CPU intensive and anyone who says otherwise isn't logging that data or paying any attention to it. Also keep in mind the limitations of the closed loop calculations that you can do on the Talons. PID is a lot easier with 1:1.

There is a reason other swerve designs incorporate 1:1 turning encoders. Teams went crazy in 2015 trying to figure out how to do it for the AM Swerve modules. Triple Strange just posted a design that had some not-so-simple machining to do it. Check out the 221 site and you'll see 1:1 for turning on all of their designs and crab chassis. There is a reason for this. This is a bigger headache than folks seem to think.
The scheme I was imagining in my head involved using a hall effect sensor to zero the rotary position, following which pure quadrature/index would be used to find angle by dividing by a gear ratio. If you're using absolute positioning instead of quadrature, I can see a lot of problems, but as long as you either zero it via magnet or via index signals, I don't quite see the problem. Is there more to it than that?


To OP: If your dog shifting was not able to work on the fly, were you using a cylinder to shift? If so, then ball shifting should work well for you as it requires less force to shift.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #11   Spotlight this post!  
Unread 11-30-2016, 12:57 AM
AlexanderLuke's Avatar
AlexanderLuke AlexanderLuke is offline
Do More. Less Time.
FRC #0696 (The Circuit Breakers)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: La Crescenta
Posts: 58
AlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to behold
Re: Team 4926 Swerve Drive CAD

Quote:
Originally Posted by asid61 View Post
Interesting take on a swerve drive. Using drive units separate from the main modules used to be a norm, but now people like to place the two closer together to save space. I would recommend that in your case, as your swerve is currently quite large and has a lot of unnecessary shafting.
Agreed. This drive base is quite bulky and could prove to be an issue when you need space for mechanisms. The only time Team 696 made swerve was in 2015, where we also needed to hold totes inside the robot perimeter to work better with the CoG. Many teams that year also kept the game pieces inside of their frame for similar reasons. It's not too hard to design things that are small and compact these days. There are great resources of teams that have been making swerve for years... I just wish 1717 was still around to be pushing the limits along with everybody else

This also seems very heavy. Chain. So much chain. Again, that used to be the norm, but things have changed with time. Of course, it matters where you were going with this design, and how you wanted the layout to be.
__________________
2014-Present ~ Team 696: The Circuit Breakers - Student Leader and President, Drive Coach, Mechanical Designer
Reply With Quote
  #12   Spotlight this post!  
Unread 01-06-2017, 11:35 PM
NowlingPro NowlingPro is offline
Registered User
FRC #4926
 
Join Date: Nov 2016
Location: Columbus, Indiana
Posts: 8
NowlingPro is an unknown quantity at this point
Re: Team 4926 Swerve Drive CAD

I just posted an updated version of swerve drive that is much more compact than before. Check it out! https://www.chiefdelphi.com/forums/s...d.php?t=153080
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


All times are GMT -5. The time now is 01:05 PM.

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