Go to Post It's a good things we're engineers who regularly squeeze out 'miracles' with a severely limited budget, eh? I think that's an important aspect that we as mentors need to show the students from time to time, and this year is a perfect opportunity. - JesseK [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #17   Spotlight this post!  
Unread 05-04-2011, 00:03
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Unexplained intermittent CAN / 2CAN Jaguar problems at GSR

Did some experimenting this weekend

We used last years robot with a 2CAN on port 1 and tested the following with 4 jags. Using code to time, we ran the robot for two minutes and printed out the total number of errors

A) 6 Conductor wires with bad routing (had a few cables wrapped around power cables)
B) 6 Conductor wires with good routing (not near power wires)
C) 2 Conductor wires with bad routing
D) 2 Conductor wires with good routing
E) 120 Ohm Termination
F) 100 Ohm Termination
G) Using PID
H) Using just voltage control
I) Having a dead battery

A C E F Had an average of 16 errors
B Had an average of 12 errors
*G Had an average of 17 errors*
H Had an average of 8 Errors
I Had an average of 29 Errors

Now an interesting trend we saw with PID marked with *
Not many errors were seen with just normal movements. We used current control first set to max at 40 Amps then set with 20 amps max. With 40 amps the robot drove without a problem. With 20 amps we had issues turning (wheels are out of alignment) but more interesting was when the robot stalled or near stalled (with 20 amps) we through MANY MANY MORE errors then if we didnt stall. So at a 20 amp stall there were more can errors. But with draws approaching 40 amps (without stalling) there were less errors.

This seems to indicate more along the lines of an issue with either the firmware on the JAG with PID and higher calculation or with the driver on the cRIO waiting for a response that cannot be returned due to said calculations . . .

Obviously with a low battery or high draws you will have more errors due to jags browning out.
Reply With Quote
 


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 06:57.

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