Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   New Talon vs New Victor (http://www.chiefdelphi.com/forums/showthread.php?t=131370)

Qbot2640 05-12-2014 13:43

New Talon vs New Victor
 
I want to pose a specific scenario-based question in the hopes of getting a variety of inputs (and in the process perhaps some "side info" of use to other teams).

In considering the two new motor controller options, I'm faced with something of a dilemma.
(1) My team has never used CAN bus, and probably will not anytime soon because of a lack of current programming experience.
(2) We are interested in dabbling with PID, but again - low experience.
(3) We will build two robots this year - and last year used 6 motor controllers on a rather simple bot. From seven years of participation and last year's PDV - we ended up with one spare Jaguar...if we want to take advantage of the new controllers our stock is naturally obsolete.

Is there a worth-while value for us to spend the extra $240 or so for the Talon SRX over the Victor SP? $719.88 to buy 12 Victors, $959.88 to buy 12 Talons).

NOTE: we assume the actual need will be less - as there will likely be some controller in the KOP, some controller based PDV, or both - but the basic question remains.

Jon Stratis 05-12-2014 14:12

Re: New Talon vs New Victor
 
First, I wouldn't let programming experience keep you from using CAN - it really is just as easy as using PWM. Besides, if you end up using pneumatics, you'll be using CAN for that! It really is rather simple, you just have to give it a go... and having Talons on hand will allow you do experiment with that.

For PID... it takes some time and effort, regardless of doing it through the Talon or through the RoboRIO. The choice of speed controller here isn't nearly as important as spending the time to figure out how it works and how to tune it. For this, I recommend going with the RoboRIO approach, I personally think it's a little easier to figure out whats going on as you tune it.

If you're building two robots, why not use old controllers for the second one? Take them off an old robot, and have at it - the size difference may mean you team has to get creative in mounting things for the second robot, but there isn't much reason to spend all that extra money just for the second robot - old Talon, Jags, or Victors will do the same job. Of course, if you want the extra controllers for backups at competition, that's a whole other issue.

Also, while I think you probably know this, stating it clearly for others reading the thread: The new Talons, while supporting and working over CAN, can also be controlled over PWM.

Brian Selle 05-12-2014 14:17

Re: New Talon vs New Victor
 
Seems like the Victor would be your best choice. The extra bells and whistles on the Talon would likely go unused and by the time you are ready to use them there will be a Talon SRX 2.0. You can implement PID just fine with Victors in software. You could also purchase 1 or 2 Talons to go along with the group of Victors. Since they work with PWM input it's a simple software update to switch between the two.

Qbot2640 05-12-2014 16:08

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Jon Stratis (Post 1411767)
...Besides, if you end up using pneumatics, you'll be using CAN for that! It really is rather simple, you just have to give it a go... and having Talons on hand will allow you do experiment with that.

We always use pneumatics for something, but we have always used 12 volt solenoids with Spike relays. Can we no longer do that?


Quote:

Originally Posted by Jon Stratis (Post 1411767)
If you're building two robots, why not use old controllers for the second one? Take them off an old robot, and have at it - the size difference may mean you team has to get creative in mounting things for the second robot, but there isn't much reason to spend all that extra money just for the second robot - old Talon, Jags, or Victors will do the same job. Of course, if you want the extra controllers for backups at competition, that's a whole other issue..

We'd really like the two robots to be as identical as possible - at least the control system. What we might try to do is create a control system module that we can switch out between the two. Then buy a few spares to be backups (as you mention).

Quote:

Originally Posted by Brian Selle (Post 1411770)
...You could also purchase 1 or 2 Talons to go along with the group of Victors. Since they work with PWM input it's a simple software update to switch between the two.

This is probably the best idea. Get a few for future development, and/or to satisfy us if we get more ambitious than we thought.

Chadfrom308 05-12-2014 17:52

Re: New Talon vs New Victor
 
