Go to Post Lawyers find loopholes. Engineers find solutions. For which would you rather be known? - dlavery [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 31-12-2009, 08:15
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,358
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Serial to CAN Gateway in new Black Jaguars?

The First forum has a couple threads discussing this. Note the comment about the can being run in untrusted mode requiring a PWM cable and can cable to each jag. Also of concern is that Digikey only has about 1000 black jags. With veteran teams only getting 2 in the kit, If every team ordered 2 jags then there would be a supply problem.
  #2   Spotlight this post!  
Unread 31-12-2009, 08:38
dmcguire3006 dmcguire3006 is offline
Registered User
FRC #3006 (West High FIRST Robotics)
Team Role: Teacher
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Salt Lake City, UT
Posts: 21
dmcguire3006 is on a distinguished road
Re: Serial to CAN Gateway in new Black Jaguars?

Could you give me a link to the posts on FIRST forums? I couldn't get anywhere searching "CAN", "Jaguar" or "untrusted". Thanks! Also, keep in mind, only one Black Jaguar would be necessary per robot to act as a Gateway to last year's CAN enabled TAN Jaguars. Digikey currently has 780 Black Jaguars (MDL-BDC24) in stock.

One more quick observation - the Black Jaguar CAN gateway makes the 2CAN Ethernet to CAN converter a more expensive solution than just purchasing a DB-9 female to RJ-11 adapter (http://www.trianglecables.com/modular-adapters.html) and using the serial ports to run/monitor the motor controllers.
  #3   Spotlight this post!  
Unread 31-12-2009, 09:17
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Serial to CAN Gateway in new Black Jaguars?

d et al,
Remember that although the jaguars had CAN last year, the rules did not yet allow it to be used. Please hold your ideas until kickoff when you will know for sure.
From a personal standpoint, a daisy chain loop of control signals does provide a single point failure for all/most/some robot function.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 31-12-2009, 09:45
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Serial to CAN Gateway in new Black Jaguars?

Also, remember that the Jaguar is a piece of TI's advertising strategy. Professional Electrical Engineers can use the Jag as a "getting started" evaluation kit for ARM core that powers it. Therefore, it is in TI's best interest to cram as much awesome as possible into it, even if the GDC doesn't want to enable the awesome.

The 2CAN has a couple of cool features that a serial enabled black Jag doesn't. It will be up to teams to decide whether or not they justify the cost.

We all have to wait to see what the rules allow, but I'm certainly excited.

*EDIT: Like bandwidth!

Last edited by EricVanWyk : 31-12-2009 at 17:25.
  #5   Spotlight this post!  
Unread 31-12-2009, 10:45
dmcguire3006 dmcguire3006 is offline
Registered User
FRC #3006 (West High FIRST Robotics)
Team Role: Teacher
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Salt Lake City, UT
Posts: 21
dmcguire3006 is on a distinguished road
Re: Serial to CAN Gateway in new Black Jaguars?

TI's purchasing Luminary Micro never has made a whole lot of sense to me. It's not like TI didn't have the expertise to license the ARM core and program it themselves. I think that they are more focused on the power MOSFETs which is probably the largest part of the real cost of the Jaguar controller, rather than the microcontroller and associated programming.
http://focus.ti.com/general/docs/gen...ontentId=53265

That being said, they do make a big deal about the serial enabled nature of the Black Jag in the literature developed specifically for FIRST. I think that I'll buy a couple and the DB-9 to RJ11's and have one of my team members investigate the interface just on a hunch.

Thanks for everyone's input.
  #6   Spotlight this post!  
Unread 31-12-2009, 14:44
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by dmcguire3006 View Post
TI's purchasing Luminary Micro never has made a whole lot of sense to me. It's not like TI didn't have the expertise to license the ARM core and program it themselves. I think that they are more focused on the power MOSFETs which is probably the largest part of the real cost of the Jaguar controller, rather than the microcontroller and associated programming.
It sounds like you think TI acquired LMI for the purposes of Jaguar. It didn't. TI's acquisition of LMI was for all of the microcontrollers (MCUs) that LMI developed and were selling (plus the eval kits plus the software that accompanied the eval kits, etc.). TI acquired a catalog MCU business that complements their existing MCU offerings (C2000 and MSP430).

The Jaguar speed controller is a design example of how to use one of the MCUs in a brushed DC motor control application.
  #7   Spotlight this post!  
Unread 31-12-2009, 15:01
dmcguire3006 dmcguire3006 is offline
Registered User
FRC #3006 (West High FIRST Robotics)
Team Role: Teacher
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Salt Lake City, UT
Posts: 21
dmcguire3006 is on a distinguished road
Re: Serial to CAN Gateway in new Black Jaguars?

Luminary doesn't own the ARM processor. ARM does:
http://www.arm.com/products/licensing/

I could license the core and (with enough funding) become a fabless production house tomorrow. TI wants to sell silicon and the best way to do that is MOSFETs.

No sense in buying a processor that they will have to license through ARM anyway. imho.
  #8   Spotlight this post!  
Unread 31-12-2009, 16:39
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: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by dmcguire3006 View Post
One more quick observation - the Black Jaguar CAN gateway makes the 2CAN Ethernet to CAN converter a more expensive solution than just purchasing a DB-9 female to RJ-11 adapter (http://www.trianglecables.com/modular-adapters.html) and using the serial ports to run/monitor the motor controllers.
Does the Jaguar RJ-11 port speak RS232? I thought those were CAN ports; CAN protocol is not compatible with RS232 on several levels without some intelligence in-between.

Am I misunderstanding something here (I frequently do)?
__________________

I am N2IRZ - What's your callsign?
  #9   Spotlight this post!  
Unread 31-12-2009, 17:15
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by Don Rotolo View Post
Does the Jaguar RJ-11 port speak RS232? I thought those were CAN ports; CAN protocol is not compatible with RS232 on several levels without some intelligence in-between.

Am I misunderstanding something here (I frequently do)?
One of the two RJ11 ports has speaks RS232 on two of the previously-unused lines. Therefore, that port can either extend the CAN chain, or act as a bridge.
  #10   Spotlight this post!  
Unread 31-12-2009, 22:53
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by Don Rotolo View Post
Does the Jaguar RJ-11 port speak RS232? I thought those were CAN ports; CAN protocol is not compatible with RS232 on several levels without some intelligence in-between.

Am I misunderstanding something here (I frequently do)?
Looking at a new black plastic Jaguar from the front (connectors) the right connector is 6P4C and is for CAN only and the left connector is 6P6C and is for CAN and RS232. The inner four contacts on both connectors are the exact same. The outer two contacts on the left connector are RS232.

On a grey plastic Jaguar, both connectors are 6P4C and are CAN only.
  #11   Spotlight this post!  
Unread 01-01-2010, 10:58
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Serial to CAN Gateway in new Black Jaguars?

You can find semi-full descriptions of the new CAN and how it is used on the First Beta Forums here:

http://forums.usfirst.org/forumdisplay.php?f=1260

This is one of the things the first teams have been beta testing: you will find forum posts, presentations, and descriptions on how they work.
  #12   Spotlight this post!  
Unread 01-01-2010, 12:58
dmcguire3006 dmcguire3006 is offline
Registered User
FRC #3006 (West High FIRST Robotics)
Team Role: Teacher
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Salt Lake City, UT
Posts: 21
dmcguire3006 is on a distinguished road
Re: Serial to CAN Gateway in new Black Jaguars?

Sounds like a done deal. I'll bet that there is one of these in the KOP:
http://www.computercablestore.com/Mo..._F_PID948.aspx

As well as some of these:
http://www.dataaccessories.com/rj11.html

Communications protocol is here:
kamocat.com/Jag/SW-RDK-BDC-UG-4201.pdf

As far as CAN being a liability because of single point failure (as opposed to independent PWM line), I'm sure that no one has built in redundant motors so the net result on a cable failure would be the same between CAN and PWM.

Good thing about CAN is that you can monitor motor voltage and current and hence computing a running energy expenditure tally would be quite simple.

Energy = Power*Time = Voltage*Current*Time

Suggesting that this year's game may be about keeping track/minimizing energy resources in pursuit of a more general goal. This allows FIRST take a quantum leap in relevance.
  #13   Spotlight this post!  
Unread 01-01-2010, 13:31
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by dmcguire3006 View Post
As far as CAN being a liability because of single point failure (as opposed to independent PWM line), I'm sure that no one has built in redundant motors so the net result on a cable failure would be the same between CAN and PWM.
This depends on what motor is connected to the controller with the failed cable. If a drive motor PWM fails, odds are it's the same, but if a manipulator PWM fails then the robot could still drive with PWM, but with CAN you're dead in the water.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #14   Spotlight this post!  
Unread 01-01-2010, 14:17
dlavery's Avatar
dlavery dlavery is offline
Curmudgeon
FRC #0116 (Epsilon Delta)
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Herndon, VA
Posts: 3,176
dlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond repute
Re: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by dmcguire3006 View Post
As far as CAN being a liability because of single point failure (as opposed to independent PWM line), I'm sure that no one has built in redundant motors so the net result on a cable failure would be the same between CAN and PWM.
Actually, there are some very significant differences between the failures. If you lose a PWM cable used in the traditional configuration (and honesty, there are probably very few teams that have NOT had a PWM that came loose or someone forgot to plug back in at one point or another), at most you lose one motor. In almost every case, the robot is still operable, although with reduced functionality. If you lose a CANbus cable, or have a single device at the head end of the bus catastrophically fail, you can lose access to every motor connected to the bus.

The risks associated with these two options are substantially different. Whether the risk profile is a reasonable trade given the benefits that come with the use of a CANbus configuration is something that each team will have to assess for themselves. Based on your tolerance for risk and your ability to take advantage of the added capabilities of CAN, this trade-off may or may not make sense (personally, I think that for most teams it certainly will make sense, and I would expect to see a lot of teams using the CANbus configurations this year - they just need to understand the risks of doing so).

-dave




-
__________________
"I know what you're thinking, punk," hissed Wordy Harry to his new editor, "you're thinking, 'Did he use six superfluous adjectives or only five?' - and to tell the truth, I forgot myself in all this excitement; but being as this is English, the most powerful language in the world, whose subtle nuances will blow your head clean off, you've got to ask yourself one question: 'Do I feel loquacious?' - well do you, punk?"
- Stuart Vasepuru, 2006 Bulwer-Lytton Fiction Contest



My OTHER CAR is still on Mars!!!
  #15   Spotlight this post!  
Unread 01-01-2010, 14:46
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Serial to CAN Gateway in new Black Jaguars?

You can also add fault tolerance in you code/wiring, and with the flip of a switch go from CAN to PWM as a fail safe mode.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can we get PS2 type game controllers with serial ports? waialua359 Control System 12 25-01-2006 22:33
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56
VXML Gateway to Web Databases Adrian Wong Rules/Strategy 11 08-10-2001 08:10


All times are GMT -5. The time now is 03:22.

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