Go to Post You never really graduate out of FIRST.... - Gnomegirl [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 09-01-2012, 16:13
HFCHS-NASA HFCHS-NASA is offline
Registered User
FRC #4207
 
Join Date: Jan 2012
Location: Victoria, MN
Posts: 7
HFCHS-NASA is an unknown quantity at this point
When to use encoders?

This is our team's first year with FRC. We had done FTC before, but never anything this big! We understand some basic concepts about motors: Spike is a motor relay, and Jaguar is a motor controller.

Our main question is encoders. When should we use them? Do most teams use encoders on their drivetrain? Also, what encoders should we use?

If any team has a general tutorial about wiring diagrams and connecting electric parts, a link would be greatly appreciated!
  #2   Spotlight this post!  
Unread 09-01-2012, 16:22
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: When to use encoders?

US Digital provides 2 E4P encoders in the kit, info here: http://www.usdigital.com/first
They can attach straight to the gearboxes [CIMple] you got and can be used to find the distance your robot travels and how fast.
The encoder's should come with instructions on how to attach them and wiring diagrams are here: http://www.usdigital.com/products/ca.../ca-mic4-w4-nc
In short the A and B channel go to the digital inputs on the digital side card.
All 3 programming languages have built in support for these encoders, if you specify which one you could get some help with that as well.
They are mainly used to find how far you have driven for Auton but can be used for other things.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #3   Spotlight this post!  
Unread 09-01-2012, 17:03
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: When to use encoders?

When should we use them?
The answer to this is almost to easy... use them when you need to. If you want to have good control of your drive train during autonomous in order to position your robot precisely, use them. If you have an omni-directional drive system set up and want to use them to improve controlability, go for it. If you want to be able to adjust the speed of your shooter (if it's one using a spinning wheel like a baseball pitching machine, for example) in order to get different distance shots, having an encoder will help maintain accuracy.

Do most teams use encoders on their drivetrain?
For your "typical" 6-wheel drop center drive train, encoders really aren't needed for tele-op. The robot is perfectly controllable with out them. They can be useful in some situations (like improving a mecanum drive train to go straight easier), but really aren't necessary. They do come in handy for autonomous, if you can develop code that uses them appropriately.

Also, what encoders should we use?

The US Digital encoders included in the KoP really are great. I would recommend sticking with those (or similar ones from US Digital) unless you have a good reason to go elsewhere.
  #4   Spotlight this post!  
Unread 10-01-2012, 22:44
HFCHS-NASA HFCHS-NASA is offline
Registered User
FRC #4207
 
Join Date: Jan 2012
Location: Victoria, MN
Posts: 7
HFCHS-NASA is an unknown quantity at this point
Re: When to use encoders?

Quote:
Originally Posted by Mk.32 View Post
US Digital provides 2 E4P encoders in the kit, info here: http://www.usdigital.com/first
I don't recall finding these in our kit, and they are not on the official FRC Kit Checklists. However, we did buy some with our AndyMark FIRST Choice Credits.
  #5   Spotlight this post!  
Unread 10-01-2012, 23:34
Joe Schornak's Avatar
Joe Schornak Joe Schornak is offline
No Stranger To Love
FRC #2840 (Blue Tide)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Phoenix, AZ
Posts: 182
Joe Schornak is a splendid one to beholdJoe Schornak is a splendid one to beholdJoe Schornak is a splendid one to beholdJoe Schornak is a splendid one to beholdJoe Schornak is a splendid one to beholdJoe Schornak is a splendid one to beholdJoe Schornak is a splendid one to behold
Re: When to use encoders?

Encoders are good for measuring the rotation of things that go around a bunch of times, like drive wheels. My team has used them to measure the heading of a ball shooter turret, the speed of the flywheel in the same shooter, and the height of a screw-driven elevator, among other things. We have used encoders in our drive train, but I would not say that most teams use them, as they are unnecessary unless you need to precisely calculate the position of your bot, as you would with a good autonomous program. The US Digital encoders that (I thought) come with the kit are good for most applications, and the company makes a variety of other kinds if you need something different. I haven't been the one wiring the encoders on my team, so I don't know the specifics of the wiring requirements, but the kit encoders should come with a diagram denoting which wires are power, ground, and signal, which all (if I recall correctly) plug into the digital sidecar.

If you need to measure something that won't make a full rotation or doesn't need to be particularly precise, consider using a potentiometer, which changes its resistance depending on the angle. We've used potentiometers on grabber arms and low-budget steering systems. As long as you choose the device to fit the application and don't do anything needlessly complex, you probably won't go wrong. Best of luck this season, and welcome to FRC!
__________________
1. Acquire Manual
2. Read Manual
3. ???
4. PROFIT!

Visit www.pcdsrobotics.org!
  #6   Spotlight this post!  
Unread 11-01-2012, 20:27
HFCHS-NASA HFCHS-NASA is offline
Registered User
FRC #4207
 
Join Date: Jan 2012
Location: Victoria, MN
Posts: 7
HFCHS-NASA is an unknown quantity at this point
Re: When to use encoders?

Thanks for all the great input! I will keep this thread up to date as we experiment with different encoders.
  #7   Spotlight this post!  
Unread 11-01-2012, 20:41
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: When to use encoders?

The E4P envoders provide feedback on how much a shaft is rotating. You can compare the input of the speed and displacement of the robot to the actual feedback of the encoder and have the robot correct the error through PID control loops.
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 15:04.

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