Go to Post and as you can see, all rumor threads lead to silly, loads of silly - JaneYoung [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 30-12-2009, 23:13
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
Serial to CAN Gateway in new Black Jaguars?

It appears that the new Black Jaguar Motor Controllers are capable of interfacing with either a standard serial port at at bit rate of 115.2 kbps, or a Controller Area Network (CAN) interface. See the data sheet available at: http://www.luminarymicro.com/products/mdl-bdc24.html (don't bother to register, just select "OPTIONS"). It seems that the Black Jaguar can act as a Serial to CAN gateway to all of the motor controllers in the system. This implies that a single serial port on the cRIO will be able to control all of the motors on the robot, getting rid of the pesky requirement for a $1000 CAN interface module on the cRIO. It also implies that a single Black Jaguar in the system can act as a CAN gateway to all of the older Tan Jaguars that we already have. This will give us access to to motor current and voltage, and the built in quadrature encoders. In the data sheet it actually says that the Black Jaguar "Directly interfaces to a PC serial port or National Instruments cRIO".

My question is to those cRIO people out there: Do we have access to the serial port on the cRIO, or is already being used for some other function (debugging or diagnostics) in the system?

If the serial port is available, I see no reason why everyone shouldn't be using the CAN interface this year.

Thoughts?
  #2   Spotlight this post!  
Unread 30-12-2009, 23:56
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 136
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
Re: Serial to CAN Gateway in new Black Jaguars?

In following the beta forums(as a team that helped out as part of one of the teams that was part of the labview beta and not a hardware beta test team) it sounded like the cRIO serial port is the planned way of interfacing with the new Jags and then the new jag would act like a bridge to the old jags. as of right now the serial port is only being used for diagnostic data if i understand correctly.

Again the thing to always keep in mind is that just because it is being tested as part of the beta this year doesn't mean that the GDC will actually allow the use of CAN for the competition this year.

Please anyone else please pipe up and correct me if i'm wrong on this.

Last edited by IceStorm : 30-12-2009 at 23:59.
  #3   Spotlight this post!  
Unread 31-12-2009, 01:22
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Serial to CAN Gateway in new Black Jaguars?

http://www.chiefdelphi.com/forums/sh...ad.php?t=78632
http://www.chiefdelphi.com/forums/sh...ad.php?t=79076
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
  #4   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,367
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.
  #5   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.
  #6   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,785
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.
  #7   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.
  #8   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.
  #9   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: 156
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.
  #10   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.
  #11   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: 7,007
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?
  #12   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.
  #13   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: 156
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.
  #14   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,532
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.
  #15   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.
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 06:18.

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