Back to DELEY'S home page
Balancing the Inverted Pendulum
Table of Contents
BEGIN HERE WITH SYNOPSIS
EQUATIONS OF MOTION: The Inverted Pendulum
Diagram
Coordinates of point cg in terms of point p, angle
, and length
Sum of forces in X direction
Sum of forces in Y direction
Sum of moments about center of gravity
Combine Equations
Derivation of Transfer Function for the Inverted Pendulum
EQUATIONS OF MOTION: The Free Hanging Pendulum
Diagram
Coordinates of point cg in terms of point p, angle
, and length
Sum of forces in X direction
Sum of forces in Y direction
Sum of moments about center of gravity
Combine Equations
Solution of characteristic equation of motion for the Free Hanging Pendulum
Determination of Pendulum Parameters
EQUATIONS OF MOTION: The Cart and Motor
Diagram
Basic Equations of Motor and Amplifier
Combine Equations
Calculate Torque
Substitute Back in
Observe following relations
Substitute in
Derivation of Transfer Function for the Cart and Motor
Determination of parameters for the Cart and Motor
The Bode Plot: Equations
The Bode Plot: Diagram
Square Wave Input for
Square Wave Input for
CONTINUOUS TIME TRANSFER FUNCTIONS
Block Diagram
DERIVATION OF STATE SPACE REPRESENTATION
State space equations for the cart and inverted pendulum
Calculation of Transfer Functions from State Space Equation
DISCRETIZATION OF CONTINUOUS TIME STATE SPACE EQUATIONS
Discretization Of Continuous Time State Space Equations
Calculation of Inverse Laplace Transforms
Row 1 Column 1
Row 1 Column 2
Row 2 Column 2
Row 3 Column 2
Row 4 Column 2
General Equation for Rows (3,3) (3,4) (4,3) (4,4)
Row 3 Column 3
Row 3 Column 4
Row 4 Column 3
Row 4 Column 4
Calculation of G
Calculation of G when
= 0
Calculation of H when
= 0
FEEDBACK
Discussion of Observable Properties
Discussion of Feedback
Procedure to obtain
Procedure to obtain
Block Diagram of System with Discrete-Time Feedback
Motor Dead Range
Block Diagram of System with Discrete-Time Feedback and Motor Deadspace Cancelation
CONTROLLING THE PENDULUM: AN EXAMPLE
Pendulum Setup
Determining Parameters for the Cart and Motor
COMPLETE LIST OF PARAMETERS
Determination of Feedback Control Parameters
Control of the Pendulum
Analysis of the results
LINKS FOR FURTHER RESEARCH
Back to DELEY'S home PAGE
Last Update: February 28, 2025