Honestly, I think our team is going to do some CAN this year (our first year doing it too). Not only is it GREAT experience to have, it also isn't too hard. I worked with a CAN shield for Arduino, and I can say that it was much simpler than I expected it to be. It is also less cluttery than running PWM to everywhere. Plus, offloading PIDs to a Talon can save some CPU resources, which is not much, but it also can run PIDs much much faster than the RoboRIO (20hz vs 1000hz) (correct me if I'm wrong, I actually want to know the correct numbers)

Monochron 05-12-2014 17:59

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Qbot2640 (Post 1411793)
We always use pneumatics for something, but we have always used 12 volt solenoids with Spike relays. Can we no longer do that?

TO my understanding it is required that you use the new PCM to run your pneumatics. The PCM only communicates via CAN, so you will have to use it. Like others have said there, it isn't a large undertaking to setup CAN, just make sure you understand all the differences.

Joe Ross 05-12-2014 18:17

Quote:

Originally Posted by Monochron (Post 1411807)
TO my understanding it is required that you use the new PCM to run your pneumatics.


Where did you hear this?

FrankJ 05-12-2014 18:19

Re: New Talon vs New Victor
 
While controlling the compressor through the PCM will almost certainly be required, no reason not to allow the solenoids to be controlled by a Spike. Of course those who really know aren't talking. :] And no I don't have any special knowledge

Jon Stratis 05-12-2014 18:24

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Qbot2640 (Post 1411793)
We always use pneumatics for something, but we have always used 12 volt solenoids with Spike relays. Can we no longer do that?

That, unfortunately, is a rules question, and none of us know yet for sure.

However, the new PCM is pretty awesome and easy to use. It completely controls the compressor for you, with no coding needed - you just plug it and the pressure switch into the PCM and you're good to go. Additionally, you can control 8 solenoids (4 double solenoids) from each PCM, which would otherwise require 4 spike's - 1 PCM is smaller and lighter than 4 spikes.

While it's speculation at this point, I would assume that FIRST will require at least the compressor and pressure switch to be hooked up through the PCM.

Greg McKaskle 05-12-2014 18:25

Re: New Talon vs New Victor
 
I think your PID loop will generally be limited by how often you can update your motor controller. For PWM, that is every 5ms for newer ones, 10ms for some older ones. CAN may be used to do faster updates.

The calculations are small by comparison. Of course you may not need to run your loop even that fast. It depends on the inertia of your system, the torque or force of the actuator, the lag of the sensor, etc.

Anyway, my point is that the 20ms is not a technical limit of the cRIO or roboRIO, but may be the default of the library you are using.

Greg McKaskle

adciv 05-12-2014 22:12

Re: New Talon vs New Victor
 
While we haven't been testing CAN motor controllers under the beta system, we have used it with the PDP and PCM. I think you should forget about past experiences with CAN. Under the new system, it is EASY. I've been able to trivially add/remove a 2nd PCM on CAN. There really is no comparison between these new components and the troubles we've had trying to use JAGs in prior years.

Other thoughts:
- Even if you don't use the PID on the Talon SRX, you get the simpler CANBUS wiring if you use it over CAN.
- You can still control the Talon SRX over PWM and change to CAN next year.
- We've used PID over PWM for several years and 20ms is a faster rate than we've needed to run our control loops at, so don't worry about the differences in update rates.

Mr V 06-12-2014 01:03

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Monochron (Post 1411807)
TO my understanding it is required that you use the new PCM to run your pneumatics. The PCM only communicates via CAN, so you will have to use it. Like others have said there, it isn't a large undertaking to setup CAN, just make sure you understand all the differences.

Quote:

Originally Posted by Joe Ross (Post 1411810)
Where did you hear this?

From a robot inspector's point of view I can not imagine FIRST allowing the compressor and pressure switch to be connected to anything but a PCM. No, that is not based on anything official just my gut feeling that they would rule that way to make inspection easier.

lbarger 06-12-2014 09:54

Re: New Talon vs New Victor
 
Has FIRST officially said either of these new speed controllers would be allowed in 2015? Last I heard they were evaluating both models to make sure they had acceptable performance and safety. That said, I don't see how they will not be allowed given the 888's and previous Talons are both discontinued. I'd rather not spend money on either model unless I know they would be allowed.

