
- •Contents
- •Introduction
- •The main knowledge about MATLAB and Simulink
- •MATRIXES
- •Commands sum, transpose, and diag
- •The Colon Operator
- •Numbers
- •The Colon Operator
- •Building Tables
- •Roots
- •MATLAB Commands List
- •Laboratory work Nr. 1
- •Content of the report:
- •Control questions:
- •Laboratory work №2
- •Content of the report
- •Control questions
- •The First Order Dynamic Systems
- •Laboratory work No. 3
- •Content of the report
- •Control questions
- •The second order systems
- •Laboratory work No 4
- •Content of the report
- •Control questions
- •Laboratory work No 5
- •Content of report
- •Control questions
- •References
The First Order Dynamic Systems
Laboratory work No. 3
Objec tives: to get acquainted with the first order dynamic systems and learn to analyze their characteristics in time and frequency domain.
Tasks:
1.Elaborate mathematical modul of the system, indicated by the teacher.
2.Expandtheelaboratedmodeltoseriesconnectionofthefirst order systems, if it is necessary.
3.According to differential equations plot step responses and frequency responses.
4.Check results with Matlab software.
Theoretic al part
The simplest transfer function is described by equation:
y = Ku; |
(1) |
where: K is gain of the system.
Time domain analysis of Eq. (1) shows, that unit step response will have the same shape as unit step 1(t), but its amplitude will increase by K times.
yp = K (t). |
(2) |
Plot of unit step 1(t) and response y is shown in Fig. 4. |
|
Transfer function of this system is: |
|
GP = K. |
(3) |
41

Frequency response of the system G (jω)= K +0 j. Plot G (jω)is given in Fig. 5.
Bode plot of this function is calculated as:
L(ω)= 20lg |
|
G (jω) |
|
= 20lg K; |
(4) |
|
|
and does not depend on frequency. The Bode plot L(ω)is shown in Fig. 6. The phase angle of proportional system:
ϕ = tan− |
imG (jω) |
|
= tan− 0 = 0; |
(5) |
|
reG (jω) |
|||||
|
|
|
is horizontal straight, shown in Fig. 7.
The simplest electrical examples of propotional system are shown in Fig. 1 a – voltage divider and Fig. 1 b – amplifier.
Fig.1. Example of projectional system
Output voltage U2 of voltage divider shown in Fig. 1 is calcu-
lated. |
|
R2 |
|
(6) |
|
u2 = |
|
u . |
|||
R |
+ R2 |
||||
|
|
|
|||
Gain of the system depends on resistances R |
and R2 and |
||||
changes in the range 0 ≤ K ≤ . |
|
|
|
|
|
The system with operational |
amplifier gives |
possibility to |
change output voltage. For the ideal operational amplifier principle of virtual ground can be applied which gives:
42

