Balancing A Bicycle Using PID Control

This project uses a Control Moment Gyroscope (CMG) controlled using a PID Controller in order to balance a still-standing bicycle prototype. CMG uses a flywheel rotating at a specific RPM, at a certain angle, to generate a high precession torque and m

2025-06-28 16:30:35 - Adil Khan

Project Title

Balancing A Bicycle Using PID Control

Project Area of Specialization Mechatronics EngineeringProject Summary

This project uses a Control Moment Gyroscope (CMG) controlled using a PID Controller in order to balance a still-standing bicycle prototype.

CMG uses a flywheel rotating at a specific RPM, at a certain angle, to generate a high precession torque and maintain equilibrium about the vertical axis (tilt angle).

During the modeling phase, equations were derived for the bicycle, gyroscope, and flywheel. Control system techniques were then used in order to linearize the non-linear system of equations, and then a transfer function was established to develop PID control for the gimbal angle with respect to the vertical tilt angle of the prototype using feedback from a tilt sensor installed on the main body.

Project Objectives Objectives: Project Implementation Method Breakdown and Methodology:
  1. Research and Study

  2. Experiment 1: PID Control

  3. Review and study of balancing mechanisms

  4. Selection of best mechanism

  5. Modelling & Simulation

  6. Experiment 2: Mechanical Gyroscope

  7. Assembly of Bicycle with Gyroscope

  8. Testing and Troubleshooting
Benefits of the Project Benefits and Applications:

This project can be further developed to create a manned self-balancing bicycle which would be beneficial for disabled people, as well as people who are unable to balance bicycles by themselves. This is also beneficial for children who are learning how to ride a bicycle.

This project is also beneficial because it helps to understand the Control Moment Gyroscope (CMG) which is used in spacecraft altitude control systems.

Moreover, this project helps to understand the use of PID Controllers which is being vastly used in the industry to control different process variables.

Technical Details of Final Deliverable Final Deliverable:

The final product will be a prototype representation of the bicycle consisting of the following 2 assemblies: 

1. Bicycle Body
2. Control Moment Gyroscope

The bicycle body will be a frame consisting of two wheels whereas CMG will contain a flywheel of uniformly distributed density concentrated at the edges, coupled to a DC Motor providing constant RPM to the fly wheel assembly. The bracket holding the flywheel assembly will be coupled with another motor (servo) to control the gimbal angle. Feedback for PID control will be provided using ADXL 335 sensor. The arduino microcontroller will be used.

Final Deliverable of the Project HW/SW integrated systemCore Industry TransportationOther IndustriesCore Technology RoboticsOther TechnologiesSustainable Development Goals Industry, Innovation and InfrastructureRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 56800
DC Motor Equipment235007000
Servo Motor Equipment130003000
Flywheel Equipment11200012000
Bicycle Prototype Body Equipment180008000
Gyroscope Assembly Equipment180008000
PCB Designing Equipment130003000
Resistors/Wires/Heat Shrink/Connectors/Breadboards/etc. Equipment150005000
Motor Drivers Equipment115001500
Power Supply Equipment125002500
Arduino Microcontroller Equipment135003500
ADXL335 Tilt Sensor Equipment110001000
Stationery Miscellaneous 1500500
Printing Miscellaneous 115001500
Compact Disks (Storage) Miscellaneous 1300300

More Posts