Lab Manual 8
Lab Manual 8
EXPERIMENT NO. 08
Lab Report (5) Professional and accurate Report include all Report data is Inadequate and
representation of lab required accurate accurate but non-professional
experiment in terms of data with some presented in non- lab report with
problem statement, minor inadequacies professional manner inaccurate results.
circuit design, in presentation along with some Report did not
observations, results, errors in analysis include the
analysis and conclusion. and conclusion required analysis
and graphs along
with wrong or no
conclusion.
Viva(5) The related questions are Student partially Student partially Do not know about
answered fully. able to answer to able to answer to working of circuit.
question. Aware question. Not Aware Unable to answer
about the working about the working of the questions.
of circuit. circuit.
TOTAL <------Total points earned = Lab Performance Grade----->
EXPERIMENT NO. 08
Modelling of Inverted Pendulum (SIMO open loop)
Objective:
Understand system modeling.
Understand system transfer function, state space, and governing equation and block
diagram.
Understand Non-Linear model of system.
Observe response of system (Step and Impulse).
Observe behavior of system.
Equipment/Software:
MATLAB R2015b or above.
Where F is force applied on cart of mass M. P and N are perpendicular and horizontal forces
respectively. ‘b’ is friction coefficient and θ is angular position of pendulum of mass m.
Note: In theory, I (Inertia) and b (Friction coefficient) were assumed zero but in lab we will
consider these parameters as well).
After substituting the above approximations into our nonlinear governing equations, we arrive at
the two linearized equations of motion. Note u has been substituted for the input F.
System parameters:
Theoretical Calculations:
• Find transfer function of system H(s) shown in Figure 8.1
• Find standard form of transfer function H(s).
• Find pole, zero and gain of H(s).
• Find h (t) from H(s).
• Find block diagram of system.
• Find state space form of system and call it SS1.
• Find number of inputs, outputs and state variables in SS1.
• Take impulse and step response of system.
Simulation:
MATLAB Command Window
• Find zero, pole and gain from transfer function using “tf2zp”.
• Find number of inputs, outputs and state variables of SS1 using “size”.
• Find impulse and unit step response of system using “impulse” and “stepplot” respectively.
MATLAB Functions:
• Use Mux and Function blocks to define functions and complete all four equations of non-linear
forces of system.
• Make subsystem.
Observation Set:
Step Response of Pendulum:
Points to think
Product of system transfer function H(s) and unit step (1/s) IS EQUAL to convolution of
system time domain h(t) and unit step u(t) and it IS EQUAL to solution of governing
equation.
System have multiple state space representations but single unique transfer function.
Number of poles is equal to number of zeros.
Poles in left plane of pole-zero plot make system stable while poles in right plane makes
system unstable.
ystem becomes marginally stable if there is at least one pole on imaginary axis in pole-
zero plot.
Two poles on origin make system unstable.
Transfer Function us Unique while state space representation is infinitely many.
Lab Report
Fill all the tables completely.
Attach all MATLAB Codes and simulation Results with your report (Published Report).
Also attach the hand calculations of finding transfer function of system.
Observations: (2 Marks)
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Review Questions
1. What is the difference in step and impulse responses of pendulum? How do they
affect the system? (1.5 Marks)
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Feedback Control Systems
Page 10
Gift University Gujranwala Electrical Engineering
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
2. Why did you take cart and pendulum as separate systems instead of one?
(1.5 Marks)
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________