|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
On a grey plastic Jaguar, both connectors are 6P4C and are CAN only. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||||
|
|||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
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.
|
|
#5
|
|||||
|
|||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
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 - |
|
#6
|
||||
|
||||
|
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.
|
|
#7
|
||||
|
||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
In addition, remember that CAN will not be officially supported (even if it IS legal to use). |
|
#8
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
I believe that the serial-CAN implementation does not allow on the fly choice of Can or PWM. The PWM cable provides a heart beat since the jags are operating in untrusted mode. Also my understanding is that there is a different C-RIO FPGA image for can vs PWM control. There are some good threads on Chief Delphi and the First Beta forum on the CAN situation. Also, Luminary Micros have documentation that can be downloaded. 1 week to go until the kick off. Much should be reveled then. In the mean time if a team is considering using CAN, do some homework now. If the serial rate is 115k then there could be update rate concerns especially if there are many jags on the bus. It's not the bit rate alone, Have to consider latency issues. I can remember Dave giving a warning about serialized communications last year when the new controller was being speculated on. I would definitely head his warnings. The serial and Ethernet Can solutions both allow experimentation with out the C-RIO and the driver station by directly communicating with a PC. This brings up safety concerns because there is no E-STOP button in the loop. BE SAFE.
|
|
#9
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
Quote:
|
|
#10
|
||||
|
||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
In C and Java all you need is to kill the Instance of CANJaguar and Construct PWMJaguar. You will also have to let your code know not to use the advanced features in fail safe mode. I will double check with Brad to see if this will work.
Edit: Also on Al's note, I'd go as far to say if you can't run your robot for 4 minutes on a battery it may spell trouble. especially with the MK batteries. If your team grabs a weak battery and your on the edge of power consumption you may find yourself dead on the field at a critical point. It stinks to loose a key match to a weak battery. Last edited by Kingofl337 : 02-01-2010 at 10:45. |
|
#11
|
||||
|
||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
During overdrive, many teams were pushing the batteries VERY hard. So hard that during the practice matches, they were dieing at the end. This includes a number of top teams. I had the luck to watch the battery voltage on one of the world champion teams during a regional competition, and at the end of the 4 minute period they were in the 6's and 7's voltage wise while trying to hurdle. I know we would never have made it through 2 matches without performance degragation. We started to lose simultaneous lift + drive ability after 3 minutes. (4 cims + 2 fish running near stall during the lift + turn). That's why we rank all of our batteries on a battery tester (the one Al recommended I believe) and only use the top ones at regionals. |
|
#12
|
|||
|
|||
|
Re: Serial to CAN Gateway in new Black Jaguars?
This thread has gone incredibly off-topic, which is good because I have learned a lot that would never have occurred to me otherwise (mostly about batteries in competitions). I would like some specific information on battery testers, such as manufacturers and costs. I think qualifying your batteries before a competition is an excellent idea. Does Al still recommend this one:
http://www.westmountainradio.com/CBA_ham.htm Thanks again for the all of the valuable info. |
|
#13
|
||||
|
||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
That is the one we bought. It seriously opened some eyes when we used it - batteries that we thought we ok tested horrible, and a battery from 2+ years ago tested as our best
!Very helpful and highly recommended. I never did thank Al for the great recommendation. Last edited by Tom Line : 02-01-2010 at 23:51. |
|
#14
|
|||||
|
|||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Quote:
West Mountain also sells a higher current device for those who wish to test at really high currents. I would recommend a high current test be carried out only once or twice a season. We also save the battery tests to a file and overlay the battery with a new test next season. Please remember that even under the best conditions, the manufacturer specs the battery at 400 charge/discharge cycles. I would guess under our use, that is 300 for teams with the two match or better usage and 200 or less for those that drain a battery in one match. |
|
#15
|
||||
|
||||
|
Re: Serial to CAN Gateway in new Black Jaguars?
Are the CAN connectors on the Jaguars able to pass data through if they have no power. Are they simply unions or is the Jaguar doing something with the info?
From my experience with automotive CAN bus layout, we always have a main trunk with a terminator. Each CAN device then has a direct link to the trunk...nothing is daisy-chained. Would this help eliminate failure concerns, excluding losing the main Black Jaguar or the trunk line? |
![]() |
| 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 |