Go to Post Right now that dream is sealed behind a few milimeters of plastic for most teams. - AllenGregoryIV [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-03-2012, 13:53
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Flywheels and Shooter Wheels

Quote:
Originally Posted by Ether View Post
This could very well be the ideal way to control a shooter wheel's speed.
  • Fastest possible spin-up and recovery time
  • No tuning necessary
  • Stable over a wide range of loads
  • Extremely simple to code in any language
Think about how this works. Whenever the measured speed is below the setpoint, full voltage is applied to the motor, providing the fastest possible spin-up and recovery. When the motor reaches the desired speed, the power is removed (voltage set to zero). Since we are controlling speed (not position), there is no overshoot due to "momentum". There is no "momentum" to carry it past the setpoint, since the setpoint is speed, not position. Once the power is removed from the motor, the acceleration goes to to zero immediately*, so there is no further increase in speed.

The only overshoot is caused by the sample time: since this is not a continuous (analog) but rather a discrete (digital) controller, the power to the motor is updated only once each execution cycle. But if the execution cycle time is 20ms (e.g. TeleOp), then the maximum overshoot in rpm would be 0.020*wheel_acceleration_in_rpm_per_second. At motor speeds typical for a shooter and with sufficient moment of inertia in the wheel, the wheel acceleration is low enough that when multiplied by 0.02 creates a very small maximum overshoot.

Once the wheel is at the setpoint speed and the power has been removed, the wheel will of course begin to decelerate (due to friction, windage, etc). But the moment it goes below the setpoint, maximum voltage is again applied* and the cycle repeats.


*subject to any voltage ramping that may be in use

Last edited by Ether : 20-03-2012 at 13:59.
Closed Thread


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 03:44.

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