Go to Post Since the dawn of man, martial artists have sought to master fighting styles that seamlessly blend the attributes of strength, power, quickness, grace, and speed. You've heard them all. The Tiger. The Crane. The Mantis. Now witness.......The Nerd. - Travis Hoffman [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #166   Spotlight this post!  
Unread 05-12-2012, 19:09
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,636
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by ehfeinberg View Post
When exactly is later?
Mike, do you want to jump in here? You have both the Talon and the 2CAN. When will they start talking to each other?
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
  #167   Spotlight this post!  
Unread 05-12-2012, 19:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by ehfeinberg View Post
if we buy Talons now, will they be compatible with CAN once Talons support CAN?
The present model Talons have only a PWM input. I'm trying to picture how they could "be compatible with" CAN. What did you have in mind? Some sort of CAN-to-PWM interface?


  #168   Spotlight this post!  
Unread 06-12-2012, 21:29
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by Richard Wallace View Post
Mike, do you want to jump in here? You have both the Talon and the 2CAN. When will they start talking to each other?

The short answer is never. PWM and CAN are two completely different interfaces. PWM is unidirectional(one way) CAN is bidirectional(twoway). PWM is time based measurement, CAN is serialized data over a differential BUS.

The Talon was designed to meet the needs of the majority of users. Since only about 10% of users prefer CAN, it did not make sense for our first release to include the additional features and cost associated with CAN.

Additionally, CAN would increase the footprint of the TALON to accommodate the additional connectors used for the various forms of feed back. In short the decision to withhold CAN functionality from the Talon was mostly business and partly design.

The situation with CAN is a bit paradoxical, we would like to release a CAN enabled version of the TALON, we feel that if we were to correct some of the issues with CAN in FIRST teams would see the benefit and slowly migrate away from PWM and into CAN thus increasing the demand. However, There needs to be a demand in order for us to justify the additional cost and increase in footprint.

This becomes even more challenging with the new reduced pricing. I truly believe that a properly implemented CAN interface is a better solution for FIRST than PWM.

The questions I have for the FIRST community are: What would you be willing to pay for a CAN enabled motor controller that had a footprint slightly larger than the Talon? Second would the increase in footprint make the Talon less desirable for PWM users?

After all it is your support that would make all of this possible. We appreciate your patronage and feedback.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
  #169   Spotlight this post!  
Unread 06-12-2012, 22:19
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,738
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: New Talon Speed Controller

Mike, this feels like an area that would require a much longer conversation than I'm willing to type out. I will make a few points, though:

