Professional Documents
Culture Documents
V&N 354 LectureLesing6
V&N 354 LectureLesing6
V&N 354 LectureLesing6
x(t)
c
fc
F (t) F (t)
m
mg
k fk
N1 N2
1
Bs
and θ = tan−1
p
X= A2s + Bs2 (4)
As
Substituting this solution into the equation of motion:
(−ω 2 As + 2ζωn ωBs + ωn2 As − f0 ) cos ωt + (−ω 2 Bs − 2ζωn ωAs + ω 2 Bs ) sin ωt = 0 (5)
Two equations can be generated by noting that the above equation has to hold for
π
t= and t = 0. These equations can then be solved to determine As and Bs , which
2ω
can be used to obtain the particular solution:
f0 2ζωn ω
ωt − tan−1 2
xp (t) = p cos (6)
2 2 2
(ωn − ω ) + (2ζωn ω)2 ωn − ω 2
| {z } | {z }
X θ
The total solution is then the sum of this particular solution and the homogeneous
solution:
ωd (x0 − X cos θ)
φ = tan−1 (8)
v0 + (x0 − X cos θ)ζωn − ωX sin θ
x0 − X cos θ
A= (9)
sin φ
Steady-state response
Often it is of value to neglect the transient part of the response to focus on the steady-state
response. If the system has large damping the transient response dies out very quickly
and can be ignored.
It is of interest to consider the amplitude and phase of the steady-state response as a
function of the driving frequency:
Xωn2 1 2ζr
=p and θ = tan−1 (10)
f0 (1 − r )2 + (2ζr)2
2 1 − r2
ω
where r = is known as the frequency ratio.
ωn
2
3
4
Alternative representation
Euler’s function relates the exponential function to harmonic motion:
f0
X= (15)
(ωn2 − 2
ω )+ 2ζωn ω
Through manipulation of the complex number, X, and substitution into equation 13
it can be shown that:
( )
f0 j(ωt−θ)
xp (t) = < p e (16)
(ωn2 − ω 2 )2 + (2ζωn ω)2
where:
2ζωn ω
θ = tan−1 (17)
ωn2 − ω 2
5
Matlab code for forced response
1 % System p a r a m e t e r s
2 m = 1; % Mass [ kg ]
3 k = 20; % S t i f f n e s s [N/m]
4 wn = s q r t ( k / m ) ; % N a t u r a l f r e q u e n c y [ rad / s ]
5 z = 0.2; % Damping r a t i o
6 wd = wn ∗ s q r t ( 1 − z ˆ2 ) ; % Damped n a t u r a l f r e q u e n c y [ rad / s ]
7
8 % Harmonic e x c i t a t i o n
9 f0 = 8; % Amplitude o f e x c i t a t i o n [N/ kg ]
10 w = 10; % Frequency o f e x c i t a t i o n [ rad / s ]
11
12 % I n i t i a l conditions
13 x0 = 0 . 3 ; % I n i t i a l d i s p l a c e m e n t [m]
14 v0 = 0 ; % I n i t i a l v e l o c i t y [m/ s ]
15
16 t = 0:0.01:14;
17
18 % Solution
19 t h e t a = atan ( 2 ∗ z ∗ wn ∗ w / ( wnˆ2 − wˆ2 ) ) ;
20
21 X = f 0 / s q r t ( ( wnˆ2 − wˆ2 ) ˆ2 + ( 2 ∗ z ∗ wn ∗ w ) ˆ2 ) ;
22
23 phi = atan ( wd ∗ ( x0 − X ∗ c o s ( t h e t a ) ) / ( v0 + ( x0 − X ∗
c o s ( t h e t a ) ) ∗ z ∗ wn − w ∗ X ∗ s i n ( t h e t a ) ) ) ;
24
25 A = ( x0 − X ∗ c o s ( t h e t a ) ) / s i n ( p h i ) ;
26
27 x = A ∗ exp ( −z ∗ wn ∗ t ) . ∗ s i n ( wd ∗ t + p h i ) + X ∗ c o s (
w ∗ t − theta ) ;
28
29 % P l o t t i n g the curves
30 f i g u r e ( ’ DefaultAxesFontSize ’ , 12 , ’ Pos ition ’ , [ 1 0 0 , 1 0 0 , 8 0 0 , 5 0 0 ] )
; h o l d on ;
31
32 l 1 = p l o t ( t , x , ’ LineWidth ’ , 1 ) ; L1 = ’ Response ’ ;
33
34 grid () ;
35
36 x l a b e l ( ’ Time [ s ] ’ )
37 y l a b e l ( ’ D i s p l a c e m e n t [m] ’ )
38
39 p r i n t ( ’ f o r c e d d ’ , ’−dpng ’ )
1 clear
2
6
3 % System p a r a m e t e r s
4 z = transpose ( [ 0 . 1 , 0.25 , 0.5 , 0 . 7 ] ) ;
5 r = 0:0.01:2;
6
7 % Steady−s t a t e r e s p o n s e
8 X = 1 . / s q r t ( ( 1 − ones ( 4 , 1 ) ∗ r .ˆ2 ) .ˆ2 + ( 2 ∗ z ∗ r )
.ˆ2 ) ;
9
10 t h e t a = atan2 ( 2 ∗ z ∗ r , ( 1 − r . ˆ 2 ) ) ;
11
12 % P l o t t i n g the curves
13 f i g u r e ( ’ DefaultAxesFontSize ’ , 12 , ’ Pos ition ’ , [ 1 0 0 , 1 0 0 , 8 0 0 , 5 0 0 ] )
; h o l d on ;
14
20 l = l e g e n d ( [ l 1 ; l 2 ; l 3 ; l 4 ] , L1 , L2 , L3 , L4 ) ;
21 s e t ( l , ’ FontSize ’ , 11) ;
22
23 grid () ;
24
25 x l a b e l ( ’ Frequency r a t i o , r ’ )
26 y l a b e l ( ’ Normalised a m p l i t u d e ’ )
27
28 p r i n t ( ’ steady X ’ , ’−dpng ’ )
29
30 % P l o t t i n g the curves
31 f i g u r e ( ’ DefaultAxesFontSize ’ , 12 , ’ Pos ition ’ , [ 1 0 0 , 1 0 0 , 8 0 0 , 5 0 0 ] )
; h o l d on ;
32
38 l = l e g e n d ( [ l 1 ; l 2 ; l 3 ; l 4 ] , L1 , L2 , L3 , L4 ) ;
39 s e t ( l , ’ FontSize ’ , 11) ;
40
41 grid () ;
42
43 x l a b e l ( ’ Frequency r a t i o , r ’ )
44 y l a b e l ( ’ Phase ’ )
45
46 p r i n t ( ’ s t e a d y t h e t a ’ , ’−dpng ’ )