Professional Documents
Culture Documents
DCS Presentation
DCS Presentation
system.
Presented by-
1
What is an Inverted Pendulum ?
A Pendulum that has its center of mass above itspivot
point.
• Inherently unstable.
• Must be actively balanced in order to
remain upright.
• Must have a feedback system to keep
it balanced.
3
Types of InvertedPendulum
In general two types-
1. Linear Inverted Pendulum
2. Rotary Inverted Pendulum
► e: Error = SP - PV
Mathematical Modeling
MATLAB Simulation
Application of Controller in
Experimental Setup.
1
0
System Dynamics and Mathematical Modeling
• 2D problem, where the pendulum is constrained
to move in the vertical plane.
• Control input is the force , F that moves the cart
horizontally.
• Outputs are the angular position of the
pendulum and the horizontal position , of the
cart .
• Pendulum is vertically upright , when = pi
System Transfer Functions
1
1
MATLAB Simulation of the System.
• No Feedback, No Controller.
• The System goes without
bound.
• The pendulum falls down
within seconds.
phi
Time
1
2
PID ControllerDesign
Integralgain,
KI
Proportional Derivative
gain ,KP gain, KD
Angle
PID
Controller
• Angular displacement is
sent as a feedback.
• Displacement can me
measured by using
Sensor( Potentiometer,
Encoder , Gyroscope etc.
Fig: Simulink Model of the
) system 10
with PID controller and Feedback
PID Controller design in MATLAB
Initialization
KP = 1,KI= 1,KD
=1
11
Tuning KP between( 1-100) Tuning KD between( 1-20)
PID Controller design in MATLAB
State Space
Model
Open loop poles
MATLAB Plot
15
16
Thank you!!
18