Go to Post a robot that is broken shows that it has survived more than a robot that doesn't even have a scratch. - robot180 [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-11-2011, 18:53
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
CAN performance for 2012 (2CAN?)

A while ago, Kamocat ran some tests on the performance of FIRST's CAN using the black Jaguars as a serial-to-CAN gateway (documented at http://www.chiefdelphi.com/forums/sh...ad.php?t=86259). During the 2011 season, I did some tests of my own to see if it had improved.

What I found was that we would average 180-200 CAN commands per second (this would vary based on the command). Principally, I tested using the voltage set, current control setpoint set, and current reading retrieval commands. It was done in Java, over a serial connection from the cRIO, utilizing a mix of black and tan jaguars. The CAN network was properly terminated and appeared reliable.

Since we had 4 drive motors, that comes out to a 45 Hz update rate (voltage set commands would only run at about 180/sec). As this doesn't enable new functionality (we had no need for closed loop control if we couldn't also read the voltage being output), and this was slower than the PWM update rate, we chose not to use CAN.

I am wondering if this will improve this year, or if the 2CAN offers improvement. Have other teams run similar tests with the 2CAN? Have any beta test run tests such as this with the new software? Has anyone heard anything about possible performance improvements?

Mainly, I'm wondering if the 2CAN is worth purchasing -- we don't have one, but if it offers a significant improvement, we'll buy one. Unfortunately, according to the thread I linked to, it doesn't look like it does. Am I wrong?

Thanks for any responses.

EDIT: Looks like the PWMs are updated at almost 200Hz... should've read the documentation better (that would've been really nice to know last year).

Last edited by flameout : 23-11-2011 at 23:17.
Reply With Quote
Reply


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 02:54.

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