Go to Post "Programming is 1% talent and 99% not getting distracted by the Internet." - FRC4ME [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 13-01-2012, 18:56
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
Re: Optimizing Speed Controllers

Quote:
Originally Posted by 4DFudge View Post
So, my team is trying to use the inputs on the speed controllers (and possibly the sidecars) more effectively, to improve our overall robot. One of mentors brought up using CAN bus however I'm not exactly sure how I would go about setting this up(if this is actually more efficient than the connection of every jag being connected to a different input on the digital sidecar). So I was just wondering if other teams had used other inputs that improved their robot's preformance.

Also I have read the datasheet for the digital sidecar and it seems as though the connections are pretty clear cut but I just wanted to make sure there aren't more creative uses.

Thanks
We did some testing last year (using Java), and determined that CAN is in fact slower than PWM (in terms of update rate). Therefore, unless you are using the built-in closed-loop control features (control of current, velocity, and position as well as exact voltage are possible), I do not see any competitive advantage to CAN

However, PWM cables are known to be a bit unreliable, so CAN is an improvement in reliability.

There's a guide (or two) on the forums for setting it up. I suggest looking in the "CAN" subforum.

Fyi, we found last year that Java's CAN driver averages 180-200 commands per second (depending on the command). The Jaguar's PWM is updated at 200 Hz, and the Victor's is at 100 Hz. The internal PID algorithm in the Jaguar runs at 1000 Hz -- so if you need closed-loop control, then CAN might be a better option for some of your Jaguars.

Good luck with whatever you choose to go with.
 


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 04:22.

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