An Introduction To Non Linearity in Control System
An Introduction To Non Linearity in Control System
Derek Atherton
Derek Atherton
An Introduction to Nonlinearity in Control Systems 2011 Derek Atherton & Ventus Publishing ApS ISBN 978-87-7681-790-9
Contents
Contents
Preface 1 1.1 1.2 1.3 1.4 1.5 2 2.1 2.2 2.2.1 2.2.2 2.2.3 2.3 2.3.1 2.3.2 2.3.3 Introduction What is nonlinearity? Forms of nonlinearity Structure and Behaviour Overview of contents References The Phase Plane Method Introductio n Basic Principles The Linear Case The Nonlinear Case An Example The Phase Plane for Systems with Linear Segmented Nonlinearities Example 1 Nonlinear Output Derivative Feedback Example 2 Relay Position Control Example 3 Position Control with Torque Saturation 10 12 12 13 16 17 18 19 19 19 20 23 24 26 27 28 34
MAERSK INTERNATIONAL TECHNOLOGY & SCIENCE PROGRAMME Are you about to graduate as an engineer or geoscientist? Or have you already graduated? If so, there may be an exciting future for you with A.P. Moller - Maersk.
www.maersk.com/mitas
An Introduction to Nonlinearity in Control Systems 2. 4 2.5 2.6 3 3.1 3.2 3.3 3.4 3.4.1 3.4.2 3.4.3 3.5 3.6 3.7 3.8 3.9 3.10 3.11 4 4.1 Conclusions References Bibliography The Describing Function Introductio n The Sinusoidal Describing Functio n Some Properties of the DF The Evaluatio n of some DFs Cubic Nonlinearity Saturation Nonlinearity Relay with Dead Zone and Hysteresis Nonlinear Models and DFs Harmonic Outputs Sine plus Bias DF and the IDF Conclusions References Bibliography Appendix -Tables of Describing Functio ns Stability and Limit Cycles using the DF Introductio n 35 35 36 37 37 37 39 41 41 41 42 44 45 46 47 47 47 47 51 51
Contents
www.job.oticon.dk
An Introduction to Nonlinearity in Control Systems 4.2 4.3 4.4 4.5 4.5.1 4.5.2 4.5.3 4.5.4 4.6 4.7 4.7.1 4.7.2 4.8 4.9 5 5.1 5.2 5.3 5.3.1 5.3.2 5.3.3 Limit Cycle Evaluatio n Stability of a Predicted Limit Cycle DF Accuracy Some Examples of Limit Cycle Evaluation The Van der Pol Equation Feedback Loop Containing a Relay with Dead Zo ne Feedback Loop with On Off Relay Use of the IDF More than one Nonlinear Element Applicatio ns of SBDF to find Limit Cycles Asymmetrical no nlinearity Effect of Bias with Odd Symmetrical Nonlinearity Conclusions Bibliography The SSDF and Harmonically Forced Systems Introductio n The Cubic Nonlinearity with Two Sinusoidal Inputs Modified Nonlinearities and the SSDF Power Law Characteristic Harmonic Nonlinearity Ideal Relay 52 53 55 55 55 56 58 59 61 62 63 65 67 67 68 68 69 70 72 72 73
Contents
An Introduction to Nonlinearity in Control Systems 5.4 5.5 5.6 5.7 5.7.1 5.7.2 5.8 5.9 6 6.1 6.2 6.3 6.4 6.4.1 6.4.2 6.5 6.6 6.6.1 6.6.2 6.6.3 6.6.4 The IDF for Related Signals More Accurate Determinatio n of Limit Cycles Closed Loop Frequency Response Jump Resonance Jump resonance region- use of the IDF Some Examples of Jump Resonance Conclusions References Limit cycles in relay systems Introductio n The Frequency Domain Approach Properties and Evaluation of A loci Solving for Limit Cycles Relay with no Dead Zone Relay with Dead Zone Limit Cycle Stability Some Interesting Limit Cycle Problems Example 1 Invalid Continuity Condition Example 2 Multipulse Limit Cycles Example 3 Limit Cycle with a Sliding Mode Example 4 Multiple Limit Cycle Solutions 74 76 79 83 85 85 95 96 97 97 98 101 102 102 104 105 106 106 107 108 111
Contents
An Introduction to Nonlinearity in Control Systems 6.6.5 6.6.6 6.7 6.8 6.9 6.10 7 7.1 7.2 7.2.1 7.2.2 7.3 7.3.1 7.4 7.4.1 7.5 7.6 8 8.1 8.2 Example 5 Chaotic Motion Example 6 Unstable Limit Cycles and Simulatio n Forced oscillations Conclusions References Appendix Controller Tuning from Relay Produced Limit Cycles Introductio n Knowledge from the Limit Cycle Relay Autotuning Plant Parameter Identifica tion Tuning the Co ntroller An Example Autotuning using the Relay in Parallel with the Controller An Example Conclusions References Absolute Stability Results Introductio n Lyapuno vs Method 111 114 114 114 114 116 125 125 127 127 129 130 133 133 136 137 137 138 138 138
Contents
An Introduction to Nonlinearity in Control Systems 8.2.1 8.2.2 8.2.3 8.3 8.3.1 8.3.2 8.4 8.4.2 8.5 8.5.1 8.5.2 8.5.3 8.6 8.7 8.8 8.9 9 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.7.1 9.7.2 9.8 9.9 9.10 9.10.1 9.10.2 9.10.3 9.10.4 9.10.5 9.11 9.12 Definitio ns of Stability Positive Definite Functio ns Lyapuno vs Theorems Applicatio n of Lyapunovs Method Linear System Nonlinear System Definitio ns and Loop Transformations Loop Transformations Frequency Domain Criteria Popov Theorem The Circle Criterion The Off-axis Circle Criterion Examples Conclusions References Bibliography Design of Nonlinear Control Systems Introductio n Linearizatio n Frequency Response Shaping Nonlinear Compensation Compensation using DF Models Time Optimal Co ntrol Sliding Mode Control A Second Order System Further Comments Fuzzy Logic Neural Networks Exact Linearizatio n Relative Degree Input-Outp ut Linearizatio n Exact State Linearization Examples Further Comments General Comments References 139 140 140 141 141 142 142 143 144 144 145 147 148 150 150 150 151 151 152 153 154 155 155 157 157 162 163 163 164 166 167 169 169 174 175 175
Contents
Preface
Preface
The book is intended to provide an introduction to the effects of nonlinear elements in feedback control systems. A central topic is the use of the Describing Function (DF) method since in comb ination with simula tion it provides an excellent approach for the practicing engineer and follows on logically from a first course in classical control, such as the co m p a nio n volum e in this series. So m e of the ba sic m aterial o n the to pic ca n b e f o und in m y ea rlier b o ok which is frequently referenced throug hout the text. The first cha pter pro vid es a n i ntro d uctio n to no nlinearity fro m the b asic def initio n to a discussio n of the p o ssible effects it ca n ha ve o n a system a nd the diff erent b eha vio ur tha t m ig ht b e fo und , in p a rticula r whe n it o ccurs within a casca d e system of elem ents o r in a f eedb a ck lo o p. T he f ina l pa rt of the chap ter gives a b rief o verview of the co ntents of the b oo k. Phase plane methods for second order systems are covered in the second chapter. Many systems, particularly electromechanical ones, ca n be app roximated by seco nd order models so the co ncept ca n b e particularly useful in pra ctice. The second order linear system is first considered as surprisingly it is rarely covered in linear control system texts. The m etho d ha s the big a d va nta ge in tha t the eff ects of m o re tha n o ne no nlinear e lem ent m a y b e co nsid ered . The stud y is supported by several simulatio ns done in Simulink including one where sliding motion ta kes place. The third cha p ter is the first of three d evoted to the stud y of f eed b a ck loo ps using DF m etho d s. Altho ug h the m etho d is a n ap p ro xim ate techniq ue its value, a nd lim itatio ns, are sup p o rted b y a la rg e nu m b er of exa m ples co ntaining a nalytical results a nd sim ulatio ns, including the estima tio n of limit cycles a nd lo op sta bility. Ma ny early pa p ers o n DFs sho wing ho w theories co uld b e used to predict sp ecific p heno m ena were supp orted b y sim ulatio ns do ne o n a nalog ue co m p uters. Here results from digital simulations using Simulink are presented and this allows much more control of initial conditions to show how different modes may exist dependent on the initial conditions. In particular, Chapter 5 contains some more ad va nced wo rk including so m e new results o n jum p reso na nce, so so m e read ers ma y wish to o mit this cha pter o n a first reading. A rela y is a uniq ue no nlinea r elem ent in tha t its o utp ut do es not d ep end up o n the inp ut a t all tim es b ut is d etermined b y when the input passes through the relay switching levels. It is this feature which allows the exact determina tion of limit cycles a nd their sta bility in a f eed ba ck lo op . The b asic theory is p resented a nd so m e sim ple exa m ples co vered. It is the n sho wn in sectio n 6.6 ho w the a p pro a ch ca n be used with co m p uta tio nal sup p o rt to a na lyse q uite co m plicated p erio dic m o d es in rela y system s. Am o ng the to pics co vered fo r the first tim e in a textbo o k a re the eva luatio n of lim it cycles with multiple pulses per cycle, as found in a satellite attitude control system, the determination of a limit cycle with sliding and other more advanced aspects which some readers may wish to omit. A practical method developed in recent years for finding suitable parameters, or tuning, for a controller based on the so called lo o p cycling m etho d o f Ziegler a nd Nichols ha s used rela y p rod uced limit cycles. Cha p ter 7 co vers these id eas using b oth a p pro xim ate a nalysis b ased o n the DF a nd exa ct a nalysis b ased o n the rela y m ethod s of the p revio us chap ter.
10
Preface
Cha pter 8 co vers the to pic of a bsolute stability na m ely trying to o btain necessa ry a nd sufficient co nd itio ns f or the sta bility of a f eed ba ck lo op with a single no nlinear elem ent. This p ro blems ha s exercised the minds of theorists fo r nearly a centu ry but a solution seems no nearer! Several necessary but not sufficient results are presented, which dependent on ones viewpoint ma y be regarded as conservative or robust. The former is usually the case when one has a mathematically defined nonlinearity a nd t he latter ma y be used beca use the result gives stability for a ny no nlinearity with certain properties, for example, lying within a sector. The final chapter, chapter 9, discusses q uite briefly various methods which ca n be used for the desig n of nonlinear systems. The intent ha s b een to pro vid e sufficient inf orm a tio n o n the m ethod s a nd their po ssible a d va ntag es a nd disad va ntag es. Several of them have co mplete books written o n the topic and more d etail co uld not have been given witho ut the coverage of more specialised mathema tics. Finally my tha nks to the University of Sussex for the use of an office and access to the computing facilities during my retirem ent; to m y g oo d f riend Keith Go df rey a nd his student R ola nd f or the co m p uta tio na l inp ut o n jum p reso na nc e a nd their companio nship at the races and to my wife, Constance, for her love and support. Derek P Atherto n University of Sussex Brighto n May 2011.
11
Introduction
1 Introduction
1.1 What is nonlinearity?
In order to a nalyse the b eha vio ur of engineering systems ma thematical mo dels are req uired fo r the vario us co m po nents. It is co m m o n pra ctice to try a nd ob ta in linear m o dels a s a rich m a them atical theo ry exists f or linea r system s. These m o dels will alwa ys be app roximate, althoug h possibly q uite a ccurate for defined rang es of system variables, b ut inevitably no nlinea r effects will eventually be found for large excursions of system variables. Linear systems have the important property that they satisf y the sup erp ositio n principle. This lea d s to m a ny im p orta nt a d va nta g es in m etho d s fo r their a na lysis. Fo r example, in circuit theory when an RLC circuit has both d.c and a.c input voltages, the voltage or current elsewhere in the circuit ca n b e f o und b y sum ming the results of sepa ra te a na lyses f or the d .c. a nd a .c. inp uts ta ken individ ually, also if the m a g nitud e of the a.c. volta g e is d o ubled then the a .c. volta g es a nd currents elsewhere in the circuit will be do ub led . Thus, mathematically a linear system with inp ut x (t) and output y (t) satisfies the property that the output for an input ax 1 (t) + bx2 (t) is ay1 (t) + by2 (t) , if
y1 (t) and y2 (t) are the outputs in response to the inputs x1 (t) and x2 (t)
, respectively, and a and b are constants. A further point is that when the a.c. voltage is sinusoidal, which is normally assumed in using the term a .c., then all the other voltages a nd currents in the circuit are sinusoidal with the sam e freq uenc y as the input. A no nlinea r system is d efined a s o ne which d o es no t satisf y the sup erp ositio n pro p erty. The sim p lest f o rm of no nline ar system is the static no nlinearity where the o utp ut d ep end s o nly o n the current value of inp ut b ut in a no nlinea r m a nne r, for example
(1.1)
where the o utp ut is the sum m a tio n of a linea r a nd a no nlinear, cubic, term . This d escriptio n of no nlinea rity is given b y a sim ple m athem a tical expressio n. Pra ctical no nlinearities which o ccur in co ntrol eng ineering , ho wever, ca n of ten not b e so ea sily d escribed ; so that a p pro xim a ting them m a y req uire m o re co m plex m a them atical m o dels, such a s a hig h o rd er power series or a linear segmented approximation. More commonly a nonlinear differential eq uation, for example
2
(1.2)
will describe the behavior. From an engineering viewpoint it ma y be desirable to think of this equation in terms of a block diagram, as shown in Figure 1.1, consisting of linear dynamic elements and a static nonlinearity, in this case a
3
nonlinear, unlike linear, differential equations. The major point about no nlinear systems, however, is that their response is a m plitud e d ep end ent so tha t if a pa rticula r fo rm of resp o nse, o r so m e m easure of it, o ccurs f or o ne inp ut m a g nitud e it may no t result for some other input mag nitude.
12
cubic, which with inp ut dy (t) /dt gives an outp ut c (dy (t) /dt) . U nfortunately there is no general approa ch to solving
Introduction
A further and very important point, is that unlike a linear operation, a nonlinear operation on a sinusoid of frequency, f, will not prod uce a n o utp ut a t f req uency f, alo ne. Fo r exa m ple, if such a sinusoid is ap plied to the static no nlinearity o f eq uatio n (1.1) it is ea sy to sho w f ro m substituting x (t) = a cos (~t) where ~ = 2rf tha t there are o utp uts a t freq uencies
3 3
is that, as will be shown later, they exhibit several forms of unique behavio ur which are not possible in linear systems.
13
f a nd 3f of mag nitud es ca + 3da /a and da /4 , respectively. Perhaps the most interesting aspect of no nlinear systems
Introduction
Frictio n a lwa ys o ccurs in m echa nical system s a nd is very d ifficult to mo d el, with m a ny q uite sop histica ted mo d els ha vin g b een p resented in the literature. The sim plest is to a ssum e the three co m p o nents, illustrated in Fig ure 1.2, of stictio n, an ab b revia tio n fo r sta tic frictio n, Co ulo m b f rictio n a nd visco us frictio n. As its na m e im plies stictio n is a ssum ed to exist o nly at zero differential speed between the two contact surfaces. Coulomb frictio n with a value less tha n stiction is assumed to be constant at all speeds, and viscous friction is a linear effect being directly pr oportional to speed. In practice there is often a term pro po rtio nal to a hig her p o wer of sp eed , a nd this is also the situa tio n fo r m a ny sha ft lo a ds, fo r exa m ple a fan for which the drive torque typically increases as a power of speed.
Fri cti on Fo r ce V is co u s S ticti on Co ulom b
S pee d
(1.3)
Here the pa ra m eters a, b, c a nd d are cho sen to pro vid e the d esired sha p e a g ainst speed which initia lly decreases fro m the value at zero speed and then starts to increase. Many mecha nical loads a re driven throug h g earing rather tha n directly. Altho ug h geared drives, like all areas of technolog y, have improved throug h the years they always have some small backlash. This may be avoided by using anti -backlash gears, which are only available for low torques. Backlash, which is a very complicated phenomeno n, involving impacts between surfaces is often modeled in a very simplistic manner. For example, the simple approach used in some digital sim ulatio n la ng ua g es, such as Sim ulink , the sim ulatio n co m po nent of the well -k no wn sof twa re pa cka g e, Ma tla b , co nsists of a n inp ut -o utp ut po sitio n cha ra cteristic of two p a rallel straig ht lines with p ossible ho rizo ntal m o vem ent b etween them . This ma k es two m ajor assum ptio ns, first tha t the loa d shaf t f rictio n is hig h eno ug h f or co nta ct to b e m aintained with the drive side of the backlash when the drive slows down to rest. Secondly when the drive reverses the backlash is crossed a nd the new drive sid e of the g ear picks up the lo ad insta nta neo usly with no lo ss of energ y in the im pa ct a nd bo th then m o ve at the d rive sha ft sp ee d. Clea rly bo th these assum p tio ns a re never true in p ra ctice b ut no check s exist in Sim ulink
to d eterm ine ho w g o od they are o r, ind eed, when they a re co m pletely invalid . Better f a cilities f or m o d eling p heno m ena such as b a cklash ca n be fo und in sim ula tio n la ng ua ges such a s 20 -Sim or Dynast, which do no t use the blo ck co ncept of Simulink. A good discussion of friction and backlash can be found in reference1.1.
14
Introduction
Probably, the most wid ely used intentio nal nonlinearity is the relay. The on -off typ e, which ca n b e described mathem atically b y the sig num f unctio n, tha t is switches o n if its i np ut exceeds zero a nd o ff if it g oes b elo w zero , is wid ely used no rm ally with so m e hysteresis b etween the switching levels. U se of this a p proa ch p ro vid es a co ntro l stra teg y where the co ntrolled varia ble o scillates a bo ut the d esired level. The switching m ec ha nism va ries sig nifica ntly a cco rd ing to the ap plica tio n fro m electro m echa nical rela ys at lo w sp eed to fa st electro nic switches em plo ying tra nsistors o r thyristors. A co m m o n usa ge of the rela y is in the tem p erature co ntrol of b uilding s, where typically the switching is p ro vid ed f ro m a tem p erature senso r ha ving a po ol of m ercury o n a m etal expa nsio n coil. As the tem pera ture d ro ps the coil co ntra cts a nd this ca uses a cha ng e in a ngle of the mercury capsule so that eventually the mercury mo ves and closes a co ntact. When the temperature increases the coil expands causing a change in ang le for the mercury to flo w and break the contact. Electronic switching controllers are being used in many modern electric motor drive systems, for example, to regulate phase currents in stepping motors and switched reluctance motors and to control currents in vector control drives for induction motors. Relays with a dead zone, that is, three position relays giving positive, nega tive and a zero output are also used. When used in a p ositio n co ntrol system the zero o utp ut allo ws f or a stea d y state p ositio n within the d ea d zo ne but this affects the resulting steady state control accuracy.
Hysteresis eff ects in m ag netic ma terials so m etim es ha ve to b e m od eled . This is of ten do ne b y a ssum ing a hysteresis lo o p of the form of a B-H loop for a magnetic material typically obtained for a sinusoidal input. Ho wever the shape usually varies with the amplitude and frequency of the input and does not in fact remain consta nt with a random excitat io n. Pro vid ed the inp ut is sinusoid al a nd the sha p e do es rem ain reaso na bly co nsta nt then a no nlinea r f unctio n of the f o rm n (x, x)o m a y pro vide a reaso na ble m od el a s the p ath tak en a ro und the hysteresis d epend s up o n whether the inp ut, x, is increasing or decreasing, i.e the derivative of x, xo .
TOP
15
Introduction
If they are placed in cascade and a sinusoidal input applied the outp ut will be a determinis tic waveform containing two frequency components one at the same frequency as the inp ut and the other at three times that frequency. Any casca d e co m b inatio n of linea r a nd no nlinea r elem ents will a lwa ys p rod uce a d eterministic o utp ut f or a ny given discrete inp ut freq uency spectrum , which in p rincip le ca n b e evaluated . New freq uency co m p o nents ca n o nly be created b y the nonlinearities and the linear elements simple alter the relative magnitudes and phases of these components. Fo r exa m ple, if the ab o ve no nlinea rity is pla ced b ef ore a nd after the linear tra nsf er f unctio n a nd a sinusoid of freq uenc y, f, is a p plied at the inp ut, then the inp ut to the seco nd no nlinea rity will co nsist of the f und a m ental, f, plus third ha rm o nic, 3f, with m a g nitud es a nd p hases d epend ent o n both the inp ut sinusoidal ma g nitud e a nd f req uency. These two freq uencies ap plied to the seco nd no nlinearity will prod uce a n o utp ut co nta ining the freq uency co m p o nents, f, 3f, 5f, 7f, a nd 9f. One co uld d efine a freq uency resp o nse fo r such a cascad e structure of linear a nd no nlinea r elements as the ra tio of the o utp ut at the fundamental frequency, f, to the input sinusoid at this frequency. The result, as for a linear system, would be a m a g nitud e a nd p ha se, which varies with, f, b ut beca use of the no nlinearities it wo uld also vary with the a m plitud e of the inp ut sinusoid . Thus a n a p pro xim a te f req uency respo nse m o d el fo r the co m bina tio n co uld be p ortra yed g ra p hically b y a set of freq uency respo nse plots fo r diff erent inp ut a m p litud es, o r g ain a nd p hase plots a g ainst a m plitud e fo r diff erent frequencies. Fo r m a ny p ro blem s enco u ntered in co ntro l eng ineering this m a y pro ve to b e a reaso na bly g oo d m o del since m a ny o f the linea r d yna m ic elem ents, lik e the o ne given, ha ve lo w p a s s d yna mics so that the f req uency, f, will p red o mina te at the o utp ut. With no linear d yna m ic elem ents in the co m bina tio n then these la tter plo ts wo uld b e the sa m e fo r all freq uencies a nd the a pp ro xim ate, first harm o nic, or q uasi -linea rized , m od el wo uld b e gain a nd p ha se curves as a f unctio n of the inp ut a mplitud e. This rep resentatio n of a no nlinea r elem ent is k no wn as a d escribing f unctio n (DF), which is the to pic of several cha pters. So m etim es the a bo ve m o del f o r the co m bina tio n b ased o n the f und a m ental f r eq uency, f, o nly is ref erred to as an amplitude and frequency dependent describing function.
16
Consider a nonlinearity x + dx , and a dynamic elem ent with tra nsfer f unctio n K /s (s + b) , where b a nd d are co nsta nts.
Introduction
If alterna tively we assum e the system structure to co nsist of a f eed ba ck co mb ina tio n of the linear a nd no nlinear elem ents,
3
neg ative g ain then, a very diff erent situatio n is p o ssib le f o r the respo nse to a sinusoid al inp ut. Dep end ent o n the values of b, d and the amplitude and frequency of the input, some possibilities for the output are that it is (a) approximately sinusoidal with the same frequency as the input, similar to the aforementioned cascade connection; (b) approximately sinusoid al with a f req uency related to tha t of the inp ut; (c) a co m bina tio n of p rim a rily the inp ut freq uency a nd a no ther freq uency o r (d ) a wa vef orm k no wn as cha otic, which is no t d efina ble m a them atically b ut co m pletely repeata ble f o r the same initial co nditio ns. These behaviours and others are unique to nonlinear feedback systems, aspects which make such systems extremely interesting. However, it has meant that no general analytical method is available for predicting their behavior. Several approaches will be considered in this book all of which will be restricted in their applicability or, put alterna tively, the situatio ns which they ca n address. Thus the importance of simulatio n studies for investigating no nlinear systems in asso ciatio n with a nalytical m etho ds ca nnot b e und erestim ated . Much of the sup po rt fo r the theoretical ma terial presented in the early chapters, particularly in the 50s to 60s, was done using analogue simulation. Today simula tions are done dig ita lly a nd several a re included using Sim ulink in the f ollo wing cha pters to illustrate the co ncepts a nd pro vid e solutio ns for specific problems. Care has to be taken in simulating nonlinear systems particularly those with linear segmented characteristics because of the discontinuities. Some comments are made on the simulatio ns where appropriate.
the p ara m eters of a co ntroller, typically k no wn as rela y a utotuning . The topic of a bsolute sta bility, na m ely the develop m ent of exact criteria for guaranteeing the stability of a feedback loop with a single nonlinearity and linear transfer functio n, is co vered in cha pter 8. Dep end ent o n the viewp oint these results m a y b e reg ard ed a s rob ust, a s they p ro ve sta bility for with the tra nsfer function K /s (s + b) in the forward loop a nd the feedba ck loop co ntaining x + dx fed back thro ug h a variations in the nonlinearity, or conservative if one is considering stability for a specific nonlinearity.
17
Introduction
The coverage to this point, apart from chapter 7, has like many textbooks on linear control, been primarily concerned a nd other techniq ues m a y b e used f or no nlinear co ntrol system desig n. The co vera g e of these topics is q uite brief , so m e necessarily so b eca use of the a d ditio nal theo retical co ncep ts which wo uld ha ve to b e introd uced to g o into them m o re d eepl y. Ho pef ully, sufficient inf o rm atio n, tog ether with the ref erences, is given fo r the read er to und ersta nd the co ncepts involved, their possible relevance for particular applications and how they might be applied.
with intro d ucing a na lytical to ols. Cha pter 9, ho wever, f o cuses mo re o n d esig n a nd loo ks at ho w so m e of the id ea s co vered
1.5 References
1.1 Friedland, B, 1996 Ad vanced control system design, Chapter 7 Prentice Hall.
In Paris or Online
International prog rams taught by professors an d professi onals from all ov er the w orld BBA in G lobal Business M BA in International M anagement / International M arketing DBA in International Business / Interna tional M anagement MA in International E ducation MA in C ross-C ultural C ommunication MA in F oreign Languages Innov ative P ractical F lexible A ffordable Visit: www.HorizonsU niversity.org Write: A dmissions@horizo nsuniv ersity .org C all: 01.42.77.20.66
www.HorizonsUniversity.org
18
(2.2)
Before considering the no nlinear case further it is important to first examine the linear case, which is rarely discussed in
d etail in texts o n linear co ntrol. Mo st, usually, just restrict the co ntrib utio n to co nsid ering the step resp o nse of a seco nd order system.
19
xo x o1
Eliminating x 2 fro m eq uatio ns (2.3) b y differentiating the first eq ua tio n a nd substituting fo r xo 2 f ro m the seco nd eq ua tio n and x2 from the first yields xp1 - (a + d) xo1 + (ad - bc) x1 = 0 which after taking Laplace transforms has the characteristic equa tion s - (a + d) s + ad - bc = 0 which is the sa m e as the eigenva lue eq ua tio n of the ma trix A, with typically repla cing s when discussed in m athem atical texts. The ro ots, o r eig envalues, of the eq uatio n d ep end o n the values of the elem ents of A. If the eq uatio n is written in the f orm m + Bm + C = 0 then the two eigenvalues are given by m1 = - B + (B - 4C)
2 1/2 2 2
/2 and m2 = - B - (B - 4C)
1/2
/2
The solutio n to the differential equa tion is of the form x1 (t) = K 1 e x1 (t) = K 1 e
m1 t m1 t
+ K2 e + tK 2 e
m2t m2t
for m1 ! m2 for m1
= m2
For the linear system there is only one singular point at the origin x1 = 0, x2 = 0 of the state plane and the beha viour of the motio n near to the sing ular point depends on the eigenvalues.
20
Trajectories ca nnot intersect and ca n o nly meet at a singular point. The following fo ur cases can occur for the sing ular point. (i) m1 and m2 are both real and have the same sign (either positive or negative). (ii) m1 and m2 are both real and have opposite signs. (iii) m1 and m2 are complex conjugates with no n zero real parts. (iv) m1 and m2 are imaginary, that is complex conjugates with zero real parts. Case (i) co rresp o nds to a sing ula r point k no wn as a no de, which is sta ble when the eig envalues are neg ative a nd unsta ble when they are po sitive. The fo rm of the trajecto ries near to the sing ular point is sho wn in the sim ulatio n results of Fig ure
2
of (1,-2)T and (1,-0.5)T. Arro ws are typically pla ced o n the trajectories sho wing the directio n of mo tio n which will b e to wa rd s the sing ular point for a stable nod e, as sho wn in the fig ure, a nd a wa y fro m it fo r a n unstab le o ne. Trajectories sta rting o n a n eig envecto r rem ain o n it as is clearly seen in the f ig ure. For the stable no de a ll tra jectories, a pa rt fro m tha t starting o n the first eig envect o r tend to wa rd s the no de alo ng the seco nd eig envecto r, i.e the o ne with the sm allest slo p e. The plo t sho wing trajecto ry m otio ns from different initial cond itio ns is known as a state or phase portrait, although the latter na me is often reserved for the special case where xo1 = xo2 , that is a = 0 and b = 1 in equation (2.3)
The sing ular point in case (ii) is a saddle point which is o nly theoretically reachable from initial co nditions on the eigenv ector of the stable solutio n asso ciated with the nega tive eig envalue. Any sm all perturba tio n will ca use the trajecto ries to diverg e as shown by the phase portrait of Figure 2.2 and move outwards as shown by the arrows.
21
2.1, for the transfer functio n 1/ (s + 2.5s + 1) which has eigenvalues of -0.5 a nd -2, with correspo nding eigenvectors
A p ha se p ortrait fo r ca se (iii) is sho wn in Fig ure 2.3 where the sing ula r p oint is a fo cus. The f o cus is sta ble whe n the real part is negative, so that trajectories spiral towards it as marked in the figure, and unstable when the real part is positive. Four trajectories are shown in the fig ure.
In the final ca se (iv) the sing ular p oint is a centre, with the oscilla to ry m otio n pro d ucing co ncentric trajectories, a s sho wn in Fig ure 2.4. Their size depends on the initial conditio ns, which in a physical situatio n, such as an ideal oscillating pendulum, is defined by the initial inp ut energy.
22
Destination MMU
MMU is proud to be one of the most popular universities in the UK. Some 34,000 students from all parts of the globe select from its curricula of over 1, 000 courses and qualifications. Please click the advert We are based in the dynamic yet conveniently compact city of Manchester, located at the heart of a sophisticated transport network including a major international airport on the outskirts. Parts of the campus are acclaimed for their architectural style and date back over 150 years, in direct contrast to our teaching style which is thoroughly modern, innovative and forward-thinking. MMU offers undergraduate and postgraduate courses in the following subject areas: Art, Design & Performance Computing, Engineering & Technology Business & Management Scienc e, Envir onm ent al St udies & Geogr aphy Law, Education & Psychology Food, Hospitality, Tourism & Leisure Studies Humanities & Social Science 23
For more details or an application form please contact MMU International. email: [email protected] telephone: +44 (0)161 247 1022 www.mmu.ac.uk/international
By selecting a ra nge of values of r, dra wing the co rresp o nding curves a nd m a rking the slop e r with a sho rt a rro w a t which a trajectory crosses, allows phase portraits to be sketched. This is usually known as the method of isoclines. Sometimes the lengths of the a rro ws are d ra wn in p ro p ortio n to the velo city at the point a nd the plot is then called a vecto r field plo t. Typically a second order nonlinear differential equation representing a control system with smooth nonlinearity can be written as xp + f (x, xo) = 0 a nd if this is rearra ng ed a s two first ord er eq ua tio ns, cho osing the p ha se va ria bles, tha t is the o utp ut a nd its d erivative, as the state variables, then x1 = x, x2 = xo and the equation ca n be written as xo1 = x2 xo2 = - f (x1, x2) (2.6)
which is a special case of equation (2.2). It may have multip le singular points but they will all lie on the x1 axis, that is for x2 = 0. A p hase p o rtrait ca n theref ore be ob ta ined f or a ny f unctio n, f, using the m etho d of iso clines, o r p ossib ly o ther m ethod s which can be found in the literature [2.1]. Digital simulatio n methods now enable phase plane trajectories to be easily displayed and they can often provide a clearer picture of the system behavio ur than time response plots for x1 and x2. Ma ny situatio ns in science a nd eng ineering m a y be m od eled a pp ro xim ately b y eq uatio n (2.1) or the sp ecial case eq ua tio n (2.6). Some good examples can be found in the recent book given in reference [2.2] whilst here just one well known example is taken.
2.2.3 An Example
Many investigations using the p hase plane technique were concerned with the possibility of a nonlinear differential eq uation having a limit cycle solutio n, the strict name for an oscillation in a nonlinear system. When a limit cycle exists it results in a clo sed trajectory in the p ha se pla ne a nd typical of such investiga tio ns wa s the work of Va n d er Pol o n o scillato rs. He considered the equation
2
(2.7)
where n is a positive constant. The phase plane form of this equation can be written as xo1 = x2
2
x2
(2.8)
24
xp - n (1 - x ) xo + x = 0
xo 2 = - f (x 1 , x 2 ) = n (1 - x 1 ) x 2- x
x o2 x o1
n (1 - x1 )2x - x1
It ha s o ne sing ula r p oint at the origin (0, 0) a bo ut which the linea rised eq ua tio n is xp - nx o + x = 0 , so tha t the sing ular point depends upon the va lue of . It is an unstable focus for < 2 and an unstable node for > 2. All phase plane trajectories have a slope of r when they intersect the curve
2
(2.9)
Fig ure 2.5 sho ws p ha se po rtraits o btained using iso cline sk etching a nd Fig ure 2.6 sho ws sim ula tio n results o btained fro m the initial co nd itio ns of (-3, 3) a nd (-0.1, 0.1) f o r = 0.1 a nd 1. It ca n b e seen, a s exp ected , tha t th e resulting lim it cycles are d ep end ent o n with that f or the sm all va lue of b eing alm o st elliptica l. They a re rea ched f ro m o utsid e fo r the first initial condition and from inside for the second initial condition. A limit cycle has this feature that it i s reached from different initial conditions and in this case it is stable as trajectories tend to it from both without and within. In contrast if = 0 then one has an oscillation, no t a limit cycle, and the magnitude of the oscilla tion is determined by the initial conditio ns. Since the system has no damping there is no loss of energy and its value is set by the initial conditions.
Figure 2.5 Phase portraits of the Van der Pol equation from isocline sketching
25
rx2 = n (1 - x1 ) x2 - x1
Figure 2.6 Phase plane plots of the Van der Pol equation for two values of
2.3 The Phase Plane for Systems with Linear Segmented Nonlinearities
It is a n ad va nta g e when using the p ha se pla ne ap p ro a ch to ha ve no nlinearities which are d escrib ed b y linea r seg m ented chara cteristics. This is b eca use it results in a p hase pla ne which ca n be divid ed up into diff erent reg io ns with diff erent linear differential eq ua tio ns d escribing the m otio n in ea ch regio n. Altho ug h the d ifferential eq ua tio ns are linea r the m athema tical phase plane equations are only simple enough for calcula ting analytical solutio ns by hand in a few cases. To illustrate these ba sic co ncepts three exa m ples a re co nsid ered in the next sectio n. Sim ple d yna m ics a re used in so m e cases to allo w analytical solutio ns for the motion b ut also shown are some simulations with other dyna mics.
Bioinformatics is the exciting eld where biology, computer science, and mathematics meet. We solve problems from biology and medicine using methods and tools from computer science and mathematics.
Read more about this and our other international masters degree programmes at www.uu.se/master
26
(2.10)
Figure 2.7 Simulink diagram for system with dead zone feedback
It is clear that for K < 0.6 the linear system is unstable and stable for K > 0.6. For the dead zone the gain is zero for a sm all sinusoida l sig nal b ut a pp ro a ches unity f or a la rge sinusoid al sig na l. T hus, o ne expects the eff ect of the d ea d zo ne no nlinea rity to cha ng e the da m p ing in so m e wa y such tha t the system is unsta ble fo r sm all sig nals a nd stab le f o r la rg e sig nals. This sug g ests the existence of a sta ble limit cycle. Fig ure 2.8 sho ws p ha se pla ne p lo ts sta rting f ro m (-1, 0) f o r the linear second order system with characteristic equa tion
2
(2.11)
for various values of g , the damping ratio. For the unstable case with g = -0.05 the trajectory slowly spirals outwards and for the stable responses they converge to the origin in a spiral manner for g < 1, when the origin is a focus and directly with no o vershoo t fo r g 1, when the o rig in is a nod e. The m athem a tica l expressi o ns f o r these curves are q uite co mplica ted , so to sk etch them o n a p hase pla ne the m ethod of iso clines o r so m e special m etho ds ma y b e used [1]. The d ea d zo ne is set a t levels of 0.5, so tha t the tra jectories d escribing the m otio n are tho se of a linear sec o nd o rd er system with a d a mping ra tio of -0.3 f or | x2| < 0.5 a nd 0.2 fo r | x 2| > 0.5. Pha se p la ne plots ha ve been o btained b y sim ula tio n a nd are shown from initial co nditio ns of (-8, 0) and (0.1, 0) in Figure 2.9. The resulting limit cycle is clearly shown in the figur e.
27
s + (K - 0.6) s + 1 = 0
s + 2gs + 1 = 0
28
Figure 2.10 Simulink diagram of the relay control system for example 2
It is a ssum ed initially that the hysteresis in the rela y is negligible (i.e. 9 = 0 ) a nd that there is no sa tura tio n in the velo city feedb a ck p ath.. Denoting the system po sitio n o utp ut b y x 1 a nd its deriva tive xo 1 b y x 2 then the f eed ba ck to the rela y inp u t is assum ed to b e - x 1 - m x 2 . The rela y o utp ut of 1 or 0 is eq ual to xp 1 /K , where in the Sim ulink dia gra m b oth K a nd are chosen eq ual to 0.5. Taking the d ea d zo ne of the rela y ! d to be eq ual to 1, the motio n of the system is d escrib ed b y K if - x1 - mx2 > 1 x = *0 if |- x1 - mx2 | < 1 (2.12) - K if - x1 - mx2 < 1 Thus the eq uatio n of m otio n in the p ha se pla ne cha nges at the lines x 1 + m x 2 = ! 1 a nd these ca n be dra wn o n the plot, as sho wn in Fig ure 2.12, to d ivide up the p hase p la ne into the three regio ns where the m o tio n is describ ed b y the ab o ve three simple linear second-order differential equatio ns.
29
SASH A SHAHB AZI LEFT IRAN FOR A MASTER S IN PRODUCT AND PROCES S DEVELOPMENT AND LOTS OF INNEB AND Y
HELL TELL YOU ALL ABOUT IT AND ANSWER YOU R QUESTIONS AT MDUSTUDENT.COM
www. mdh.se
30
(2.14)
and integrating with the initial cond itio ns for x1 and x2 of x10 and x20, respectively, to give
2 2
(2.15)
where x10 and x20 are the initial values of x1 and x2 . Since equatio n (2.15) describes a parabola, which for the special case of K = 0 has the solution x2 = x20 , it is easy to calculate the systems response from any initial co nditio n (x10, x20) in the phase plane. Figure 2.13 shows the response from (-2, 0) with = K = 0.5 as given in Figure 2.7. The initial parabola, with K = 0.5, starts from A and meets the first switching boundary x1 + 0.5x2 = - 1 at B; the ensuing motion is horizontal, tha t is, at constant velocity, until the second switching boundary x1 + 0.5x2 = 1 is reached at C. The ensuing parabola, with K = 0.5, m eets the sa m e switching bo und a ry a gain at D. The next m otio n is a ga in at co nsta nt velo city until the p oint E is rea ched o n the first switching b o und a ry. At this po int the fo llo wing p ara bo lic m otio n, with K = 0.5, bring s the trajecto ry straig ht b ack to the switching bo und ary. The situa tio n has theref ore arisen where the m otio n at either side of the switching line is directed back to it. Thus, the resulting motio n, which is known as a sliding mode, is directed along the switching line to come to rest at (-1, 0). In theory switching takes place at an infinite rate but in practice the relay will have some hysteresis, which will decrease the switching rate. By solving the relevant equatio ns it can be shown that B = (-1.39, 0.781), C = (0.610, 0.781), D = (1.14, -0.281) and E = (-0.86,-0.281). If the first integrator is replaced by the transfer function 1/(s + a) to provide some damping then the a nalytica l so lutio n is not a s easy. The m otio n in the p ha se pla ne whe n the rela y o utp ut is zero is still linea r, b ut no w with a slo p e of -1/a, a nd whe n the rela y o utp ut is 1 it is no lo ng er p ara b olic. Sim ulatio n resp o nses are a lso sho wn in Fig ure 2.13 fo r va lues of a eq ua l to 0.1 a nd 0.3. R esp o nses fro m a ny o ther initial co nditio ns a re o b vio usly ea sy to f ind, b ut, fro m the resp o nses sho wn, several a spects of the system s b eha vio r a re rea dily ap p arent. In pa rticular the system is seen to be sta ble since all resp o nses will m o ve inwa rd , p ossibly with severa l o versho o ts a nd und ersho o ts, a nd will f inally slid e d o wn a switching boundary to 1. Thus a steady-state error of unit magnitude will result from any motion. Finally a word of warning tha t difficulties may arise in simulating systems with sliding, since if a variable step length integratio n algorithm is used it may reduce the step length to zer o and stop in the sliding motion. Many simulation languag es have special routines for taking care of the disco ntinuo us sliding motion, b ut good results ca n usually be obtained by using a fixed step length integratio n algorithm or by incorporating a small hysteresis in the relay.
31
W hen the velo city f eedb a ck sig na l sa turates, tha t is, when | m x 2 | > h , the inp ut sig nal to the rela y is - x 1 ! h . Thus, if h is chosen equal to 0.5 when | x 2 | > 1 the switching bo undaries become vertical lines as sho wn dotted in Figure 2.12, altho ugh the eq uatio ns d escribing the m o tio n b etween the b o und a ries rem ain una ltered . Theref ore f or a larg e step inp ut of r, the equivalent of starting from the initial condi tion (-r, 0), the response will become more oscillatory when the velocity saturates as illustra ted in Fig ure 2.14 f or values o f r eq ua l to 6 a nd 3 a nd saturatio n of the velo city f eed ba ck sig nal at 0.5 for inp uts g reater tha n 0.5. The p a ra b olic curves a re clea rly seen, since the da m p ing has b een tak en a s zero, as also is the fact that the switching lines have become vertical for | x2 | > 1 .
Figure 2.14 Phase plane plots for step inputs of 6 and 3 with velocity saturation but no hysteresis or damping.
Again if there is no velocity saturation in the feedback path but the relay has a finite hysteresis, D , then the switching bo und a ries a re a g ain straig ht lines of slo p e -1/ b ut diff erent a ccording to whether x 2 is po sitive o r neg ative.In the general case they are x 1 + m x 2 = - d + D a nd x1 + mx2 = - d - D and x1 + mx2 = d + D for x2 positive, and x1 + mx2 = d - D for x2 negative. (2.16)
32
It is easily shown from symmetr y considerations, when the above lines are drawn on a phase plane, that a limit cycle exists for the system with no damping with a maximum value of x2 = D/m . Figure 2.15 shows simulatio n results for d = 1 and m = D = 0.5 . The responses from -1.51 and -4 are shown converging to the limit cycle from within and witho ut. If the system were sta bilized b y repla cing the first integrato r b y the tra nsfer f unctio n 1/( s + a) then the m o tio n could come to rest, dependent on the input step magnitude, with the relay inp ut in the range 1.5.
33
The differentia l equation of mo tion in phase variable form has xo2 = fs (- x1) - 0.5sgn (x2) (2.17)
where fs denotes the saturation no nlinearity and sgn the signum functio n, which is +1 for x2 > 0 and 1 for x2 < 0 . There are six linear differential equatio ns describing the motion in different regions of the phase plane. For x2 positive, equation (2.17) ca n be written xp1 + fs (x1) + 1/2 = 0 so that for (a) (b) (c) (2.18)
o o
x2 + ve, x1 < - 2, one has x1 = x2, x2 = 3/2, a parabola in the phase plane. o
x2 + ve, x1 > 2, one has x1 = x2, x2 = - 5/2, a parabola in the phase plane.
o o o
x2 - ve, x1 < - 2, one has x1 = xo x2 = 5/2, a parabola in the phase plane. 2, x2 - ve, - 2 # x1 # 2, one has x1 = x2, x2 + x1 - 1/2 = 0, a circle in the phase plane. o
x2 - ve, x1 > 2, one has x1 = x2, x2 = - 3/2, a parabola in the phase plane.
34
Beca use a ll the p hase pla ne trajectories are d escrib ed b y sim ple m athem atical expressio ns, it is straig htfo rward to calculate specific phase plane trajectories.
Caref ul exa mina tio n of Fig ure 2.17, which sho ws the sim ulatio n result f o r a respo nse f ro m ( -6, 0), reveals the cha ng es in the trajectory shape when crossing the lines x1 = 2.
2. 4 Conclusions
This chapter has covered the basic concepts in the analysis of second order systems using the phase plane approach. Since m a ny sim ple co ntrol systems ca n be a pp ro xim ated b y no nlinear seco nd o rd er diff erentia l eq uatio ns the a p pro a ch is po werf ul. It ca n b e used when mo re tha n o ne no nlinea r element exists a nd is p articularly usef ul when the no nlinea rity ca n b e ap p ro xima ted b y linear seg m ented cha ra cteristics. E xa m ples ha ve b een given using a do ub le integ rator pla nt tra nsf er functio n with a co nsta nt inp ut, which results in sim ple ma them atical expressio ns fo r the p ha se pla ne trajecto ries, so that certain features can be easily illustrated. Mathema tical expressions for the trajectories can always be obtained, since they are given by the solutions of linear diff erential eq ua tio ns whe n the no nlinea rities a re linear seg m ented cha ra cteristics, b ut they a re of ten q uite co m plica ted . Pha se p la ne plo ts ca n ea sily b e o b ta ined with m o d ern sim ulatio n la ng ua g es b ut the f a cility to sk etch a p ha se p ortrait is a n im po rta nt aid to und ersta nding the system b eha vio ur. The results ca n also b e usef ul f or co m pa ring results ob tained b y the approximate DF method, to be introduced in the next chapters, when it is applied to second order systems.
2.5 References
2.1 Atherton, DP 1975, Nonlinear Control Engineering: Describing Function Analysis and Design, Chap ter 2, Van Nostrand Reinhold,London. 2.2 Astrom, KJ & Murray, RM 2008, Feedback Systems: An Introductio n for Scientists and Engineers, Chapters 2, 3 &4Princeto n University Press.
35
2.6 Bibliography
Blaquiere, A 1966, Nonlinear Systems Analysis, Academic Press, New York. Cosgriff, RL 1958, Nonlinear Control Systems, McGraw Hill, New York. Cunningham, WJ 1958, Introductio n to Nonlinear Analysis, McGraw Hill, New York. Gelb, A & Vander Velde, WE 1968, Multiple-Inp ut Describing Functio ns and Nonlinear System Desig n, McGraw Hill, New York. Gibson, JE 1963, Nonlinear Auto matic Co ntrol, McGraw Hill, New York. Graham, D & McRuer, D 1961, Analysis of Nonlinear Control Sys tems, Wiley, New York. Hayashi, C 1964, Nonlinear Oscillatio ns in Physical Systems, McGraw Hill, New York. Kalman, RE 1954, Phase plane analysis of automatic co ntrol systems with nonlinear gain elements. Trans. AIEE, Vol 73(II), pp 383-390. Kalman, RE 1955, Analysis and design principles of second and higher order saturating servomechanis ms. Trans. AIEE, Vol74(II), pp 294-308. Minorsky, N 1962, Nonlinear Oscillations, Van Nostrand, New York. Slotine, JJE & Li, W 1991, Applied Nonlinear Control, Prentice Hall, New Jersey. Struble, RA 1962, Nonlinear Differential Equations, McGraw Hill, New Yor k. Thaler, GJ & Pastel, MP 1962, Analysis and Design of Nonlinear Feedback Control Systems, McGraw Hill, New York. Van der Pol, B 1934, Nonlinear theory of electric oscillatio ns. Proc. IRE, Vol 22, pp 1051-1086. West, JC. 1960, Analytical Techniques for Nonlinear Control Systems, EUP, London. West, JC, Do uce, JL & Na ylor, R 1954, The eff ects of so m e no nlinea r elem ents o n the tra nsient p erf orm a nce of a sim ple r.p.c. system possessing torque limitatio n. Proc. IEE, Vol 101, pp 156-165.
Brain power
Please click the advert
By 2020, w ind could prov ide one-tenth of our p lanets electricity needs. A lready today , SKF s innov ativ e know how is crucial to ru nning a large propo rtion of the w orlds w ind turbines. U p to 25 % of the generating costs relate to maintenance. These can be reduced d ramatically thanks to our sy stems for on-line conditio n monitoring and automati c lubricati on. We help make it more economical to create cleaner, cheaper ene rgy out of thin air. By sharing our expe rience, expertise, and creativ ity , industrie s can boost performance bey ond expectat ions. Therefore w e need the best employ ees w ho can meet this challenge !
Plug into The Power of K nowledge E ngineering. Visit us at www.s kf.com/kno wledge
36
37
An Introduction to Nonlinearity in Control Systems 3 y (i) = / an cos ni + bn sin ni n=0 where an = bn = 0 for n even, and in particular a1 = (1/r) and b1 = (1/r)
(3.1)
#0 #
2r
y (i) cos i di
(3.2)
2r 0
y (i) sin i di
(3.3)
The funda mental outp ut from the nonlinearity is a1 cos i + b1 sin i , so that the DF is given by N (a) = (a1 - jb1) /a which ma y be written N (a) = N p (a) + jNq (a) where N p (a) = a1 /a and Nq (a) = - b1 /a Alter natively, in polar co-ordinates N (a) = M (a) e where M (a) = (a 1 + b 1 ) and } (a) = - tan- (b1 /a1) . If n (x) is single valued it is ea sily sho wn tha t b 1 = 0 a nd f ro m sym m etry co nsidera tio ns a s n (x) is o d d, tha t a1 = (4/r) giving N (a) = (a 1 /a) = (4/ar)
1 2 2 1/ 2 j}(a)
(3.4)
(3.5)
(3.6)
(3.7)
/a
(3.8)
(3.9)
# y (i) co s idi
0
r/2
(3.10)
# y (i) co s idi
0
r/2
(3.11)
38
Altho ug h eq uatio ns (3.2) a nd (3.3) a re a n ob vio us ap proa ch to the evaluatio n of the f unda m ental o utp ut of a no nlinearity, they are somewhat indirect, in that one must first determine the output waveform y (i) from the known nonlinear chara cteristic a nd sinusoidal input wa veform . This is a voided if the substitution i = cos - (x/a) is made; in which case, after some simple manipulations, it can be shown that a1 = (2/a) b1 = (2/ar)
1
-a
# xn (x) p (x) dx
p
(3.12) (3.13)
-a
# n (x) dx
p
The functio n p(x) is the amplitude probability density function of the input sinusoidal signal and is given by p (x) = (1/r) (a - x ) 2 2 1/2
(3.14)
and the nonlinear characteristics n p (x) and nq (x) , called the in-phase and quadrature nonlinearities, are defined by n p (x) = [n1 (x) + n2 (x)] /2 and nq (x) = [n2 (x) - n1 (x)] /2 (3.16) (3.15)
where n1 (x) and n2 (x) are the portions of a double valued characteristic traversed by the input for xo > 0 and xo < 0 respectively. For a single-valued characteristic, n 1 (x) = n2 (x) , so that np (x) = n (x) and nq (x) = 0 and integrating equation (3.12) by parts gives a 1 = (4/r) n (0 + ) + (4/ar)
# n' (x) (a - x )
a 2 0
2 1/ 2
dx
(3.17)
where n' (x) = dn (x) /dx a nd n (0 +) = lim fn 0(f) ; a useful expression for obtaining DFs for linear segmented cha racteristics. "
2. For two single-valued nonlinearities na (x) and nb (x) , with na (x) < nb (x) for all 0 < x < b, then Na (a) < Nb (a) for input amplitudes a less than b.
39
3. For the sector bounded single-valued no nlinearity that is k1 x < n (x) < k2 (x) for all 0 < x < b then a double-valued nonlinearity if N(a) is replaced by M(a). When the no nlinearity is single valued, it also follows directly from the properties of Fourier series that the DF, N(a), may also be defined as: 1. The variable gain, K, having the same sinusoidal inp ut as the no nlinearity, which minimizes the mea n squared value of the error between the output from the nonlinearity and that from the variable gain. 2. The covariance of the inp ut sinusoid and the nonlinearity output divided by the variance of the inp ut. It can also be shown tha t the gain K is the best transfer function model in the mea n squared error sense. That is the optimum G(s) is K.
k1 < N (a) < k2 for input amplitudes a less than b. This is the sector property of the DF and it also applies fo r
NNE Pharmaplan is t he worlds leading engineering a nd cons ultancy co mpany focused e ntirely on the pharma a nd biotech industries. We employ more tha n 1500 people worldwide and offer global reach a nd local kno wledge along with our all-encompassi ng list of s ervices. nnepharma plan.com
40
#
0 3 3
r/2
# #
0 0
cos idi
(3.18)
3
r/2
Alter natively from equatio n (3.12) and using the fact that n(x) is odd, one has a1 = (4/a)
# x p (x) dx
a 4 0
The integral nn =
th
41
Again, because of the symmetry of the nonlinearity the funda mental of the outp ut ca n be evaluated from the integr al over a quarter period, so that for a linear regime slope of m and saturation at gives N (a) = 4 ar
N (a) = (4m/r)8 2 - sin42a + d cos aB a which on substituting for d gives the result N (a) = (m/r) (2a + sin 2a) . Since for a < d the characteristic is linear giving N (a) = m , the DF for ideal saturation is mNS (d/a) where 1 m N s (d/a) = for a < d (3.19)
Alterna tively o ne ca n evalua te, N(a), f ro m eq uatio n (3.17), which yields, a s the no nlinea rity slo pe is zero f or inp uts greater than N (a) = a1 /a = (4/a r)
2
# m (a
d 0
-x)
2 1 /2
dx
#
0
42
Figure 3.3 Relay with dead zone and hysteresis, and input and output waveforms
Using equations (3.2) and (3.3) over the interval - r/2 to r/2 and assuming that the input amplitude a is greater than d + D , gives a1 = (2/r)
#
-a
(d + D) (d - D) a a
2 1/2
j = 4hD/ar . Thus
j4hD ar
2
- (d + D) @
+ 6a 2 - (d - D) 2 @1 /2 , -
(3.20)
43
Fo r the alterna tive a pp roa ch o ne m ust first o btain the in -p ha se a nd q uad rature no nlinea rities which a re sho wn in Fig ure 3.4. Using equations (3.12) and (3.13) one obtains a1 = (4/a) x (h/2) p (x) dx +
d-D 2
d+D
d +D
# xhp (x) dx
+ 6a2 - ^d - Dh2@ 1/2,
= 2h "6a ar b1 = (4/ar)
- (d + D) @
d+D
2 1/2
The DFs for other relay characteristics can easily be found from this result or worked out directly. The latter is very straightforward when the relay has no d ead zo ne a s its o utput is a sq uare wa ve of amplitude ! h , which has a fundamental co m po nent of a m plitud e 4 h/r , either in p hase with the inp ut f or D = 0 , or lag ging when is finite. U sing eq ua tio n 3.20 for no hysteresis, D = 0 ; for no dead zone, d = 0 ; and for an ideal relay, D = d = 0 .
It is possible to model a typical do uble valued nonlinearity like the abo ve as a nonlinear f unctio n n (x, xo ) a nd the d escribing functio n theory based on this can be found in reference 3.1. Unfortuna tely this description is not correct for any inp ut signal, x, and it has been used to obtain erroneous results for x a random signal. Two tables of DFs for a sinusoidal inp ut are given in the Ap p endix 3.11, o ne fo r sing le valued no nlinea rities a nd the other f or do ub le va lued no nlinea rities. Extensive use is made in the tables of the DF for saturation, Ns (d/a) , defined in equa tion (3.19)
in parallel with a saturation characteristic with slope m = -1, as illustrated in Fig ure 3.5. Also a quantized characteristic
44
Figure 3.5 Modelling of an ideal dead zone characteristic from a unit gain and ideal saturation
Since it is easily shown that the DF of two nonlinearities in parallel is equal to the sum of their individual DFs, the DFs of linear segmented characteristics with multiple break points can easily be written down from the DFs of simpler cha ra cteristics. Several p ro ced ures a re a vaila ble f or ob ta ining a p pro xim a tio ns f or the DF of a g iven no nlinea rity either by num erical integratio n or b y evalua tio n of the DF of a n a pp ro xi m ating no nlinear chara cteristic d ef ined , f or exa m ple, b y a quantized characteristic, linear segmented characteristic or Fourier series.
(3.21)
(3.22)
In terms of the a m plitud e prob ability d ensity f unctio n fo r a sinusoid it ca n b e ea sily sho wn that these expressio ns b eco m e an = 2 and bn = 2
(3.23)
-a
(3.24)
-a
45
Since f or single valued no nlinearities b n = 0 the m o re im p orta nt result is f or a n . Here T n (x/a) is the Cheb yshev p olyno mial of order n and its value for any n can easily be found from the recursion relationship Tn + 1 (x) = 2xTn (x) - Tn - 1 (x) with T0 (x) = 1 and T1 (x) = x (3.25)
-a
(3.26)
(3.27)
-a
Thus fo r the inp ut c + a co s i the o utp ut is cN c (c, a) + N a (c, a) a co s i . The im p orta nt p oint a b o ut the SBDF m o del is the intera ctio n b etween the sig nals ca used b y the no nlinea rity, so that the g ain to b oth sig nals is aff ected b y a cha nge in o ne of them . If a is co nsta nt a nd varied the bia s o utp ut of eq uatio n (3.26) ca n b e plotted a g ainst to give a new no nlinear chara cteristic. This is often called a mo dified no nlinearity a nd denoted b y n (a, c) rather tha n a 0 . The slo p e of the mo dified
nonlinearity at any inp ut value gives the gain g (a, c) to any small unrela ted signal in the presence of a and . That is g (a, c) = d
dc
-a
# n (x + c) p (x) dx
(3.28)
In particular, the gain to a small unrelated signal in the presence of x alone is g (a, 0) , usually called the incremental describing function (IDF) and deno ted by Nic (a) , and is given by N ic (a) = g (a, 0) =
-a
(3.29)
where n' (x) = dn (x) /dx . E q uatio n (3.29) is the bia s o utp ut fro m the no nlinearity n' (x) with inp ut x. For a ny single valued nonlinearity with n(0+) = 0, equation (3.17) gives a N (a) = (2/r)
2
-a
# n' (x) (a
-x)
2 1 /2
dx
46
An Introduction to Nonlinearity in Control Systems which on differentiating both sides with respect to a gives 2aN (a) + a dN (a) /da = 2
2
-a
The left ha nd side is 2aNic (a) , so that Nic (a) = N (a) + (a/2) N' (a) where N' (a) = dN (a) /da. (3.30)
3.8 Conclusions
This chapter has covered the definition, some properties, and approaches to evaluating the DF of a nonlinearity for a sinusoidal input. The approach has then been extended to cover the situa tion of a sinusoidal plus bias input. The next chapter will sho w how these results can be used in the approximate analysis of a simple nonlinear feedback system.
3.9 References
3.1 Atherto n, DP 1975, No nlinear Co ntrol E ngineering : Describing Fu nctio n Ana lysis a nd Desig n, Va n No stra nd R einhold , London. 3.2 Gelb, A & Vander Velde, WE 1968, Multiple-Input Describing Functio ns and Nonlinear System Desig n, McGraw Hill, New York.
3.10 Bibliography
Atherton, DP 1975, Nonlinear Control Engineering: Describing Function Analysis and Design, Van Nostrand Reinhold , London. Atherton, DP 1981, Stability of Nonlinear Systems, Research Studies Press, John Wiley, Chiches ter. Cook, PA 1994, Nonlinear Dynamical Systems, 2 nd ed. Prentice-Hall Inter national, Lo ndon. Cosgriff, RL 1958, Nonlinear Control Systems, McGraw Hill, New York. Gelb, A & Vander Velde, WE 1996, Multiple-Inp ut Describing Functio ns and Nonlinear System Desig n. McGraw Hill, New York Gibson, JE 1963, Nonlinear Auto matic Co ntrol, McGraw Hill, New York. Graham, D & McRuer, D 1961, Analysis of Nonlinear Control Sys tems, Wiley, New York. Slotine JJE & Li W 1991, Applied Nonlinear Control, Prentice -Hall Internatio nal, New Jersey.
47
48
49
50
51
An early co ntrib ution to the problem was a co njecture b y Aizerma nn. He co njectured that if a symmetrical odd nonlinearity was co nfined within a secto r def ined b y stra ig ht lines of slo p e k 1 a nd k 2 then a ny no nlinear system with a no nlinea rity lyin g entirely within the secto r wo uld b e sta ble pro vid ed the linear system was sta ble f o r gains b etween. k 1 a nd k2 . U nf ortunately the conjecture is not true, but i t is if it is modified so that the last phrase reads would be stable or possess a limit cycle provided the linear system was stable for gains between. k1 and k2 Thus, since use of the DF provides an approximate m etho d f o r the d etermina tio n of limit cycles, it also p ro vid es a n a p pro xim a te sta bility test f o r o ur sim ple feed b a ck lo op .
To stud y the p ossibility of limit cycles in the a uto no mo us closed loo p system of Fig ure 3.1, the no nlinearity n(x) is repla ced
where G (j ~) = G C (j ~ ) G 1 (j ~ ) . This co nditio n m ea ns tha t the f irst ha rm o nic is b ala nced aro und the clo sed lo op assuming its passage through the nonlinearity is accurately described by N(a). Since G (j~) is a complex functio n of ~ and N (a) may be a complex function of a, a solution to equation (4.1) will yield both the frequency ~ and amplitude a of an assumed sinusoidal limit cycle. Vario us a p pro a ches ca n b e used to exa mine eq uatio n (4.1) with the choice aff ected to so m e extent b y the p roblem . Fo r exa m p le, releva nt fa cto rs m ig ht b e whether the no nlinea rity is single or d o uble valued o r whether G (j ~ ) is a vailable fro m a transfer functio n G (s) or as measured frequency response data. Typically the functions G (j~) and N (a) are plotted sep a ra tely o n Bo d e, Nyq uist, o r Nicho ls dia gra m s. Alterna tively, sta bility criteria such a s the Hurw itz-R o uth o r ro ot lo cus plots may be used for the characteristic equation 1 + N (a) G (s) = 0 althoug h here it should be remembered that the equation is appropriate only for s . j~ . Figure 4.1 illustrates the procedure on a Nyquist diagram, where the G (j~) and C (a) = - 1/N (a) loci are plotted and sho wn intersecting at P f o r a = a 0 a nd ~ = ~ 0 . The DF m etho d theref ore ind ica tes tha t the system ha s a lim it cycle with the inp ut sinusoid to the no nlinearity, x, equal to a0 sin (~0 t + z) , where z depends on the initial conditio ns and time orig in. In pra ctice the lim it cycle will no t b e sinusoida l a nd a 0 is a n a pp ro xim a tio n fo r the a m plitud e o f the f und a m ental co m po nent of the limit cycle. Thus if o ne wishes to estima te the a ccura cy of the DF p redictio n f or a limit cycle o ne sho uld m ea sure the a m p litud e of the f und a m enta l no t the p eak a m p litud e of the wa vef orm as is of ten do ne fo r co nvenience . When the G (j~) and C (a) loci do not intersect, the DF method predicts that no limit cycle will exis t if the Nyquist stability criterion is satisfied for G (j~) with respect to any point on the C (a) locus. Obviously, if the nonlinearity has unit gain for small inp uts, the point (4.2)
(- 1, j0) will lie on C (a) and it may then be used as the critical point, analogous
52
Figure 4.1 Limit cycle found from intersection of G (j~) and C (a) on a Nyquist plot
When the analysis indicates the system is stable its relative stability may be indica ted by evaluating its gain and phase margin. These ca n be fo und for every amplitude a o n the C (a) locus, so it is usually approp riate to use the minim um values
dx (t) then
53
An Introduction to Nonlinearity in Control Systems This can be written as q (D)6 x * (t) + dx (t)@ + p (D) n (x * (t)) + p (D) n' (x * (t) dx (t)) = 0 Thus on subtracting equatio n (4.4) one has the perturbatio n equatio n q (D) dx (t) + p (D) n' (x * (t)) dx (t)) = 0
(4.5)
This is a tim e va rying eq uatio n f or the perturb atio n, dx (t ) , which m ust b e stable f or the lim it cycle to b e sta ble. It ca n be sho wn that a necessa ry co nditio n f or this eq uatio n to b e sta ble is tha t the tim e a vera ged eq uatio n m ust b e sta ble. Then if o ne uses the ap proximate d escribing f unctio n solutio n fo r x * (t) , the tim e a verag ed value of the no nlinear term is the IDF of eq ua tio n (3.29), so tha t a necessary co nd itio n fo r stability of the lim it cycle is that the eq uatio n q (D) + p (D) N ic (a) = 0 is stable. In terms of the system transfer functio n this is the characteristic equa tion 1 + Nic (a) G (s) = 0 (4.6)
54
4.4 DF Accuracy
A sp ecif ica tio n fo r m a ny co ntrol system s is that when p erturb ed b y either a step inp ut or disturb a nce they sho uld return to eq uilibrium . For a no nlinear system this m ea ns checking that (a ) the resp o nse will no t g o unb o und ed a nd (b ) no lim it cycle will o ccur. Co nditio n (a ) ca n b e check ed f ro m linear m etho ds using the secto r b o unds of the no nlinea rity pro vided a ny inp ut d o es not ca use a bias at the no nlinearity inp ut a nd (b ) b y the DF m etho d . The DF m etho d, ho w ever, ca n o nly d o this a p pro xim a tely since it a ssum es a ny limit cycle will b e sinuso ida l at the inp ut to the no nlinea rity, which will never b e q uite true in pra ctice. This m ea ns tha t the DF m etho d co uld ind ica te inco rrectly either the existence o r no n -existence of a limit cycle. It is therefore important to have some idea of the validity and accuracy of any DF result. If the DF m etho d predicts a limit cycle then its validity ca n norm ally b e checked b y a ssum ing this sinusoidal sig nal a s the no nlinearity inp ut a nd evalua ting the sig nal f ed ba ck to the no nlinearity, assum ing the lo o p op en at the no nlinea rity inp ut. If the p ercentag e distortio n in this sig nal is less tha n 5% then the DF p red ictio n sho uld b e va lid . It ha s also b een sho w n theoretically that the estima te for the limit cycle frequency, ~ , is more accurate than for the amplitude, a. Further, as is often not clearly p ointed o ut, a is the estima te f or the f und a mental co m po nent in the limit cycle not the p eak a m plitud e. When the DF m etho d d oes no t predict a limit cycle it will b e correct if the C (a) a nd G (j ~ ) lo ci a re not near to intersecting . If this is not the case, however, one can assume a possible limit cycle at the nonlinearity inp ut with amplitude a and freq uenc y ~ corresp o nd ing to the near intersectio n values of C (a) = G (j ~ ) . U sing the d isto rtio n criteria given a bo ve a very lo w value m ust exist fo r the predictio n to be valid when the lo ci a re very clo se. Mo re d eta ils o n these co ncepts are presented in section 5.5.
feedback loop containing a single nonlinear element. The first example taken is the Van der Pol equatio n discussed i n
Substituting for x1 and x2 and neglecting frequencies higher tha n ~ in the right ha nd side gives
2 3
55
xo 2 + x1 = n (1 - x1 ) x 2
For this to be true req uires ~ = 1 for the left ha nd side a nd a~ = a ~ /a , giving a = 2 , for the right ha nd side. Thus, a limit cycle solutio n, which is ind ep end ent of n , with freq uency 1 ra d /s a nd a m plitud es of 2 f or x 1 a nd x 2 , is p redicted . The result is therefore only reasonably accurate for small values of n , where the phase plane plot is almost elliptical.
/a r for a > d,
which is real because the nonlinearity is single valued. A graph of N(a) against a is given in Figure 4.2.
It shows that N (a) starts at zero, when a = d , increases to a maximum, with a value of 2h/rd at a = d 2 , then decreases toward zero for larger inputs. The C(a) locus, shown in Figure 4.3, lies on the negative real axis starting at 3 a nd returning there after rea at the point ( -1, 0) va freq uency of ta - ~ 45c that is ~ = unctio n a (j ~ ) cro sses real axis, as shown in Figure 4.3, ching a m a xim umat alue of - rd/2h .nThe=given tra nsf er f1 rad /sec,G nd therefore the neg ativ e
1
cuts the C(a) lo cus twice a t the point P. The two p ossib le limit cycle a mp litud es a t this f req uency ca n b e fo und b y solving ar
2
4h (a - d )
2 1/ 2
= G (j~) | ~ = 1 = 1
which assuming d = 1 and h = r gives a = 1.04 and 3.86. Using either the Loeb or the IDF criterion shows the smaller amplitude limit cycle to be unstable and the larger one to be stable. If a condition similar to the lower amplitude limit cycle is excited in the system, an oscillation will build up and stabilize at the higher amplitude limit cycle.
56
Figure 4.3 Solutions for the two limit cycles at P one unstable the other stable
The exact frequencies of the limit cycles, obtained using the approach given in Chapter 6, for the smaller and larger a m plitud es a re 0.709 a nd 0.989 resp ectively. Altho ug h the tra nsf er f unctio n is a g oo d lo w p ass filter, the freq uency of the sma ller a m p litud e is hig ble) limit cycle is tra nsfer function ccura tely b eca + 1) , then no limit m the rela y is a narro w pulses, which(unstahly distorted. If the no t p redicted a of G (s) is K /s (suse the o utp ut f ro cycle will exist in wa vef orm with
2
< rd 2h
(4.7)
n e w in v en ti o ns to m ak e d e di c a t ed s ol ut io ns fo r ou r cu st o m e rs . W it h sh a rp m in ds a n d c ros s fu n ct i on a l t e a m w o rk, w e c on st a n tl y s t ri v e to d e v el op n e w u ni qu e p rod u ct s W o ul d y ou l ik e t o j oi n ou r t e a m ? F O S S w o rks di li g en tl y w i th i nn ov a ti on an d d e v e lo p m en t a s b a si s fo r i t s g ro w th . It i s re fl e ct e d i n th e fa ct th a t m o re th a n 2 0 0 o f t h e 1 20 0 e m pl oy e e s in F O S S w o rk w i th R e s e a rch & D e v el op m e nt i n S c a nd in a vi a an d U S A . E ng in e e rs at F O S S w o rk i n p rod u ct i on, d ev e lo p m en t a nd m a rk et i ng, w it hi n a w i d e ra ng e o f di ffe re nt fi e ld s, i. e. Ch e m is t ry , El e c t ro ni c s, M e c h an i cs , S o ft w a re , O p ti c s, M i c ro b io lo gy, Ch e m o m et ri cs . We offer A ch al l en gi n g j ob i n a n in t er na ti o na l a nd i nn o va ti v e co m p an y t ha t i s l ea di ng i n i t s f i el d. Y ou wi ll g e t t h e opportunity to work with the most advanced technology together with highly skilled colleagues. R ea d m or e a bo ut F O S S at w w w .f os s. d k - or g o d ir e c tl y t o ou r s tu d en t si t e w w w. f os s.d k /s ha r p m in ds w h e r e you can learn more about your possibilities of working together with us on projects, your thesis etc.
www.foss.dk
57
that is, K < rd/h . Again, if d = 1 and h = r , then the system is stable if K < 1, which may be compared with the exact result for stability of K < 0.96.
G 1 (s) = 10/ (s + 1) . E q uatio n (3.20) with d = D = 0 gives N (a) = 4h/ar . Thus the C(a) lo cus, - 1/N (a) = - ar/4h and lies on the negative real axis starting from the origin with a = 0. The Nyquist locus G (j~) intersects it where it has a phase of -180. The values of a and ~ at the intersection can be calculated from - ar/4h = arg and 10 ar = 2 3/2 . 4h (1 + ~ ) The solutio n for ~0 from equation (4.8) is tan- ~0 = 60c , giving w0 = sm aller the closer the o scilla tio n is to a sinuso id. The exa ct f req uenc y of o scilla tio n is 1.708 rad s/s so that ~ 0 is in error b y 1.41%. A symmetrical square wave has a harmonic content which is 1/nth that of the funda mental for n odd. It is thus easy to ca lcula te the ha rmo nic co mp o nents at the o utp ut o f G (s) a nd the third a nd fifth a re 5.40% a nd 1.21% of the f unda m ental. Solving equa tion (4.9) gives the amplitude of the assumed sinusoidal limit cycle a as 5h/r . 4h (a - D ) If the relay has an hys teresis of D , then putting d = 0 in equatio n (3.20) gives ar N (a) = 1/ - j 4h2 D from which C (a) = - 1 = 2- 2r 6(a - D ) a r + jD@. N (a) 4h D = 1 and h = r/4 giving C (a) = - (a - 1) Thus on cycle solution is C(a) by line parallel-to= real axis at a distance rD/4h below it, as res within n exa ct 4.4 for j the the limit the Nyquist plot, givenis a - (a - 1) where ~ = 1.266 , which co m pa shown a Figure (1 + j~) 2 1/ 2 - j . If the same transfer function as above is used for the plant, then 2 1/ 2 10
3 2 2 1/ 2 2 2 1
10 (1 + j~) 10 (1 + j~)
= 180c
(4.8)
ap p ro xim ate, the a ctual m easured freq uency o f o scilla tio n will diff er fro m this value b y a n a m o unt which will b e
58
Figure 4.4 Nyquist plot for 10/(1+s)3 and DF for relay with hysteresis
For the ideal relay, equation (3.30) gives Nic (a) = 2h/ar for the IDF so tha t the roots of the characteristic equa tion 1 + N i c (a) G (s) = 0 sho w the limit cycle is sta ble. This a grees with the p erturba tio n ap p ro a ch which a lso sho ws that th e limit cycle is stable when the relay has hysteresis.
(4.10)
in a f eed b a ck lo o p with a n id eal rela y with o utp ut 1. The cha ra cteristic eq uatio n f o r the loo p with the rela y g ain ta k en as its DF gives s + s (2 - b) + s (10 - 2b) + k - 10b = 0
3 2
(4.11)
where K N(a) is repla ced b y k. If a third o rd er chara cteristic eq uatio n ha s a limit cycle a t a f req uency , then its f orm will be (s + ~ ) (s + c) = 0
2 2
(4.12)
which gives (2 - b) (10 - 2b) = k - 10b so that k = 20 - 4b + 2b . The characteristic eq uatio n is stable for b < 2 a nd the freq uency
2
1/ 2
. However, when the limit cycle is established the gain throug h the relay to any unrelated
signal is the IDF, which for the ideal relay is easily shown from equation (3.30) to be N(a)/2, tha t is it is halved and the s + s (2 - b) + s (10 - b) + 10 - 2b + b - 10b = 0 new characteristic equatio n is
3 2 2
(4.13)
59
which is stable for b < 0.90. Thus, the odd symmetrical limit cycle canno t exist for b > 0.9. Simulation results showed an odd symmetrical limit cycle to around b = 0.4 and an asymmetrical limit cycle for values of b > 0.4 up to around b = 0.9, although the limit cycle was dependent on the initial conditions. For b > 0.9 the relay lo ck ed at either 1 so tha t the o utp ut increased ind efinitely. A g oo d expla na tio n f or the p heno m eno n ca n b e seen if th e root locus for the transfer functio n G(s) is plotted, as done in Figure 4.5 for K = 1 and b = 1.
Figure 4.5 Root locus plot for transfer function of equation (4.7)
60
It ca n b e seen fro m the gains m ark ed tha t the co m p lex poles cross the im ag inary a xis f or a ga in of 18 a nd f or tha t valu e of g ain the real pole is a t -1. Ho wever f o r a g ain of 9 (half o f 18) the real p ole will b e in the rhs o f the s pla ne so tha t the system is unsta ble. If the plot is d o ne f or b = 0.9 then the g ain when the co m p lex ro o ts cro ss the a xis will b e twice th at for the real ro ot cro ssing the a xis. The difficulty of a chieving a n o d d sym m etrical limit cycle fo r b slig htly less tha n 0.9 is presumably d ue to errors in the DF a nd the small ra nge of attractio n of the limit cycle, which is a closed curve in three spa ce.
sa turatio n cha ra cteristic b ef ore the p ha se lea d a re b oth sta ble fo r K < 11. Ho wever the system of Fig ure 4.6 p ossesses a limit cycle for large initial conditio ns on the integrator.
61
and a pla nt with a tra nsfer f unction of K/s (1 + s) with K = 9. The linear system a nd the nonlinear system witho ut the
Figure 4.7 shows the responses of the system of Figure 4.6 from initial conditions on the output integrator of 4 and 1 respectively. A limit cycle results from the former whereas for the seco nd case the respo nse is stable althoug h very oscillatory. The third response shown on the fig ure labeled no sat is again for an initial condition of 4 but without the saturatio n before the lead network and is again very oscillatory. The limit cycle results because althoug h it is almost sinusoidal at the integrator output it is highly distorted at the input to the second saturation, with the result that the fundamental co m po nent under go es a p ha se shift when p assing thro ug h the seco nd sa turatio n. Fig ure 4.8 sho ws the inp ut a nd o utp ut waveforms for the limit cycle at the second saturatio n.
Figure 4.8 Waveforms of limit cycle at the input and output of the second saturation
If with more tha n o ne no nlinearity in the loop it is reaso nable to assum e a ny limit cycle in the system wo uld be appro ximately sinusoidal at the plant inp ut then, as mentioned in section 1.3, if the plant consists of linear and nonlinear elements a freq uency resp o nse m o d el N(a,) co uld be used to m od el it. This co uld b e d o ne either f ro m m a them atical m od eling o r exp erim ental d ata , where if the disto rtio n is sm all the o utp ut is ta ken as the sig nal a t the sa m e freq uency as the sinusoid al inp ut. This f req uency d ep end ent DF rep resentatio n m a y b e used in a nalysis a nd d esig n, a topic discussed in sectio n 9.5.
62
The p ro ced ure is to set up two eq ua tio ns, o ne f o r the first harm o nic a nd the other fo r the b ia s, or d c, sig nal. The f orm er is always the same, namely Na (a, c) G (j~) = - 1 (4.14)
but the latter depends upon where a ny bias signal enters the loop a nd the value of G (0). Since for a single valued no nlinearity Na (a, c) is real, the limit cycle frequency is given by arg G (j~) = - 180c which if this frequency is c, gives Na (a, c) = 1/ | G (j~c) (4.15)
(4.16)
The f req uenc y of the limit cycle g iven b y the SBDF so lutio n is thus, unlik e the a m plitud e, una ff ected b y the b ia s sig na l, which will no t normally be true in practice as the harmonic distortion will be affected by
63
For the polynomial nonlinearity n (x) = x the co mponents of the SBDF from equatio ns (3.26) a nd (3.27) are N c (a, c) = (1/c) N a (a, c) = (2/a)
-a
-a
# (x + c) # (x + c)
a
(4.16)
nk
(4.17)
C =
n! (n - k) !k!
2 3
(4.18)
Thus for the nonlinearity x + 0.5x - 0.25x the values are Nc (a, c) = 1 + 0.5c + (a 2/4c) - (3a /8) - (c /4)
2 2
(4.19) (4.20)
The linear transfer functio n has a p hase shift of -180 when = 1 with a co rrespo nding gain of 1.15, so that using eq uation (4.16) gives Na (a, c) = 1/1.15 = 0.87 and since in the stead y state the average value of the input to the integrator must be zero the bias equatio n is cNc (a, c) = 0 (4.22) (4.21)
64
Eq ua tio ns (4.19) to (4.22) ca n b e solved to ob ta in a a nd . A q uick estim ate ca n b e fo und b y neglecting term s involving p o wers o f to g ive = -0.0836 a nd a = 0.497. The exa ct solutio ns a re = -0.0763 a nd a = 0.513, which ca n b e seen to be in good agreement with the simulatio n result of Figure 4.10.
system is stab le when the co nsta nt value is zero b ut its effect is to bias the no nlinearity o utp ut so that the a verag e value of a ny limit cycle a t the no nlinea rity o utp ut ha s a value of 1.5. This is d ue to the integ rato r in the lo op , the inp ut of which must ha ve an average value of zero in the steady state.
Student Discounts
Student Events
Happy Days!
2009
65
The resulting limit cycle waveforms at the input and output of the no nlinearity, when an initial value of 2 is applied at the system output, are shown in Figure 4.13. To calculate the simulatio n result using SBDF analysis is not easy because of the linea r seg m ented no nlinear cha ra cteristic. It ca n b e sim p lified using the k no wn sim ulatio n solutio n f ro m which it ca n b e seen that the a m plitud e of the limit cycle at the no nlinearity inp ut is within the ra ng e -1 to 2 so tha t the SBDF just needs to be worked out for this range, where the characteristic is a gain of 2 in parallel with minus ideal saturation. The bias inp ut is such tha t it lies o n the saturated level of the sa tura tio n cha ra cteristic, thus > 1. The bias a nd f und a m ental outputs can be calculated to be
2 1 /2
where sin { = 6(c - 1) /a@. Thus for the no nlinearity the SBDF ter ms are
2 1/2
(4.23)
and Na (a, c) = 2 - (2/r)6(r/4) - ({/2) - (sin 2{/4)@ G(j) has a phase shift of 180 for = 1, with a corresponding gain of 0.55, so that equatio n (4.16) gives Na (a, c) = 1/0.55 and the bias equation is cNc = (a, c) = 1.5 The so lutio n to eq uatio ns (4.23) to (4.26) g ives = 1.20 a nd a = 0.379 which co m pa res reaso na ble well with the sim ulatio n result shown in Fig ure 4.13 for the nonlinearity input waveform. (4.24)
66
4.8 Conclusions
This section has sho wn how limit cycles ca n be estimated in no nlinear systems using describing f unctio n methods. Systems where bias sig nals m a y exist in the lo o p ha ve b een evalua ted using the SBDF. It ha s f urther b een sho wn ho w the stability of a ny lim it cycles ca n b e assessed. Further, it ha s b een d em o nstra ted that when single valued no nlinea r elem ents exist in a f eed ba ck system f ailure of the DF m ethod to p redict a ny limit cycles is d ue to their wa vefo rm not b eing sufficiently sinusoidal at a no nlinearity inp ut so that the fundamental sig nal undergoes a phase shift in passing thro ugh the nonlinearit y which is not p redicted b y the DF. Ma ny textbo oks co ver so m e ba sic uses of the DF usually f or evaluating o dd sym m etrica l limit cycles a nd the sta bility o f limit cycles is norm a lly co m m ented o n in term s of the Lo eb criterio n. So m e of the m ore detailed topics in this chapter can be found in the books given in the bibliography.
4.9 Bibliography
Atherton, DP 1975, Nonlinear Control Engineering: Describing Function Analysis and Design, Van Nostrand Reinhold , London. Atherton DP 1982, Nonlinear Control Engineering. Student edition, Van Nostrand Reinhold, London . Gelb, A & Vander Velde, WE 1968, Multiple-Inp ut Describing Functio ns and Nonlinear System Desig n, McGraw Hill, New York.
67
68
The closed lo o p freq uency respo nse of a no nlinear system is then co nsid ered. The m ost usual situa tio n is f or the system to ha ve a n o utp ut with a d o mina nt f unda m ental co m po nent of the sa m e f req uency as the inp ut. This situa tio n is exa mined using the DF and it is shown tha t over some ranges of amplitude and frequency of the inp ut three analytical solutions ra ther tha n o ne to the no nlinea r eq ua tio ns m a y b e ob tained . In pra ctice this results in the so called jum p p heno m en a or jum p reso na nce in the freq uency resp o nse. Finally it is sho wn ho w its existence ca n b e investig ated using the rela ted freq uency IDF. Vario us other p ossib le b eha vio urs tha t m a y o ccur, such a s the excitatio n of oscillatio ns a nd chao tic m otio n, are discussed b a sed o n a n und ersta nd ing of the SSDF a nd so m e sim ula tio n exa m ples given. Brief m entio n is a lso m a d e of the possible behaviours when a harmonic input is applied to an autonomous system which has a limit cycle. Analysis of a sp ecific system using the methods presented in this chapter is not easy unless the techniques are implemented in appropriate numerical programs, however, presentation of the theoretical background should allo w the reader to understand the mecha nisms that cause the aforementio ned uniq ue behavio urs of nonlinear feedback systems.
(5.1)
Expanding the + 3a b cos iyields(ib + {) + 3ab cos ia cos (i + {) + b cos (ib + {) f (t) = a cos ia expression a cos
3 3 2 2 2 2 3 3
f (t) = (3a/4) (a + 2b ) cos ia + (3b/4) (b may cos (ib + which on expanding the powers of cos i+ 2a )be written{) + (3a b/2) cos 2ia cos (ib + {) + (3ab /2) cos ia cos 2 (ib + {) + (a /4) cos 3ia + (b /4) cos 3 (ib + {)
2 2 2 2 2 2 3 3
f (t) = (3a/4) (a + 2b ) cos ia + (3b/4) (b + 2a ) cos (ib + {) + (3a b/4) and on using 2 cos A cos B = cos (A + B) + cos (A - B) gives
6cos (2ia
3
2 +2 +2 {) cos (2ia b - {)@ + 2(3ab2 /4)6cos 2 a (i + (a /4) cos 3ia + (b /4) cos 3 (ib + {) +i -i + 2i b 3
+ 2{) @ (5.2)
If the frequencies a and b are unrelated then the first two terms produce the output at the same frequencies as the inputs and the SSDF has the components Na (a, b) = (3/4) (a + 2b ) Nb (a, b) = (3/4) (b + 2a )
2 2 2 2
(5.3) (5.4)
69
Ho wever, if there is a n integ er rela tio nship b etween the two f req uencies then it is p o ssible tha t so m e of the other term s in f(t) can produce outputs at the same frequency as the input. For example, if sinusoidalthen the Further component of the third term is (3a b/4) cos (- ia - {) , which has the same frequency as the ~b = 3~a input x. second this
2
output component + (3a b/4) cos ina phase that the DF for the inp ut x, which awill bethe total output at this frequency is (3a/4) (a + 2b ) cos ia is no longer (i + {) so with the input at frequency and denoted N a (a | b) to indicate
2 2 2
(5.5)
Thus unlik e the unrela ted case the ab o ve DF value dep ends no t o nly o n the a m plitud es of the two sinusoids b ut also their relative phase. It is the phase shift produced throug h a nonlinearity to an harmonic input related to another harmonic input tha t results in ma ny of the interesting pheno mena in nonlinear feedback loops. Further when the nonlinearity is not a sim ple ma them atical f unctio n, such as the cubic of the a b o ve exa m ple, it b eco m es very diff icult to g et the o utp ut b y the sim ple trig o no m etric a pp roa ch used ab o ve. Fo rtuna tely, ho wever, it ca n b e sho w n that f or a ny no nlinea rity n(x) the output f(t) ca n be written f (t) = /3
j=0
(5.6)
where a jk =
-a
(5.7)
and the Neumann factor fn is 1 for n = 0 and 2 for n 1. Comparing equation (5.6) with the result of equation (5.2) for the cubic it ca n be seen for the cubic tha t a10 = (3a/8) (a + 2b ), a21 = 3a b/8, a30 = a /8
2 2 2 3
a nd with n (x f y) = , 12 a ca e o also b e f y reversing jk = 0 o These > 3. (5.7)the values +or a 01 (xa +, y)03a ndnitb will btained bo und that aa a nd fb. r j + k values ca n b e check ed to result fro m eq uatio n
3
Thus even thoug h the expression of equation (5.6) can in principle be evaluated for any no nlinear characteristic it ca n co nsist of a larg e, a nd p ossibly infinite num b er of term s. Also fo r related inp ut f req uencies there m a y b e a larg e num b er of these term s that p rod uce a n o utp ut at o ne of the inp ut freq uencies a ll of which in g eneral will ha ve a diff erent p ha se.
# n (x + c) T (x/a) p (x) dx
a j a jk b
(5.8) (5.9)
a jk =
70
-a
# n (y + c) T (y/b) p (y) dy
k b kj a
(5.10) (5.11)
a jk =
The term s n (a, c) j a nd n (b, c) k ma y b e reg arded a s g eneralized m odified no nlinearities with the o ne with subscrip t zero , already having been introduced in sectio n 3.7, using a notatio n omitting the zero subscript, which will continue to be used . Assum ing , where unless m entio ned to the co ntra ry the two sinuso id s a re no t rela ted , then the SSDF co m p o nen ts are N a (a, b) = 2a 10 /a a nd N b (a, b) = 2a 01 /b . An a d va nta g e of lo oking at the d erivatio n in this wa y is tha t if o ne wishes to g et the SSDF co m p o nent f o r x, then o ne calculates the DF f o r the origina l no nlinea rity m o dified b y y, na m ely the DF
a
presence of a bias and then averages this with respect to b, as given b y eq uatio n (5.9) with k = 0. The evaluation of modified no nlinearities for linear segmented characteristics is quite difficult and therefore it becomes even more difficult to find the SSDF, so that numerical approaches ha ve to be used . Ho wever m any no nlinear chara cteristics ca n b e a pp ro xim ated o ver a given ra nge b y either a po wer series or Fo urier series exp a nsio n, so results are d erived belo w for a power law and harmonic nonlinearity, as well as for an ideal relay.
MAERSK INTERNATIONAL TECHNOLOGY & SCIENCE PROGRAMME Are you about to graduate as an engineer or geoscientist? Or have you already graduated? If so, there may be an exciting future for you with A.P. Moller - Maersk.
www.maersk.com/mitas
71
-a
# (x + y)
a
Tk (x/a) pa (x) dx
(5.12)
-a
#C
m
xc
nm-n
Tk (x/a) pa (x) dx
(5.13)
where the bino mial co eff icient m C n = m !/ (m - n) !n! Thus the integ ral ca n b e co m p uted f o r a ny cho sen value of k, since after sub stituting f o r Tk (x/a), the integ ral will invo lve m o m ents of the distrib utio n of pa (x). In p articular f or k = 0, o ne ha s n (a, c) = /
m n =0 -a a
Cn x c
m n m-n
(5.14)
/#
-a n =0
a mn
c Cx
n+ 1 m-n
a pa (x) dx =
-1
/
m m n =0
Cn a- nn + 1 (a) c
1 m- n
(5.15)
Using equation (5.14) in equation (5.09) and multiplying by 2/b to get Nb (b, c) from a01 then gives for the SSDF to the signal y N b (a, b) = (2/b)
-n
#
0
/ mCn n (a) y
m m n= n =0
m-n -1
Or, alternatively, equation (5.15) with b replacing a can be used in equatio n (5.11) and again multiplied by 2/b to get Nb (b, c) from a01 to give N b (a, b) = (2/b)
n= 0
-a a m
#/
m
Cn b- nn + 1 (b) x
1 m-n
pa (x) dx = (2/b )
2
/
m m n =0
Cn nn + 1 (b) nm - n (a)
(5.17)
Since m Cn = mCm- n these expressions are easily shown to be identical. Na (a, b) can be similarly found or simply obtained from Nb (a, b) by interchang ing a and b.
n (a, c) k =
-a
72
An Introduction to Nonlinearity in Control Systems Substituting the expressions cos (z co s i) = J 0 (z) + 2 / (- 1) J 2i (z) co s 2ii a nd
i=1 i 3 i
n (a, c) k = (- 1) J k (ma) sin "mc - (kr/2) , In particular for k = 0 the modified nonlinearity is n (a, c) = J 0 (ma) sin mc which differs only in amplitude by a factor J 0 (ma) from the original nonlinearity. Also n (a, c) 1 = J 1 (ma) cos mc It is easily shown, again using the above expansions, tha t Nb (a, b) = (2/b) J 0 (ma) J 1 (mb)
(5.18)
(5.19)
(5.20)
(5.21)
-a
# hT (x/a) p (x) dx
a k a
which gives for k 1 n (a, c) k = (2h/kr) Dk (- c/a) for c # a n (a, c) k = 0 for c > a and for k = 0 n (a, c) = (2h/r) sin- (c/a) for c # a
1
(5.22)
(5.23)
73
If it is assumed that b a then to find Nb(a,b) only n(a,) is required for | | a and N b (a, b) = (2/b)
-b
-1
(y/a) (b - y ) -
1/2
dy
-b
(b - y ) 22 2 2 1/ 2 dy = (8h/r k a) (a - y )
2 1/ 2
(5.24)
where k = b/a < 1 and E(k) and K(k) are elliptic integrals. Similarly, to find Na(a,b) only o ne integral is required for b a if n(a,)1 is used and the solution is Na (a, b) = (4h/ar )
2
-b
(5.25)
Thus even for this very simple break point type no nlinearity the SSDF expressions are rather complicated.
/ c cos (ki
k k= 0 3
dy (t) = d k/= (ck /2)"cos (ki a + {k + i b + z) + cos (kia + {k - ib - z), 0 The only output at ~b if ~b and ~a are not related is dc0 cos (ib + z) but if ia /ib = ~a /~b = m/n then the output at frequency ~b is d"c0 cos (ib + z) + (ck /2) cos (ib + {k - z) | k = 2n/m , which can be written (5.26)
74
dc0 cos (ib + z) + (dck /2)"cos ({k - 2z) cos (ib + z) - sin ({k - 2{) sin (ib + z), | k = 2n/m , Thus, dividing b y , gives the IDF f or situa tio ns where the freq uencies a re related such that if a n integer k = 2n/m exists, then it is given by N id (a) = c 0 + (ck / 2) e
j({k - 2z)
| k = 2n/m
(5.27)
where the subscript has been used to distinguis h it from the unrelated IDF Ni(a). Since in general the coefficients ck no rm ally d ecrea se with increa sing k, the m o st im p orta nt o nes a re fo r lo w values of k. Those fo r k = 1 a nd 2, in pa rticular, will b e of so m e interest la ter. Fro m eq uatio n (5.27) it ca n b e seen that N i (a) is co m plex a nd its lo cus is a circle centred at circle with centre at - c0 /"c0 + (ck /2) , a nd radius (ck /2)"c 0 + (ck /2) ,. c0 with radius ck/2. If one wis hes to plot Cid (a) = - 1/Nid (a) on a Nyquist plot then it can be shown tha t Cid (a) is also a
2 2 2 2
Also f or a sing le6(2x /a ) - 1@ p (x) rity=with N = 2, which is the situa tio n f or a perturba tio n of the sa m e freq uency, { k = 0 a nd n' (x) valued no nlinea dx 26 k
a
c2 = 2
-a
2 2
ic
(a) - N (a)@
so that
(5.28)
This is the equatio n of a circle with centre at (Nic (a), 0) and radius (a/2) N' (a) .
www.job.oticon.dk
75
and a loop transfer functio n G (s) = 2 (1 - s) /s (1 + s) is considered. The nonlinearity inp ut is taken as x = a cos ~t + b cos (3~t + {) Computing the outp ut from the nonlinearity at frequencies and 3, gives the terms (5.29)
(5.30)
6b - (b/8) (b2 + 2a2) - (a3 /24) cos {@ cos (3t + {) - (a3 /24) sin { sin (3~t + {)
Thus the magnitude and phase components for the SSDF are M a (a b) = "6 1 - (1/8) (a + 2b 2 ab co s {)2 + 6 (1/8) ab2sin { @ , + @ 2 1/ 2 M b (a b) = (1/b)"6 b - (b/8) (b + 2a 2 + (a3 /24) co s2{ @ + 6 (a /24) 1/2 { @ , ) 2 3 2 sin za (a b) = tan- 6- ab sin {/ (8 - 2a - 2b - ab cos {)@ 1 2 zb (a b) = tan- 6a 3sin {/ (24b - 3b - 6a b - a cos {)@ 1 3 2 3
(5.31)
If the gain a nd p hase of the tra nsf er f unctio n a re deno ted b y g a nd then the harm o nic b ala nce lo op eq ua tio ns fo r the two frequencies are M a (a b) g (~) = 1 M b (a b) g (3~) = 1 za (a b) + i (~) = - 180c zb (a b) + i (3~) = (2j + 1) 180c (5.36) (5.37) (5.38) (5.39)
76
An estimate for the solution can be obtained by using the DF solutio n of a = 2 and = 1, together with equatio ns (5.37) and (5.39) with (5.33) and (5.35) substituted. This gives b = 0.222 and = -53 or 127. Solution of the four nonlinear equations (5.36) to (5.39) with the values from equatio ns (5.32) to (5.35) substituted gives two solutions of sta ble limit cycle sho wn in the sim ula tio n result o f Fig ure 5.1. Also sho wn a re the sim ulatio n results f or the o utp ut of the nonlinearity and the calculated result for the stable limit cycle marked theoretical. Note the phase origin is arbitrary so the wa veform has been plotted just to sho w the good waveform agreement.
a = 2.19, b = 0.298, = 138, = 0.882 and a = 1.88, b = 0.166, = -52, = 1.06. The former solution is that of the
It is rela tively ea sy to write num erical ro utines to co m p ute m o re precisely a ny lim it cycles which m a y exist in a feedb a ck loo p. Ref erences 5.1 to 5.3 give d etails of so me p ap ers which discuss po ssible ap proa ches using prog ra m s which m ak e use of the fa st Fo urier tra nsfo rm a nd intera ctive grap hics. Beca use a la rg e num b er of no nlinear alg eb raic eq uatio ns need to b e so lve a n initia l g uess f o r the lim it cycle is req uired . This ca n b e o btained using the DF, if a predicted so lutio n exists, or if not b y a ssum ing a solutio n using sa y a n a m plitud e a nd f req uency nea r to a n intersectio n of the Nyq uist plo t a nd the C(a) lo cus. The a ssum ed lim it cycle solutio n, x 1 (t ), is then used a s inp ut to the no nlinearity with the loo p assum ed op en a n d the sig nal fed b a ck to this point x2 (t ) calcula ted . This is d o ne b y discretising the sig nal, f inding the co rrespo nd ing o utp ut from the nonlinearity, evalua ting its Fourier series, passing these components through G(s) and recombining them to pro d uce the no nlinea rity inp ut. Gra p hs of x1 (t ) a nd x 2 (t ) a re then plo tted f or co m pa ra tive p urp oses. Further iteratio n ca n be d o ne to see if the wa vefo rms co nverg e, typ ically they ma y beco me q uite similar b ut beca use the a ssum ed freq uency is incorrect appear to have a phase difference.
77
The f req uenc y ca n then b e cha ng ed to see if co nverg ence o ccurs. Alternatively at a ny p oint in the pro cess a ha rm o nic bala nce ma y be co mp uted using a limited num b er of harm o nics in x 1 (t ) b y taking it eq ual to the last value o f x2 (t). Using these techniques exa mples are given in the papers referenced of deriving limit cycles in a large number of feedback systems so m e with m ultiple no nlinear a nd linea r elem ents. Ca ses are co nsid ered when the DF metho d d oes a nd do es no t predict a lim it cycle. An interesting feature of the a pp roa ch is tha t b eca use it is num erica l it ca n o btain unstab le limit cycle solutio ns which ca nno t b e f o und b y sim ulatio n. One exa m ple which wa s co nsid ered is the f eed ba ck loo p o rig ina lly investigated b y Fitts with a cubic no nlinearity and linear dynamics
2 4 3 2
(5.40)
This tra nsfer f unctio n, which is not typica l of o ne fo und f or a co ntrol system with the d o uble d erivative in the num erator, has two pairs of lightly damped poles near to frequencies of 0.9 and 1.1 rads/s. and its Nyquist plot is shown in Figure 5.2. The feature of this Nyquist plot, which causes the DF method to fail, is tha t it has related frequencies on different sides of the C(a) plot, which for a cubic lies on the negative real axis. The Nyquist plot starts from the origin and loops in the positive part of the plane to the real axis which it reaches at a frequency of 1.005 before looping in the negative half plane to finish at the origin.
78
In cha p ter 6 it is sho wn ho w lim it cycles ca n be calculated exa ctly in f eed b a ck loo ps with a rela y no nlinea r elem ent. An y no nlinea r cha ra cteristic ca n be a p pro xim ated b y a q ua ntiza tio n cha ra cteristic , the m ore q ua ntizatio n levels used the m ore accurate the a pp ro xim atio n. Since a q ua ntizatio n cha ra cteristic ca n b e obtained b y rela ys in pa rallel the m etho d f or finding limit cycles in relay systems can be used for any nonlinearity using a quantized approximation. The problem with the m etho d is tha t the num b er of no nlinear eq uatio ns which ha ve to b e solved increases with the nu m b er of q ua ntizatio n levels used. Ho wever, b y slo wly increasing the num b er of q ua ntizatio n levels go o d initial estim ates ca n b e o b tained f or the no nlinear equations and good results are reported in reference 5.4 using this approach.
79
signal to cha nge app ropriately. Fig ure 5.3 sho ws a simple feedba ck loop with a no nlinear element n (x) = x for |x| 1, 1 for |x| > 1 a nd -1 for |x| < -1, dynamics of 2/s (s + 1) a nd a sinusoidal inp ut of amplitude 1 at a freq uency of 4.1 rad /s.
Altho ug h the system is sta ble with no inp ut, a s indicated b y the DF m etho d, o r a s ca n b e a scertained b y sim ula tio n, when subject to the a b o ve sinuso idal inp ut the g ain thro ug h the no nlinea rity is increa sed suf ficiently to ca use a lim it cycle to o ccur at a n a p pro xim ate freq uency of 1 rad /s, the 180 p ha se shif t f req uency o f G (s). The o utp ut of the system sho win g the dominant limit cycle frequency, which is unrela ted to that of the inp ut, is shown in Fig ure 5.4
Also the value of N id (a) fo r k = 1, which is a chieved with 2 n = m , ca n ha ve a p ha se shif t. This ind icates the p o ssib ility of a limit cycle o ccurring which is at o ne half of the f req uency o f the a pp lied inp ut, na m ely a seco nd sub ha rm o nic. Clea rly also other sub harm o nics mig ht exist if they ca n so m eho w b e excited since a p ha se cha ng e is p ossible f or finite a m plitud es of other related frequencies, such as the ratio 3:1. A f urther beha vio ur tha t is po ssible is f or the o utp ut to ha ve a cha o tic m o tio n, that is a wa vefo rm which is d eterm inistic, in the sense that if the experim ent is rep eated the sa m e wa vef o rm will result, b ut it ca nno t be describ ed a nalytically. This is
3 3
5.8 sho w the o utp ut respo nse a s the a m plitud e of the inp ut sinusoid is increased . In Fig ure 5.6 f or a n inp ut a m plitude of 1.1 the output, unlike for smaller input amplitudes, is noticeably distorted from a sinusoid.
80
demonstrated for the system of Fig ure 5.5 with an unusual no nlinearity n (x) = x - (x /6) , which cha nges from a positive to a negative slope. The loop d yna mics are 2/ (1 + s) a nd the inp ut freq uency of the sinusoid is 1 rad/s. Figures 5.6 to
81
With an increase in amplitude to 1.3, shown in Fig ure 5.7, the output has reached a bias level and shows considerable third ha rm o nic disto rtio n. Finally in Fig ure 5.8 fo r a n inp ut a m plitud e of 1.4 the o utp ut sho ws a cha o tic m otio n a nd f o r an input amplitude of around 1.5 the response goes unbounded.
Ob vio usly a no ther p ossib ility is that o ne ma y wish to a pply a sinusoid al inp ut to a system tha t alrea d y has a lim it cycle, a situatio n which o nce m ore mea ns two sinusoid al inp uts to a no nlinearit y need to b e co nsid ered . Ag ain b ased o n the SSDF three possibilities can be expected namely (i) the limit cycle and forcing signal will coexist, (ii) the forcing signal may quench the limit cycle or (iii) the forcing signal a nd limit cycle may lock to related frequencies, kno wn as synchro nization.
82
Clea rly to investiga te theoretically a ny of these va ried b eha vio urs which m a y exist in a no nlinear system f or a sinusoid al tha t the b eha vio ur is sta ble. Af firm a tive solutio ns to these two q uestio ns then m ea ns, a ssum ing the ap p ro xim a te a nalysis is sufficiently a ccura te, tha t the b eha vio ur will p ro ba bly exist. Ho wever the a na lysis is b ased o n stea d y state assum p tio ns a nd whether a sp ecific stea d y state is rea ched is a d yna m ic p ro blem which is difficult to solve. Lik e sing ular p oints m o re tha n o ne beha vio ur m a y be rea ched d ep end ent o n the initial co nd itio ns. Luck ily m ost of the a b o ve b eha vio urs are rare in a feedback control system since to exist they require features such as a lightly damped feedback loop, or unusual nonlinearities, for example possessing both positive a nd negative slopes. In the next section the normal frequency respo nse is examined such as that found for the system of Fig ure 5.5 for input amplitudes less than unity.
input one has to apply the appropriate analysis to see if such a behaviour might exis t. Secondly one has then to sho w
(5.41)
algebraic equations, by resolving in the directio ns of ~t and cos ~t , can be solved for the two unknowns a and for the given sinusoidal inp ut with m ag nitud e, R, a nd f req uency, . The f und a m enta l o utp ut sig na l ca n then b e fo und f ro m c (t) = aM (a) g1 sin (~t + z (a) + i1) (5.42)
Various graphical procedures [5.5-5.7] have been proposed for solving the two nonlinear algebraic equations resulting from equation (5.41) or for the loop balance results written in a slightly different form. If the system is lig htly damped, the no nlinear equations may have more than one solution, indicating tha t the frequency response of the system ma y ha ve a jum p reso na nce. This p heno m eno n of a no nlinea r system ha s b een stud ied b y m a ny a utho rs, b o th theoretica lly a nd fo r p o ssib le pra ctical a p plicatio ns. The m ajo r a d va nta g e o f a g rap hical a p pro a ch to ob tain the solutio n, ra ther tha n a co m p utatio na l a p pro a ch to solving the no nlinea r alg ebraic eq uatio ns of (5.41), is the und ersta nd ing it p ro vid es of the jum p reso na nce p heno m eno n. O ne a pp ro a ch is b riefly o utlined which is a p plicable f or a single valued no nlinearity, tha t is for z (a) = 0 . From equation (5.41), on separating the sin ~t and cos ~t terms, one obtains Rg c cos (b + i c) - aM (a) g 1 g c cos (i 1 + i c) = a and Rgc sin (b + ic) = aM (a) g1 gc sin (i 1 + ic) 83
( 5 . 4 3 )
( 5 . 4 4 )
and G 1 (j~) = g 1 e . Then, in principle, equa tion (5.41) which can be written as two nonlinear
1
Denoting the normalized inp ut magnitude to the nonlinearity a/R by x, the normalized outp ut aM(a)/R by y and eliminating gives x = g c 6 1 - y g 1 sin (i 1 + i c ) @
22 2 1/2
(5.45)
This is the linea r freq uency d ep end ent relatio nship between the no nlinearity inp ut a nd o utp ut which need s to b e so lved together with the DF relationship y = xM (xR) (5.46)
which need s to b e plo tted o n the sa m e x -y p lo t a s eq ua tio n (5.44) fo r the given va lue of R to g et p ossible solutio ns. In cases where jump resonance occurs there are typically three solutions rather tha n one solutio n [5.8 -5.10]. In this case it is possible using the stability criterion of the next sectio n to show that two solutio ns will be stable and one unstable. An interesting p heno m eno n called isla nd -typ e jum p reso na nce is d escrib ed in reference 5.11. Here o ne sta ble solutio n is iso la ted , so that it m a y o nly b e rea ched fro m the ap plica tio n of suita ble initial co nditio ns, a nd there f ore ma y no t b e seen in a standard frequency response test.
&KDOPHUV 8QLYHUVLW\ RI 7HFKQRORJ\ FRQGXFWV UHVHDUFK DQG HGXFDWLRQ LQ HQJLQHHU LQJ DQG QDWXUDO VFLHQFHV DUFKLWHFWXUH WHFKQRO RJ\ UHODWHG PDWKHPD WLFDO VFLHQFHV DQG QDXWLFDO VFLHQFHV %HKLQG DOO WKDW &KDOPHUV DFFRPSOLVKHV WKH DLP SHUVLVWV IRU FRQWULEXWLQJ WR D VXVWDLQDEOH IXWXUH ERWK QDWLRQDOO\ DQG JOREDOO\ 9LVLW XV RQ &KDOPHUV VH RU 1H[W 6WRS &KDOPHUV RQ IDFHERRN
84
If am is the maximum value of a for all a then no jump resonance will exist if G (j~) does not enter the sector on the
n
(5.48)
which is independent of a so that am = a for all a. In particular for a cubic n = 3 and a = 30c .
85
` aR j
`j
Nyq uist pla ne b o und ed b y the ra dial lines 180 ! a m . Interestingly f or a p o wer la w no nlinearity n (x) = c x sgn (x) it
I a m ind ebted to H.K. Wo ng of the U niversity of Wa rwick f o r the m ajority of the results in this sectio n. To sta rt the stud y a sim ple f eedb a ck lo o p ha ving a tra nsf er f unctio n G (s) = 1/s (s + c) in the f o rward pa th a nd a cubic no nlinea rity in th e feedback path is considered. A simulink diagram is shown in Figure 5.9 with c = 0.4.
Deno ting the inp ut to the NL b y a co s ~t , which is the system o utp ut, a nd the inp ut to the system b y R co s (~t + b) , the loop balance equation is Rg cos (~t + b + i) - aM (a) g cos (~t + i) = a cos ~t giving Rg cos (b + i) - aM (a) g cos i = a and - R sin (b + i) + aM (a) sin i = 0. where G (j~) = g (~) e
ji (~)
(5.49)
(5.50)
(5.51)
Denoting aM(a)/R as y and a/R as x and eliminating from the above equatio ns gives
2 2 2
(5.52)
To sho w g rap hically the solutio ns this x-y relatio nship f or the f req uency respo nse of G is p lo tted f o r diff erent values of and the x-y relatio nship for the cub ic is then superimposed on it. The results are shown in Figure 5.10 for a range of
3
the relations hip in this way the possible solutions are easily seen for a fixed R and if R is changed only the sing le curve of the nonlinear relationship needs to be changed.
86
together with the cubic relatio nship for R=1, which is simply y = x * M (x) and is y = 0.75x for the cubic. By plotting
Figure 5.10 Ellipses for G(j) with c = 0.4 and cubic nonlinearity for system of Figure 5.9
The intersections between each ellipse for a particular frequency with the nonlinearity inp ut -output (x-y) plot mark the amplitude solutions for the fundamental in this x-y spa ce. The coordinates of the intersections ca n then be used to comp ute the ma g nitud e o r p ha se resp o nse of the system . Jum p p heno m ena ma y o nly o ccur in the freq uency ra ng e where there is more than one intersection of the nonlinear characteristic with an ellipse for that frequency Substituting M (a) = 3a /4 for the cubic in eq uations (5.50) a nd (5.51) gives
2
(5.53)
(5.54)
87
These equations can be solved numerically for a and for given R and avoiding the graphical approach. However, initial g uesses fo r the solutio n values ha ve to be given to a no nlinea r algeb raic eq ua tio n solver, which is grea tly fa cilitated frequency response predictions are given in Figure 5.11 for c = 0.2 in the transfer function G and inp ut R = 1.
by kno wledge from the graphical approach. From software written using the graphical approach [5.13] the theoretical
Figure 5.11 Solutions from the graphical method for the frequency response with c = 0.2
A software tool [5.14] was used to obtain sweep frequency response tests in simulink. The tool was modified so that it could perform bi-directio nal sweeps necessary for the jump p henomeno n investigatio n. The input sweep generator cha nges
1 1
fro m ~ n to ~ 1 so that ~ k - 1 = r~ k , r < 1 fo r sweep d o wn. The freq uency increm ent is o nly a pp lied after the o utp ut sa tisf ies a stea d y sta te test. This is d o ne b y check ing o ver the la st n cycles of the o utp ut a nd co nfirming that the p ha se cha ng e is less tha n a specified tolera nce, . Avera ging is a lso p erfo rm ed f or m sp ecified cycles of the o utp ut to co m p ute the result. To o btain the results n a nd m were set to 3, to 10-5 a nd r to 0.995. Whe n the increm ent in f req uency is p erf o rm ed the system state conditions are preserved between frequencies, thus ensuring tha t conditions are similar to the previously m entio ned a nalo g ue co m p uter a p pro a ch. The m easured o utp ut is the f und a m enta l a m plitud e of the o utp ut wa vefo rm determined by Fo urier analysis, which should give best agreement with the DF analysis.
88
the freq uency of the sinusoidal inp ut from ~ 1 to ~ n rads/s progressively so that ~ k = r - ~k - 1, r - > 1 for sweep up , a nd
The results o b tained f or the cases of c = 0.4 a nd 0.2 with R = 1 a re sho wn in Fig ures 5.12 a nd 5.13, sup erim p osed o n th e theoretical curves. It ca n be seen tha t there is go od a greement b etween the theo retical a nd experim ental results particularly around the jump frequencies.
Figure 5.12 Swept frequency response test for c = 0.4 compared with the theory.
89
Figure 5.13 Swept frequency response test for c = 0.2 compared with the theory.
In a d ditio n sp ot tests at vario us freq uencies within the p redicted jum p ra ng e were und erta ken. This was do ne in sim ulink b y def ining the inp ut as a unit a m plitud e sine wa ve with p ha se zero a nd sim ula ting G (s) as in Fig ure 5.9, which allo ws initia l conditio ns to be applied to the integrator. For c = 0.4 two almost sinusoidal o utp ut amplitude solutions in good ag reement with the theory were obtained in the frequency range 1.38 to 1.49 as shown in Figure 5.14 for a frequency of 1.45. The
smaller amplitude solution was obtained with a zero initial condition and the larger one with an initial co nditio n of -2.
90
Figure 5.14 Plots of the two outputs for c = 0.4 and input frequency of 1.45 rads/s.
For c = 0.2 the larger output amplitude solution could only be found with an initial cond itio n on the integrator for frequencies above 1.54 up to 2.1 rads/s. With a zero initial condition on the integrator the output was nearly sinusoidal at the inp ut frequency until a frequency just exceeding 1.66 rad/s was reached when the lower amplitude contained a significant third harmonic which remained until a frequency of around 1.75 rads/s. Between approximately 1.75 rads/s and 1.80 rads/s the third sub harmo nic disappeared a nd the o utp ut again became almost sinusoidal at the inp ut freq uency. The third sub ha rm o nic co m p o nent ag ain returned f ro m just ab o ve 1.80 ra d s/s until it finally d isa pp ea red at 2.05 ra d s/s.
91
Further investigation for frequencies between between 1.66 rads/s and 2.10 rads/s using different initial conditions on the integrator revealed three stable modes according to the initial conditions. These were two approximately sinusoidal a mplitud es a t the inp ut freq uency in g oo d a greem ent with the theory a nd a third with a sig nif ica nt sub harm o nic co ntent. Figure 5.15 shows these three outputs for an input frequency of 1.9 rads/s.
Figure 5.15 Plots of the three outputs for c = 0.2, R = 1 and an input frequency of 1.9 rads/s.
This example clearly illustrates that use of the approximate DF method can determine steady state frequency response solutions but canno t predict wha t can occur in a particular situa tion, as this is determined by the transient dyna mics when m o re tha n o ne sta ble state exists. The p ossibility of the third solutio n existing , na m ely the sub harm o nic o scillatio n can also be predicted by the DF method as is shown in the following. If the inp ut to the f eed b a ck loo p is ag ain ta k en a s R co s (~t + b) , then the inp ut to the cubic no nlinearity, which is also the output, may be taken as a cos ~t + b cos ((~t/3) + {) to investigate the possibility of a third subharmonic. The fundamental output signal from the cubic is aMa (a b) cos (~t + za (a b)) and the loop equation for the fundamental, with the dependence of g and , on shown explicitly in the equatio n, is Rg (~) cos (~t + b + i (~)) - aM a (a b) g (~) cos (~t + i (~) + za (a b)) = a cos ~t For the third subharmonic the corresponding loop equation is - bM b (a b) g (~/3) cos ((~t/3) + i (~/3) + zb (a b) + {) = b cos ((~t/3) {) (5.56) (5.55)
These two eq ua tio ns pro vid e f o ur no nlinea r eq ua tio ns which ca n b e solved f o r the unk no w ns a, b, a nd to ob tain a p ossible sub ha rm o nic solutio n when R a nd are given. A q uick test f o r a p o ssible sub ha rm o nic ca n b e o btained f ro m the phase shift requirement of equation (5.56), namely i (~/3) + zb (a b) = - 180c (5.57)
92
An Introduction to Nonlinearity in Control Systems From equation (5.2) it can be shown that
1 2 2
(5.58)
2 2
2 1
Thus a sub ha rmo nic ca n o nly o ccur pro vid ed the p ha se lag of G (j ) is grea ter tha n 159. The lo west freq uency f or which this occurs is approximately 0.52 rads/s, so that subharmonic oscillations might be possible when the input frequency exceeds 1.56 rads/s which is in reasonable agreement with the experimental results. The subharmonic only lasts for a sma ll f req uency ra ng e as the loo p g ain to the sub harm o nic of M b (a b) g (~ /3) d rop s b elo w unity. It ca n b e sho wn that the inverse of the d escribing f unctio n f or the sub ha rm o nic is a set o f circles d ep end ent o n within the sector of a ng le ! 20.7c a b o ut the nega tive real a xis of the Nyq uist p la ne. Thus f o r a sub ha rm o nic to exist fo r the cubic no nlinea rity in a feedback loop the Nyquist plot of G(j) must enter this sector. The disagreement in Figures 5.12 and 5.13 at low frequencies is due to the poor filtering of the harmonics provided by G (j ). If the cubic is m o ved to the fo rward lo op in fro nt of G (s) the d iscrep a ncy a t lo w freq uencies is less a s the sinusoid al loo p inp ut sig nal p asses straig ht to the cub ic no nlinearity. This is illustra ted b y the f req uency resp o nse sho wn in Fig ure 5.16 for the case o f c = 0.4 a nd R = 1. Here, ho wever, a nother situatio n arises in that theo retically there a re o nly two solutio ns ab o ve a f req uency of a ro und 2.25 rad s/s. a nd thus there is no jum p d o wn o n the up wa rd freq uency sweep as co nfirm ed b y the sweep f req uency test, d ue to the lo o p ha ving a negligible feed b ack sig nal. In p ra ctice, of co urse the increasing g ain of the cubic is not po ssible a nd a jum p d o wn will result. Spo t testing sho ws tha t if no initial co nditio ns are p la ced o n the integ ra to r the so lutio ns of the d ecreasing freq uency sweep a re o btained . Ho wever ab o ve the freq uency of 2.25 ra ds/s the high amplitude stable solution can be obtained by putting initial conditions on the integrator.
93
zb (a b) = - tan- 6ab sin 3{/ (b + 2a + ab cos 3{)@ Differentiation of the exp ression in the brackets sho ws that it is a ma ximum when cos 3 { = - ab/ (b + 2a ) which gives the m a xim um va lue fo r z b (a b) of ! sin - 6 ab/ (b + 2a ) @ . Deno ting the ratio o f b/a b y gives sin - 6t / (t + 2) @ , whic h on differentia tion gives a max im um when t = 2 and a max im um v alue of sin - ( 2 /4) = 20.7c .
Figure 5.16 Frequency response for cubic in the forward path with c = 0.4.
In Paris or Online
International prog rams taught by professors an d professi onals from all ov er the w orld BBA in G lobal Business M BA in International M anagement / International M arketing DBA in International Business / Interna tional M anagement MA in International E ducation MA in C ross-C ultural C ommunication MA in F oreign Languages Innov ative P ractical F lexible A ffordable Visit: www.HorizonsU niversity.org Write: A dmissions@horizo nsuniv ersity .org C all: 01.42.77.20.66
www.HorizonsUniversity.org
94
Results are given in Fig ure 5.17 for an ideal saturation characteristic in the forward path before the same G(s) with c = 0.2 a nd R = 1. In this case it is seen that the theoretical reso na nt peak b ends in a back ward direction so that the smaller jump occurs on the upward frequency sweep.
Figure 5.17 Frequency response results for saturation in the forward path, c = 0.2 and R = 1.
5.8 Conclusions
In this chap ter the respo nse of a no nlinearity to two sinuso id al inp uts wa s first discussed a nd altho ug h it wa s sho wn tha t a m a them a tical f orm ulatio n is straig htf o rward ob taining a nalytical so lutio ns f o r o ther tha n sim ply d efined m a them a tical characteristics is not. Thus numerical comp uta tion approaches have to be adopted for most practical situations. The co ncep ts were used , ho wever, to sho w ho w va rio us p rop erties of f eed ba ck systems co uld be investig ated b y co nsidering two freq uencies present in the lo o p. The a nalytical wo rk ha s b een sup p o rted b y sim ulatio n results a nd the cha pter wa s concluded by a detailed studied of jump resonance.
95
5.9 References
5.1 McNamara, OP & Atherto n, DP 1985, An Iterative Method for Limit Cycle Determinatio n, Control 85, Cambridge, pp 252-257. 5.2 Atherto n, DP, Mc Na m a ra , OP, Wa d ey, MD & G o ucem A 1985, SU NS: the Sussex U niversity No nlinear Co ntrol System s Software. 3rd IFAC/ICAD Symposium on Computer Aided Design in Co ntrol Engineering Systems, Copenhagen, pp 173-178. 5.3 McNamara, OP & Atherto n, DP, 1987, Limit Cycle Predictio n in Free Structured Nonlinear Systems, IFAC Congress, Munich, Volume 8, pp 23-28. 5.4 Atherton, DP & Ramani, N 1975, A Method for the Evaluation of Limit Cycles. Internatio nal Journal of Control, Vol 21, pp 375-384 5.5 Hammo nd, PH 1958, Feedback Theory and its Application, Chap ter 11, EUP, London. 5.6 West, JC and Douce, JL 1952, The Frequency Response of a Certain Class of Nonlinear Feedback Systems, British Journal of Applied Physics Vol 5, pp.204-210. 5.7 Sing h, YP 1964, G ra p hical Metho d f or find ing the Clo sed Lo op Freq uency R esp o nse of No nlinea r Feed b a ck Co ntrol Systems, Proc IEE, Vol 112, pp 2167-2170. 5.8 West, JC & Nikiforuk, P 1954, The Behaviour of a Remote Position Control Servomecha nism with Hard Spring Nonlinear Characteristics, Proc IEE, Vol 101, part II, pp 481-487. 5.9 West, JC, Jayawant, BV & Rea, DP 1967, Transition Characteristics of the Jump Phenomenon in Nonlinear Resonant Circuits, Proc IEE, Vol 114, pp 381-392. 5.10 La m b a , SS & Ka va na g h, R J 1971, The p heno m eno n of Isolated Jum p R eso na nce a nd its Ap plica tio ns, Pro c IE E , Vo l 118, pp 1047-1050. 5.11 Hirai, K &Sawai, N 1978, A General Criterion for Jump Resonance of Nonlinear Control Systems, IEEE Trans. on Auto. Control, pp. 896-901. 5.12 Ha tanaka , H 1963, The Frequency Respo nse a nd Jump Reso nance Phenomena of No nlinear Feedback Control Systems, Trans ASME J Basic Eng, D-85, pp236-242. 5.13 Wong, HK 2010, Priva te communicatio ns 5.14 Royalty, J 2007, Dynamic Signal Analyzer , MATLAB Central [online], http://www.mathworks.com/ma tlabcentral/fileexchange/14611
96
Destination MMU
MMU is proud to be one of the most popular universities in the UK. Some 34,000 students from all par ts of the globe select from its curricula of over 1,000 courses and qualifications. We are based in the dynamic yet conveniently compact city of Manchester, located at the heart of a sophisticated transport networ k including a major international airport on the outskir ts. Parts of the campus are acclaimed for their architectural style and date back over 150 years, in direct contrast to our teaching style which is thoroughly modern, innovative and forward-thinking. MMU offers under graduate and postgraduate courses in the following subject areas: Art, Design & Performance Computing, Engineering & Technology Business & Management Science, Environmental Studies & Geography Law, Education & Psychology F ood, H ospit ali ty , T ouri sm & L ei sure St udi es Humanities & Social Science
97
For more details or an application form please contact MMU International. email: international @mmu.a c.uk telephone: +44 (0)161 247 1022 www.mmu.ac.uk/inter national
Fo r a p plicatio n to the rela y f eed ba ck p rob lem three diff erent m etho d s ha ve b een p ro p o sed f or do ing the a nalysis all of which pro d uce id entical results. A tim e do m ain a pp ro a ch wa s d evelo ped b y Ha m el [6.2], a freq uency d o ma in a p pro a ch by Tsypkin [6.3], and a time domain approach using a state space representation by Chung [6.4, 6.5]. The frequency do m ain ap proa ch uses a sum m ed freq uency lo cus which m ak es it ea sy to co mp are with the DF m ethod so that this will be the method considered below. The formulation is done in ter ms of A loci which are more general than the Tsypkin loci, and this is followed with details on the properties of A loci and their evaluation. Solutio ns for limit cycles of the f und a m ental fo rm are d iscussed . In sectio n 6.5 it is sho wn tha t a n exa ct co nditio n c a n b e f o und giving necessa ry a n d sufficient co nditio ns f or the sta bility of a ny p redicted limit cycle, which is a n extrem ely usef ul result. This ena bles the stud y in sectio n 6.6 of so m e very interesting p ro blem s rela ting to lim it cycles in rela y system s wh ich ha ve b een o btained fro m sof twa re im plem entatio ns of the theo ry presented . To pics discussed includ e limit cycles with m ultiple p ulses per p erio d , limit cycles with sliding a nd co ncepts fo r the predictio n of cha o tic m otio n. Finally in sectio n 6.7 the ha r m o nica lly forced response of relay systems is considered.
(6.1)
If y i (t) is the inp ut to a linear system with the tra nsfer f unctio n G (s) , then the Fo urier series fo r the o utp ut c i (t ) , assuming lim s " 3 G (s) = 0 and G (s) is finite, is given by ci (t) = (hDti G (0) /T) + (h/r)
3 n =1
(6.2)
(6.3)
98
If equatio n (6.2) is differentiated then the Fo urier series for coi (t) , provided lim s " 3 sG (s) = 0 , is coi (t) = (~h/r)
3 n =1 n
(6.4)
When lim s " 3 sG (s) ! 0, ci (t) , will have discontinuities at the switching instants ti and ti + Dti . Since the Fourier series tends to the mea n value of the functio n at a discontinuity at time, t, then a term 0.5" yi (t +) - yi (t -), lim s " 3 sG (s) with appropriate sign must be included in equatio n (6.4) to obtain the correct value of ci (t) at these two time ins tants. It is co nvenient to exp ress c (t ) a nd co (t ) in term s of the A lo cus [6.6, 6.7], A (i, ~ ) , where i = ~ t , a nd is d efined fo r a tra nsf er functio n G(s) by AG (i, ~) = Re AG (i, ~) + j Im AG (i, ~) with Re AG (i, ~) = / VG (i, n~) sin ni + UG (i, n~) cos ni
3 n =1
(6.5)
(6.6)
(6.7)
AG (i, ~ ) is a generalised summed frequency locus with its real a nd imaginary values at a particular freq uency, , dep ending on weighted values, according to the choice of, , of the real and imaginary values of G(j) at the frequencies n fo r n = 1,2,.. In particular for = 0 the real (imaginary) part of AG (i, ~) depends only upon the real (imaginary) part of G(j) at frequencies n. It is possible to evaluate Re AG (i, ~) and Im AG (i, ~) in closed form for specific transfer f unctio ns f ro m k no w n infinite series, as is discussed in the next sectio n, o r a p pro xim a tely b y co m p uta tio nally sum m in g to a finite number, n, of terms. Using the above relationships in equa tions (6.2) and (6.4) gives ci (t) = (hDti G (0) /T) + (h/r)6Im AG (- ~t + ~ti, ~) - Im AG (- ~t + ~ti + ~Dti, ~)@ and coi (t) = (~h/r)6Re AG (- ~t + ~ti, ~) - Re AG (- ~t + ~ti + ~Dti, ~)@ (6.9) (6.8)
Eq uatio n (6.9) m a y also be seen to b e ob ta ina ble directly fro m eq uatio n (6.8) since f ro m the definitio ns of eq uatio ns (6.6) and (6.7) it can be seen that dG d Im 6 A i(i, ~)@ = - Re AG (i, ~) (6.10)
99
Any p erio dic p ulse wa vef orm ca n b e co nstructed f ro m a sum m a tio n o f wa vef orm s y i (t ) with diff erent o rigins a nd p ulse widths. For example, the symmetrical square wave, y (t) , of period T is given by y (t) = /=yi (t) i 1
2
(6.11)
with y 1 (t ) switching po sitive a t tim e t 1 , y 2 (t ) , switching neg a tive a t tim e t 2 ; a nd with t 2 = t 1 + 0.5T a nd Dt 1 = Dt 2 = 0.5 T . Choosing the time origin t 1 = 0 , then the outp ut c(t) becomes c (t) = (2h/r)6Im AG (- ~t, ~) - Im AG (- ~t + 0.5~T, ~)@ Since 0.5~T = r , it is easily shown tha t this gives c (t) = (4h/r)6Im A G (- ~t , ~ )@ o (6.13) (6.12)
Here the A loci A G are again defined by eq uations (6.5) to (6.7) b ut with the summatio ns including odd terms only, that
o
is n = 1, 3, 5.. Bef ore pro ceeding to sho w ho w limit cycles ca n b e fo und using these exp ressio ns it is a p pro priate to summarise some properties of the A loci and show how they ca n be obtained for specific transfer functions.
Bioinformatics is the exciting eld where biology, computer science, and mathematics meet. We solve problems from biology and medicine using methods and tools from computer science and mathematics.
Read more about this and our other international masters degree programmes at www.uu.se/master
100
s"3
(6.15)
(6.16)
sx
(6.17)
(4) The loci are periodic in , with period 2, that is AG (i, ~) = AG (i + 2r, ~) (5) For Ac the periodicity is odd, that is AG (i, ~) = - AG (- i, ~)
o o
(6.18)
(6.19)
Since a ny pla nt tra nsf er f unctio n ca n b e written in term s of a sum m a tio n o f tra nsf er f unctio ns ha ving a real o r co m p lex pa ir of p oles, use o f eq uatio n (6.16) allo ws A lo ci f or m o st tra nsf er f unctio ns to b e o btained in term s o f the A lo ci of the few basic transfer functions given in Table 6.1 in the Appendix 6.10. In addition A loci for transfer functions with time delays can a nd 6.3 respectively, for the A nd A loci. For the real pole situa loci the loci are expressible in of Table in Tables 6.2 be obtained using equationa(6.17). Expressions for the A tionsof the transfer functionsterms of 6.1 are given
o
101
The is used to sho w tha t the tim e sho uld b e tak en b ef ore a ny p ossible d isco ntinuity which m a y b e created d ue to the switching. Thus using (6.13) and (6.14) one obtains Im A Go (0, ~) = - rD/4h and Re A Go (0, ~) < 0 provided lim s " 3 sG (s) = 0 . (6.21)
102
For a given G(s) the solution for the unknown frequency of the limit cycle, , ca n be found by solving the equality of eq uatio n (6.21) a nd check ing the ineq uality, or do ne gra p hically f ro m a plo t of A Go (0, ~ ) o n a Nyq uist d ia g ra m to o btain where it intersects the line - rD/4h . This approach allows easy comparison with the DF method where the solution is the intersectio n of G (j~) with the same line. Note from the definitio n A Go (0, ~) has real and imaginary parts given by Re A Go (0, ~) = and Im A Go (0, ~) =
3 3 n = 1 ( 2) n = 1 ( 2) G 3 n = 1 (2)
UG (0, n~) =
3 n = 1 (2)
(6.22)
(6.23)
Thus the locus ca n be obtained app roximately from these expressions by taking a small value for n, a nd exa ctly b y sum ming to a large value of n computationally or using the analytical results of Table 6.2. For the specific example of G (s) = K/6s (1 + sx) @, one has using Table 6.2 that Im A Go (0, ~) = (Krx/4)6(- r/2m) + tanh (r/2m) @ where m = ~x . Thus using equation (6.21) the solutio n for the limit cycle is (r/2m) - tanh (r/2m) = DhK/x and the ineq uality is satisfied as Re A Go (0, ~) < 0 for all . The DF method for this problem yields the equation m (1 + m2) = 4hKx/D for the normalised frequency, , of the limit cycle. For the particular case of K = 1, x = 1, h/D = 3 , the exact limit cycle frequency solutio n is 1.365 and tha t given by the DF method is 1.352. As expected if the solution is examined as the parameter, x , changes then, since as x reduces the tra nsf er f unctio n is a wo rse lo w pa ss filter, the DF solutio n b eco m es less a ccurate b ut it is less tha n 3% in erro r fo r x > 0.25. When the square wave is asymmetrical, that is not a 1:1 mark to space ratio, the two pulse trains of equation (6.11) will be y1 (t) switching positive at t1 = 0 with Dt1 = Dt , and y2 (t) switching negative at time t2 = Dt and with Dt2 = T - Dt . The required relay inputs of and - at the switching times of 0- (positive) and Dt- (negative) then yield two nonlinear algebraic equations to solve for Dt and . (6.26) (6.25) (6.24)
103
/ Re G (jn~)
SASHA SHAHBAZI LEFT IRAN FOR A MASTER S IN PRODUCT AND PROCES S DEVELOPMENT AND LOTS OF INNEB AND Y
HELL TELL YOU ALL ABOUT IT AND ANSWER YOU R QUESTIONS AT MDUSTUDENT. COM
www. mdh.se
104
Thus tha t the switching conditions, for x (t) = - c (t) , are Im A Go (0, ~) - Im A Go (~Dt, ~) = - (r/2h) (d - D) Re A Go (0, ~) - Re A Go (~Dt, ~) < 0 and Im A Go (0, ~) - Im A Go (~Dt, ~) = - (r/2h) (d - D) Re A Go (0, ~) - Re A Go (~Dt, ~) > 0 (6.32) (6.31)
For a specific example one thus has two nonlinear algebraic equations (6.31) and (6.32) to solve for the two unkno wns a nd t. O nce these are k no w n the p ulse wa vef orm is k no w n a nd the limit cycle wa vef o rm ca n b e o b ta ined f ro m th e A locus expression or by other means. Plotting this waveform then allo ws conditio n (3) in sectio n (6.4) to be checked. To investigate the possibility of an asymmetrical limit cycle for the relay with dead zone requires the solution of four nonlinear algebraic equations.
In co ntra st to the DF ca se the exa ct limit cycle solutio n no t a sinusoid al a pp ro xim atio n is given b y the ab o ve a nalysis f or feedback loops with relays. Further if this equation is written in the sta te space form dxo * (t) = A (t) dx * (t) then it can be shown tha t the periodically time varying matrix, A(t), is given by A (t) = A + Bn' (x * (t)) C (6.35) (6.34)
where (A, B, C) is a state space description of G(s). The matrix of equation (6.35) is piecewise constant and equal to A except over the infinitesimal time intervals when the relay switches. The value over the relay switching time may be calculated by ta king the relay as a limiting case of saturation. Fo r exa m ple if the rela y switches f ro m h to + h this is the limit of a n id ea l sa turatio n cha ra cteristic as f " 0 m o ving fro m a level h at to +h at + and the value of the second term in equatio n (6.35) is (6.36)
105
where t i is the tim e a t which switching ta kes pla ce a nd the d uratio n of the switching tim e which tend s to zero as tend s to zero. Thus the product A(t) over the infinitesimal switching time is given by A (t) D = BC 62h/xo (ti) @ (6.37)
The term in the sq ua re bra ck ets is the cha ng e in rela y o utp ut divid ed b y the d erivative of the rela y inp ut a t the switching instant. The value of this result is tha t a necessary and sufficient result, for the stability of a differential equation with a p erio dica lly tim e varying A m atrix which is piecewise co nsta nt, is k no wn[6.9, 6. 10]. The result is that the system is stab le if all the eig envalues of the ma trix Q ha ve ma g nitud e less tha n unity ap art f ro m o ne, corresp o nding to the perio dic so lutio n, which will have unit magnitude. The matrix, Q, is given by
m i=1
(6.38)
where the Ai are the constant values of the A matrix over the time periods Dti and
m i=1
is the lim it cycle p erio d with m values of the A m atrix. Fo r a sym m etrical o dd lim it cycle Q m a y b e co m p uted o ver 0.5 T. Thus for a limit cycle in a feedback system with an ideal relay with levels ! h switching at times 0 and 0.5T, the Q matrix is giv en by Q = exp 6 AT/2 @exp 62hBC/xo (0) @ (6.39)
!1
a nd m o ves o ut to infinity at unit freq uency d ue to the und a m p ed seco nd o rd er term in the d eno m inator. Af ter a p hase cha ng e of -180 a ro und a n infinite semicircle it returns to the origin in the third q ua d ra nt. There is no intersectio n of the neg ative real a xis so the d escribing f unctio n ind ica tes no limit cycle. If the Tsypkin m etho d is used then it ca n b e sho wn
that it gives limit cycle solutio n frequencies of ~ = 1/ (2n + 0.5) for n = 1,2,... Checking the solution waveforms for these freq uencies they are f o und to cross the zero switching level o f the rela y a t tim es other tha n tho se a ssum ed , d ue to the reso na nt na ture of the pla nt t ra nsfer f unctio n. Thus they f ail the co ntinuity co nditio n (2) g iven in sectio n 6.4 a nd a s predicted by the DF no limit cycle exists.
106
Q=
% A Dt
i
T=
% Dt
G (s) = (1 + 2s) / (s + 1) (s + 1), [6.10-6.13]. The Nyq uist lo cus of this tra nsf er f unctio n sta rts in the first q uad ra nt
Figure 6.2 Block diagram for system of example 2 (copied from reference 6.15)
107
R ef erence 6.15 discusses the d etermina tio n of the m ultip ulse limit cycles using the DF, b ut here the co m m ents will ref er to the use of the Tsyp kin m etho d d iscussed in p a p ers [6.15, 6.16]. There a re two o rigina l asp ects in these p ap ers the first being the extension of the Tsypkin method to evaluate quite complex limit cycles with multiple pulses per period and the seco nd b eing a n extensio n of the m etho d to find limit cycles in m o de dep end ent rela y system s. Here the term m od e dependent is used to refer to the fact that the loop transfer function changes with the relay output level. This topic is considered further in reference 6.17. To determine the possible existence of an odd symmetrical multipulse oscillation of n pulses per half period requires a solutio n to be f o und to 2 n alg eb ra ic eq ua tio ns. R esults were o btained b y this ap p ro a ch in ref erence 6.16 fo r o ne assum ed flexible mode and are given for the pseudo rate controller with equal and, then the usual case, unequal feedback time constants. Results with up to five pulses per half period were calculated and checked with analogue simulatio n results.
Figure 6.3 T sypkin solution for limit cycle (taken from reference 6.19)
108
To see if a sliding solutio n co uld be o btained the rela y o utp ut was a pp ro xim ated b y a straig ht line o ver this p erio d a nd the Tsyp kin m ethod extend ed to ob ta in a solutio n fo r a rela y o utp ut wa vefo rm ha ving this shap e. A new lim it cycle solutio n was then f o und sho wing tha t after the switching the calcula ted rela y inp ut rem ained almo st co nsta nt a s req uired to verif y sliding. By adding a further linear segment to approximate the average relay output waveform in the sliding mode by two linear segments the method gave the limit cycle sho wn in Figure 6.4 with a frequency of 0.386 rads/s, which was in a greem ent with the sim ula tio n result. It ca n b e seen tha t the rela y inp ut is no w alm o st co nsta nt a t the switching level during the sliding period.
Figure 6.4 Limit cycle solution using T sypkin extension (taken from reference 6.19)
The example has also been done in simulink using a fixed step integration algorithm since the default optio n with a varia ble step length stop s when sliding sta rts. The sim ulink diag ra m is sho wn in Fig ure 6.5, where the b lo cks in the up p er left hand corner generate a time vector, z, of equal length to the output vectors x and y.
Figure 6.5 Simulink block diagram for system having limit cycle with sliding
The limit cycle at the input to the relay, x, is shown in Figure 6.6 and in the x-y plane in Fig ure 6.7. The initial conditio n was set slightly off the limit cycle.
109
Brain power
Please click the advert
By 2020, w ind could prov ide one-tenth of our p lanets electricity needs. A lready today , SKF s innov ativ e know how is crucial to ru nning a large propo rtion of the w orlds w ind turbines. U p to 25 % of the generating costs relate to maintenance. These can be reduced d ramatically thanks to our sy stems for on-line conditio n monitoring and automati c lubricati on. We help make it more economical to create cleaner, cheaper ene rgy out of thin air. By sharing our expe rience, expertise, and creativ ity , industrie s can boost performance bey ond expectat ions. Therefore w e need the best employ ees w ho can meet this challenge !
Plug into The Power of K nowledge E ngineering. Visit us at www.s kf.com/kno wledge
110
(6.40)
where all the coefficients are real and positive, and with nonlinearity n(x), chaotic motio n was likely to exist if: (i) The Hurwitz sector of the linear system with n(x) rep la ced b y K satisfies K2 < K < K 1 , where K 1 = a0 / - b and K2 is finite. (ii) The nonlinearity n(x) intersects the line through the origin of slope K1 at least once to ensure the existence of an equilibrium point. (iii) The slo p e o f n(x) at all the intersectio n p oints with the lines of slop e K1 a nd K2 sho uld b e either grea ter tha n the upp er b o und K1 o r less tha n the lo wer b o und K2 , thus ensuring the insta bility of the eq uilibria . From their studies using the describing function Genesio and Tesi [6.21] concluded tha t the nega tive feedback system with no nlinearity n(x) and linear dynamics G(s) might be expected to exhibit chaos if (iv) (v) The application of the DF method to the system gives a stable predicted limit cycle x*(t). There exists an equilibrium point E, different from the one tha t generates the predicted limit cycle, which has one eigenvalue in the open right half plane and the others in the left half plane. (vi) (vii) The abscissa xE belongs to the range of the predicted limit cycle, tha t is, x*(t) = xE for some time t. As the f iltering pro p erties of G (s) d eteriora te the m otio n m a y b e exp ected to cha ng e f ro m a lim it cycle to chaotic mo tion.
The investig atio ns in [6.22] co nsid ered, n(x), to b e a rela y a nd used the tra nsf er f unctio n f o rm of eq ua tio n (6.40) f or G (s). It was conjectured that for n > 2 the system was likely to possess a region of chaotic motion if (i) (ii) Equation (6.40) has at least one pair of complex conjugate roots with positive real part The Hurwitz sector lies within the nonlinearity sector
Based o n these assump tio ns 3 rd a nd 4th o rd er rela y systems with chao s were synthesized. For the third o rd er system with an ideal relay with unit levels and = 1, then the upper a nd lo wer bo unds of the Hurwitz sector are K1 = a0 a nd K2 = a 0 - a1 a2 . Satisfactio n of conditio n (iii) above requires 0 < K2 < K1 , which gives a0 > a1 a2 . Thus if the transfer function is chosen with a0 = 4 and a1 = 1.25 chaotic motion ma y exist for 0 < a2 < 3.2 .
112
The equilibria are stable for a2 > 3.2 , become neutrally stable with roots at -3.2 and 1.118j for a2 = 3.2 , and as a2 decrea ses the co m plex ro ots ha ve p ositive rea l pa rts. Using the prog ra m ba sed o n the Tsyp kin m etho d no limit cycle wa s found for a2 > 3.2 but several unstable limit cycle solutions were found as a2 was decreased below 3.2. In particular an almost sinusoidal uns table limit cycle was found together with several spiral type unstable limit cycles. When a2 was red uced to 2.8 o ne of the sp iral limit cycles b eca m e stable a nd is sho wn in Fig ure 6.9. Thi s m a y b e ref erred to as a 3 spiral beca use of the num b er of o scillatio ns. For 2.8 < a2 < 3.2 the va rio us unstab le limit cycles ha d diff erent num b ers of spirals apart from the almost sinusoidal one which bounded all the others. Simulatio ns starting with ini tial conditions inside this bounding limit cycle resulted in chaotic mo tion with the motio n jumping between different spiral type uns table limit cycles as shown in Figure 6.10.
Figure 6.9 Three spiral limit cycle (taken from reference 6.19)
Figure 6.10 Chaotic spiral type motion (taken from reference 19)
113
6.8 Conclusions
This chapter has shown how an analysis based on a method originally formulated b y Tsypkin ca n be used to find the exa ct form of lim it cycles in rela y system s. In a d ditio n to eva luating the lim it cycles the m etho d a lso allo ws their sta bility to be fo und . The evalua tio n of the lim it cycles, ho wever, req uires investig atio n of the solutio n o f no nlinear alg eb raic eq uatio ns whose number increases with the number of pulses per period at the outp ut of the relay. This is not a problem if the ap proa ch is imb edd ed in co m p uter prog ra ms with intera ctive grap hics as d escribed a bo ve f or so m e interesting exa m ples studied using software written in FORTRAN. It is also possible to extend the method to cover systems with more tha n one relay as well as relay feedback systems with harmonic inputs.
6.9 References
6.1 Bohn, EK 1963, The transform Analysis of Linear Systems, Addison Wesley, New York
6.2 Ha m el, B 1950, Etud e Ma them a tiq ue des System es a plusieurs Deg rees d e Lib erte Decrits p a r d es E q uatio ns Linea ires avec un Terme de Commande Disco ntinu. Proc.Journees dEtude des Vibrations, AERA,Paris. 6.3 Tsyp kin, Ya Z 1984, R ela y Co ntrol System s Ca m b ridg e U niversity Press, Ca m b rid g e, E ngla nd (E ng li sh versio n of m uch earlier Russian edition).
114
6.4 Chung, JK-C & Atherton, DP 1966, The Determinatio n of Periodic Modes in Relay Systems Using the Sta te Space Approach, Inter national Journal of Control, Vol 4, pp 105-126. 6.5 Majhi, S & Atherton, DP 2000, On-Line Tuning of Controllers for An Unstable FOPDT Process, lEE Proceedings Control Theory and Applica tions, Vol. 147, No.4, pp. 421-427. 6.6 Atherton, DP 1966, Conditions for Periodicity in Control Systems Containing Several Relays, Paper 28E, 3rd IFAC Congress, London, 6.7 Atherton, DP 1982, Oscillations in Relay Systems, Trans InstMC, Vol 3, pp 171-184. 6.8 Wa d ey, M 1984, E xtensio ns of Tsypk in s Metho d f o r Co m p uter Aid ed Co ntrol System Desig n, DPhil Thesis U niversity of Sussex, England. 6.9 Willems, JL 1970, Stability Theory of Dyna mical Systems. pp 112-113. Nelson, London 6.10 Bala subra m a nia n, R 1981, Sta bility of lim it cycles in f eedb a ck system s co nta ining a rela y IE E Pro c. D Co ntrol Theo ry and Appl. Vol 128, pp24-29. 6.11 Wadey, MD & Atherto n, DP 1982, Limit Cycles in Relay Systems, American Control Conference, Arlingto n, Virginia, USA. 6.12 Atherton, DP & Wadey, MD 1982, Co mputer Aided Analysis and Design of Relay Systems. IFAC Symposium on CAD of MV Tech. Systems, Purdue, USA, pp 355-360. 6.13 Atherton, DP 1993, Analysis and Design of Relay Control Sys tems, CAD for Control Systems, Chapter 15, Marcel Dekker, pp 367-394. 6.14 Rao, UM & Atherto n, DP 1977, Stability Analysis of a Structurally Flexib le Spacecraft. 20th Mid west Symposium on Circuits and Systems, Lubbock, Texas, pp 652-656. 6.15 Rao, UM and Atherton, DP, M ulti-Pulse Oscillatio ns in Relay Systems, Proceedings 7th IFAC World Congress, Helsinki 1978, Vol 3, Pergamon Press, pp 1747-1754.
NNE P harmaplan is t he w orlds leading enginee ring and consulta ncy company focused entire ly on the pharma and biotech indu stries. We employ more than 1500 people w orldw ide and offer global reach and lo cal know ledge along w ith our all-en compassing l ist of serv ices. nnep harmaplan.com
115
6.16 Ra o , U M, Atherto n, DP & Ba la subra m a nia n, R 1978, Sim ulatio n a nd Estim a tio n Stud ies o f a Sa tellite Attitud e Co ntrol System. lM ACS Symposium on Simula tion of Control Systems, Vienna, pp 215-221. 6.17 Moeini, A & Atherton, DP 1996, The Determina tion of Limit Cycles in Mode Dependent Relay Systems, IFAC Congress, San Francisco, Vol E, pp 43-48. 6.18 Atherto n, DP, McNa m a ra, 0P, Wa d ey, MD & G o ucem , A 1985, SU NS: the Sussex U niversity No nlinear Co ntrol Systems Software, 3rd IFAC Symposium on Computer Aided Design in Co ntrol Engineering Systems, Copenhagen, pp 173-178. 6.19 Atherton, DP 1990, Predicting the Auto nomous Behaviour of Simple Nonlinear Feedback Systems, IMSE -90 Conference, Arlingto n, Texas. Published in App. Mech. Review, Vol 43, October 1990, pp 251-260. 6.20 Choud hury, SK & Ather ton, DP 1974, Limit Cycles in Hig h-Order Nonlinear Systems. Proceedings lEE, Vol 121, pp 717-724. 6.21 G enesio , R & Tesi, A 1992, Ha rm o nic -Bala nce Metho d s f or the Ana lysis of Cha o tic Dyna m ics in No nlinea r-System s, Automatica, Vol 28, pp531-548. 6.22 Am ra ni, D & Atherto n, DP 1989, Desig ning Auto no m o us R ela y System s With Cha otic Mo tio n, 28th IE E E Co nf erence on Decision and Control, Florida, Vol 1, pp 512-517. 6.23 Wadey, MD & Atherto n, DP 1986, A Simulatio n Study of Unstable Limit Cycles, IFAC/IM ACS Symposium on Control Systems, Vienna, pp 213-218.
6.10 Appendix
The appendix presents formula from which the A loci of various transfer functions can be evaluated. This is done by putting any transfer function into partial fractions in terms of the simple transfer functio ns given in Table 6.1 and then using the results for their A loci given in Tables 6.2 and 6.3.
The results fo r tra nsf er f unctio ns with real p oles are def ined in term s of sine a nd co sine series a nd f o r the co m plex po les in terms of so m e p ara m eters. The results are given f or the A lo ci in Ta ble 6.2. The def initio ns of the sine a nd cosine series a nd the results fo r the tra nsf er f unctio ns are g iven in Ta bles 6.2(a ) a nd 6.2(b ). The pa ra m eters fo r eva luating the co m plex transfer functions are given in Table 6.2(c). Similar results for the A loci are given in Tables 6.3, 6.3(a), 6.3(b) and 6.3(c), respectively.
116
1/ (1 + sT)
117
118
119
120
121
122
123
124
125
When co m missio ning or exa mining co ntrol loo ps engineers or p la nt op erators often f o und that with sug gested o r existing PID p ara m eter setting s the lo o p p erf o rm a nce wa s not satisf a ctory. Thus the o b vio us q uestio n arose, what co uld o ne d o on the job to get better parameter settings. Enter Ziegler and Nichols [7.1] who in their 1948 paper suggested two, in principle, simple approaches:1. Perform an open loop step response on the plant. From this response estimate the parameters of a first order plus dead time (FOPDT) model. Then set the controller parameters using given formulae involving the estimated plant parameters 2. With the plant under closed loop control put the co ntroller into the P mode. Adjust the gain until an oscillation results, measure its frequency and record the P gain. Then set the co ntroller parameters using given formulae involving the oscillatio n frequency and the P gain. They ref erred to their a p pro a ches a s p ara m eter tuning , which seem s log ica l a s wha t wa s d o ne, po ssibly b y a technicia n, was perform a system test a nd from the readings calculate the co ntroller parameters according to the given formula e, q uite a sta nd ard eng ineering ap p ro a ch. To d a y ma ny p a p ers ref er to p ara m eter tuning whe n the values are calculated starting fro m a m a them atical m o del of the p la nt, wh ich d o es not seem the correct terminolo g y, a s o ne never sees the term used for obtaining the parameters of other fixed controllers, such as lead or lag controllers, by this approach. The Z-N methods consist of two parts, which is not often clearly stated, namely a testing identificatio n procedure and then the use of their tabulated formula to set the parameters. The identification procedures in the tests are: 1. An estima ted FOPDT model from the step response. This was chosen because it was judged to be a reasonable model for many simple processes, although other models could be fitted to the response if felt more appropriate. It should be noted that in the early days of control the standard experimental identificatio n tests were step and/or frequency responses. 2. An estima te of the so-called critical point (or gain margin point) of the plant, namely the gain and frequency value, c, when the plant gives a phase change of -180. This, is of course, a small bit of informatio n about the plant, and the major contribution of Z -N was to recognise the value of this informatio n. Their suggested co ntroller pa rameters based o n the measurements from both tests were b ased o n desig ns to give a relatively high overshoot, around 25%, in the closed loop step response. Given the identificatio n result of 1, na m ely a n FOPDT pla nt m od el, then there are b asically a n infinite num b er of a na lytical ap p ro a ches which ca n b e used to calculate PID co ntroller p ara m eters. The p oint is tha t the a pp roa ch used sho uld m eet sp ecified perf orm a nce criteria which a re ap plicatio n d epend ent a nd m a y, of co urse involve co nsid eratio ns rela ted to inp ut step a nd disturb a nce resp o nses, no ise, no nlinea rity a nd o ther f a ctors not usually m entio ned in sim ple a p proa ches. If the sp ecificatio ns ad d ress a desired clo sed lo op step resp o nse b eha vio ur, as m a ny d o , then a n op en loo p f req uency d o main
approach is indirect and in general will require iteration to achieve the desired closed loop performance.
126
Both the Z-N identificatio n m ethods ha ve problems in pra ctice. In the first test noise in the measurement affects the accuracy of getting the FOPDT model a nd it cannot, of co urse, be used for an open loop unstable plant. If used as intend ed, ho wever, for pla nts in which o ne ha s rea so na ble co nfid ence ha ve essentially the assum ed d y na m ic b eha vio ur, a nd no t a ny bla ck b o x m o d el, then the id entified p a ra m eters no rm al p ro vid e a sa tisfa ctory m o d el f or a nalytical d esig n m etho d s [7.2]. The seco nd test is extrem ely d ifficult to im p lem ent in pra ctice as m a ny pro cess pla nts ha ve slo w d yna m ic s, so the rea ctio n to a cha ng e in lo op g ain is slo w. Further the p rinciple is b ased o n linear d yna m ics a nd a ctuators inva riably ha ve d ead zo nes a nd ind eed witho ut saturatio n of so m e f o rm da ng ero us a m plitude o scillatio ns ca n result fro m too large a n increase in the P g ain. It is, of co urse, a test which ca n b e p erf o rm ed id eally in sim ula tio n using a m o d ern d ig ital sim ula tio n la ng ua g e, althoug h it was not easy on an analogue computer simulatio n and can be, as mentioned, a nightmare in practice. R eco g nising these p ra ctical difficulties with the test, Astro m a nd Hag glund [7.3] sug g ested rep la cing the P g ain co ntrol by a n id eal rela y, which b eca m e sim ple to im plem ent with the m o ve to micro p ro cessor co ntrollers in the 80 s. The q uestio n then arises, having replaced the P control by a relay, as to how one uses the resulting limit cycle to obtain informatio n about the plant. The earlier chapters provide the information for doing this.
ar Thus when the nonlinearity is an ideal relay and denoting the limit cycle frequency by o, one has ArgG (j~o) = - 180c and G (j ~ o ) = ar/4h 127
(7.4)
An Introduction to Nonlinearity in Control Systems This shows that the DF analysis yields ~c = ~o and G (j~c) = ar/4h = 1/Kc
(7.5)
for the frequency and mag nitude of the critical point, where Kc is the critical gain. Due to the approximation of the DF method this result is approximate and is normally more accurate the nearer the limit cycle is to being sinusoidal. It sho uld also be noted tha t a is not the amplitud e of the limit cycle at the rela y input but the amplitud e of its fundam ental. Most practical implementatio ns measure the peak to peak limit cycle amplitude and take a to be one half of this. It is po ssible to includ e a d ditio nal co m p utatio n softwa re in the co ntroller to ob tain a b etter estim ate of the f und a m ental a b ut in view of the ina ccura cies in measurem ent it is p ro ba bly not justifia ble in m a ny insta nces.. O n the other ha nd so m etim es easy corrections are possible [7.4] for example if the limit cycle is almost triangular, as it is for an FOPDT plant with sma ll tim e d ela y, then o ne ca n calculate the f und a m ental f ro m the p eak value. Also the theory gives a b etter p ercenta g e accuracy for the frequency tha n the amplitude [7.5]. If time is no object in performing limit cycle experiments then one can:(1) normally get more accurate measurements by averaging over several cycles. (2) vary the hysteresis in the relay to get additional results (3) include kno wn extra linear elements in the loop to get additional results (4) get improved results from the DF method by making the limit cycle nearer to a sinusoid with the inclusio n of a known tuned filter.
128
Typically (2) a nd (3) ca n b e used to g et ad ditio nal p oints [7.6] to that of the critica l point o n the pla nt freq uency resp o ns e a nd iterative tuning of a reso na nt filter [7.6] ca n a chieve (4) b y p rod ucing a p ure sinusoid al lim it cycle a t the pla nt critical frequency, which then yields the exact value of the critical point apart from, of course, measurement errors. The tuned filter wa s intro d uced in [7.6] in a p ap er co ncerned with the d esig n of no nlinea r PID co ntrollers f or no nlinea r pla nts, where to g et b etter inf orm a tio n o n the pla nt freq uency resp o nse a sinuso idal inp ut wa s req uired . A big a d va nta g e of the rela y a utotuning method is tha t the a m plitud e of the limit cycle ca n b e co ntrolled b y the setting of the rela y o utp ut levels, a n d this a voids one of the pra ctical problem s of the second method of Z-N. Further o ne can use this feature to estimate whether the pla nt b eha ves rea so na bly linea rly a nd if no t use the results to d esig n no nlinea r PID terms as d iscussed in sectio n 9.5.
129
co ntroller K61 + sTi + (1/sTd @, Z-N chose to ta ke Ti = 4Td and it is easily shown tha t their choice for Td and K places the critical frequency o n the compensated lo cus at a gain of 0.66 a nd p hase a ngle of -155. The corresponding point for their suggested PI p ara m eters is 0.46 a t a p ha se a ngle o f -191. These choices, a s fo r their f irst m etho d , tend to pro d uce clo se d lo op step responses with a relatively hig h overshoot.
130
Thus the success of PID co ntroller design based o n critical point informatio n is o ne of k nowing where the critical frequency sho uld b e o n the co m p ensated lo cus to, ho p ef ully, m eet the d esig n specifica tio ns. Given so m e id ea of the p la nt tra nsf er functio n it is relatively straig htfo rward to co me up with go o d strategies. Fo r exa m ple, in ref erence 7.9 op tim um pa ra m eters are f o und f o r PID co ntrollers to m inim ise integral of erro r p erf orm a nce ind ices f o r a step inp ut to a clo sed lo op with an FOPDT plant. These are given for minimization of the ISE, ISTE and IST 2E. Typically as the time weig hting increases the o versho o t d ecrea ses, the rise tim e is slo wer a nd the settling tim e increases slig htly. The lo catio n of the critical freq uenc y o n the co m p ensated Nyq uist lo cus ha s also b een calcula ted f o r these d esig ns so that critical f req uenc y shifting d esig ns can be used for other similar plant transfer functions. Minimiza tion of the ITSE typically leads to a design with around 10% overshoot. Many different design approaches are possible for deciding where to place the critical frequency. Also, depending on the application different requirement specificatio ns may have to be met. One m ig ht b e tem pted to sa y tha t k no wing a bit of inf o rma tio n a b o ut a pla nt tra nsf er f unctio n, na m ely its critical p oint, cannot be anything like as good as having an experimentally measured open loop plant step response, in principle a multiplicity of points. The problem is that measured step response results are not ex act with large amounts of noise often present in industrial measured data. To illustrate a point consider the two step responses in Figure 7.1, curve (a) is for a chosen transfer functio n and curve (b) for a transfer function derived from it by a model reduction technique. On this basis, particularly if the response of (a) had resulted from measurements contaminated by noise, one would ha ve clearly co nclud ed tha t the tra nsf er f unctio n of curve (b ) wo uld b e a go o d m o del to use fo r co ntroller d esig n f or th e original transfer function (a). Now go to Figure 7.2 and look at the corresponding frequency responses. It can be seen tha t o ur p revio us co nclusio n is clea rly no t valid a s the tra nsf er f unctio n with the m od el (a) ha s a finite a nd m o d el (b ) a n infinite gain margin. Thus a poor design for say, a constant gain controller, would result from using model (b), one in fa ct which wo uld p rob a bly result in a n unsta ble system with the chosen tra nsf er f unctio n. The two tra nsf er f unctio ns a re 5.435 13s + 10 , respectively. s + 1.739s + 0.5435 (s + 1) (0.5s + 1) (s2 + 3s + 1)
131
and
www.foss.dk
132
7.3.1 An Example
Consider for example a pla nt with the transfer functio n G (s) = K p e - 0.5s (s + 1) 2 with Kp = 1.
The objective is to sho w that go od tuning ca n be o btained fo r a PID co ntroller ba sed o n a n a uto tuning test. Using a rela y of unit height the measured values of the amplitude of the limit cycle, A, and frequency, ~0 , from a simulatio n with no noise introduced were A = 0.287 and ~0 = 1.90 . Using equation (7.5) with a = A gives ~c = 1.90 and Kc = 4.44 which co m pa re with the a ctual va lues of 1.92 ra ds/s a nd 4.69 f o r the k no wn pla nt tra nsf er f unctio n. The norm alized g ain l = K p Kc and assuming K p = 1 has been found by other measurements l = 4.44 . The tuning formula, suggested in ref erence 8, which gives op tim um p ara m eters f or ISTE tuning (minimizatio n o f the integral sq ua red o f tim e m ultiplied by for these tuning parameters in the controller is shown in Fig ure 7.3 (response (1)) together with that for controller parameters of K = 2.42, Ti = 1.99 and Td = 0.63 obtained by minimizatio n of the ISTE criterio n (response (2)) for this kno wn plant transfer functio n. The results are very similar considering the approximations involved and the simplicity of the auto tuning approach.
error) of a FOPDT plant based on l, Kc and ~c , gives K = 2.55, Ti = 2.61 and Td = 0.40 . The unit step set point response
Figure 7.3 Step response comparison for autotuning (1) and IST E minimization (2)
133
When the relay is placed in parallel with the controller the feedback loop is as shown in Figure 7.4. To determine a limit cycle b y DF a nalysis o ne sim ply op ens the lo op a t the rela y a nd calculates the tra nsf er f unctio n, -Ge , b etween e o, the rela y output, and e i, the relay input, in the figure.
The basic equations (7.1-7.2) still apply but with G replaced by G e. It is easily shown tha t Ge = G 1 + G Gc (7.6)
where Tcl is the closed loop transfer functio n. Now consider the Nyq uist diagram of GGc , and denote its magnitude at the freq uency o f the lim it cycle, o , b y M a nd tha t of 1 + G G c , b y t M , as sho w n in Fig ure 7.5. The m a g nitud e eq ua tio n in (7.2) can no w be written M = ar which gives t = 1 Gc tM 4h and the correspo nding phase eq uation is z = 180c + Arg (1/Gc) where - z is the closed loop phase angle shown in Figure 7.4. (7.9) 4h ar Gc (7.8)
134
Since the transfer functio n in the controller is kno wn |Gc| and Arg Gc are known at the frequency, o, so that equations (7.8) a nd (7.9) ca n b e solved , resp ectively, f or , as a is k no wn f ro m the lim it cycle m easurem ent, a nd z . Using the co sine rule with the a ngle z f o r the tria ngle, since its sid es a re 1, M a nd M , the value of M ca n b e fo und . Arg (G G c ) ca n also b e found from the tria ngle so that both the magnitude a nd p hase of the frequency respo nse of G at the freq uency , o , can be calculated . This will o nly b e the critical f req uenc y fo r G if Arg G c is zero , that is if the test ca n b e d o ne with the co ntroller in the proportional mode. However, if o is near to the critical frequency then settings based on the critical frequency should produce satisfactory results. Alternatively, other theories can be produced for finding controller parameters with various types of plant for other frequencies on the plant frequency response locus.
135
7.4.1 An Example
As a n example results from sim ulations of the FOPDT plant with tra nsfer f unction G (s) = e K (1 + 2sT d) 2 in parallel with the PID controller having T = 4Td , so that Gc (s) = , are given. 4sTd
- 0.5s
s+1
The critical f req uency a nd g ain of this p la nt are, respectively, 3.67 rad s/s a nd 3.81 a nd fo r the sim ula tio n the pa ra m eters of the controller were set at the Z-N values of K = 2.284 and Td = 0.214. For the input step response this results in an o vershoo t of 52.5%. The a m plitud e a nd f req uency of the limit cycle at the inp ut to the co ntroller, which is sho wn in Fig ure 7.6, were measured as 0.680 and 4.30rads/s.
For the controller at = 4.30, Gc (j~) = 2.72 and ArgG c (j~) = 33.0c giving = 0.688 and = 147 from eqns. (7.8) and (7.9), respectively. Using the cosine formula for the triangle of Fig ure 7.5 gives M the magnitude of GGc at = 3.40 as 0.617, and applying the formula again gives , the angle below the real axis of M equal to 13.4, so that ArgGG c = -166.6. Using the kno wn values for the mag nitud e a nd arg ument of G c, then gives the mag nitud e a nd arg ument of G as 0.227 and -199.6. Despite the fact tha t the waveform is not a good sinusoid these value s are within 1% of the calcula ted values f ro m the tra nsf er f unctio n. The p rob lem no w b eco m es ho w sho uld this inf orm a tio n b e used to set th e controller parameters? Here use is made of the ISTE critical point design procedure of reference 7.8. For this plant the critical point needs to b e m o ved to 0.58 a t -153, which m ea ns the PID g ives a p ha se lea d o f 27. Thus f or a hig her f req uency it will g ive m o re p hase lead , so that a reaso nable sug gestio n f or the freq uency 3.40 is to increase the shift b y aro und 25% to 35. This gives a p ha se of a pp ro xim ately -165 (199.6 -35) f o r this f req uency o n the co m pensated freq uency resp o nse lo cus. Since this p oint is nearer (-1, 0) tha n the critical freq uency p o int b y 12 a slig ht red uctio n in the m a g nitud e b y a ro und 10 % to th e value of 0.53 is taken. Using the same Ti/Td value as for the critical point shift design of reference 7.8, the required PID pa ra m eters a re K = 1.94, T d = 0.205 a nd T i = 1.152, resp ectively. The inp ut step resp o nse f o r this d esig n is sho wn in Fig ure 7.7 and as expected is compatible with an ISTE design.
136
7.5 Conclusions
This chapter has shown how informatio n can be obtained abo ut the linear d ynamics of a feedba ck loop from mea surements on limit cycles prod uced b y adding a rela y. In particular, the focus has b een placed on using the results to set the pa rameters of a PID controller, however the concep t can be used for deciding on appropriate parameters for other fixed structure co ntrollers. With m o d ern m icro pro cesso r co ntrollers the a pp roa ch is relatively ea sy a nd p ro vid es a go o d m etho d f or the a uto m atic tuning of co ntro ller p a ra m eters witho ut the need f o r m a them atical m od elling of the pla nt. Care, ho wever, ha s to be taken to ensure that safe plant operation will be possible under relay control.
7.6 References
7.1 Ziegler, JG & Nichols, NB 1942, Optimum Settings for Auto matic Controllers, Trans ASME, Vol 64, pp 759 -768. 7.2 Atherton, DP, 2009 Control Engineering Boo kboon publications at www. bookboon.co m 7.3 str m , KJ & Hg glund , T 1984, Auto m atic Tuning of Sim ple R eg ula to rs with Specificatio ns o n Pha se a nd Am plitud e Margins, Automa tica, Vol 20, pp 645-651. 7.4 Atherton, DP 1997, Improving the Accuracy of Autotuning Parameter Estimates. Proce edings, IEEE Interna tional Conference on Control Applications, Hartford, pp 51-56. 7.5 Po po v, E P & Pal to v, N P 1963, Ap p ro xim ate Metho d s fo r Analyzing No nlinea r Auto m atic System , E ng lish tra nslatio n, Wright Pa tterson Air Force Base translation services. 7.6 Atherton, DP, Beno uarets, M & Nanka-Br uce, O 1993, Design of Nonlinear PID Controllers for Nonlinear Plants, Proceedings IFAC World Congress 93, Sydney, Vol 3, pp 355-358. 7.7 Majhi, S & Atherton, DP 1999, Autotuning and Controller Design for Processes with Small Time Delays. Proc IEE Control Theory and Applica tions, Vol 146, pp 415-425. 7.8 Kaya, I & Ather ton, DP 2001, Parameter Estimatio n from Relay Autotuning with Asymmetric Limit Cycle Data, J. of Process Control, Vol 11, pp 429-439. 7.9 Zhuang, M & Atherto n, DP 1993, Automatic Tuning of Optimum PID Co ntrollers. Proc.IEE Control Theory and Applicatio ns, Vol 140, pp 216-224. 7.10 Astrom, KJ 1996, Tuning and Adaptatio n, Plenary lecture, IFAC Co ngress, San Francisco. 7.11 Atherton, DP 2006, Relay Auto tuning: An Overview and Alternative Approach, Ind. Eng. Chem. Res. Vol 45, pp. 4075-4080. 7.12 Majhi, S & Litz, L 2004, Relay Based Closed-loop Tuning of PID Controllers, Automa tisierungstechnik, Vol.52, pp.202-20.
137
sta bility a nd req uires the o utp ut to b e b o und ed f or a b o und ed -inp ut sig na l. These two f orm s of sta bility are, o f co urse,
characteristic as they only use limited information on the no nlinearity. On the other hand a mathematician may argue
138
Student Discounts
Please click the advert
Student Events
Happy Days!
2009
139
(8.2)
where the matrix Q, which is nxn for x an n vector, is chosen to be symmetric. In this case it is known that a necessary a nd sufficient co nditio n f or the q ua d ra tic f orm of (8.2) to b e p o sitive d efinite is that the d eterm ina nts of a ll the principle leading minors of Q be positive. For it to be positive semi-definite all the principle minors, not just the leading ones, must be non-negative.
140
Q (x) = x Qx
(8.3)
141
# n (z) dz
(8.9)
He was able to obtain necessary conditions for V(x, z) to be a Lyapunov function with (a) the nonlinearity confined to the sector [0, K] and all the eigenvalues of A in the left half plane and (b) the no nlinearity co nfined to the sector [, K] and all the eigenvalues of A confined to the left half plane or on the imaginary axis. Perhaps most importantly it led to results being found in the frequency domain which are more easily used by the engineer.
x (t) =
0
Definition 6 The A matrix of a transfer function G(s) is Hurwitz if all of its eigenvalues lie in the left ha nd side of the s -plane. This will be denoted A ! " A1, Definition 7 If the A matrix is Hur witz apart from one eigenvalue at s = 0 then A ! " A0, Definition 8 If the clo sed lo op system of Fig ure 3.1 has o nly eigenvalues in the left ha nd side s -pla ne , when the no nlinearity is repla ced by a linear gain k, this will be denoted by Ak ! " A1,
142
A no nlinea rity n(x) which is a real, co ntinuo us, single valued , scalar f unctio n o f x, with n(0) = 0 b elo ng s to the cla ss " N , if k1 # n (x) /x # k2 for x ! 0 and is denoted by n (x) ! 6k1, k2 @. Definition 10 Slope bounded nonlinearity A no nlinea rity n(x) which is a real, co ntinuo us, single valued , scala r f unctio n of x, with n(0) = 0 belo ng s to the cla ss " M , if m1 # dn (x) /dx # m2 for x 0 and is denoted by nl (x) ! 6m1, m2 @ Definition 11 Monotonic nonlinearity A nonlinearity belo nging to class - {M} which also has m 1 # 6n (x 1) - n (x 2) @ / 6 x 1 - x 2 @ # m 2 for all finite x1a nd x2x 1 belo ngs the class {M m}
143
The clo sed lo op pro p erties f o r the a uto no m o us system co nsisting of a no nlinea rity n(x) a nd pla nt tra nsf er f unctio n G (s) in the fo rwa rd p ath are not cha ng ed if a neg ative f eed ba ck pa th with g ain is pla ced a ro und the pla nt a nd a f eedf orwa rd path of gain is placed around the nonlinearity as shown in Fig ure 8.1.
and if n(x)! 6 k1, k2 @ the new no nlinearity G (s) 1 + tGof the linear d yna mics changes the sector of (s) nt (x) ! 6 k1 - t, k 2 - t @ . The tra nsformatio n as well as changing the poles
the no nlinearity but not the sector width defined by k2-k1 for n (x) ! 6k1, k2 @ 8.4.2. 2 Zero transformation The added paths of gain in the zero transformation are the reverse of those in the pole transformation, tha t is the k1 feedback path is around the nonlinearity and the feedforward path in parallel with the linear dynamics. The new loo p k2 elements are Gv (s) a nd nv (x) where Gv (s) = G (s) - v a nd nv (x) ! ; E , 1 + vk1 1 + vk2
where is an arbitrary small constant. When A k ! " A0, for k = 0 then the result is tr ue for n (x) ! 6f, k @ where is a small positive constant. Equatio n (8.10) can be written as Re (G (j~) 2 - k- 1 + q~ Im G (j~) (8.11)
If the real and imaginary axes of the Nyquist plot are denoted by x and y then this means tha t for stability the Nyquist plot of G (j~) should lie to the right of the straight line x = - k- 1 + q~y 144
which is a f unctio n of the f req uency , so the line ha s to b e cha ng ed fo r ea ch f req uency o n G (j ~ ) . The result is usua lly interpreted graphically in the frequency domain using the Popov locus Gu (j~) = Re G (j~) + j~) + j~ Im G (j~) The theorem can then be stated as, A sufficient co ndition for the system to b e asymptotically stable is that the Popov lo cus
Gu (j~) lies to the right of a straight line with finite slope passing through the point (-k-1,0), provided lim sG (s) 2 - k- 1 The slope of the line is q-1 .
The graphical interpretatio n of the Popov criterion is shown in Figure 8.2 for two different Gu (j~) loci labelled G1 and G2. Assuming the transfer functions are such that the linear system will be stable for gains, k, in the sector k ! 60, kH @ , which is kno wn as the Hurwitz sector, then it is seen that the Hur witz and Popov sectors are the same for G2 but the latter is smaller for G1.
circle
well into the third q ua dra nt f or a ny releva nt values of . If q is ta ken eq ual to zero , ho wever, which is a sp ecial a nd m ore restrictive case of the Popov criterion, then the result is the follo wing theorem.
145
The system will be asymptotically stable for n (x) ! " N , and a linear tra nsfer functio n G (s) , here the circle D has its centre o n the negative real axis of the Nyq uist diagram and passes thro ugh the points ( - k1 - 1, 0) and (- k2 - 1, 0) if (i) for 0 1 k1 1 k2 the Nyquist plot of G(j) encircles the circle D, P times counter-clockwise, where P is the number of poles of G(s) with positive real parts (ii) for 0 =1 k1 1 k2 the Nyquist plot of G(j) satisfies ReG (j) 2 - k2- 1 and P = 0. (iii) for k1 1 0 1 k2 the Nyquist plot of G(j) lies in the interior of the circle, D. The criterio n corresp o nds to the Nyq uist criterio n f or linea r system s f o r (i) with the Nyq uist critical point ( -1, 0) b eco m ing the circle D. Figure 8.3 illus trates the situa tion for two stable transfer functio ns G1 and G2 whose Nyquist plo ts close with a semicircle in the right half plane and the circle is for a nonlinearity in the sector [1,3]. The closed loop nonlinear system with G 1 is sta ble a ccording to the criterio n b ut no co nclusio n ca n b e rea ched a bo ut G 2. It sho uld b e no ted tha t as k 1 tends to zero the circle tend s to a vertical straig ht line thro ug h - k 2 - 1 . Ob vio usly, a disa d va nta g e of the criterio n f or autono mous systems, since it is a special case of the Popov criterion, is that it produces more conservative results.
MAERSK INTERNATIONAL TECHNOLOGY & SCIENCE PROGRAMME Are you about to graduate as an engineer or geoscientist? Or have you already graduated? If so, there may be an exciting future for you with A.P. Moller - Maersk.
www.maersk.com/mitas
146
It is interesting to compare this result with the DF method as for any nonlinearity n (x) ! " N , it was sho wn in sectio n 3.3 that N (a) ! " N , so the DF for the class N of sing le va lued nonlinear ities is the d ia meter of the circle of Fig 8.3. Thus for DF stability G(j) sho uld not cut the diameter of the circle. Aizermann conjectured tha t DF stability was correct b ut the so -ca lled co unter exa m ple o f Fitts g iven in sectio n 5. 5 sho ws this to b e untrue. The f ea ture of the Fitts exa m p le which brea ks DF stability d o wn is that G (j) exists in bo th the seco nd a nd third q ua dra nts (d efined in a co unter clo ck wise direction from the first quadrant within the positive axes). It is interesting to note that if G(j) is confined only to the third a nd f o urth q ua d ra nts then DF stability ca n b e p ro ved b y the m ore general circle criterio n d iscussed at the sta rt of this sectio n. Since this is a typical regio n fo r m a ny Nyq uist lo ci, tha t is the pla nt tra nsf er f unctio n has a p ha se lag between 0 and 180, this result may be regarded as the small phas e shift stability theorem.
147
Remark Since the dia m eter of the circle ca n b e ma d e very la rg e the limit of the cho rd is the line between the p oints ( - m 1- 1 , 0) a nd (- m2- 1, 0) . Thus for a monotonic no nlinearity instability can only occur if the Nyquist locus exists in both the second a nd third q ua d ra nts. This a g ain sho ws why a G (j) like that in the Fitts co unterexa m ple b reak s d o wn a DF sta bility typ e result based on the slope bounds of the nonlinearity which was conjectured by Kalman.
8.6 Examples
Several examples are presented in this section to allow co mparisons of the various approaches. Example 1 Co nsid er a system with a n o pen loo p tra nsf er f unctio n of G (s) = k (1 - s) /2 (1 + s) . Substituting s = j ~ , with k = 1, gives G (j~) = Gu (j~) = 1 - j~ 2 (1 + j~) 2 1 - ~2 ~ ) (1 +
2
= -
2 (1 j~ ~ ) (1 - + ) 2
2
(1 - ~ 2 ) 2 (1 + ~2 )
j~ (1 + ~ 2)
j~2 1 + ~2
exp ressio ns fo r X u a nd Yu gives the straig ht line Yu = X u - 0, 5 . The lo cus starts a t (0.5,0) f or = 0 a nd finishes at ( -0.5, -1) for = . Fig ure 8.5 sho ws the Nyq uist a nd Pop o v lo ci, with the latter d ra wn fo r p ositive f req uencies o nly. It is clea r tha t a line ca n b e dra wn thro ug h the o rigin with slo p e a p pro xim a tely 2.0 so tha t the Po po v lo cus lies to its rig ht. This m ea ns a k equal to infinity, however the criterion also requires lim sG (s) 2 - k- 1 , which gives - 2- 1 2 - k- 1 , that is k < 2 . The Hurwitz sector is (-2, 2) so that the Hurwitz and Popov criteria are the same for positive gains.
148
Example 2 Consider a nonlinear feedback system with G (s) = - 1/ (1 - sT1) (1 + sT2) and a nonlinear element in the sector n (x) ! (k 1 , k 2 ) . It is req uired to f ind co nd itio ns f or sta bility of the closed lo o p system . The cha ra cteristic eq ua tio n fo r th e linea r system with a lo op gain of k is sT 1 T 2 + s (T 1 - T 2 ) + k - 1 = 0 so tha t the Hurwitz secto r is (1, ) pro vid ed T 1 >T 2 . Fo r the no nlinea r system the Po po v criterio n ca nno t b e a pp lied directly a s G (s) is no t stable, that is Ak g " A 0, f or k= 0. Ho wever
2
Now G(s) is stable provided T 1>T2 and >1 and since the Popov locus of G(j) is entirely within the lower half pla ne the Popov sector for n (x) is (0,) which gives stability for n(x)! (1,) , provided T1>T2, in agreement with the Hurwitz sector. For n(x)! (1, ) the circle D for the circle criterion is a unit circle with centre at (-0.5, 0). It is easy to show tha t the Nyq uist plot of G(s) will lie within this circle for all T 1, T2 so that stability canno t be proved. Example 3 s + 0, 8 s (s + 0.1) (s2 + 0.3s + 9) the Hurwitz sector is greater than the Popov sector. As ~ " 0 , the real part of G(j) tends to -7.81 so that the locus will lie to the right of a vertical straight line passing throug h (-7.81,0), giving a gain for stability of k<1/7.81=0.128. A Popov line d ra wn to keep the Po p o v lo cus to the rig ht intersects the neg a tive real a xis at a ro und -3.40 so to sa tisf y the Po p o v criterion k<0.29. Similarly a line drawn to keep the Nyquist locus to the right will intersect the negative real axis at -0.48 giving k<2.08 for stability. Finally for the linear system the maximum gain for stability from the Hurwitz sector is 2.61.
149
nl (x) ! " 0, k , . The Nyquist and Popo v loci for the tra nsfer f unction are shown in Fig 8.6 from which it ca n be seen that
8.7 Conclusions
In this chap ter so m e a b solute sta bility results ha ve b een presented p rim arily those using freq uency d o m ain criteria . Their major advantages are that they allow co mparisons with the approximate DF method and because of their formulatio n allo w stab ility to b e p ro ven f or cla sses of no nlinea rity, ra ther tha n a sp ecific o ne, so that they a re r o b ust to cha ng es in the nonlinearity. Their disadvantages are that results of their application can prove conservative for a specific nonlinearity and they are restricted in their applicability to a feedback loop with a single nonlinear element.
8.8 References
8.1 Mohler, RR 1991, Nonlinear Systems Vol1 : Dynamics and Control , section 7.2.2, Prentice Hall, New Jersey.
8.9 Bibliography
Atherton, DP 1982, Nonlinear Control Engineering, student editio n Appendix C,Va n Nostrand Reinhold, London. Atherton, DP 1981, Stability of Nonlinear Systems, Research Studies Press, John Wiley, Chiches ter. Aizermann, MA & Gantmacher, FR 1974, Absolute Stability of Regula tor Systems, Holden Day, San Francisco. Cook, PA 1994, Nonlinear Dynamical Systems, Second edition, Prentice Hall, New Jersey. Mohler, RR 1991, Nonlinear Systems Vol1 : Dynamics and Control Prentice Hall, New Jersey. Slotine, J-J & Li, W 1990, Applied Nonlinear Control, Prentice Hall, New Jersey. Taylor, JH & Narendra, KS 1973, Frequency Domain Criteria for Absolute Stability, Academic Press, New York. Vidyasagar, M 1978, Nonlinear Systems Analysis, Prentice Hall, New Jersey.
www.job.oticon.dk
150
151
In ma ny cases where nonlinearity occurs it may be possible to do a control design based on an approximate linear or linearized system model and then check b y simulatio n that the effects of the nonlinearity still allow the req uired p erformance to b e m et. Such a desig n m a y invo lve p ara m eter selectio n f or fixed co ntrollers lik e PID, or o ne of several state sp ace desig n m etho ds. The latter m a y use sta te va ria bles estim a ted us ing o bservers a nd altho ug h unlik e fo r linea r system s there is no rig oro us justifica tio n pro vid ed b y a sep aratio n principle the pro ced ure is effective. Tod a y mo st co ntro llers a re im plem ented using micro p ro cesso rs so that it is just a s easy to im plem ent a no nlinear co ntro l la w as a linea r o ne. When sho uld this be done and why? What are the advantages and disadvantages? In the f ollo wing sectio ns so m e d esig n m etho ds f or no nlinea r system s are m entio ned a nd ho p ef ully these will go so m e way to answering these questio ns. The topics, however, are only covered briefly to give a flavour of what is available a nd a lso b eca use to d o o therwise wo uld req uire the intro d uctio n o f a dd itio nal theoretical co ncep ts. Co m plete texts are a vailable o n m o st of the topics a nd ref erences will b e g iven in the ap p ro p ria te sectio ns. There are also several bo ok s tha t give a g oo d o verview of ma ny of the topics co nsid ered in this cha pter, such a s references 9.1 a nd 9.2. The la tter, ref erence 9.2, beca use of the a uthor s ind ustrial ba c kg ro und is p articularly interesting in off ering a m uch m o re pra ctical p ersp ective than is often the case.
9.2 Linearization
Nonlinear systems are often designed using linear methods based on an approximate linear model. Simulations may show tha t satisfactory performance may be obtained from a design using one linear model but in some situa tions this will not b e p ossible d ue to the larg e cha ng es in the b est linear m o d el with resp ect to the system o p erating p oint. Linea r controllers may then be designed for the different operating point models, or linearizations. The controller parameters are then sched uled in so m e ma nner b ased o n k no wledg e of the o perating point. Ma ny a pp roa ches a re p ossible which ca n b e co nfirm ed to wo rk sa tisfa ctorily in sim ulatio ns a ltho ug h there is so m etim es a la ck of rig o ro us theory to sup p o rt the techniques. The a p pro a ch is pa rticularly co m m o n in the a ero sp a ce ind ustry where a co m m o n a pp roa ch is to em plo y sta te f eedb a ck with the gains scheduled according to the specific operating point. The design is typically done off line in tha t a linear mathematical model is obtained for each operating point and then the required controller gains calculated and stored ready for implementatio n around tha t specific operating point. Various methods are also used to avoid discontinuous cha ng es o f co ntroller gains with cha ng e in the o p erating p oint. Two g o o d introd ucto ry ref erences fo r work in this f ield are [9.3, 9.4]. If a new m a them a tical m o d el is id entified d uring o peratio n then this p r o vid es a sta nd a rd f o rm of ad a ptive control. All co ntrol designs typical involve consideratio ns of system performance under plant cha nges and how severe
these m a y b e exp ected to b e will a ff ect whether a ro b ust d esig n ca n b e a cco m plished b y a sing le co ntro ll er or whether scheduled controllers or an adaptive control is required. Ma ny p ro cesses which need to b e co ntro lled in the chem ical ind ustry of ten ha ve q uite no nlinea r d yna m ics so these are sometimes controlled by PID controllers which allow the three PID terms to be scheduled according to the operating p oint. In recent years there has also b een a sig nifica nt a m o unt o f wo rk o n the to pic of m ultip le m o d els f o r use in b oth modelling and control [9.5]
152
153
So m etim es no nlinearity o ccurs in a mino r f eed ba ck p ath, fo r exa m ple, when the d a mping is a no nlinea r f unctio n of speed, unlike visco us friction which is assumed to vary linearly with speed. Obviously, if speed is measured then feeding back a no nlinea r f unctio n of this sig nal ca n be used to m a k e the to tal sp eed f eed b a ck linear. Pra ctically, ho wever, this m ea ns k no wing the f orm of the no nlinea r speed d a mping a nd m a y also req uire a n a dditio na l s ensor fo r speed m easurem ent o r the implementation of a speed estimator. A very commo n use of nonlinear compensation is for the prevention of integral windup, which is provided with most commercial PID controllers. As mentioned previously saturation always eventually occurs in a plant, whether it be the m a xim um torq ue fro m a mo to r, the m a xim um po wer fro m a hea ter, the m a xim um flo w thro ug h a valve a nd at this stag e further increase in the co ntroller o utp ut will not increa se the level of the system o utp ut, a l lo wing of co urse fo r a ny possible dela y in the resp o nse. If the co ntroller co ntains a n integ ra l term then its o utp ut will increa se in m ag nitud e a nd no t start to decrease until its input cha nges sig n. This ca n cause large o vershoots in the system respo nse a nd in the case of a n unstable plant, since the loop is basically open, possibly catastrophic behaviour. Thus, integral wind up protection is achieved by stopping the integration when the co ntroller outp ut signal reaches a certain level. Today, since PID co ntrollers use micro pro cesso rs va rio us software algo rithm s are used to im plement the pro ced ure, b ut in the d a ys of a nalog ue co ntrollers a sim ple ap p roa ch wa s to inco rpo rate a no nlinea r feed b a ck pa th aro und the integrato r. Ano ther a pp roa ch to a voidin g integral wind up [9.6] is sim ply to switch o n the integ ra to r o nly when nea r to the stead y state, which in so m e wa ys
seem s m o re lo gical a s the integ ra tio n no rm ally ha s a d esta bilising ef fect o n the lo op a nd the o nly reaso n it is usually includ ed is to elimina te steady state errors. A slight difficulty is in obtaining a suitable algorithm to implement the switching on
154
An Introduction to Nonlinearity in Control Systems and off conditions without causing transient problems.
155
When co nsid ering the initial co nditio n resp o nse of a seco nd o rd er system in sectio n 2.3.2 it was seen that the p ha se pla ne plot fo r a clo sed lo op system co nsisting of a rela y a nd a d o uble integra to r pla nt tra nsf er f unctio n co nsisted of pa rab olas. This corresp o nd s p hysically t o a p ositio n co ntrol system , a ssum ing a co nsta nt inertial lo ad a nd no f rictio n, being driven at constant acceleration, K, with the equatio n of the parabolas being x22 - x202 = ! 2K (x1 - x10) (9.2)
where x1 is po sitio n a nd x2 velo city. If the inp ut to the rela y is - x 1 - m x 2 the switching b etween p ara bo la s co rresp o ndin g to positive and negative acceleration (deceleration) takes place on the line - x1 - mx2 = 0 in the phase plane. It is easily a pp reciated tha t the fa stest po ssible wa y to the o rigin f ro m a n initial co nditio n of ( -h, 0) is to ha ve the m axim um acceleration of +K to a distance h/2 from the origin followed by the maximum deceleration of K to the origin. The final trajectory to the origin is the parabola x22 = - 2Kx1 , or if the motion starts from (h, 0), rather than (-h, 0), the final trajecto ry is x 22 = 2K x1 . Thus to a chieve a minim um tim e resp o nse in the id eal case these two p arts of p ara b olas sho uld form the switching curve no t the line - x1 - mx2 = 0 . A minimum time response will therefore be obtained if the input to the relay is - x2 x2 - 2Kx1 . This has been called a V|V| system [9.14]. It is, however, often implemented by having the switching bo und a ry a s - x2 + 2K sgn (- x 1) error) system. The optimal solution is seen to be dependent on knowing the system model, in this case the parameter K assuming negligible friction. If K is estimated, ho wever, the switching boundary can be adjusted by some adaptive strategy. - x1 = 0 , when it is known as the SERME (sign error root modulus
156
It is normally given in a more general form since if the inp ut to the relay is taken as s so that s = - x1 - mx2 = 0 is the switching line, the control signal, u, is given by
157
u = sgn (s)
(9.4)
As the motion in the phase plane is symmetrical the actual reachability condition using equatio n (9.3), or as can easily be shown from equation (9.5), is x2 < mK. (9.6)
When id eal sliding tak es pla ce the resulting m otio n is alo ng the switching line a nd is go verned b y the diff erential eq uatio n dt m disco ntinuo us a nd no t d efined o n the switching line. Ho wever, in ad ditio n whe n sliding tak es pla ce so = 0 a nd theref ore s = - xo 1 - mKu = 0 , giving u = - xo 1 /Km = - x2 /mK which is known as the equivalent control. Figure 9.3 shows the phase plane response for the system of Figure 9.2 from the initial condition (-1, 0). The switching line x 1 + x 2 = 0 is f irst m et with x 2 < 1 , the rea cha b ility co nd itio n of eq ua tio n (9.3) f or m = K = 1 , so sliding tak es pla ce. Fig ure 9.4 sho ws the system o utp ut, x1 , (Sco p e ); - x2 (Scop e3) a nd the a pp ro xim ate eq uivalent co ntrol (Sco pe 2) ob tained by filtering, u , which is shown in Figure 9.5 continuously switching during sliding. The approximate equivalent control can be seen to become equal to - xo 1 = - x2 during sliding as given by equation (9.7) for m = K = 1 . (9.7)
Figure 9.3 Motion in the phase plane for input from (-1,0)
158
then if the switching line is to be reached it requires lim s " 0 so < 0 a nd lim s " 0 so > 0 , which can be expressed as the single
s = 0, which in the ca se of the exa mp le is dx1 + 1 x 1 = 0 . The co ntrol a ctio n req uired to bring a bo ut this m otio n is
Let it no w be assumed that the plant model is not an ideal double integrator but has some nonlinear damping. This is illustrated in Fig ure 9.6 where the no nlinear da m ping ha s b een ma d e q uite sig nifica nt, whereas in p ra ctice o ne wo uld not expect such a sig nificant cha nge from the assumed model, so that the cha nge in the respo nse on the phase pla ne is clearly seen in Fig ure 9.7. The switching line is rea ched o n a diff erent tra jectory b ut o nce it is attained sliding tak es p la ce as bef ore.
159
The reachability condition for this example, from equatio n (9.6), is x2 < 1 and it may be that reachability is required for a larger regio n in the p ha se sp a ce. Co nsid er the co ntro l sig nal u to b e a sum m atio n of sta te f eed b a ck a nd the sig nu m functio n, so that u = k1 x1 + k2 x2 + tsgn (s) Then sso = s (- xo 1 - mxo 2) = s (- xo 1 - mK6k1 x1 + k2 x2 + sgn (s) @) Choosing k1 = 0 and k2 = - 1/mK gives sso = s6- mKtsgn (s) @ = - mKt s = - h s where h is a positive design scalar. Selectio n of sso < - h s is known as the h -reachability condition. The control signal u = - (x2 /mK) + tsgn (s) (9.8)
160
which is seen to b e the eq uivalent co ntrol of eq ua tio n (9.7) plus the sig num f unctio n. In this ca se the switching surfa ce is rea cha ble f ro m all reg io ns in the p hase pla ne. Fig ure 9.8 sho ws the Sim ulink dia gra m f o r this system a nd Fig ure 9.9 th e resp o nse f ro m a n initial co nd itio n of (-6,0). Curve (a ) is fo r the co ntrol la w of eq ua tio n (9.4), tha t is the system of Fig ure 9.2 and curve (b) for the control law of equation (9.8), that is the system of Figure 9.8. Also shown for the second case is curve (c) the response from (-6, 2).
Figure 9.9 Phase plane responses for the two different control laws.
Fro m the co nsid eratio ns of a sim ple seco nd order system it has b een seen that when the rea chability co nd itio n, given b y equation 9.5, is satisfied, sliding is obtained down the switching curve, which of course need not be linear. Further the m otio n ca n be reg ard ed as ha ving a n eq uivalent co ntrol a ctio n to pro d uce a slid ing resp o nse which is first o rd er, that is reduced by one, from that of the original system. The form ulatio n presented has used the ideal m athematical sig num f unction, which ca nnot be realised in practice, altho ug h it ca n b e nea rly id eal in so m e im plem entatio ns. Ho wever, the effects of very ra pid switching ma y ca use p ra ctical problem s such as rapid wear of components, so the ideal may be approximated by using hys teresis in the switching or using an s approximation to the sig num functio n such as sgn ( s) . where d is a small positive constant. s+d
161
162
corresp o nding k no wn o utp ut da ta f ro m the g iven system . Ob vio usly the success of the a pp ro a ch, a s we ha ve seen f ro m the interesting behaviour of nonlinear systems discussed in chapter 1, will be highly dependent on the structure used in the network rela tive to tha t of the a ctua l system . This will aff ect m a ny fa ctors such a s the a ccura cy of the m o d el, the required training time and indeed whether the behavio ur can be modelled, for example in the case of chaotic motion.
163
Altho ug h this type of black b o x ap pro a ch ca n b e usef ul, the im p orta nce of being able to inco rp orate p hysical k no wledg e into system modelling, particularly the structural connectio ns between linear and nonlinear elements, cannot be over emphasised. The simple example of illustrating the approximatio n of a static nonlinearity by a neural network provides a good illustration of this. Suppose one has two symmetrical odd nonlinear elements (i) ideal dead zone and (ii) a cubic. Further assume there is a choice of neural network structures for doing the modelling co nsisting of either (a) linear segmented nonlinearities or (b) power law characteristics. Both of these functio ns may be described as infinite approximators, as they can approximate any nonlinear functio n exactly by taking an infinite number of them. Thus if the approximators (b) are used for (i) and (a) for (ii), then indeed to get a good approximation a large number will b e required. However, if (a) is used for (i) and (b) for (ii) then only a small finite number will be required to get an exact result. For example, if the power laws are x n with n = 1, 3, 5 etc only the cubic term is required for (ii). Neural networks ha ve been used successf ully in m a ny a reas of science a nd engineering so there a re ma ny bo ok s o n the to pic. Two dealing with their application in control engineering are references 9.23 and 9.24.
164
Then it is not p o ssible to directly linea rize n 1 (x 1) b y the choice of u since the two q ua ntities are not in the sa m e eq uatio n. Altho ug h if the block dia gra m is d ra wn it is ea sily seen ho w the system ca n b e linearized if x 1 ca n b e measured o r estimated using a n ob server a nd a n a d ditio na l inp ut given to xo 1 . xo 1 , ho wever, is typically a n internal varia ble which ca nno t b e influenced directly. It is easy to see that a general form of state equation which will allo w exact feedback linearizatio n if all the states are available, known as the controllability cano nical form, with state vector x, is :Jx1N J KO x2 K N O (9.13)
K K . OK . O KK OO K O LxnP L f (x) + b (x) uP with the input u chosen to be u = (1/b (x)) (r - kx - f (x))
(9.14)
Here u consists of three terms, the new input r, the linear state feedback kx and a term to cancel the no nlinearity. The last line in the state equation becomes xo n = r - kx (9.15)
So the eq uatio n is linear between r a nd y a nd the sta te f eedb a ck g ain vecto r k ca n be cho sen to suita bly pla ce the system poles. This lo oks a ll rig ht in principle b ut o ne ob vio us difficulty is if fo r so m e x , b (x ) b eco m es sm all or zero . To co nsid er the situation further a more g eneral form of nonlinear state spa ce rep resentation will be co nsidered a nd so me definitio ns given.
In Paris or Online
Internat ional programs tau ght by professors and professionals from all over the world BBA in Global Business MBA in International Management / International Marketin g DBA in In ternational Business / Internat ional Mana gement MA in Internat ional Edu cation MA in Cross-Cultural Commu nication MA in Foreign Lan guages Inn ovative Practical Flexible Affordable Visit: www. HorizonsUn iversit y.org Write: Adm issions@horizonsun iversity. org Call: 01.42.77.20.66
www.HorizonsUniversity.org
165
K K x2 O x3 KO . O = KK o
O . O O, y = x1
where f, g a nd h are infinitely differentiable f unctio ns of the nth order state vector x. Obvio usly y does not d epend explicitly on u so that any cha nges in y will occur gradually via x. Differentiating the output equatio n one obtains y = hx (x) xo = hx (x) (f (x) + g (x) u) where hx (x) denotes the partial derivative of h(x) with respect to x, that is uh hx (x) = c ux1 ux2 , ..........n u h m uh, ux Equation (9.11) can be written yo = hx f + uhx g (9.19) (9.18) (9.17)
where the x dep endence of hx , f a nd g ha s b een o mitted f or sim plicity. It ca n b e seen tha t yo no w d ep end s directly o n u for at least some values of x, if and only if hx g ! 0 , and in this case the system will be said to have relative degree 1. If hx g / 0 then one ca n differentia te again to obtain yp = (hx f) xf + u (hx f) x g (9.20)
p The system is said to have relative degree 2 if hx g / 0 and (hx f) x g ! 0 so that y depends directly on u. Otherwise one can continue differentia ting until a derivative of y is directly dependent on u. It is useful to introduce some partial differential operators for the repeated differentiations, namely L f = f1 u + ..........fn u and Lg = g1 u + ..........gn u ux1 uxn ux1 uxn (9.21)
Lf is called the Lie d eriva tive in the directio n of f . If v d eno tes the relative d egree, which is the lo west d erivative of y that depends on v, then from the above results it can be seen tha t v = 1: Lg h ! 0 v = 2: Lg h = 0 Lg h ! 0 v = 3: Lg L f h = 0 Lg L2f h ! 0 etc. One thus has the following definitio n (9.22)
166
An Introduction to Nonlinearity in Control Systems Definition 1 The relative degree v is the least positive integer such that Lg Lvf- 1 h ! 0 .
It can be shown tha t this definition is consistent with that for a linear system where the relative degree is the difference in the degree between the polynomials of the numerator and denominator terms of the transfer functio n.
a linear rela tio n ship b etween the inp ut r a nd the vt h d erivative of the o utp ut. Here Lvf h a nd L g L vf- 1 h a re f unctio ns of x and in particular if the la tter is zero for any value of the state x the required control signal becomes infinite. If the coordinate change z = { (x) is made with J z1 N J h N K OK O K . 2 O K Lf h O zO K K OK O K f O K zv O K Lv - 1 h O KO O = K O KKzv + 1O K arbitraryO OK K.O K O . K . OK . O KK OO KK OO L zn P LarbitraryP (9.26)
(9.27)
167
An Introduction to Nonlinearity in Control Systems Then the new system description will be of the form J zo 1 N J z2 N KO K O o KzOK z3 O KO K O . K .O K O K zv O Kp (z) + uh (z)O o KO=K O K o zv + 1O K }1 (z, u) O KO K O . K .O K O K zn O K }n - v (z, u) O o KK OO K O z1 LyPL P for some functions p, h and } . The linearizing feedback is u = (r - p) /h which gives the closed loop system J zo1 N J z2 N KO o O KK z3 Kz O O KO K . O K .O K O K zo v O K r O KO =K O K zov + 1O K }1 (z, (r - p) /h) O KO K . O K.O K O K zo n O K}n - v (z, (r - p) /h)O O KK OO K z1 LyP L P
(9.28)
(9.29)
(9.30)
Destination MMU
MMU is proud to be one of the most popular universities in the UK. Some 34,000 students from all parts of the globe select from its curricula of over 1, 000 courses and qualifications. We are based in the dynamic yet conveniently compact city of Manchester, located at the heart of a sophisticated transport network including a major international airport on the outskirts. Parts of the campus are acclaimed for their architectural style and date back over 150 years, in direct contrast to our teaching style which is thoroughly modern, innovative and forward-thinking. MMU offers undergraduate and postgraduate courses in the following subject areas: Art, Design & Performance Computing, Engineering & Technology Business & Management Scienc e, Envir onm ent al Studies & Geogr aphy Law, Education & Psychology Food, Hospitality, Tourism & Leisure Studies Humanities & Social Science 168 Please click the advert
For more details or an application form please contact MMU International. email: internatio [email protected] telephone: +44 (0)161 247 1022 www.mmu.ac.uk/internatio nal
Thus the whole system has not been linearised and there is possibly some nonlinear dynamics affecting the states zv + 1, .........., zn . This dynamics is not visible in the outp ut and is called the zero dynamics of the system. If the above calculations are performed for a linear system then it is possible to show that the zero dynamics are the zeros of the transfer function from u to y.
(9.31)
9.10.4 Examples
Two examples are now considered to illustrate the method. Example 1 Consider the nonlinear system xo 1 = n (x1) + x2 xo 2 = - x2 + u Obviously the inp ut- outp ut linearisation is dependent on the outp ut y which affects h in equation (9.27). First let the output be taken as y = x1 + x2 . Differentiation of y sho ws that the first d erivative is dependent on u so that the system is of relative degree 1. From equation (9.27) this mea ns y = z1 = x1 + x2 and z2 can be chosen arbitrarily. Choosing z2 = x1 gives zo1 = n (x1) + u = n (z2) + u zo2 = xo 1 = n (x1) + x2 = n (z1) + z1 - z2
169
Choo sing u = r - n (z 2 ) , gives zo 1 = r a nd the no nlinear zero d yna m ics is given b y the ab o ve eq uatio n fo r zo 2 a nd will b e stable if z1 is bounded. Now as a second choice consider the output to be y = x1 then differentiating gives yo = xo 1 = n (x1) + x2 and yp = n' (x1) xo 1 + xo 2 = n' (x1) (n (x1) + x2) - x2 + u where n' (x) = dn (x ) dx . Thus choosing u = r + x2 - x2 n' (x1) - n' (x1) n (x1) gives yp = r . In terms of z
z 1 = x1 z2 = xo 1 = n (x1) + x2 = zo 1 and zo2 = r if the feedback u is taken as u = r - z2 n' (z1) + z2 - n (z1) . More directly from equations (9.24) and (9.27) z1 = y = x1 and z2 = L f h = 1 uh1 + f2 u h2 = (n1 (x) + x2) = x f o u x1 u x2 Lg L f h = g1 L 2f h = f1 x) u 6 n (u1 x 1+ x 2 @ x1) u 6 n ( ux 1+ x 2 @ + f2 + g2 u 6 n (u1x +2x2 @ x)
1
= 0 + 1 = 1 and
u 6 n (ux 1+ 2x2 @ x)
u = r + x2 - x2 n' (x1) - n' (x1) n (x1) as before. Consider now tha t it is desired to place both poles for the closed loop response to z1 at -1 then choosing u = r - z1 - 2z2 - z2 n' (z1) + z2 - n (z1) gives 01 0 zo = e - 1 - 2 oz + c1m r which has the required characteristic equation of s2 + 2s + 1 = 0 In particular if n (x1) = - x13 then the feedback in terms of z is u = r - z1 - 2z2 + 3z2 z12 + z2 + z13 a nd Fig ure 9.10 sho ws the sim ulink dia gra m fo r the system . The f eed ba ck in the bo tto m p art of the dia g ra m co rresp o nd s to the last three term s in the ab o ve eq uatio n fo r u, which witho ut f urther terms wo uld m ak e zo 2 = r . There are two positive feed ba ck no nlinear term s in these three to m a ke the system linear between the inp ut r a nd z , a nd the o ther two term s are the linea r o nes to pla ce b oth po les a t -1. The linear respo nses to z1 (Sco p e) a nd z2 (Sco p e1) fo r a step inp ut a s expected corresp o nd to tho se of tra nsf er f unctio ns 1/ ( s + 1) 2 a nd s/ (s + 1) 2 , resp ectively a nd tha t to z1 is sho wn in Fig ure 9.11.
170
Bioinformatics is the exciting eld where biology, computer science, and mathematics meet. We solve problems from biology and medicine using methods and tools from computer science and mathematics.
Read more about this and our other international masters degree programmes at www.uu.se/master
171
This ap pears to b e a ra ther co mp licated b ut interesting wa y o f obtaining a linea r inp ut -o utp ut respo nse b ut what ha pp ens if there a re m o d elling erro rs? To illustrate the pro blem s f or this pa rticular case let the a ctual no nlinea rity b e n (x 1 ) = ax 13 with 10% variations in a, that is with a equal to first 0.9 and then 1.1. Step responses are shown in Fig ure 9.12 for step seco nd the step m a g nitud e. Altho ug h three resp o nses are satisf a ctory the fo urth fo r a step inp ut ma g nitud e of 1.14 with a = 0.9 a ctua lly b eco m es unsta ble. This is no t surp rising in view of the stro ng p o sitive feed b a ck , wherea s the sta bility of the original system is no t a problem.
m ag nitudes of 1 a nd 1.14, resp ectively. The fo ur respo nses a re ma rk ed in the b oxes with the first num b er b eing , a, a nd the
Figure 9.12 Step responses for Example 1 with nonlinearity parameter changes.
172
An Introduction to Nonlinearity in Control Systems Example 2 Consider the third order system xo = x2 - ax1 xo 2 = - bx2 + n (x3) xo 3 = - cx3 + u y = x1 where n (x3) is any nonlinear element. This means x2 - ax1 h = x1 f = f - bx2 + n (x 3)p a nd - cx3 0 g = f 0 p, so that 1
L f h = f1 = x2 - ax1 L2f h = f1 (- a) + f2 = - ax2 + a2 x1 - bx2 + n (x3) L3f h = f1 (a2) + f2 (- (a + b)) + f3 n (x3) = - a x 1 + (a 2 + ab + b2 ) x2 - (a + b) n (x3 ) - cx 3 n' (x3) and Lg L2f h = n' (x3) Thus the required feedback to make zo n = r is u= 1 n' ( x 3)
"r + a3 x1 - (a2 + ab + b2) x2 + (a + b) n (x3) + cx3 n' (x3),
3
Thus if the three poles for the linear system in z are all to be placed at -1 then the required u is given by u= 1 n' ( x 3)
"r + abz2 + (a + b) z3 + cx3 n' (x3) - z1 - 3z2 - 3z3, .
Here if n (x3 ) = x 33 then n' (x 3 ) need s to b e lim ited to a sm all value when x 3 = 0 to limit the value of the sig nal u. It is also clea r that the m etho d ca n ea sily b e used if the no nlinea rity is linear seg m ented a s its slo p e is k no w n. Fig ure 9.13 sho ws the implementation in Simulink for the case of a = 0 and b = c = 1 and the linear segmented no nlinearity n (x3) = x3 = 0.3x3 + 0.7 = 0.3x3 - 0.7 for x3 < 1 for x3 > 1 for x3 < - 1
The Sco pe blo ck s a re co nnected to the co m p o nents of z a nd the o utp ut of the pro d uct b lo ck is the sig nal u. The rela y elements connected in parallel are used to give n' (x3) .
173
control signal u is given in equation (9.24) and since its denominator is a function of the state x it may no t be finite at
174
9.12 References
9.1 Glad, T & Ljung, L 2000, Control Theory: Multivariable and Nonlinear Methods, Taylor and Francis, London. 9.2 Friedland, B 1996, Ad vanced Control System Desig n, Prentice Hall, New Jersey. 9.3 Rugh, WJ 1991, Analytic Framework for Gain-Scheduling, IEEE Control Systems Magazine, Vol 11, pp 79-84. 9.4 Rugh, WJ & Sha mma, JS 2000, Research on gain scheduling, Auto matica, Vol 36, pp 1401 1425. 9.5 Murray-Smith, R & Johansen, TA, (Editors) 1997, Multiple Model Approaches to Modelling and Control, Taylor and Francis, London. 9.6 Bohn, C & Atherton, DP 1995, An Analysis Package Comparing PID Anti-Wind up Strategies. IEEE Control Systems Magazine, Vol 15, pp 34-40. 9.7 Nanka-Bruce, O and Atherton, DP 1990, Design of Nonlinear Controllers for Nonlinear Plants, IFAC Congress, Tallinn,Vol 6, pp 75-80. 9.8 Atherton, DP, Beno uarets, M & Nanka-Br uce, O 1993, Design of Nonlinear PID Controllers for Nonlinear Plants. Proc. IFAC World Congress, Sydney, Vol 3, pp 355-358. 9.9 McCausland, I 1969, Introductio n to Optimal Co ntrol, Wiley, New York. 9.10 Jacobs, OLR 1974, Introductio n to Control Theory, Chapter 9, Oxford University Press. 9.11 .Ryan, EP 1982, Optimal Relay and Saturating Control System Synthesis, Peter Peregrinus Ltd. Stevenage. 9.12 Athans, M & Falb, PL 1966, Optimal Control. McGraw-Hill, New York. 9.13 Lewis, FL & Syrmos, VL 1995, Optimal Control, John Wiley, New Yor k. 9.14 West, JC 1960, Analytical Techniques for Nonlinear Control Sys tems, Chapter 6, EUP London. 9.15 Emelyano v, SV 1967, Variable Structure Control, Nauka, Moscow. 9.16 Utkin, VI 1992, Sliding Modes in Control Optimization, Springer -Verlag, Berlin. 9.17 Zinober, ASI (Editor) 1990, Deterministic Control of Uncertain Systems, Peter Peregrinus, Stevenage. 9.18 Edwards, C & Spurgeon, SK 1998, Sliding Mode Control, Taylor and Francis, London. 9.19 Zadeh, LA 1965, Fuzzy Sets, Information and Co ntrol, Vol 8, pp 338353. 9.20 Mamdani, E H & Assilian, S 1975, Experiment in Linguistic Synthesis with A Fuzzy Logic Controller, Interna tional Journal of Man-Machine Studies, vol. 7, pp 1-13.
175
9.21 Schmid, Chr. 2004, Dynlab course at http://virtual.cvut.cz/d ynlabmods/syscontrol.pdf. Chapters 14-17. 9.22 Verbruggen, HB & Babuska, R (Editors) 1999, Fuzzy Logic Control; Advances in Applications. World Scientific Publis hing Co. 9.23 Warwick, K, Irwin, GW & Hunt, KJ (Editors) 1992, Neural Networks for Control and Systems, Peter Peregrinus, Stevenage. 9.24 Irwin, G W, Wa rwick , K & Hunt KJ (E dito rs) 1995, Neura l Netwo rk Ap plicatio ns in Co ntrol, Peter Perig rinus, Stevena g e. 9.25. Isidori, A 1995, Nonlinear Control Systems; An Introduction, 3rd E dition, Springer Verlag, New York. 9.26 Slotine, J-J & Li, W 1990, Applied Nonlinear Control, Prentice Hall, New Jersey. 9.27 Corriou, J-P 2004, Process Control; Theory and Applications, Chapter 17, Springer Verlag London.
SASH A SHAHB AZI LE FT IRAN FOR A MASTERS IN P RODUCT AND P ROCESS DEVE LOPMEN T AND LO TS OF INNE BANDY
HEL L TE LL YOU A LL ABO UT IT AN D ANSWER YOUR QUESTIO NS AT MDUSTUDENT.COM
www.mdh.se
176