Flywheel
Shooting things and busting encoders
Last updated
Shooting things and busting encoders
Last updated
This work is licensed under a Attribution-ShareAlike 2.0 Generic License
A flywheel is a mechanism that is designed to store rotational energy as efficiently as possible. This is done by spinning a wheel or disk at very high speeds with very little friction. In VEX, the main application is to launch objects long distances. They are often chosen over other shooting mechanisms for their ability to shoot at variable distances and with variable forces.
To control any type of flywheel, you have a few options. You can either max out the voltage/velocity, but if you would not like the maximum force of your motor, it is highly recommended to use a PID controller to keep the speed of your flywheel consistent. Without a PID controller, your flywheel will be in a loop of over and undershooting the speed, causing inaccurate results.
A single flywheel is by far the most common flywheel used in Vex because of its consistency and accuracy. Single flywheels use a single wheel spinning at high RPMs with a back plate (most commonly Lexan or ABS). The back plate is formed around the wheel and tuned for the right amount of compression (varies based on the object being fired) and cut to the desired launch angle of the object. The biggest benefits of single flywheels over double flywheels are their consistency, reduced use of motors, and distance because of greater backspin. They're consistent because of their back spin with the plate, and only tuning of one motor.
Single flywheels were the dominant design of Nothing But Net. Below is a picture of 1104M in the world finals with a single flywheel (3/6 finals teams in NBN were 1104 with essentially the same robot).
This flywheel spun at extremely high RPMs and had the majority of the wheel’s mass on the very outside of the wheel which increased its moment of inertia thus making it easier to fire several balls in succession. This was paired with a ratchet and pawl that allowed the wheel to coast with no motor power and maintain most of its speed.
Single flywheels were also common in Turning Point where the main goal was precision and power. Robots like 169A chose flywheels because they are very consistent, and allowed for quick double shots (especially later in the season). 169A’s robot is shown below.
This robot used many mechanics similar to what 1104 did in NBN. The biggest innovation of this robot was the addition of an angle-changing hood. This hood allowed for the robot to shoot 2 flags(of different heights) very quickly and very accurately.
Both above robots can be found in CAD designs here. (Courtesy of Zach from 929)
A Double flywheel is similar to a single flywheel but instead of a backboard has another rotating wheel. These wheels are often placed horizontally next to each other (but have also been done vertically). They are much more advanced and allow for more tuning, most commonly changing the speed of a wheel to adjust the projectile’s path. When vertical, the wheels can have different speeds that allow for more/less backspin to make the object fly at different distances. Double flywheels are larger, and heavier, but most importantly need more compression because of the reduced contact time with the ball. This means that they take longer to spin up and put more strain on the motor. Double flywheels generally consume two motors, but can also be configured to only use one motor with a clever gearing scheme. In a one motor configuration, a seperate gear train is required to make sure the wheels are spinning in opposite directions.
Below is VCAT Robotic’s nothing-but-net early season 15” VexU robot. It is one of the better-known double flywheels. They did however change the design soon after this to use a single flywheel.
Release adjusters deflect the game objects after it exits the flyhweel. They were commanly called angle shifters in Turning Point and bloopers or deflectors in Spin up.
91A
169A
315G
96969Y
BLRS2
4082B
Before spending too much time on refinement, make sure the build quality of the flywheel is satisfactory. A well-built flywheel with no refinement should still be relatively consistent (even if it performs poorly). Because flywheels rotate at such high angular velocities, faults in build quality and programming will be significantly more apparent as they attempt to approach their top speed. Ensure that the structure of the flywheel is properly aligned, bearings are fully seated, and no shafts are bent to establish an efficient flywheel mechanism.
Test and quantify the metrics of the flywheel.
Change a parameter.
Remeasure metrics.
Analyze results.
Repeat.
Metrics | Symbol (Unit) | Description |
---|---|---|
Power Usage | P (Watt) | Power (energy/time) used to maintain operational speed Correlated with friction in flywheel system Generally, the less power usage, the better, since it means that the motor is not working as hard to maintain the speed of the flywheel and will thus be less likely to overheat or have unpredictable behavior. |
Start/Spin Up Time | (second) | Time duration between an unmoving wheel and reaching operational speed |
Rebound Time | (second) | Time duration between shooting a projectile (or multiple) and reaching operational speed After shooting each projectile, the rpm will decrease quickly, then pick back up. |
Accuracy & Precision | measurement / testing depends on current game | |
Landing Distance | (m) | Distance from the robot to where the projectile lands correlated with projectile speed |
Projectile Speed | (m/s) | Speed at which the game object exits the robot |
Parameters | Symbol (Unit) | Description |
---|---|---|
META-PARAMETERS | -------- | Parameters that affect other parameters |
Operational Speed | ω (RPM or rad/s) |
|
Weight | m (kg) | Weight of disc |
Dimensions | (meter) | Radius/diameter and thickness of disc |
Edge Material | N/A | Material at edge of wheel and surface of backing material Examples:
|
PARAMETERS | -------- | Variables that affect metrics |
Edge Velocity | v (meter / second) | Tangential velocity at edge or disc v = r x ω |
I (kg * meter^2) | For discs in general: For most usable shapes: I ∝ m*r^2 For V5 Flywheel Weight: 0.3865 [lb in^2], 1.131 *10^-6 [kg * m^2] Increasing moment of inertia increases start up time, decreases rebound time, and increases precision. | |
Control Algorithm Type and Tuning Parameters | N/A | Motor controllers often have tuning parameters that change how the motor responds to sudden drops in speed (like when shooting a game object). A properly tuned control algorithm can artificially maximize the angular velocity while it accelerates. This can decrease spin up time. Examples: Bang Bang - threshold PID - kp, ki, kd Take Back Half - kp, ki |
Compression | N/A | How much does a game element compress when it travels through the flywheel? For single flywheels, compression increases as the distance between the backing and the flywheel decreases. For double flywheels, compression increases as the distance between the flywheels decreases.
|
Grip | N/A | How well does the flywheel and backing material hold on to the game element without slipping? Depends on material meta-parameter Increasing grip increases the spin of the game element. |
When a flywheel shakes or moves irregularly, it likely occurs because the flywheel is unevenly balanced or the shafts are not aligned properly or worn out.
Flywheel balancing is a process that evenly distributes the mass of the wheel to prevent vibration or wobbling during operation. Balancing typically involves adjusting the weight distribution of the flywheel by adding or removing material, or by using counterweights, to achieve equilibrium and minimize vibrations.
Spin the flywheel at a constant input voltage or constant input rpm.
Measure the vibration through the following options. More useful metrics like flywheel speed and power usage can also be measured here.
Use a mobile phone app. Tape the phone to the robot (near as possible to the flywheel) if necessary.
As of 4/21/2024, Vibrometer, Sonic Tools ("VIB Scope"), or PhysicsToolbox ("Linear Accelerometer") on iOS can serve this purpose.
Use the VEX Inertial Sensor. Save the accelerometer data to a csv file / SD card.
Try feeling the vibration with a finger near the flywheel (be safe).
Quantify the vibration by analyzing accelerometer data.
Estimate the amplitude of the vibration waveform.
Vibrometer gives an "Average" reading in the app.
PhysicsToolbox or the VEX IMU allow users to export data to a csv file. From here, there are many methods to estimate the degree of vibration.
Frequency analysis can also be done through a Fourier or wavelet transform. Shifts in frequency often correlate with shifts in flywheel speed. This depends on the resonant frequencies of the robot.
Add or move a counterweight on the flywheel.
Repeat from step 1 until the the vibration is sufficiently low, flywheel speed is high enough, or power usage is lower, etc.
Below are 3 sample tests of many to show the effect of weight distribution on a flywheel (81P Spin Up)(2/18/23).
Observations | Test #1 | Test #2 | Test #3 |
---|---|---|---|
Flywheel Balancing Configuration | 6 aluminum nylocks | 6 aluminum nylocks and 1 keps nut at hole index 2/6 | 6 aluminum nylocks and 1 steel nylock at hole index 2/6 |
Test Duration (s) | 25 | 12 | 36 |
Angular Velocity (RPM) | 570 (on screen) 3420 (real) | 590-600 (on screen) 3540-3600 (real) | 590-600 (on screen) 3540-3600 (real) |
Power Usage (Watts) | 8 | 7 | 6-7 |
Average Acceleration Amplitude (m/s^2) | 0.6 | 0.2 | 0.2 |