Go to Post Be realistic in your goals, and relentless in hitting them. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 28-11-2016, 17:25
rafi rafi is offline
Registered User
FRC #0449
 
Join Date: Nov 2016
Location: Maryland
Posts: 1
rafi is an unknown quantity at this point
Talon SRX Magnetic Encoder Cable Issues

We are making a flywheel shooter. The flywheel is powered by a mini-CIM, and has an integrated Talon SRX Magnetic Encoder in a gearbox attached to it. Due to the fact that we have this shooter mounted on a turret, we need to have a long enough encoder cable for it to be able to reach the encoder, no matter where it is in the rotation of the turret. Whenever we test the encoder using a 12" 10-wire ribbon cable that was bought from VEX, the motor runs perfectly. When we use a longer 128" cable that we crimped, which is necessary for the turret, the motor runs at about half the speed we expect and makes a lot of loud grinding-y noises, which we figured are not good. We tested all the crimps and the crimp seems to work. The resistance for the shorter cable read as -0.3 ohms, which I assume means it's about 0. The resistance for the longer cable read as 0.8 ohms.

Our current hypothesis is that the encoder is diverting power from the motor, since they are both connected to the same Talon. We are not really sure why this might be, could anyone give us any ideas on what could be wrong, and how to fix it?
Reply With Quote
  #2   Spotlight this post!  
Unread 28-11-2016, 17:38
saikiranra's Avatar
saikiranra saikiranra is offline
UCI
AKA: Saikiran Ramanan
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Irvine, CA
Posts: 200
saikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond repute
Re: Talon SRX Magnetic Encoder Cable Issues

We had a similar issue during build season, but our problem was actually the encoder values. The noise from the flywheel motors + the noise from the turret motor + the length of the cable made the signal very noisy, which gave us lots of problems. We were able to find this issue by connecting the signal to an oscilloscope and seeing the waveforms as we ramped the flywheel power. To fix this, we shielded the cable and made a very simple RC filter to take out the noise.

Do you have any pictures of the setup?
__________________
2014 - Current: Team 3476 Electronics, Programming, and Scouting Mentor
2011 - 2014: Team 696 Student and Drive Coach
Reply With Quote
  #3   Spotlight this post!  
Unread 29-11-2016, 14:25
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,531
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: Talon SRX Magnetic Encoder Cable Issues

If an encoder where drawing enough current from the motor controller to cause the motor a problem, it would almost certainly be releasing the magic smoke, melting insulation, or engaged in some other catastrophic failure.

I concur that noise in the encoder line is a much more likely cause of error. If you have a long wire harness with the encoder lines and the two power lines from the Talon to the motor all close to each other, there are several forms of cross talk than can get you, not to mention external sources. An alternative (or additional) solution to shielding the long cable would be to use a shorter encoder cable in the first place, by relocating the SRX to be closer to the encoder (probably on the turret). This would mean a longer CAN bus, but CAN is engineered to reduce noise, and to be more tolerant than most encoder counters. If you do this, don't forget to use twisted pairs for CAN!
__________________

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.

Last edited by GeeTwo : 29-11-2016 at 14:28.
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 16: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