View Single Post
  #6   Spotlight this post!  
Unread 23-11-2011, 10:27
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: [DFTF] Closing the loop on Wheel Velocity...

Quote:
Originally Posted by Jared341 View Post
From an analytic perspective, I don't necessarily believe that 1000hz operation will yield significantly better response than, say, a 100-200hz velocity loop running on the cRIO. The important thing is that your loop rate is higher (at least 10x higher is the rule of thumb my thesis advisor used) than 1/the time constant of the system you are controlling. When brushed DC motors are connected to a load, their time constant may be on the order of 100s of milliseconds or more (depends on the load's inertia and damping). In other words, a 4 CIM drivetrain with traction wheels geared for 10 fps free speed won't hit (63.2% of) 10 fps instantaneously when you floor the accelerator. Additionally, as you pointed out, getting good velocity feedback at 1khz rates presents a challenge in its own right (I think magnetic encoders are the best way to go here).

Your mileage may vary, and I'd welcome anyone to do empirical studies that show whether 1000hz gives them better dynamic velocity tracking performance than 200hz (for Jags) or 120hz (for Vics).*

* 200hz and 120hz are the maximum input rates for Jags and Vics, respectively.

The reaction time of motors is faster than you might guess, especially when we are controling velocity not position.

I am not sure what it is in this case, but I am concerned that 100hz is not fast enough given some other experiences I have run into.

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote