Title: Designing a Working Physical Model to Demonstrate Global Stabilization of the Classical Inverted Pendulum Problem; Step One
1Designing a Working Physical Modelto Demonstrate
Global Stabilizationof the Classical Inverted
Pendulum ProblemStep One Motor Specification
- Brian Ganus
- EE 691/692 - Spring 2006
2BASIC INVERTED PENDULUM
http//www.eas.asu.edu/aar/pix/cart_pend_anim1.gi
f
3PROBLEM DEFINITION
- Classic Inverted Pendulum Problem
- Global Stabilization Using Dual Mode Control as
Presented in 1971 Masters Thesis 1 - Unable to Construct Working Model Due to
Technology Limitations - Want to Investigate Building a Working Model
Using Current Technology - Motor Choice Drives the Design
4ORIGINAL 1971 CART DESIGN
5METHOD
- Use Simulink to build and model the open loop
system from the equation given in 1. - Verify that the simulation correctly models the
expected behavior of the desired open loop
system. - Use Simulink to build and model the closed loop
system using the dual-mode control described. - Verify that the simulation correctly models the
expected behavior of the desired closed loop
system. - Run simulations to determine the maximum
acceleration required to stabilize the system. - Use the maximum acceleration value found to
define the motor choice parameters. - Choose motor.
6STEP ONE
- Use Simulink to build and model the open loop
system from the equation given in 1. - Define Parameters
- Build a Simulink Model
7PLANT DEFINITION
- Placement, measured from the desired vertical (T
gt 0 ? clockwise rotation) - Angular velocity
- Non-negative normalized damping coefficient
associated with the angular velocity. - Horizontal acceleration y of the cart used to
control the motion of the pendulum
http//members.cox.net/srice1/pendulum/page0.htm
8BASIC ASSUMPTIONS
- 0 is defined as the vertical position.
- Pendulum freely rotates from 0.
- Continued rotation is unrestricted.
- Can make infinite number of turns.
- Any multiple of 2 n ? will be valid.
- Angular rate is measurable.
- Pendulum position can be determined and fed back
into the controller to tell the cart which
direction and speed to move. - Forward/reverse motion of the cart used to
control the pendulums position.
9MATHEMATICAL MODEL
- Mathematical Model of the Dynamics of Pendulum
Angle and Cart
- Phase-Variable State Equations
10- Math Flow Diagram of the Open loop System
11STEP TWO
- Verify that the simulation correctly models the
expected behavior of the desired open loop system.
12TESTING OPEN LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 10
- Angular Velocity ? 0 rad/sec
- Damping Factor b 0.7
- Final Values
- Position ? 180
- Angular Velocity ? 0 rad/sec
13TESTING OPEN LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 180
- Angular Velocity ? 0 rad/sec
- Damping Factor b 0.7
- Final Values
- Position ? 180
- Angular Velocity ? 0 rad/sec
14TESTING OPEN LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 350
- Angular Velocity ? 0 rad/sec
- Damping Factor b 0.7
- Final Values
- Position ? 180
- Angular Velocity ? 0 rad/sec
15TESTING OPEN LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 10
- Angular Velocity ? 1 rad/sec
- Damping Factor b 0.7
- Final Values
- Position ? 180
- Angular Velocity ? 0 rad/sec
16TESTING OPEN LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 10
- Angular Velocity ? 1-10 Rad/sec
- Damping Factor b 0.7
- Final Values
- Position ? 180,540,900
- Angular Velocity ? 0 rad/sec
17STEP THREE
- Use Simulink to build and model the closed loop
system using the dual-mode control described in
1.
18HYBRIDDUAL-MODE CONTROL
- Bang-Bang Control
- Motor causes the cart to move forward and back to
pump the pendulum to a desired angle. - Linear Control
- Fine tunes the position until vertically stable.
- Uses a threshold to compare the position to
determine when to switch modes.
19- Math Flow Diagram of the Closed loop System
20STEP FOUR
- Verify that the simulation correctly models the
expected behavior of the desired closed loop
system.
21TESTING CLOSED LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 10
- Angular Velocity ?1 rad/sec
- Damping Factor b 0.325
- Final Values
- Position ? 0
- Angular Velocity ? 0 rad/sec
- Required fine tuning Damping Factor to stabilize.
- Dual Mode Control utilized backwards.
22TESTING CLOSED LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 50
- Angular Velocity ?1 rad/sec
- Damping Factor b 0.325
- Final Values
- Position ? NOT 0
- Angular Velocity ?NOT0 rad/sec
- If initial position changed, then needed to be
retuned or it would not stabilize.
23ERROR IN PAPER
- Through Simulations, found that the paper had an
error in the threshold definition of the
Dual-Mode Control.
24- Altered Dual Mode Control
- Altered Math Flow Diagram of the Closed loop
System
25TESTING ALTERED CLOSED LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 10
- Angular Velocity ?0 rad/sec
- Damping Factor b 0.016
- Final Values
- Position ? 0
- Angular Velocity ? 0 rad/sec
- Stabilized, but only used linear control.
26TESTING ALTERED CLOSED LOOP SYSTEM
- Initial Open Loop System Model
- Position ? 80
- Angular Velocity ?0 rad/sec
- Damping Factor b 0.016
- Final Values
- Position ? 0
- Angular Velocity ? 0 rad/sec
- Stabilized and used full Dual-Mode Control.
27STEP FIVE
- Run simulations to determine the maximum
acceleration required to stabilize the system.
28DETERMINING MAX ACCELERATION REQUIRED
- Initial Open Loop System Model
- Position ? 180
- Angular Velocity ?0 rad/sec
- Damping Factor b 0.016
- Final Values
- Position ? 0
- Angular Velocity ? 0 rad/sec
- Used worst case scenario for initial position to
determine max acceleration required to stabilize.
29STEP SIX
- Use the maximum acceleration value found to
define the motor choice parameters.
30DETERMINING MAX ACCELERATION REQUIRED
- 4 Basic parameters allow specification of motor
characteristics - Derived the relationship between
- Experimentally determined maximum acceleration
- Maximum torque of the motor
- Maximum mass of the cart
- Maximum length of the pendulum
31Basic Derivation
32Results
- Maximum value of horizontal acceleration required
to stabilize the system
33REVIEW
- Found Error in Original Paper
- Given
- Maximum Acceleration (y)
- Motor Torque (t)
- Able to Determine Maximum Value of Product
- Mass of the Cart (M)
- Radius (r) of the pendulum
- Define Design Parameter
- If Mr lt t / y
- Then Model Will Demonstrate the Global
Stabilization of the pendulum as described in 1
and as seen in the simulations.
34STEP SEVEN
- Choose motor.
- Now can compare the motors
- We wanted an RC off-the-shelf motor
- But what type?
35BRUSHED MOTOR
http//electronics.howstuffworks.com/motor1.htm
36BRUSHED MOTOR
http//electronics.howstuffworks.com/motor6.htm
37BRUSHED MOTORS
http//www.rcboataholic.com/motors/motor_brushless
.htm
38BRUSHED MOTOR
- Advantages
- Cheaper
- Disadvantages
- Less Torque
- Brushes Wear Out
- Change direction slower
- Less Accurate
39BRUSHLESS MOTORS
http//www.rcboataholic.com/motors/motor_brushless
.htm
40BRUSHLESS MOTOR
- Advantages
- More Torque
- No Brushes to Wear Out
- Changes Directions Quicker
- More Accurate
- Disadvantages
- More Expensive
- Requires a controller
41BRUSHLESS MOTORS
http//www.rcboataholic.com/motors/motor_brushless
.htm
http//www.hobbyworks.com/default.cfm/Content/full
product/hs/RC/ID/502204
42OUTRUNNER STYLE BRUSHLESS MOTOR
- Outrunner style motor provides the most torque of
any brushless style motor because case and rotors
spin. - Allows a single shaft which simplifies the design
and makes it more durable.
http//www.hobby-lobby.com/brushless-axi4130.htm
43FACTORS TO CONSIDER
- Most motors are 80 efficient or less.
- Motor turns electric input power into mechanical
output power. - Output Power is in terms of Torque and
Revolutions Per Minute (RPM). - Few manufacturers provide information on torque
produced. - Need to define variables to compare products.
- Voltage Constant (Kv)
- Torque Constant (Kt)
- Torque
- Amperage range
44DEFINE UNITS
Used System International (SI) Units Mass
Kilograms (kg) Force Newtons (kg?m/s2) Time Sec
ond (s) Current Ampere Angular Velocity
Radian/Second (rad/s) Acceleration
Meter/Second/Second (m/ s2) Radian
Degrees?p/180 Torque Newton Meter
(kg?m2/s2) Radius Meter (m)
45RESULTS
- AXI Outrunner AXI-2815-10
- Given Torque Constant (kt) of 3.782 m/s2
- Given Range of 20-30 Amps
- For Calculations used 25 Amps
46RESULTS
- Maximum Torque of this motor
- Now can determine the other values.
47CONCLUSION
Specification Specification
Nominal Voltage 7.0 V
Operating Voltage 6-9 V
No Load Motor Speed 11,130 RPM
RPM per Volt 1,590 RPM/V
Max. Efficiency with ESC 81
Max. Efficiency Current 20-30 A
Max. Loading 40 A/60 s
No load Current / 8V 2,4 A
Ri 37 ohm
Dimensions 35x37 mm
Shaft Diameter 4 mm
Weight w/cables 106 g
Propeller range (direct drive) 9,5x6" - 11x6,5"240/150 - 300/165
http//www.modelflight.com.au/rc_model_electronics
/axi_brushless_2814-10.htm
48REFERENCES
- Baumann, James L. and C. D. Johnson,
Global-Stabilization of the Inverted-Pendulum
An Early Solution and Hardware Implementation,
Proceedings of the 2004 Southeastern Symposium on
System Theory, Georgia Institute of Technology
Atlanta, GA, March, 2004. - Boucher, Robert J. Electric Motor Handbook,
Astro Flight Inc., Marina Del Ray, California,
1994. - Halliday, David and Robert Resnick and Jearl
Walker Fundamentals of Physics Third Sixth
Edition, John Wiley Sons, Inc., New York, NY,
2001. - Cannon, Robert H. Dynamics of Physical Systems,
McGraw-Hill Book Company, New York, NY, 1967. - Brogan, William L. Modern Control Theory Third
Edition, Prentice Hall, Upper Saddle River, NJ,
1991. - Baumann, William T. and Wilson J. Rugh, Feedback
Control of Nonlinear Systems by Extended
Linearization, IEEE Transactions on Automatic
Control, Vol. AC-31, No. 1, January 1986, pp
40-46.