Self Balancing Electric RC Bike
Bicycles are hard to control!
Autonomous Electric Bicycle
System Diagram
Side View
Top View
Reaction Wheel
Reaction wheel movement to stabilize a pendulum
Model of a Self-balancing bicycle using an inverted pendulum
Bike Characteristics
Control design with matlab
Matlab Calculations
Transfer Function
Poles using the Eigenvalues from matrix A. The positive values mean the poles are unstable and the system is uncontrollable
Matlab and simulink models
Reaction wheel simulink design
Control code
Basic PID control loop
Output to the motor controller
Subsystem 1 reaction wheel demo
Automated Steering System
Steering Control System
Matlab Bicycle Model
Subsystem 1 steering control demo
Steering Control System
Shown to the right is a snip of the serial monitor on Arduino IDE. Using this we are able to display and read some important data values used and calculated in the control system code.
Subsystem 2
Gantt Chart 2nd Subsystem
Gantt Chart 2nd Subsystem to Final
Final
Questions?
Next Steps
Electrical Block diagram
Dc Powered Rear Wheel
Mounted battery pack
Communication With NRF24
Division Of Responsibilities
Rigel → Self Balancing portion, Mechanical designs eg. mounting motors, reaction wheel system, frame adjustments, interfacing remote control.
Brett → Control system for steering, Rear powered wheel, interfacing remote control, wiring harness, battery implementation.
Key Components
Reaction Wheel
NRF24 Single Microcontroller
Accelerometer
Bicycle