Jon Stratis 06-12-2014 10:03

Re: New Talon vs New Victor
 
There has been no official word since the blog post about evaluating them. That said, I haven't heard of any big issues with them, so I imagine they will both be legal.

Monochron 06-12-2014 17:29

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Joe Ross (Post 1411810)
Where did you hear this?

Sorry, poor choice of wording. Replace the word 'pneumatics' with 'compressor'. However, I don't think I officially read that anywhere, it is only my hypothesis based on safety and past requirements.

phargo#1018 06-12-2014 21:54

Re: New Talon vs New Victor
 
I saw a post indicating PWM rates in this thread.
Is there an on-line source for documentation on the new talons?

The data I can find is from Vex
http://content.vexrobotics.com/vexpr...t-20140819.pdf

From looking at this data, what stands out to me is the peak and continuous current rating of the Talon compared to the Jaguar. This datasheet doesn't reflect any of the CAN features

Qbot2640 07-12-2014 10:31

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Jon Stratis (Post 1411813)
... Additionally, you can control 8 solenoids (4 double solenoids) from each PCM, which would otherwise require 4 spike's - 1 PCM is smaller and lighter than 4 spikes.

Is this true? The information I read stated that the PCM replaced the spike for the compressor - but I did not think it would replace the individual solenoid spikes. If this is the case, then I am totally sold on the idea...saving all the spike space PLUS $30 a spike is major. Someone please confirm!

Jon Stratis 07-12-2014 10:45

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Qbot2640 (Post 1412039)
Is this true? The information I read stated that the PCM replaced the spike for the compressor - but I did not think it would replace the individual solenoid spikes. If this is the case, then I am totally sold on the idea...saving all the spike space PLUS $30 a spike is major. Someone please confirm!

We're a beta team, and an Alpha team before that... We've been controlling solenoids from the PCM for over a year now! The PCM is designed to control either 12 or 24V solenoids through a selectable jumper... it serves a similar purpose as the old pneumatics breakout board/module for the cRIO when it comes to solenoids.

adciv 07-12-2014 14:22

Re: New Talon vs New Victor
 
Here's the full capabilities of the PCM
*It powers the Compressor
*You plug the 120 PSI Switch into it
*It controls 8 different solenoids. (Solenoids can be 12v or 24v, but must all be the same)
*You can have many PCMs on the robot

Gregor 07-12-2014 16:12

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Qbot2640 (Post 1412039)
Is this true? The information I read stated that the PCM replaced the spike for the compressor - but I did not think it would replace the individual solenoid spikes. If this is the case, then I am totally sold on the idea...saving all the spike space PLUS $30 a spike is major. Someone please confirm!

Most teams were already beyond using spikes to control their solenoids, they were doing it via to solenoid breakout on the cRio. Forcing teams to go back to spikes would have been a step backwards.

FrankJ 07-12-2014 18:36

Re: New Talon vs New Victor
 
So can you use a PCM to control a talon or a victor? Or this the wrong thread for that? :)

MrRoboSteve 07-12-2014 20:56

Re: New Talon vs New Victor
 
Quote:

Originally Posted by adciv (Post 1412059)
Here's the full capabilities of the PCM
*It powers the Compressor...

Powers the compressor, or controls a Spike that powers the compressor?

Knufire 07-12-2014 20:59

Re: New Talon vs New Victor
 
Quote:

Originally Posted by MrRoboSteve (Post 1412133)
Powers the compressor, or controls a Spike that powers the compressor?

It powers the compressor directly AFAIK.

Mark McLeod 07-12-2014 21:04

Re: New Talon vs New Victor
 
Quote:

Originally Posted by MrRoboSteve (Post 1412133)
Powers the compressor, or controls a Spike that powers the compressor?

Quote:

Originally Posted by Knufire (Post 1412135)
It powers the compressor directly AFAIK.

Yes, Spikes no longer power the compressor.
It wires directly into the PCM.

Gregor 07-12-2014 21:05

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Knufire (Post 1412135)
It powers the compressor directly AFAIK.

Correct. There's a dedicated port from the PDP to the PCM, from which the compressor is wired.

cgmv123 07-12-2014 21:05

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Knufire (Post 1412135)
It powers the compressor directly AFAIK.

Yep, the compressor +12v and ground wires plug straight into the PCM. There's some very intelligent circuitry in the PCM to make sure the large start current required by the compressor or any potential shorts in the system doesn't blow the fuse on the PDB's control system supplies. (The solenoid outputs have the same protection.)

phargo#1018 07-12-2014 21:45

Re: New Talon vs New Victor
 
Can anyone forward detailed specifications on the new Talon?
The data I can locate, on-line, doesn't provide a lot of detail.
I am particularly interested in the loop closure rates.
On the surface, both the new Talon and the Jaguar have exactly the same PWM switching rates - in this case the motor PWM drive PWM (as compared to the PWM command rate from the Rio).

RufflesRidge 07-12-2014 21:46

Re: New Talon vs New Victor
 
Quote:

Originally Posted by phargo#1018 (Post 1412151)
I am particularly interested in the loop closure rates.

1ms period according to what we've seen in Beta.

Qbot2640 07-12-2014 23:36

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Gregor (Post 1412068)
Most teams were already beyond using spikes to control their solenoids, they were doing it via to solenoid breakout on the cRio. Forcing teams to go back to spikes would have been a step backwards.

I've never really looked at it that way - but I guess this makes a lot of sense now. We have never used the solenoid breakout because of our supply of 12V solenoids - the only 24V ones were the stuff we got in various KOPs or PDVs. We never really considered the solenoid breakout a progression away from Spike relays...but I guess if you had been doing it that way, the going back to Spikes would be a backward step. I am excited now.

R.C. 07-12-2014 23:51

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Qbot2640 (Post 1412175)
I've never really looked at it that way - but I guess this makes a lot of sense now. We have never used the solenoid breakout because of our supply of 12V solenoids - the only 24V ones were the stuff we got in various KOPs or PDVs. We never really considered the solenoid breakout a progression away from Spike relays...but I guess if you had been doing it that way, the going back to Spikes would be a backward step. I am excited now.

The cRio pneumatic breakout supported 12V solenoids. I believe the breakout supported both 12V and 24V depending how you wired it.

Gregor 08-12-2014 01:18

Re: New Talon vs New Victor
 
Quote:

Originally Posted by R.C. (Post 1412178)
The cRio pneumatic breakout supported 12V solenoids. I believe the breakout supported both 12V and 24V depending how you wired it.

Yep. You could have wired the solenoid breakout to a standard slot on the PDP for 12V, or to the same dedicated port that you powered the cRIO from for 24V.

Rosiebotboss 08-12-2014 15:18

Re: New Talon vs New Victor
 
Quote:

Originally Posted by Jon Stratis (Post 1411908)
There has been no official word since the blog post about evaluating them. That said, I haven't heard of any big issues with them, so I imagine they will both be legal.

True statement....no official word from HQ as to legality. I sent an email up to Manchester on Friday, no answer yet, but I expect a ruling soon. Teams want to know!!

MrRoboSteve 08-12-2014 18:15

Re: New Talon vs New Victor
 
Glad the PCM can handle the compressor startup current.

Can you have one PCM set for 12V solenoids and one for 24v?

cgmv123 08-12-2014 18:19

Re: New Talon vs New Victor
 
Quote:

Originally Posted by MrRoboSteve (Post 1412279)
Can you have one PCM set for 12V solenoids and one for 24v?

Not the same PCM (one PCM is all 24v or all 12v), but yes, you can have multiple PCMs set at different voltages. (You can apparently have up to 127 devices on a CAN bus. I shudder to think of a team that could max that out.)

nixiebunny 09-12-2014 00:55

Re: New Talon vs New Victor
 
The utter lack of fresh information from either CTRE or Vex is a bit nerve-wracking. I'm sure my nerves are in better shape than the folks who work at those two places, though!


All times are GMT -5. The time now is 23:40.

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