u |
= − |
u2 |
; →u |
2 |
= − |
R |
u . |
(7) |
|
|
|
||||||
R2 |
|
R |
|
|
||||
|
|
|
R2 |
|
Therefore, varying ratio of R R2 gives possibility to change gain in wide range.
The propotional system has no inertic, nevertheless all real systems have that. Therefore propotional system is idealized real system. As example the real oscillograme of the operational amplifier, shown in Fig. 2, corresponding to the step response of amplifier, is shown in Fig. 1 a.
In the circuit operational amplifier LM 741 and resistances
R1 R2 10 kȍ. were used.
Fig. 2. Impulse response of amplifier
The upper curve in Fig. 2 corresponds to input signal and the lowercurvecorrespondstoimpulseresponseofamplifier.According to expression (7), gain K = − , therefore the inverted output signal is shown in Fig. 2 to facilitate comparison of output and input signals. The amplifier was supplied by ≈ 0 khz rectangular impulses. The output signal has the front shape with slope settling time of impulse response is about 0 µs , which depends on inertic of operational amplifier.
43
The integrating circuit is described as:
t |
|
dy |
|
y = KI ∫udt + y0 |
; → |
= KI u; |
|
0 |
|
dt |
|
where: KI – coefficient, y0 – initial value of output signal. Step response of integrating systems is:
t
yI = KI ∫ (0)dt + y0 = KI t + y0.
0
(8)
(9)
Expression (9) describes straight line, which in Fig. 4 is
marked by y . |
|
|
|
|
|
|
|
|||
Assuming y0 = 0 and applying for Eq. (8) Laplace transform, |
||||||||||
the transfer function of integrating system is: |
|
|
|
|
|
|||||
Y (s)= |
KI |
U (s); |
→ GI |
= |
KI |
. |
(10) |
|||
|
|
|||||||||
|
s |
|
|
|
|
s |
|
|||
Frequency response of integrator is: |
|
|
|
|
|
|||||
GI ( jω) = |
KI |
= − j |
KI |
. |
(11) |
|||||
jω |
|
|||||||||
|
|
|
|
ω |
|
|
|
|
|
Expression (11) indicates the linear frequency response. Straight line begins at point GI (0 j)= − j∞ and ends at point GI (j∞)= 0 . Polar plot of integrating system is shown in Fig. 5. The Bode plot of the integrating circuit is calculated as:
L (ω) = 20lg |
|
G |
( jω) |
|
= 20lg |
KI |
= 20lg K |
I |
−20lg ω. |
(12) |
|
|
|||||||||
|
|
|
||||||||
I |
|
I |
|
|
|
ω |
|
|
||
|
|
|
|
|
|
|
|
|
Expression (12) is description of straight line. Increasing the frequency 10 times yields:
LI ( 0ω) = 20lg KI −20lg 0ω= 20lg KI −20lg ω−20 =(13)
LI (ω) −20.
44

Comparison of (12) and (13) expressions shows the reduction of the integrating system magnitude by 20 dB/dec .
Frequency ω0 , at which magnitude LI (ω0 )= 0 , is called intersection frequency and calculated as:
20lg KI −20lg ω0 = 0; → ω0 = KI . |
(14) |
Bode plot of integrating system is shown in Fig. 6. Intersection frequency is ω0 = KI , and the slope of characteristic is equal to
−20 dB/dec .
Semilog dependence phase angle versus frequency is calculated as:
ϕI (ω)= arctan |
imGI (jω) |
|
K |
I |
/ ω |
|
(15) |
|
|
|
= −arctan |
|
|
= −90 . |
|||
reGI (jω) |
|
0 |
||||||
|
|
|
|
|
(15) shows that output signal phase angle does not depend on frequency and is equal to –90 °. Graphically ϕI (ω)is shown in Fig. 7.
The practical examples of integrating circuits are shown in Fig. 3.
Fig. 3. Examples of integrating systems
Mechanical system, shown in Fig. 3 a, is composed by the body of mass m, lying on the support. If the friction force between
45
the body and surface is not considered, the dynamics of the system is described by the second Newton‘s Law:
m |
dv |
|
(16) |
dt |
= F; |
||
|
|
|
where: F is force, acting the body, v is speed of the body.
If the movement is one dimensional, i.e. along x axis, vector
equation (16) can be replaced by projections of vectors: |
|
|||||||
m |
dvx |
= F ; → |
dvx |
= |
|
F |
(17) |
|
dt |
dt |
m |
||||||
|
x |
|
x |
|
Assuming system input and output signals correspondingly u = Fx ; y = vx and KI = m− , the expression (17) becomes similar to integrating system equation (8).
At analysis of circuit in Fig. 3 b it is convenient to apply virtual ground principle:
|
u |
|
= −i ; → |
|
u |
= −C |
du2 ; → |
du2 = − |
u |
. (18) |
|||||
|
R |
|
R |
|
|||||||||||
|
2 |
|
|
|
|
|
|
dt |
dt |
C R |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Again, if the system output and input signals correspondingly |
|||||||||||||||
are u = u , |
y =u |
e |
and |
K |
I |
= − |
|
|
, equation (18), describing the |
||||||
|
|
||||||||||||||
|
|
|
|
|
|
|
C R |
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
system, coincides with that of integrating system (8).
Many systems, having inertia, are described in time domain by the first order differential equation:
a dy |
+ a y =b u. |
(19) |
||||
dt |
0 |
0 |
|
|
||
Denoting KA = |
b0 |
|
and T = |
a |
, the first order system is re- |
|
|
a0 |
|
a0 |
|
written in this way:
46

