Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Averaging one side with Encoders or two wheeled drive? (http://www.chiefdelphi.com/forums/showthread.php?t=102811)

kinganu123 14-02-2012 15:54

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

Alan Anderson 14-02-2012 16:12

Re: Averaging one side with Encoders or two wheeled drive?
 
Quote:

Originally Posted by kinganu123 (Post 1126549)
...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.

dellagd 14-02-2012 17:23

Re: Averaging one side with Encoders or two wheeled drive?
 
I believe that is a rule, correct?

kinganu123 14-02-2012 19:18

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...

Ether 14-02-2012 19:20

Re: Averaging one side with Encoders or two wheeled drive?
 
Quote:

Originally Posted by kinganu123 (Post 1126693)
R50 is a bit vague in my opinion. Not entirely sure if its legal or not...

Look at rule [R46].


artdutra04 14-02-2012 19:54

Re: Averaging one side with Encoders or two wheeled drive?
 
Quote:

Originally Posted by kinganu123 (Post 1126693)
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.

kinganu123 14-02-2012 20:04

they aren't
they are just housed in the same gearbox

Alan Anderson 14-02-2012 21:28

Re: Averaging one side with Encoders or two wheeled drive?
 
Quote:

Originally Posted by artdutra04 (Post 1126722)
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.

cgmv123 14-02-2012 22:35

Re: Averaging one side with Encoders or two wheeled drive?
 
Quote:

Originally Posted by kinganu123 (Post 1126729)
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.

PAR_WIG1350 15-02-2012 00:30

Re: Averaging one side with Encoders or two wheeled drive?
 
Quote:

Originally Posted by cgmv123 (Post 1126887)
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.

Tom Bottiglieri 15-02-2012 00:42

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.


All times are GMT -5. The time now is 00:49.

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