Professional Documents
Culture Documents
\
|
= = w
r
w u y 5 . 0
10
10 5 . 0 10
ol
w r 5 =
w y r e
ol ol
5 = =
. 5
. 60 1 and . 65 if
. 65 0 and . 65 if
ol
ol
ol
mph e
mph y w mph r
mph y w mph r
=
= = =
= = =
No use of speedometer and let (set) u =
10
r
8
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Closed-Loop Cruise Control
r
w
k
u
10
Controller
0.5
Plant
+
y
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Combining them yields
( )
cl
cl
y r k u
w u y
=
= 5 10
( )
( )
k
w
k
kr
y
w kr y k
w ky kr y
w y r k y
cl
cl
cl cl
cl cl
10 1
5
10 1
10
5 10 10 1
5 10 10
5 10
+
+
=
= +
=
=
9
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
mph 3 . 64 1
mph 35 . 64 0 and 65
0495 . 0 99 . 0 : 10 for
. mph 64 . 58 1
. mph 1 . 59 0 and 65 for
455 . 0 9091 . 0 : 1 for
= =
= = =
= =
= =
= = =
= =
cl
cl
cl
cl
cl
cl
y w
y w r
w r y k
y w
y w r
w r y k
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Modeling
A. Mechanical Systems
The key equation governing the model of many mechanical systems
is Newtons Law: F = ma. In this equation, F represents the vector
sum of all the forces acting on a body, m represents the mass of the
body, and a represents the acceleration of the body.
Example 1: The Pendulum
= =
2
0 0 0
, M ml J J o
( ) ( ) ( ) ( ) 0 sin sin
2
0
= + =
force
restoring
t mgl t ml t mgl t J u u u o
We can linearize the equation by using
the approximation
( ) ( ) ( ) ( ) 0 0
2
= + = + t
l
g
t t mgl t ml u u u u
sinu ~u
10
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Truncated Taylor Series
( )
( ) ( )
( )
( )
( )
( )
( )
( )
. deviations small and 1 n for 0
o
z - z because
zero, be to assumed be can ms linear ter Non
2
2
2
2
1
function of form linear
ms linear ter
expansion series Taylor
then , point operating and Function Assume
0
> ~
+
=
+
=
+ =
=
+ =
|
.
|
\
|
|
.
|
\
|
|
.
|
\
|
n
o
z z
o
z z
dz
z f d
o
z z
o
z z
dz
z df
o
z f z f
o
z z
o
z z
dz
z df
z f z f
x x f
o
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Ex.2: Spring-Mass System
Newtons Law:
Again a 2nd order ordinary differential equation
(1.2)
( ) ( ) ( ) ( )
( ) ( )
0 0
0 , 0
0
v x x x
t kx t x m t kx t x m
= =
= + =
11
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Solving the ODE (Polar Form)
The ODE is
The proposed solution:
Into the ODE you get the
characteristic equation:
Giving:
0 ) ( ) ( = + t kx t x m
t
ae t x
= ) (
0
2
= +
t t
ae
m
k
ae
m
k
=
2
m
k
j =
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Solving the ODE (contd)
The proposed solution becomes:
For simplicity, lets define:
Giving:
We have to have real solutions because we live in the real world
Problem becomes: how from this general expression do I get the
real solutions?
t
m
k
j t
m
k
j
e a e a t x
+ =
2 1
) (
m
k
n
= e
t j t j
n n
e a e a t x
e e
+ =
2 1
) (
12
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Note that in general a
1
and a
2
are complex numbers and not
necessarily real numbers.
Then the proof would be
1. to expand into sines and cosines then the real part is a solution
and the imaginary part has to be zero.
2. Take the complex conjugate of one expression, if the expression
stays the same then it must be real, i.e. imaginary part = 0.
Example:
Want the two expressions to be the same in order for the solution to be
real, therefore:
( ) ( ) ( ) ( )t bj a t bj a t bj a t bj a
e a e a cc e a e a
+ +
+ +
*
2
*
1 2 1
condition) (redundant and
1
*
2
*
1 2
a a a a = =
Dr. Ayman A. El-Badawy
Department of Mechatronics Engineering
Faculty of Engineering and Material Science
Therefore one has to be the complex conjugate of the other.
Remember:
( ) ( ) ( )
( ) ( )
constants. valued - real are and re whe
sin cos
sin 2 cos 2
2 1
2 1
*
1 1
A A
t A t A
t d t c
e e jd e e c
e jd c e jd c e a e a t x
n n
n n
t j t j t j t j
t j t j t j t j
n n n n
n n n n
e e
e e
e e e e
e e e e
+ =
=
+ + =
+ + = + =
j
e e
a
e e
a
ja ja ja ja
2
sin ;
2
cos
: Formula Euler of version Backward
=
+
=