

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The linearized equations of an inverted pendulum system and guides the reader through using matlab to determine eigenvalues, eigenvectors, state transition matrix, unit impulse response, unit step response, unit ramp response, and system transfer function. It also covers discretizing the continuous-time system and finding the discrete-time system output response.
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!
8.7.1 Experiment 1—The Inverted Pendulum
Part 1. The linearized equations of the inverted pendulum, obtained by assuming
that the pendulum mass is concentrated at its center of gravity [15, 16] are given by
(8.148)
where
is the angle of the pendulum from the vertical position,
is the position of
the cart,
is the force applied to the cart,
is the mass of the cart,
is the mass of
the pendulum,
is the gravitational constant, and
is the moment of inertia about the
center of mass. Assuming that normalized values are given by
,
,
,
, and
, derive the state space form
where
and
and
are the corresponding matrices.
Part 2. Using MATLAB, determine the following:
(a) The eigenvalues, eigenvectors, and characteristic polynomial of matrix
.
(b) The state transition matrix at the time instant
.
(c) The unit impulse response (take
and
as the output variables) for
with O
. Plot the system output response.
(d) The unit step response for
and O
. Draw the system output
response.
(e) The unit ramp response for
and O
. Draw the system output
response. Compare the response diagrams obtained in (c), (d), and (e).
(f) The system state response resulting from the initial condition
and the input
for
RKa0K6b
and
!c#E4-/
.
(g) The inverse of the state transition matrix
&dfehg& Xi
for
j!0b
.
(h) The state
at time
M!$b
assuming that
f/D#F ![>k/l#Z#Zb m+@ A
and
,
using the result from (g).
(i) Find the system transfer function.
Part 3. Discretize the continuous-time system defined in (8.148) with n
3#4Y#Xm
,
and find the discrete-time space model
Yo
/p@.!3<q
:
o@
q D*r>Yo@
Docsity.com
Assuming that the output equation of the discrete system is given by
sutYvwxRyz|{Z{Z{
{Z{ z|{}E~
t Yvwx$
tYvw
find the system output response for {
v
X{
due to initial conditions
r
x
tk
z z
z z
w k
and unit step input (note that
t Yvw
should be generated as a column
vector of 51 elements equal to 1).
Part 4. Consider the continuous-time system given by
E-z
x
(8.149)
(a) Discretize this system with
x
z
using the Euler approximation.
(b) Find the system state and output responses of the obtained discrete system for
vx
z EpEDU--,{E
when
x -
E-zf
and
x
x
.
(c) Find discrete transfer function, characteristic equation, eigenvalues, and eigenvec-
tors.
Part 5. Discretize the state space form of (8.149) obtained using MATLAB function
c2d with
x
z
. Find the discrete system state and output responses for the initial
condition and the input function defined in Part 4(b). Compare the results obtained in
Parts 4 and 5. Comment on the results obtained.
Docsity.com