Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Inverted Pendulum Experiment: Deriving State Space Model and Analyzing Response, Exercises of Electronic Circuits Analysis

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

2012/2013

Uploaded on 04/16/2013

agam-sharma
agam-sharma 🇮🇳

5

(2)

143 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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
!0/
,
!1/
,
!324 5/
,
%6!7/
, and
!8#4-/
, derive the state space form
9
:
;!3<
:
 
=
*+
where
:
!1> 
9
?
9
@-A
and
<BDCEB
and
=
BFCHG
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
I!J/
.
(c) The unit impulse response (take

and
 
as the output variables) for
#)KLMKN/
with
O
I!P#E4-/
. Plot the system output response.
(d) The unit step response for
#LKQKR/
and
O
S!T#4U/
. Draw the system output
response.
(e) The unit ramp response for
#VKP(KR/
and
O
W!J#4U/
. 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
:
&#X!1>YI/ /Z/Z/H@ A
and the input
*+[!]\^-_`
for
#RKa0K6b
and
O
!c#E4-/
.
(g) The inverse of the state transition matrix
&dfehg&Xi
G
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@
=
qD*r>Yo@
Docsity.com
pf2

Partial preview of the text

Download Inverted Pendulum Experiment: Deriving State Space Model and Analyzing Response and more Exercises Electronic Circuits Analysis in PDF only on Docsity!

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

@-A

and

BDCEB

and

B

FCHG

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

I!J/

.

(c) The unit impulse response (take

and

as the output variables) for

)KLMKN/

with O

I!P#E4-/

. Plot the system output response.

(d) The unit step response for

LKQKR/

and O

S!T#4U/

. Draw the system output

response.

(e) The unit ramp response for

VKP(KR/

and O

W!J#4U/

. 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

&#X !1>YI/ /Z/Z/H@ A

and the input

+[!]\^-_`

for

RKa0K6b

and

O

!c#E4-/

.

(g) The inverse of the state transition matrix

&dfehg& Xi

G

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

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

‹ŒDŽ‘

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

v–x

z —˜E—p™E—D”U”-”-—,˜{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