Go to Post So Love your robot, and it will love you. - Not2B [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
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 22-06-2016, 19:54
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 471
Hitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to behold
Encoder Conundrum

So, our team has had season-long difficulties with our encoders on our drive train (This one).

Consistently, at first, we had our left encoder working and the right one not working. We worked around this, using only the left side for distance. However, we decided to fix this in the off-season. We replaced both encoders (left & right) for brand new ones. We also tested the wires for shorts and continuity where they should/shouldn't be. All fine. The problem persists.

Our next step was to try to connect them directly through the Talon SRX with the little expansion board for wire --> ribbon cable. Now, the right encoder started working and the left one didn't. Thinking this was the wires, we replaced & tested all four parts (2 ribbon cables & 2 encoder wires). No difference. The problem persists with the left side now.

We are going to try to switch to magnetic encoders, but it's still an interesting conundrum as to why all of this happened. Why was one working, and then they switched?

Any advice is helpful, Thanks!
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #2   Spotlight this post!  
Unread 22-06-2016, 20:21
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,570
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Encoder Conundrum

Quote:
Originally Posted by Hitchhiker 42 View Post
We are going to try to switch to magnetic encoders, but it's still an interesting conundrum as to why all of this happened. Why was one working, and then they switched?

Any advice is helpful, Thanks!
I don't see enough information to make a likely call. If you have access to an oscilloscope, My first recommendation would be to look at the output of the two encoder channels (relative to signal ground) vs time. Do you get a good quadrature signal? (I'm assuming quadrature encoders; most of the ones used in FRC are.)

If you do not have access to an o-scope, try swapping the Talon SRXs - move both the power wires to the motors and the encoder cable, and program the channels as swapped (unless you want to re-address the Talons). If the problem follows the encoder/cable, the problem is likely there. If it follows the talon, then I would suspect a software issue, though it is possible that something is wrong with that talon.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-06-2016, 22:09
page2067's Avatar
page2067 page2067 is offline
Registered User
AKA: rick page
FRC #2067 (Apple Pi)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Guilford CT
Posts: 109
page2067 has a spectacular aura aboutpage2067 has a spectacular aura aboutpage2067 has a spectacular aura about
Re: Encoder Conundrum

So many complain over those encoders - but we used them from 2009 through 2015 with generally good results. yes sometimes not, these were usually due to either 1) contamination/ scratches of the metal optical target, or 2) associated with the connector, usually after an attempt to unplug and replug the connector - a delicate operation to be avoided.
they are a little fussy, prompting many to shift to other options (including us last year, not necessarily just the magnetic encoders, some go for Grayhill 63R's and another is the AM CIMcoder), but once they are set right up, they work fine. We still have some in inventory, so will use them at some point.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-06-2016, 23:14
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 312
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Encoder Conundrum

This probably isn't it, but make sure the ribbon cables are plugged in the right way on both sides. We had this issue during build season
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
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 02:33.

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