- CAN is a great system, but the current implementation is a little lacking. For example, you can't have a single encoder help control two Jaguars, when the bidirectional communication would seem to allow for that.
- In order for CAN to really become popular, we have to get more than just our speed controllers on it. It's incredibly useful in automotive applications simply because so much stuff is on it and able to talk back and forth.
- In the tradeoff between size and capabilities, I'll always choose capabilities. We've used Jaguars on the drive train since they came out specifically for that reason - the linear response was worth the increased size. Now that the Talon offers a near-identical response at a similar price point, the decreased size is the key differentiator (assuming the capabilities of CAN aren't required).
- To add CAN to the Talon, how big would the footprint get? If it's the size of the Jaguar (for example), then we would need to see some additional capabilities to make it worth purchasing over using our current stock of Jaguars.

I, for one, would absolutely love to see what you could do with CAN!
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #170   Spotlight this post!  
Unread 07-12-2012, 23:05
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,988
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: New Talon Speed Controller

I, personally, favor a LIN bus. The ~10kb/s data flow should be enough (but maybe it isn't?), and it is dirt cheap to implement.

Oh, and another data point: If you connect 12 VDC to the output side, and the motor to the input side, the Talon doesn't work properly anymore.

Excuse me, I have some students to harass counsel.
__________________

I am N2IRZ - What's your callsign?
  #171   Spotlight this post!  
Unread 07-12-2012, 23:13
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: New Talon Speed Controller

Quote:
Originally Posted by DonRotolo View Post
I, personally, favor a LIN bus. The ~10kb/s data flow should be enough (but maybe it isn't?), and it is dirt cheap to implement.
Not knowing anything about LIN... I'll assume an essentially perfect bit packing for minimal operation.

4 motor controllers * 8 bits/controller/cycle = 312 Hz control

Note that that number goes down if individual addressing is supported, more than 4 controllers are on the bus, more than 8 bits are transmitted (i.e. you're actually using it to gain capabilities not available through PWM -- also, the Talon has 10 bits of output resolution).

I'm not so optimistic that this will be fast enough -- I highly doubt that it would be nearly this efficient.

For running just 1 controller (not the drivetrain), this might be more suitable. I'll look more into the LIN bus.

Edit: It appears the minimum packet size is 5 bytes (there might also be other delays -- I'm just looking at the extreme basics here). That puts the control rate for 1 controller at under 300 Hz... for 2, that's under 150 Hz (and under PWM).

Last edited by flameout : 07-12-2012 at 23:23. Reason: I've gotten more info (quicker than I thought, too)
  #172   Spotlight this post!  
Unread 07-12-2012, 23:26
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,988
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: New Talon Speed Controller

OK, nevermind. CAN it is....
__________________

I am N2IRZ - What's your callsign?
  #173   Spotlight this post!  
Unread 07-12-2012, 23:26
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by flameout View Post
Not knowing anything about LIN... I'll assume an essentially perfect bit packing for minimal operation.

4 motor controllers * 8 bits/controller/cycle = 312 Hz control
You don't send 8-bit LIN commands.

http://en.wikipedia.org/wiki/Local_Interconnect_Network


LIN, like CAN, is a message based protocol, with generally lower bus speeds than CAN and significantly simpler implementation. Unlike CAN, LIN has a bus master which is in charge of bus arbitration and scheduling. Vehicles generally use it to connect slave IO modules to a central ECU, for example to connect buttons on a steering wheel to a body control module, where the button modules act as LIN slaves. The smarter LIN bus masters are then connected to the full CAN busses, CAN being a faster and master-less bus which is often used for sending many messages very fast.

But, you communicate by sending message frames. Frames consist of various header information fields (including an ID) and 2,4 or 8 bytes of data.

It would be just fine for 50hz motor updates. It's really easy to wire, as it dosen't care about splits or segments and can run at rather long wire lengths (for FRC use) with no issues, it uses a single wire with 12v signal voltage, and is implemented using UART hardware, meaning a simple level shifter is all you need to use the RS-232 port to speak LIN.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #174   Spotlight this post!  
Unread 08-12-2012, 10:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by apalrd View Post
...a simple level shifter is all you need to use the RS-232 port to speak LIN.
An RS-232 port can speak PWM servo signal, too.

http://www.chiefdelphi.com/media/papers/2702


  #175   Spotlight this post!  
Unread 08-12-2012, 13:21
dbarg1 dbarg1 is offline
Registered User
FRC #0449
 
Join Date: Dec 2012
Location: Maryland
Posts: 1
dbarg1 is an unknown quantity at this point
Re: New Talon Speed Controller

What is the verdict on talon and encoder integration? Do you have to manage the encoders through the cRIO as before? If so, is it impossible to do the kind of speed control that was used with the Jaguars (for large speeds, i.e. fly wheel)?
  #176   Spotlight this post!  
Unread 08-12-2012, 14:20
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by Mike Copioli View Post
The situation with CAN is a bit paradoxical, we would like to release a CAN enabled version of the TALON, we feel that if we were to correct some of the issues with CAN in FIRST teams would see the benefit and slowly migrate away from PWM and into CAN thus increasing the demand.
I've been slowly trying to do that over the last few seasons. However, with some of the issues with CAN for FRC as well as the Jaguars(ie.. brownout & forget closed loop configuration) I haven't been able to do that. If those issues could be corrected, I'm in 100%. As I understood it, not many if any teams do BETA testing with CAN, so that alone would help.

Quote:
Originally Posted by Mike Copioli View Post
This becomes even more challenging with the new reduced pricing. I truly believe that a properly implemented CAN interface is a better solution for FIRST than PWM.
Agreed, CAN is a much more elegant and neater(no more rats nest of pwm wires) solution than PWM. The ability to do asynchronous co-operative processing with controllers over the CAN bus is really awesome. We did some of that this season.

Quote:
Originally Posted by Mike Copioli View Post
The questions I have for the FIRST community are: What would you be willing to pay for a CAN enabled motor controller that had a footprint slightly larger than the Talon?
I would be willing to pay more for a CAN enabled Talon with a slightly larger footprint. Of course, how big a price difference matters, as well as how much bigger it is. For example, 1.25 - 1.50 times as much, and smaller than a Jaguar I'd be sold on. Again it's something that needs to be thought about as it's a Price/Performance/Value question which is hard to answer right now.

Quote:
Originally Posted by Mike Copioli View Post
Second would the increase in footprint make the Talon less desirable for PWM users?
We've used the larger Jaguars on our drive system with PWM because we wanted the better linearity of the Jaguar. So for some teams perhaps size matters, it all depends on what their objectives are. Of course now that the Talons have that great linearity too, we'll most likely switch to Talons.


I don't know if this would be viable, but what about 2 different Talon models? A PWM only as is today that has the small footprint and low price point, and a CAN only as an optional model? I don't know if there's enough market for the CAN only model, but it's a thought.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #177   Spotlight this post!  
Unread 08-12-2012, 14:41
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: New Talon Speed Controller

Quote:
Originally Posted by Phalanx View Post
The ability to do asynchronous co-operative processing with controllers over the CAN bus is really awesome.
Could you please elaborate what is your intended meaning of the phrase "asynchronous co-operative processing with controllers over the CAN bus" ?


  #178   Spotlight this post!  
Unread 08-12-2012, 16:51
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: New Talon Speed Controller

What I mean, is exploiting the closed loop functions in the Jaguar which at this time is only available via CAN.

Such that I can send a command(s) on the CAN bus to one or multiple Jaguars running in closed loop mode to perform some function(s) while other code and processing is performed on the CRIO all simultaneously.

For example, if I have 8 Jaguars on the CAN bus, that perform 8 distinct functions that are not tied to one another, I can have 8 different operations happening concurrently, along with what ever other processing I might need on the CRIO.

So, now we've offloaded processing from the CRIO to the Jaguar to achieve a joint task that's (co-operative) processing.

Since these processes can now happen simultaneously and no one process need wait for another they are said to be asynchronous. You could call it parallel processing if you wanted.

You could in theory have the CRIO be relegated a message handling agent, sending messages, reading status, and sending other messages based on status received.

I do stuff like this in my day job.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #179   Spotlight this post!  
Unread 10-12-2012, 10:31
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,582
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Re: New Talon Speed Controller

Quote:
Originally Posted by DonRotolo View Post
Oh, and another data point: If you connect 12 VDC to the output side, and the motor to the input side, the Talon doesn't work properly anymore.
That doesn't appear to be a discriminator for us; we have performed the same test on a Jaguar before with equivalent results. It was an unsupervised experiment and not in a lab environment but I'm pretty sure it's repeatable.
__________________
Close enough to taste it, too far to reach it
  #180   Spotlight this post!  
Unread 10-12-2012, 23:24
nixiebunny nixiebunny is offline
Registered User
AKA: David Forbes
FRC #4183 (Bit Buckets)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2011
Location: Tucson
Posts: 163
nixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond repute
Re: New Talon Speed Controller

Thanks for all the fine testing and analysis, folks. I snagged half a dozen Talons through First Choice today. I hope they provide joy. I intend to use them for CIMs, with fan. You'd be crazy to not use a fan if you can use one, as the lifetime of electronics is exponentially increased by cooling it a few degrees.

Having designed a smaller motor controller for underwater stuff, I have long been mystified at the behavior of the Victor 884. I'm under the impression (from reading the CD archives) that it doesn't short the motor winding in the off phase of the PWM cycle. Is this the case, or does it do something else to make it so nonlinear?
__________________
--David Forbes
Mentor, Bit Buckets team 4183. Assistant cat herder and dispenser of legendary tales.
Need a Nixie watch? Yes, you do. Ask me.
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 03:38.

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