Go to Post Also, there are times when the folks who run this ice cream store don't have the flavors I like. Can you believe that?!!! Although this really frustrates me, I get over this treachery and I still order something. After all, it is ice cream. I like ice cream. - Andy Baker [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 14-02-2012, 15:54
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Averaging one side with Encoders or two wheeled drive?

So I was talking with the programmers, and being that we were doing six wheeled drive with 4 CIMS using 2 Victors, we figured we'd need 4 encoders. Now, my question is what would be the better approach?
1. One encoder on each shaft with only one channel wired. Then I'll direct the Encoder class towards the two Encoders on the same side and two for the other side.
2. Power only 2 motors for PID and have two fully wired Encoders on those shafts.

EDIT
This is for autonomous PID drive
__________________
  #2   Spotlight this post!  
Unread 14-02-2012, 16:12
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

Quote:
Originally Posted by kinganu123 View Post
...4 CIMS using 2 Victors...
You'd better fix that before you do anything more fancy. Each motor requires its own speed controller.

Are both motors on each side connected to the same gearbox? Are all the wheels driven by the same gearbox output? You only need one encoder per gearbox.
  #3   Spotlight this post!  
Unread 14-02-2012, 17:23
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

I believe that is a rule, correct?
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award
  #4   Spotlight this post!  
Unread 14-02-2012, 19:18
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Averaging one side with Encoders or two wheeled drive?

All motors are mounted onto on of two nanotubes by andymark, which has a uniform gear ratio. But I was told that not all motors were created equal, which is why I figured 4 Encoders would be better
And R50 is a bit vague in my opinion. Not entirely sure if its legal or not...
__________________
  #5   Spotlight this post!  
Unread 14-02-2012, 19:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

Quote:
Originally Posted by kinganu123 View Post
R50 is a bit vague in my opinion. Not entirely sure if its legal or not...
Look at rule [R46].

  #6   Spotlight this post!  
Unread 14-02-2012, 19:54
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

Quote:
Originally Posted by kinganu123 View Post
All motors are mounted onto on of two nanotubes by andymark, which has a uniform gear ratio. But I was told that not all motors were created equal, which is why I figured 4 Encoders would be better
And R50 is a bit vague in my opinion. Not entirely sure if its legal or not...
If two motors are mechanically geared together, they will spin the same speed.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
  #7   Spotlight this post!  
Unread 14-02-2012, 20:04
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
they aren't
they are just housed in the same gearbox
__________________
  #8   Spotlight this post!  
Unread 14-02-2012, 21:28
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

Quote:
Originally Posted by artdutra04 View Post
If two motors are mechanically geared together, they will spin the same speed.
And if two motors are driving traction wheels on the same side of a robot, one can reasonably assume that they will be spinning the same speed...at least when driving straight or mostly straight. When one wheel is slipping more than another, it's not always easy to decide which one is the best wheel to use as a speed reference. I'd just use two encoders, connected to the section of the drivetrain having the wheels with the most weight on them.
  #9   Spotlight this post!  
Unread 14-02-2012, 22:35
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

Quote:
Originally Posted by kinganu123 View Post
they aren't
they are just housed in the same gearbox
That's the definition of "mechanically geared together". The CIMple boxes in the kit have encoder shafts which are designed for the US Digital encoders which also happen to be in the kit. You only need two since you only have two output shafts. The encoder shaft is actually the same piece of metal as the output shaft, so you don't have to account for any gearing.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #10   Spotlight this post!  
Unread 15-02-2012, 00:30
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

Quote:
Originally Posted by cgmv123 View Post
That's the definition of "mechanically geared together". The CIMple boxes in the kit have encoder shafts which are designed for the US Digital encoders which also happen to be in the kit. You only need two since you only have two output shafts. The encoder shaft is actually the same piece of metal as the output shaft, so you don't have to account for any gearing.
I believe the OP is saying that they are in the same, physical box, but driving two distinct gear trains. Actually, I know this to be the case since the gearboxes used were listed as AM Nano Tubes, of which six stock variations exist, all of which only accept one motor per gear train.
__________________
  #11   Spotlight this post!  
Unread 15-02-2012, 00:42
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Averaging one side with Encoders or two wheeled drive?

You don't need 4 encoders. Limit your acceleration and as Alan already said, put the encoders on the heavier side of the robot. Should be fine.
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 01:40.

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