T dy |
+ y = KAu; |
(20) |
dt |
|
|
where KA is the first order system gain and T is time constant. The general solution of homogeneous system, in engineering
called as free movement, has the form:
y |
|
= C exp |
|
− |
t |
|
; |
(21) |
h |
|
|
||||||
|
|
|
|
|
|
|
||
|
|
|
|
|
T |
|
|
where C is integrating constant, calculated from the initial conditions, t is time.
Solution of Eq. 20 is equal to the sum of solutions of general solution and solution of non-homogenic solution, which depends on input signal u. If the input signal is unit step and boundary conditions are assumed y (0)= 0 and y (∞)= KA , then solution of Eq. (20) is:
y |
|
= K |
−exp |
|
− |
t |
. |
(22) |
A |
|
|
||||||
|
|
A |
|
|
|
|
||
|
|
|
|
|
|
T |
|
Unit step response of the first order system is plotted in Fig. 4 according to expression (22).
Fig. 4. Unit step responses of proportional (P), integrating (I) and first order system (A)
47

Figure 4 shows that unit response of the first order system exponentially approaches to steady-state value KA . Settling time ts is called time, after which the response differs from steady-state value by assumed ε value. If it is assumed that ε = 5 %, then ts ≈ 3T . For
ε = 2 %, settling time ts ≈ 4T .
The first order system transfer function is: |
|
|||
GA (s)= |
KA |
. |
(23) |
|
Ts + |
||||
|
|
|
Frequency response is calculated by replacing s with jω in transfer function (23):
GA (jω)= |
KA |
|
= KA |
−Tjω |
. |
(24) |
|
Tjω+ |
+(Tω)2 |
||||||
|
|
|
|
Designating a =Tω gives real and imaginary parts of frequency response in the form:
x ≡ re G (jω) = |
KA |
|
; y ≡ im G (jω) |
= −K |
|
a |
. |
|||||||||||
+ a2 |
|
A + a2 |
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
From Eq. (25) is evident that: |
|
|
|
|
|
|
|
|||||||||||
|
|
|
a2 = |
|
KA |
−; |
|
|
|
|
|
|
|
|||||
then: |
|
|
x |
|
|
|
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
KA |
− |
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
KA |
|
|
|
|
|
|
|||||
|
y = −KA |
|
|
|
x |
= −x |
− . |
|
|
|
||||||||
|
|
|
KA |
x |
|
|
|
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
x
(25)
(26)
(27)
Raising both sides of Eq. (27) in square and assuming thatx ≥ 0 : y ≤ 0 , yields:
48

|
2 |
= KA x − x |
2 |
|
|
2 |
|
2 |
|
KA |
|
KA |
2 |
|
KA |
2 |
|
|
y |
|
|
; |
y |
|
+ x |
|
−2 |
2 |
x + |
2 |
|
= |
2 |
|
; |
(28) |
|
|
≤ 0; |
|
|
→ |
|
|
|
|
|
|
|
|
|
|||||
y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y ≤ 0. |
|
|
|
|
|
|
|
|
|
|
|
Finally, Eq. (28) can be rewritten as:
|
|
K |
A |
2 |
|
K |
A |
2 |
|
|
y2 |
+ x − |
|
|
= |
|
|
(29) |
|||
2 |
2 |
|||||||||
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
y ≤ 0. |
|
|
|
|
|
|
|
|
The first equation of the set (29) describes the circle with center coordinates x0 =(0, KA 2) and radius R = KA
2 . The second unequality shows, that the characteristic is situated in below horizontal axis. Therefore in general way polar plot of the first order system is halfcircle, shown in Fig. 5.
Fig. 5. Polar plots of proportional (P), integrating (I) and first order system (A)
Figure 5 shows that the first order system frequency response
GA (ω)begins and ends on the real axis. Polar plot initial coordinates are x0 =(KA ,0) and finishing coordinates x∞ =(0,0). The plot has
49

the third characteristic point with coordinates x =(KA |
2,−KA |
2). |
|||||||||||||||||||||
It corresponds to frequency ω= T . |
|
|
|
|
|
|
|
|
|
|
|||||||||||||
Magnitude of frequency response is calculated from expres- |
|||||||||||||||||||||||
sion (24): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GA (jω) |
|
= |
KA |
+ Tω 2 |
|
. |
|
|
|
|
|
|
(30) |
|||||||
|
|
|
|
|
|
|
|
|
|
||||||||||||||
|
|
|
|
|
|
+(Tω)2 |
|
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
It is expressed in decibels: |
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
||||
L |
A |
(ω)= 20lg |
|
G |
A |
|
(jω) |
|
= 20lg |
KA |
+ |
Tω |
|
|
. |
(31) |
|||||||
|
|
|
|||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
+(Tω) |
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Simple program can be made to plot the expression (31), but design of controllers uses asymptotic diagrams, made from the straight lines, asymptotically approaching to actual diagram. Asymptotic, or corner Bode, plot is analysed in the range of low and high frequency. In the low frequency range at TZ 1, expression (31) becomes:
LA (ω) |
|
ωT << |
≈ 20lg KA. |
(32) |
|
||||
|
|
|
|
Therefore, in the low frequency range Bode diagram can be plotted by horizontal straight line.
In the high frequency range, written as:
LA (ω) |
|
|
|
K |
A |
|
|
|
(33) |
|||
|
|
|
|
|||||||||
|
|
≈ 20lg |
|
= 20lg KA −20lgTω |
||||||||
|
ωT >> |
Tω |
||||||||||
|
|
|
|
|
|
|
|
|
||||
changing the frequency 10 times yields: |
|
|
|
|||||||||
LA ( 0ω) |
|
ωT >> |
≈ 20lg K −20lg 0Tω= |
|
− 20. (34) |
|||||||
|
|
|||||||||||
|
|
= 20lg K − 20lgTω− 20 = LA (ω) |
|
ωT >> |
||||||||
|
|
|
|
|||||||||
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
50

Therefore in the range of high frequency it is represented by straight line with slope of −20 dB/dec . So in the low and high frequency ranges asymptotic Bode diagram is constructed in straight lines. They intersect at a corner frequency ωS which is calculated comparing (32) and (33) expressions:
20lg K = 20lg K −20lgTωs ; → 20lgTωs = 0;
→ Tωs = ; |
→ ωs = |
|
. |
(35) |
|
||||
|
|
|||
|
|
T |
|
The actual LA (ω) and the asymptotic LAa (ω) Bode diagrams, plotted correspondingly according to (31) and (32)–(33) expressions, are shown in Fig. 6.
Fig. 6. Bode plots of proportional (P), integrating (I) and first order system (LA , LAa )
Fig. 6 shows that the Bode plot of the first order system is horizontal line at low frequencies with magnitude of 20lg(KA ) dB.
In the middle range of frequencies at frequency ωs = T , the difference between magnitudes of actual and asymptotic diagrams reaches
51

about 3 dB. Finally in the high frequency range actual and asymptotic diagrams coincide and slope of the diagram is −20 dB/dec . The phase angle dependence versus frequency also is plotted in semilog coordinates. The phase angle is calculated from expression:
ϕA (ω)= arctan |
imGA (jω) |
. |
6) |
|
reGA (jω) |
||||
|
|
|
Dependence of phase angle versus frequency of the first order system is shown in Fig. 7.
Fig. 7. Dependence of phase angle versus frequency of proportional (P), integrating (I) and first order system (LA , LAa )
Figure 7 shows that the phase angle of the first order system
ϕ(ω)in the low frequency range is close to zero, i. e. is similar to that proportional system. In the middle frequency range phase it reaches – 45º at frequency ω=T − . Finally, the phase angle approaches – 90º in the high frequency range. The asymptotic phase angle characteristic ϕAa is also presented in Fig. 7. According to asymptotic characteristic it is possible to separate three ranges of frequency: low frequency range, while ω< ωs / 0 ; ωs / 0 < ω< 0ω is middle frequency range and ω> 0ωs is high frequency range.
52

Examples of the first order system are given in Fig. 8.
The system shown in Fig. 8a differs from the system shown in Fig. 3a just with assumption non-zero friction force FT . For sliding movement:
FT = −kT v; |
(37) |
where kT is friction coefficient. The second Newton’s Law can be written in this way:
m |
dv |
|
|
m |
dv |
|
|
(38) |
dt |
= F |
+ FT ; → |
dt |
= F |
−kT v. |
|||
|
|
|
|
|
|
|
Fig. 8. Examples of the first order systems
If the vector projections in axis x are considered, then expression (38) is rewritten in scalar form as:
m dv + k v = F; |
→ |
m |
dv |
+ v = |
|
F. |
(39) |
||||
|
|
||||||||||
dt |
T |
|
|
|
kT dt |
|
kT |
|
|||
|
|
|
|
|
|
|
|||||
If the input and output signals correspondingly are |
u = Fx , |
||||||||||
y = vx , and KA = |
|
and T = |
m |
, then |
equation (39) becomes |
||||||
|
|
||||||||||
|
kT |
|
kT |
|
|
|
|
the same as the differential equation of the first order system (Eq. (20)).
The electrical circuit shown in Fig. 8 b is described by differential equation:
53

L di + Ri =u ; |
(40) |
|
dt |
|
|
|
|
where i is current.
Output voltage according to Ohm‘s low is calculated as:
|
u2 =iR; → |
|
i = |
u2 |
. |
|
|
(41) |
||||||||
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
R |
|
|
|
||
Substituting (41) to (40) yields: |
|
|
|
|
|
|||||||||||
|
|
L |
du2 +u |
2 |
=u . |
|
|
|
|
(42) |
||||||
|
|
|
|
|
|
|
||||||||||
|
|
R dt |
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|||||
From Eq. (41) it is evident, that the gain of the system KA = |
||||||||||||||||
and time constantT = L |
R |
. |
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
Ideal and real differentiating systems also depend on the first |
||||||||||||||||
order systems. Ideal differentiating system is described as: |
|
|||||||||||||||
a y = b du |
; → y = |
b |
du |
= K |
D |
du ; |
(43) |
|||||||||
a |
dt |
|||||||||||||||
0 |
dt |
|
|
|
|
|
dt |
|
||||||||
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
where KD is gain of the system.
Step response of ideal differentiating system is Dirac impulse
δ(t ):
∞, |
t = 0; |
(44) |
δ(t )= |
t ≠ 0. |
|
0, |
|
Dirac function is impulse function with limited signal power:
∞ |
δ t dt = . |
(45) |
∫ |
( ) |
|
−∞
Step response of ideal differentiating system is shown in Fig. 9, where it corresponds to Dirac impulse δ(t ).
Transfer function of ideal differentiating system is:
54
a Y (s)= b U (s)s → G |
|
(s)≡ |
Y (s) |
|
= K |
|
s. |
(46) |
|
|
|
|
|||||||
0 |
|
DI |
U (s) |
|
DI |
|
From expression (46) frequency response and the Bode plot can be found. Frequency response is calculated as:
GDI (jω)= KDI jω. |
(47) |
Polar plot of expression (47) coincides with imaginary axis and begins at the origin at ω= 0 as well as approaches to infinity at ω= ∞. Polar plot of GD (jω)is shown in Fig. 10. Magnitude of Bode diagram is calculated as:
LDI (ω)= 20lg(KDI ω)= 20lg(KDI )+ 20lg(ω). (48)
Expression (48) is straight line with −20 dB/dec slope. Frequency, at which amplitude of ideal differentiating system is equal to zero, is obtained by setting to zero the left hand side of expression (48):
20lg(K |
DI |
)= −20lg(ω |
), |
→ ω = K |
− . |
(49) |
|
0 |
|
0 |
DI |
|
LDI (ω) is shown in Fig. 11.
Phase dependence versus frequency is calculated as:
ϕDI (ω)= arctan |
imGDI (jω) |
|
= 90 . |
(50) |
|
reGDI (jω) |
|||||
|
|
|
Thus ϕDI (ω) is horizontal straight with ordinate, equal to 90º. It is shown in Fig. 12. Ideal differentiating system has no prototypes in real techniques. Instead of that real differentiating system comprised from ideal differentiating system and first order system is used. It is described as:
55

a dy + a y =b du . |
|
(51) |
||
dt |
0 |
dt |
|
|
Using notations |
KDR = b / a0 andT = a / a0 , |
differential |
||
equation can be rewritten in this way: |
|
|||
T dy |
+ y = KDR du |
; |
(52) |
|
dt |
|
dt |
|
|
where: KDR is gain of real differentiating system and T is time constant.
Left sides of Eqs. (51) and (20) are the same, thus the solution of homogenous equation will have the same form as (21). Analytical expression of general solution at u = (t )is:
y = |
K |
DR |
|
|
t |
(53) |
|
|
exp |
− |
|
. |
|||
T |
|
||||||
|
|
|
T |
|
Step response of real differentiating system is shown in Fig. 9.
As the solution of homogenous system is the same as that of the first order system, thus step response is characterized by the same settling time tpp =3 ÷4T .
Fig. 9. Step responses of ideal (DI) and real (DR) differentating systems
56

According to (52) the transfer function of real differentiating system
is: |
KDR s |
|
|
|
GDR = |
. |
(54) |
||
|
||||
|
Ts + |
|
Transfer function of real differentiating system in frequency domain is expressed as:
GDR (jω)= |
KDR jω |
= KDR |
Tω2 + jω. |
|
Tjω+ |
||||
|
|
+(Tω)2 |
Real and imaginary part of expression (55) has the form:
x ≡ re G (jω) |
= |
KDRTω2 |
; y ≡ im G (jω) |
= |
KDRω |
. |
||
|
|
|||||||
|
|
+(Tω)2 |
|
|
+(Tω)2 |
|
he real part of GDR (jω)can be presented in this way:
ω2 |
|
x |
|
= |
|
. |
|
T (KDR −Tx) |
Substituting ω to expression (56) yields:
(55)
(56)
(57)
|
KDR |
|
|
x |
|
|
|
|
|
|
|
|
|
|
T |
KD |
−Tx |
|
|
|
|
|
|
||
y = |
|
|
= (KDR −Tx) |
x |
. |
(58) |
||||||
|
|
|
||||||||||
+T |
2 |
|
x |
|
|
|
T KDR −Tx |
|||||
|
|
|
|
|
|
|
|
|
||||
|
T |
(KD −Tx) |
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
Dividing both sides of Eq. (58) by (KD −Tx ) and taking square of those, also considering ω≥ 0 : y ≥ 0 gives:
|
|
y |
|
2 |
|
x |
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
= |
|
|
|
|
; |
K |
|
−Tx |
T (K |
|
−Tx) |
|||||
|
DR |
|
|
DR |
|
|||||
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
y ≥ 0; |
|
|
|
|
|
|
|
|
|
|
|
|
K |
DR |
|
|
|
→ |
y2 |
+ x2 |
− x |
|
= 0; |
(59) |
||
T |
||||||||
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
y ≥ 0. |
|
|
|
|
|
57

Parametric equation (59) is rewritten in this way:
|
|
|
|
K |
DR |
|
|
|
K |
|
|
|
2 |
|
|
K |
|
2 |
|||||
y2 |
+ x2 |
−2 |
|
|
|
|
x + |
|
|
DR |
|
|
= |
|
|
DR |
|
; |
|||||
|
2T |
2T |
|
2T |
|||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y ≥ 0; |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
2 |
|
|
|
|
(60) |
|
|
|
|
|
|
|
K |
DR |
|
|
|
K |
DR |
|
|
|
|
|
||||||
y2 |
+ x − |
|
|
|
|
= |
|
|
. |
|
|
|
|
||||||||||
|
|
|
|
|
2T |
|
|
|
|
||||||||||||||
→ |
|
|
|
|
|
|
2T |
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y ≥ 0. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The first equation of the set (60) describes circle with centre coordinates x0 =[0, KDR 2T ] and radius R = KDR
(2T ). The second equation states the polar plot being over the real axis as half cycle. Polar plot of real differentiating system is shown in Fig. 10.
Fig. 10. Polar plot of ideal (DI) and real (DR) differentiating systems
Magnitude of real differentiating system is calculated from expression (55) as:
|
GDR (jω) |
|
= |
|
KDRω |
|
Tω+ j |
|
= |
KDRω |
Tω 2 + |
. |
(61) |
|
|
|
|
|
|||||||||
|
|
+(Tω)2 |
|
|
+(Tω)2 |
||||||||
|
|
|
|
|
|
|
|
|
|
58

Bode plot uses magnitudes, expressed by decibels, thus:
L |
(ω)= 20lg |
|
G |
DR |
(jω) |
|
= 20lg |
KDRω |
Tω 2 + |
. (62) |
|
|
|||||||||
|
|
|
|
|||||||
DR |
|
|
|
|
|
|
+(Tω)2 |
|
||
|
|
|
|
|
|
|
|
|
Expression (62) can be directly used to plot Bode diagram by computer, but in many cases the asymptotic Bode plots are constructed. For this at first two frequency ranges are analysed: low frequency range at TZ 1 and high frequency range at TZ 1. At low frequency range expression (62) becomes:
LDR (ω) |
|
Tω<< |
= 20lg(KDRω). |
(63) |
|
||||
|
|
|
|
Expression (63) is the same as (47) for ideal differentiating system. It describes the straight line with slope +20 dB/dec. At high frequency zone expression (62) is rewritten in this way:
L |
(ω) |
|
|
= 20lg |
KDR |
. |
(64) |
|
|
||||||
|
|
|
|||||
DR |
|
|
Tω>> |
|
T |
|
|
|
|
|
|
|
Expression (64) corresponds to horizontal line with ordinate, equal to KDR T decibels. Finally, the corner frequency ωs can be found, where both straights intersect. Set equal expression (63) to (64) and get:
20lg(KDRωs )= 20lg |
KDR |
; → |
ωs = |
|
. |
(65) |
|
|
|||||
|
T |
|
T |
|
Thus, the asymptotic Bode diagram of real differentiating system is composed of two segments of straight lines.
At ω< ωs , it is straight line with positive slope +20 dB/dec, and at ω> ωs it is horizontal line with ordinate of 20lg(KDR T ) decibels. Asymptotic Bode plot of real differentiating circuit LDRa (ω)is shown in Fig. 11.
59

Fig. 11. Bode plots of ideal (DI) and real (DR) differentiating systems
Dependence of output signal phase angle versus frequency is calculated as:
ϕDR (ω)= arctan |
imGDR (jω) |
. |
(66) |
|
reGDR (jω) |
||||
|
|
|
Graph of ϕDR (ω)is shown in Fig. 12.
Fig. 12. Phase characteristic of the frequency response of ideal (DI) and real (RD) differentiating system in semi-log scale
60

In the same Fig. 12 the asymptotic phase angle curve ϕDRa (ω) is presented. It approximates real phase angle characteristic and is convenient for design of the desired controller characteristics.
The simple circuit, realizing real differentiating system is shown in Fig. 13.
Fig. 13. Real differentiating circuit
Differential equation describing the circuit in Fig. 13 is:
|
|
|
|
|
|
|
|
|
∫idt +iR = u . |
|
|
|
(67) |
|
|
|
|
|
|
|
|
|
C |
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System output signal is: |
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
u2 = iR . |
|
|
|
|
(68) |
Substituting (68) to (67) yields: |
|
|
|
|
|
|||||||||
|
∫ |
u |
|
dt +u |
|
= u ; |
→ C R |
du2 |
+u |
|
= C R |
du . (69) |
||
|
C R |
|
|
|
||||||||||
|
|
2 |
|
2 |
|
dt |
|
2 |
dt |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DenotingT =C R ; KDR = C R ; y =u2 and u = u gives the differential equation (52) of real differentiating system.
61