View Single Post
  #12   Spotlight this post!  
Unread 30-11-2009, 02:23
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Speed Controller Preference

Quote:
Originally Posted by EricVanWyk View Post
I'm not saying that CAN will let you do things that are impossible now, I'm just hoping it lowers the ((entrance)) bar for some of the fundamentals.
Most of the features that the CAN bus allows us to do are easily doable now.
The speed (Voltage) control mode, is the mode we are using through PWMs.
The Analog position input (Potentiometer)
has been done by almost everyone using an arm (PID control)
The Encoder position control
Can be done this year, use a PID controller and have your setpoint be a # of ticks
Limit switches - Digital input,
if(input && (abs(speed)/speed) == limitDirection) motor.set(0.0);
else motor.set(speed);


Though, the real advantage of using CAN is that the Jags handle the monitoring, and control internally.

Which can provide the fastest response possible in a closed loop.
(At least with the motors & controllers we can use)

And any faults can be read by the RIO,
ex: does that red slow blink mean the limit switch has been triggered or is the jaguar dead?
Conditions like: over-current, under voltage (ie 6v from battery), limit switch, or over temperature; can easily be read from like the driverstation LCD instead of guessing.

Also having access to all the motors variables (current, voltage, torque, speed) without having to put in a large coil of wire for a current sensor is nice.


http://www.luminarymicro.com/products/mdl_bdc.html
BD-BDC-DS-01 Datasheet for Brushed DC Motor Control Module
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!

Last edited by biojae : 30-11-2009 at 02:33. Reason: Citations...