|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |
|
#4
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||||
|
|||||
|
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. |
|
#7
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
The Jaguar speed controller is a design example of how to use one of the MCUs in a brushed DC motor control application. |
|
#10
|
|||
|
|||
|
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
|
|||||
|
|||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
Am I misunderstanding something here (I frequently do)? |
|
#12
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
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
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
On a grey plastic Jaguar, both connectors are 6P4C and are CAN only. |
|
#14
|
||||
|
||||
|
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
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |