![]() |
Talon SRX Motor Controller Problem
2 Attachment(s)
We have a problem connecting the motor controller to the PWM ports on the roboRIO. We believe to have correctly connected the motor controller to the roboRIO and the Power Distribution Module. When we connect the motor controller to the CAN port, the motor controller works. However, when we use the PWM ports, the motor controller doesn't work and just blinks red.
We took two photos of the system which are posted below. Thanks for any help! |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
That section explains that PWM CAL Mode and Limit Switches require the upgrade. General PWM drive does not require the update, however it is required to be FRC legal if the firmware is <0.28.
Your photo looks like the green wire is connected to the middle pin, which is not correct. Green should go to ground. See Section 1.3.3 of the Talon SRX User's Guide. |
Re: Talon SRX Motor Controller Problem
Why are you attempting to run the SRXs from PWM anyway?
|
Re: Talon SRX Motor Controller Problem
Neither of our wires are connected to the middle pin - the green is connected to ground. By our understanding, the problem with the CAN wires is that they employ series circuiting rather than parallel. So if one of the motor controllers goes out, then the others stop working. This is the reason we are trying to use PWM ports, but correct us if we wrong about this.
Thanks, Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
For most teams that use Talon SRX's, the main reason is the built-in PID and active breaking software, which is only available via CAN. Obviously you already have these Talon SRX's, but in the future if you know you will only be using PWM you can buy cheaper motor controllers that do effectively the same thing. You can get SPARK motor controllers from REV Robotics for $45 (half the price of a Talon SRX). If you really need the small package, you can get Victor SP's ($60 IIRC). Of course this isn't to say that the Talon SRX's won't work with PWM, just that in the future there are cheaper alternatives. |
Re: Talon SRX Motor Controller Problem
Quote:
Also, you should put some form of connector on your wires. It's possible you were shorting +5v to ground with your current setup. If you don't have the proper connectors and crimper, you can solder the wires to a preexisting PWM cable. Using connectors will also give you something good to attach the cables with if you decide to use CAN at some point, since I doubt you'll want to cut, restrip, and solder the wires every season, especially since the wires are permanently stuck to the controller. |
Re: Talon SRX Motor Controller Problem
Thank you all for the replies. A couple of questions:
1. So if we used the CAN ports, which don't use parallel circuiting, would it be right to say that if one motor controller were to stop receiving power, then the rest of them would not receive any inputs through the CAN wires? 2. Should we use Anderson Powerpoles to link together CAN wires or a different mechanism? What is the cleanest way of linking CAN wires? We are probably going to stick with the CAN ports. Thanks for the help, Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
2. We always cut our CAN wires to the exact length and solder them together and cover in heatshrink. Makes really clean runs. If we need more length on one wire later on, we can always just solder on more wire, or if it comes to it, take apart the motor controller housing and compltley swap out the wire (it's not too hard). |
Re: Talon SRX Motor Controller Problem
Quote:
And as Rohit said, most CAN devices just connect high-high and low-low and just take that signal elsewhere for processing. Also, you don't have much probability of one dying on you. Though more likely, if one died your code would crash as it couldn't initialize the CANTalon anymore. That's assuming the entire thing just died rather than the just the voltage controlling circuitry, which is more likely. The SRX is advanced enough to have current limiting and the such, and because of that I've never seen a dead one. |
Re: Talon SRX Motor Controller Problem
Quote:
As others have noted though, the controller losing power will not interrupt your CAN chain. Quote:
|
Re: Talon SRX Motor Controller Problem
For connecting CAN wires, I would recommend using the DuPont 3 pin connectors, since they can also then be used for PWM if you want. You can also use Wago lever nuts, since they can be reused very easily and don't require special tools.
|
Re: Talon SRX Motor Controller Problem
1 Attachment(s)
Thank you all for your help. Currently we have a CAN wire running from the RoboRio to a central "hub". CAN wires from each motor controller are connected to this "hub" (see image below). They are currently secured with electrical tape - we are planning on using a more substantial connection (based on the suggestion you guys provided. Does this setup look right?
Also, how do we know if the Talon SRXs are connected to each and working? Do they alternate orange? Thanks once again. - Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
Thanks for your help, Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
EDIT: I didn't even realize this, but as Devin stated above, your setup would also be illegal. |
Talon SRX Motor Controller Problem
Quote:
I'm not sure about the legality, but I know for sure some teams ran with a star topology during this past season. However, I've heard that it's not a great method for connecting everything. Check out this post for more info on why it isn't recommended: https://www.chiefdelphi.com/forums/s...2&postcount=12. |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
Also, do you have one cable on the last SRX in the daisy chain just sticking out and not connected to anything? Or does that connect back to the RoboRio/PDP? Thanks, Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
This is all explained in our documentation. Please read section 1.3.2 of the Talon SRX User's Guide. I think you will find answers much faster this way instead of posting a question and waiting for responses at each step. We do not recommend star-topology, the CD forum is filled with many threads explaining why. But ultimately it can create failure-modes that are difficult to root-cause for the inexperienced. It's not clear to me that star-top is explicitly illegal from reading R70, but again we don't recommend it. The alternative to daisy chaining would be to create a single bus harness that the CAN nodes "tap" into via short splices. This is how CAN buses are wired in cars. However in FRC its generally more convenient to daisy chain via connectors for high-serviceability during competition season. Many teams have wired the Talon SRX on CAN bus in the fashion we've documented with great success. There are no crash symptoms in WPILIB caused by unpowering a Talon, nor does it impact communication with sibling Talons on the CAN bus. This is explained in section 16.6 of the Talon SRX Software reference manual. In fact this is true for all of CTRE CAN products. |
Re: Talon SRX Motor Controller Problem
Thank you all so much for your help. We will probably just stick with CAN connections daisy-chained to each other.
Thanks, Charging Champions |
Re: Talon SRX Motor Controller Problem
Combining a lot of what has already been said with a bit more, here's the CAN plan we use, and why:
|
Re: Talon SRX Motor Controller Problem
Thank you all for your help. We greatly appreciate it.
Thanks, Charging Champions |
Re: Talon SRX Motor Controller Problem
One more quick question. Some of the replies on this thread have recommended using Wago Lever Nuts to connect the cables (https://www.amazon.com/Wago-222-415-...AO9N0B7PPXTIQ). Does this count as star topology (and is it therefore illegal)? Would you recommend this over the CAN connectors sold by CTR (http://www.ctr-electronics.com/adapt...-5-pack.html)? Our concern is that daisy-chaining all of the motor controllers will be more prone to failure if even one of the motor controllers in the beginning of the daisy chain fails.
Thanks, Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
I understand that the motor controllers have a robust pass-through of the CAN lines; it would take a catastrophic motor controller failure to disrupt the daisy chain. |
Re: Talon SRX Motor Controller Problem
Quote:
Regarding the motor controllers, will the CAN connection work even if one of he motor controllers stops receiving power? Does transmission of the CAN signal rely on the motor controllers to be on? Or does the CAN signal get transmitted though the motor controllers even if it does not receive power? Thanks once again so much. - Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
The CAN lines are passed directly through (i.e. input and outputs are soldered together). Unless the wire is cut or the speed controller catches fire and unsolders the wire, the signal will pass through even if the motor controller doesn't get power. |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
However with PWM you must [1] Wire the devices, [2] Power the devices, [3] Code the devices, and then begin your troubleshooting. With CTRE CAN devices, you can do [1] and [2] only and then begin diagnosing (web-based config, LEDs, Driver Station, etc.). Additionally the feedback we've received is that CAN bus is far simpler to wire than PWM. To better answer the questions posed in this thread, I just added some content to the Talon user's guide (pages 35-37). http://www.ctr-electronics.com/talon...ical_resources |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Thank you all for the suggestions. We have ordered the CAN connectors sold by CTR electronics.
Thanks, Charging Champions |
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
|
Re: Talon SRX Motor Controller Problem
Quote:
While we don't solder our CAN wires, when we have a consolidated control board, we usually wire in an extra motor controller to give us some quick options if one burns up. |
| All times are GMT -5. The time now is 12:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi