DESCRIBING FUNCTION ANALYSIS:

21
DESCRIBING FUNCTION ANALYSIS: The frequency response method is a powerful tool for the analysis and design of linear control systems. It is based on describing a linear system by a complex-valued function, the frequency response, instead of differential equation. The power of the method comes from a number of sources. First, graphical representations can be used to facilitate analysis and design. Second, physical insights can be used, because the frequency response functions have clear physical meanings. Finally, the method’s complexity only increases mildly with system order. Frequency domain analysis, however, can not be directly applied to nonlinear systems because frequency response functions (FRF) cannot be defined for nonlinear systems. ) t ( f x 50 x 2 x 5 50 s 2 s 5 1 ) s ( F ) s ( X ) s ( F ) s ( X 50 ) s ( sX 2 ) s ( x s 5 2 2 i s i 2 5 50 1 ) s ( F ) s ( X 50 i 2 i 5 1 ) s ( F ) s ( X 2 2

description

DESCRIBING FUNCTION ANALYSIS:. - PowerPoint PPT Presentation

Transcript of DESCRIBING FUNCTION ANALYSIS:

Page 1: DESCRIBING FUNCTION ANALYSIS:

DESCRIBING FUNCTION ANALYSIS:

The frequency response method is a powerful tool for the analysis and design of linear control systems. It is based on describing a linear system by a complex-valued function, the frequency response, instead of differential equation. The power of the method comes from a number of sources. First, graphical representations can be used to facilitate analysis and design. Second, physical insights can be used, because the frequency response functions have clear physical meanings. Finally, the method’s complexity only increases mildly with system order. Frequency domain analysis, however, can not be directly applied to nonlinear systems because frequency response functions (FRF) cannot be defined for nonlinear systems.

)t(fx50x2x5

50s2s5

1

)s(F

)s(X

)s(F)s(X50)s(sX2)s(xs5

2

2

is

i2550

1

)s(F

)s(X

50i2i5

1

)s(F

)s(X

2

2

Page 2: DESCRIBING FUNCTION ANALYSIS:

i2550

i2550

1

)s(F

)s(X

2

2

i

4550

2

4550

550

4550

i2550

)s(F

)s(X222222

2

222

2

iAebia)s(F

)s(X)s(G

a

btan,baA 122

)bia(angle,)bia(absA

Page 3: DESCRIBING FUNCTION ANALYSIS:

0 5 10 150

0.05

0.1

0.15

0.2Frequency Response Function

G(

i)

0 5 10 15-200

-150

-100

-50

0

Ph

ase

An

gle

(

Deg

ree)

R

clc;clearw=0:0.01:15;s=w*i;Gs=1./(5*s.^2+2*s+50);subplot(211)plot(w,abs(Gs))title('Frequency Response Function') xlabel('\omega')ylabel('G(\omegai)')grid onsubplot(212)plot(w,angle(Gs)*180/pi)xlabel('\omega')ylabel('Phase Angle \phi (Degree)')grid on

0 5 10 150

0.05

0.1

0.15

0.2Frequency Response Function

G(

i)

0 5 10 15-200

-150

-100

-50

0

Pha

se A

ngle

(

Deg

ree)

R

clc;clearw=0:0.01:15;r=(50-5*w.^2)./((50-5*w.^2).^2+4*w.^2);img=(2*w)./((50-5*w.^2).^2+4*w.^2);Gs=r-img*i;subplot(211)plot(w,abs(Gs))title('Frequency Response Function') xlabel('\omega')ylabel('G(\omegai)')grid onsubplot(212)plot(w,angle(Gs)*180/pi)xlabel('\omega')ylabel('Phase Angle \phi (Degree)')grid on

Page 4: DESCRIBING FUNCTION ANALYSIS:

For some nonlinear systems, an extended version of the frequency response method, called the describing function method, can be used to approximately analyze and predict nonlinear behavior. Even though it is only an approximation method, the desirable properties it inherits from the frequency response method, and the shortage of other systematic tools for nonlinear system analysis, make it an indispensable component of the bag of tools of practicing control engineers. The main use of describing function method is for the prediction oflimit cycles in nonlinear systems.

Slotine and Li, Applied Nonlinear Control

An Example of Describing Function Analysis:

In this example, we will determine whether there exists a limit cycle in this system and, if so, calculate the amplitude and frequency of the limit cycle (assuming that we have not seen the phase portrait of the Van der Pol equation).

We can represent the system dynamics in a block diagram form, as shown in Figure 1. It is seen that the feedback system contains a linear block and a nonlinear block, where the linear block, although unstable, has low pass properties.

0xx1xx 2 where α is a constant.

Page 5: DESCRIBING FUNCTION ANALYSIS:

s

(.)2

0 +

1ss2 x

-

- x

2xxElementNonlinear Linear Element

w

Figure 1. Feedback interpretation of the Van der Pol oscillator.

Linear element is unstable

0 1 2 3 4 5 6 7 8 9 100

0.2

0.4

0.6

0.8

1

1.2

1.4Frequency Response Function

G(

i)

0 5 10 15 20 25 30-20

-15

-10

-5

0

5x 10

5 Step Response

Time (sec)

Am

plitu

de

Linear element has low pass behavior

=1

=1

Slotine and Li, Applied Nonlinear Control

s

(.)2

0 +

1ss2 x

-

- x

2xxElementNonlinear Linear Element

w

Page 6: DESCRIBING FUNCTION ANALYSIS:

Let us assume that there is a limit cycle in the system and the oscillation signal x is in the form of

Slotine and Li, Applied Nonlinear Control

tsinA)t(x with A being the limit cycle amplitude and ω being the frequency. Thus,

tcosA)t(x Therfore, the output of the nonlinear block is

tcosAtsinAxxw 222

t3costcos4

Aw

tcost2cos12

Aw

3

3

Page 7: DESCRIBING FUNCTION ANALYSIS:

It is seen that w contains a third harmonic term. Since the linear block has low-pass propertiee, we can reasonably assume that this third harmonic term is sufficiently attenuated by the linear block and its effect is not presented in the signal flow after the linear block. This means that we can approximate w by

tsinAdt

d

4

Atcos

4

Aw

23

so that the nonlinear block in Figure 1 can be approximated by the equivalent “quasi-linear” block in Figure 2. the “transfer function” of the quasi-linear block depends on the signal amplitude A, unlike a linear system transfer function (which is independent of the input magnitude).

0 +

1ss2 x

-

- x

ionapproximatlinearQuasi Linear Element

ws4

A2

Figure 2. Quasi-linear approximation of the Van der Pol oscillator.

Page 8: DESCRIBING FUNCTION ANALYSIS:

In the frequency domain, this corresponds to

i4

As

4

A,AN

x,ANw22

That is, the nonlinear block can be approximated by the frequency response function N(A,ω). Since the system is assumed to contain a sinusoidal oscillation, we have

x,ANiGwiGtsinAx

Linear part

where G(ωi) is the linear component transfer function. This implies that

01ii4

iA1 2

2

Slotine and Li, Applied Nonlinear Control

Page 9: DESCRIBING FUNCTION ANALYSIS:

01ii4

iA1 2

2

0i444

iA1

2

2

Solving this equation, we obtain A=2 and ω=1

Slotine and Li, Applied Nonlinear Control

Note that in terms of the Laplace variable s=ωi, the closed loop characteristic equation of this system is

01ss4

sA1

2

2

whose roots are

14A64

14A

8

1s

22222,1

Page 10: DESCRIBING FUNCTION ANALYSIS:

Corresponding to A=2, we obtain the eigenvalues s1,2=±i. This indicates the existence of a limit cycle of amplitude 2 and frequency 1. It is interesting to note neither the amplitude nor the frequency obtained above depends on the parameter α.

α=0.1 α=1

α=2 α=4

In the phase plane, the above approximate analysis suggests that the limit cycle is a circle of radius 2, regardless of the value of α. To verify the plausibility of this result, the real limit cycles corresponding to the different values of α are plotted in Figure 3.

It is seen that the above approximation is reasonable for small value of α, but that the inaccuracy grows as α increases. This is understandable because as α grows the nonlinearity becomes more significant and the quasi-linear approximation becomes less accurate.

Figure 3. Real limit cycle on the phase plane.

α=0.1 α=1

α=2 α=4

Page 11: DESCRIBING FUNCTION ANALYSIS:

Note that, in the approximate analysis, the critical step is to replace the nonlinear block by the quasi-linear block which has the frequency response function (A2/4)(ωi). Afterwords, the amplitude and frequency of the limit cycle can be determined from 1+G(ωi)N(A, ω)=0. The function N(A,ω) is called the describing function of the nonlinear element. The above approximate analysis can be extended to predict limit cycles in other nonlinear systems which can be represented into the block diagram similar to Figure 1.

APPLICATIONS OF DESCRIBING FUNCTIONS (DF):

Simply speaking, any system which can be transformed into the configuration in Figure 4 can be studied using describing functions. There are at least two important classes of systems in this category.

r(t)=0 + w=f(x)w(t)

G(s)y(t)

-

x(t)Nonlinear element Linear element

Figure 4. A nonlinear system.

Slotine and Li, Applied Nonlinear Control

Page 12: DESCRIBING FUNCTION ANALYSIS:

The first important class consists of “almost” linear systems. By “almost” linear systems, we refer to systems which contain hard nonlinearities in the control loop but are otherwise linear. Such systems arise when a control system is designed using linear control but its implementation involves hard nonlinearities, such as motor saturation, actuator or sensor dead-zones, Coulomb friction, or hysteresis in the plant. An example is shown in Figure 5, which involves hard nonlinearitie in the actuator.

Consider the control system shown in Figure 5. the plant is linear and the controller is also linear. However, the actuator involves a hard nonlinearity. This system can be rearranged into the for of Figure 4 by regarding GpG1G2 as the linear component G, and the actuator nonlinearity as the nonlinear element.

Figure 5. A control system with hard nonlinearity.

r(t)=0 +G1(s)

w(t) y(t)

-

x(t) u(t)Gp(s)

G2(s)

Dead zone and saturation

Slotine and Li, Applied Nonlinear Control

Page 13: DESCRIBING FUNCTION ANALYSIS:

“Almost” linear systems involving sensor or plant nonlinearities can be similarly rearranged into the form of Figure 4.

The second class of systems consists of genuinely nonlinear systems whose dynamic equations can actually be rearranged into the form of Figure 4. We saw an example of such systems in the previous example (Van der Pol equation).

For systems such as the one in Figure 5, limit cycles can often occur due to the nonlinearity. However, linear control cannot predict such problems. Describing functions, on the other hand, can be conveniently used to discover the existence of limit cycles and determine their stability, regardless of whether the nonlinearity is “hard” or “soft”. The applicability to limit cycle analysis is due to the fact that the form of the signals in a limit-cycling system is usually approximately sinusoidal. Indeed, assume that the linear element in Figure 4 has low-pass properties (which is the case of most physical systems). If there is a limit cycle in the system, then the system signals must all be periodic. Since, as a periodic signal, the input to the linear element in Figure 4 can be expanded as the sum of many harmonics, and since the linear element, because of its low-pass property, filters out higher frequency signals, the output y(t) must be composed mostly of the lowest harmonics.

Slotine and Li, Applied Nonlinear Control

Page 14: DESCRIBING FUNCTION ANALYSIS:

Prediction of limit cycles is very important, because limit cycles can occur frequently in physical nonlinear system. Sometimes, a limit cycle can be desirable. This is the case of limit cycles in the electronic oscillators used in laboratories. Another example is the so-called dither technique which can be used to minimize the negative effects of Coulomb friction in mechanical systems. In most control systems, however, limit cycles are undesirable. This may be due to a number of reasons:

Limit cycle, as a way of instability, tends to cause poor control accuracy

The constant oscillation associated with the limit cycle can cause increasing wear or even mechanical failure of the control system hardware

Limit cycling may also cause other undesirable effects, such as passenger discomfort in an aircraft under autopilot.

In general, although a precise knowledge of the waveform of a limit cycle is usually not mondatory, the knowledge of the limit cycle’s existence, as well as that of its approximate amplitude and frequency, is critical. The describing function method can be used for this purpose. It can also guide the design of compensators so as to avoid limit cycles.

Slotine and Li, Applied Nonlinear Control

Page 15: DESCRIBING FUNCTION ANALYSIS:

Basic Assumptions in Describing Function Analysis:

Consider a nonlinear system in the general form of Figure 4. In order to develop the basic version of the describing function method, the system has to satisfy the following four conditions:

1. Ther is only a single nonlinear components

2. The nonlinear component is time invariant (saturation, backlash, Coulomb friction, etc.)

3. Corresponding to a sinusoidal input x=sin(ωt), only the fundamental component w1(t) in the output w(t) has to be considered.

4. The nonlinearity is odd (symmetry about the origin).

,3,2nforinGiG

Saturation

x

w

Slotine and Li, Applied Nonlinear Control

Page 16: DESCRIBING FUNCTION ANALYSIS:

Basic Definitions:

Let us now discuss how to represent a nonlinear component by a describing function. Let us consider a sinusoidal input to the nonlinear element, of amplitude A and frequency ω, i.e., x(t)=Asin(ωt) as shown in Figure 6.

N.L. tsinA )t(w

N(A,ω) tsinA tsinM

Figure 6. A nonlinear element and its describing function representation

The output of a nonlinear component w(t) is often a periodic, though generally non-sinusoidal, function. Note that this is always the case if the nonlinearity f(x) is single-valued, because the output is f[Asin(w(t+2ω))]=f[Asin(ωt)].

Page 17: DESCRIBING FUNCTION ANALYSIS:

Using Fourier series, the periodic function w(t) can be expanded as

1n

nn0 tnsinbtncosa2

a)t(w

where the Fourier coefficients ai’s and bi’s are generally functions of A and ω, determined by

)t(dtnsin)t(w1

b

)t(dtncos)t(w1

a

)t(d)t(w1

a

n

n

0

Slotine and Li, Applied Nonlinear Control

Page 18: DESCRIBING FUNCTION ANALYSIS:

Due to the fourth assumtion above, one as a0=0. Furthermore, the third assumption implies that we only need to consider the fundamental component w1(t), namely

tsinMtsinbtcosa)t(w)t(w 111

where

1

1121

21 b

atan,Aandba,AM

Expression for w(t) indicates that the fundamental component corresponding to a sinusoidal input is a sinusoid at the same frequency. In complex representation, this sinusoid can be written as

ti1 Mew

Slotine and Li, Applied Nonlinear Control

Page 19: DESCRIBING FUNCTION ANALYSIS:

Similarly to the concept of frequency response function, which is the frequency-domain ratio of the sinusoidal input and the sinusoidal output of a system, we define the describing function of the nonlinear element to be the complex ratio of the fundamental component of the nonlinear element by the input sinusoid, i.e.,

iti

ti

eA

M

Ae

Me,AN

With a describing function representing the nonlinear component, the nonlinear element, in the presence of sinusoidal input, can be treated as if it were a linear element with a frequency response function N(A,ω) as shown in Figure 6.

The concept of a describing function can thus be regarded as an extention of the notion of frequency response. For a linear dynamic system with frequency response function H(iω), the describing function is independent of the input gain, as can be easily shown. However, the describing function of a nonlinear element differs from the frequency response function of a linear element in that it depends on the input amplitude A. Therefore, representing the nonlinear element as in Figure 6 is also called quasi-linearization.

Page 20: DESCRIBING FUNCTION ANALYSIS:

Example: Describing function of a hardening spring

2

xxw

3

The characteristics of a hardening spring are given by

with x being the input and w being the output. Given an input x(t)=Asin(ωt), the output

tsin2

AtsinA)t(w 3

3

The output can be expanded as a Fourier series, with the fundamental being

tsinbtcosa)t(w 11

Because w(t) is an odd function, one has a1=0 and the coefficient b1 is

-3 -2 -1 0 1 2 3-1.5

-1

-0.5

0

0.5

1

1.5

Time (seconds)

w(t

)

333

1 A8

3Atdtsintsin

2

AtsinA

1b

Page 21: DESCRIBING FUNCTION ANALYSIS:

Therefore the fundamental is

tsinA8

3Aw 3

1

and the describing function ofthis nonlinear component is

2A8

31)A(N,AN

)t(x,ANw1

tsinAA8

31w 2

1

Note that due to the odd nature of this nonlinearity, the describing function is real, being a function only of the amplitude of the sinusoidal input.

Slotine and Li, Applied Nonlinear Control