Professional Documents
Culture Documents
Self Balancing Scooter
Self Balancing Scooter
Self Balancing Scooter
presented by
08 May 07
Scope
Objective What is a Self Balancing Scooter? Scope of Project Current Products Working Principle System Integration General Specifications Technical Specs & Costing Future Improvements Conclusions
Objective
To develop a self balancing scooter capable of transporting a single passenger motivation from a Segway Personal Transporter To learn and integrate the following aspects of engineering: Mechanical Electrical Electronics Dynamics & Control Programming
Scope of Project
Design and fabrication of vehicle chassis Selection & Implementation of major components Motors, batteries, microcontroller, etc Development of control strategy Programming of microcontroller Integration of all other engineering details
Current Products
Segway Personal Transporter Regarded as a technological miracle commanding a price range of $7000~$10000 Various models Police, Cross Terrain, Commuter, Golf, etc
( Segway Inc)
6
Working Principle
Inverted Pendulum Control When vehicle is tilted forward, move forward to catch up in order to balance
Working Principle
Vehicle + Rider Input Plant Controlled Variable (Tilt Angle)
Ref. Setpoint
Feedback Signal
System Integration
Balance Control Strategy Proportionate Derivative Control Loop Pitch angle error Proportionate Gain added to signal output Pitch angle rate Derivative Gain added to signal output Combined signal output corresponds to each motor speed The more the lean, the faster the motors Steering Control Potentiometer mounted in twist throttle and fed back to controller To steer right, add a small amount (to signal output) to left motor, subtract the same amount to right motor Left motor now slightly faster than right motor
System Integration
Sensor Fusion Integrate the angular rate over time to obtain the current angle Angular rate gyro always drifts An accelerometer is used to measure the actual tilt (direction of gravity) of the vehicle Readings from tilt sensor is used to correct for the drift by the rate gyro Unable to use tilt sensor as it cannot read the fast changes of the vehicle (low bandwidth) Angular rate gyro can read the fast changes of the vehicle (high bandwidth)
10
System Integration
Need to scale down voltage output (sensors) to fit within the input voltage range of microcontroller Basic Operation of Microcontroller Get sensor readings (gyro, tilt sensor and potentiometer) Check that angle is within safety range Compute signal output based on PD control loop Output signal to motor drivers (PWM signals) Restart entire cycle Entire process runs in series at approximately 130Hz Around 300 lines of code (C programming)
11
General Specifications
Cruising speed: 13 km/h (based on 60% of motor rating) Weight: 28kg Battery range: 1.5 ~ 2 hours Tyre size: 20in diameter Platform height: 30cm Ground clearance: 15cm Vehicle width: 60cm Uphill capability: ~30degrees
12
Future Improvements
Better microcontroller Faster processor Faster signal processing Wireless debugging & data collection Fine tuning of control strategy To reduce and remove vibration during stops Computer simulations of actual vehicle Presence detection Proximity sensors on platform Display console Speed Battery levels Aesthetics
14
Conclusions
Overall a steep learning curve on all aspects of system design and implementation Good understanding of system dynamics achieved A working prototype built from scratch that has achieved functionality according to target objective Commonly available technology is sufficient to build such a technological miracle A vehicle that is both fun to ride and highly educational in aspects of engineering
15