FI¿DQUDNCY IùESPONSE MATCHING METHODS
FOR,
THE DESIGN OF DIGITAL CONTROL SYSTEMS
Jianfei Shi, B.E.
Thesis submitted to
Department of Electrical and Electronic Engineering for the
degreeof
Master of Engineering
ScienceThe UniversitY of Adelaide
July,
19840''ttla-.'t.¡{e
¡/
: '; - fi'-
,!i'l This thesis
embodiesthe results
ofsupervised
project
work makìng uP twothirds of the
workfor
thedegree.
J.
SHr,'\1 'r' r..\:r-:_ -
':/'
I\"
.-
ll, \, l:
' .{,. ,/tÎ
EXAMINERIS REPORT OF M.E[íG.SC. THESIS;
ItFrequency reaponse matchtng methods for t,he deeign of digital control systemsrr
ERRATA OR OMISSIONS
the relatíon for Èhe zero Zy ln terma of other parameters fs omitted. It is
zL- I *
tan(q+9oo)(r2+n2-n¡I-Èan(q+90 ) ( r-R) p.3-8 :
p.3-10:
Fourthline, (correction)
U
-
(C-A)(D+1)-Bcp3-12:
The term c2+
(n-L)ZpA-lO:
pA-15 to
pA-28
pA-16:
4D
under
the
square rooÈsign in
both expressions should beposftive,
not. negative.Eqn D-l6.
The numerator Èerm should be
A-8, not
A*8.The omfssion
of
valuesfor the
normalised parametereE./T
(C/LsEep t,ime-response) and
ø"T
(O/L frequency-response) render Èhesets of speciffcat,lons fn
eachof
Èhese domaíns ÍncompleEe.I
recommend Èhatthe tables for
dampingratio
€=0.7 be recalculat,edto lnclude
thesevalues,
andthe results
befncluded
with
anerrata
sheetín
Èhe copfesof the thesis.
The varlablee E" and ø" should be deffned under Ehe appropriate headfng.
I I
I
l
I
I
'
I
i f
\ ,t
,II
T
: Ii
¡
DEDICATED TO
MY PAR,ENTS
TABLE OF CONTENTS
Abstract Declaration
Page
vii ix
x xi xiv xv AcknowledgementList of figures List of tables List of symbols
Chapter
l.
INTRODUCTIONl.l
Digital control systems1.2
Advantages of frequency response methods1.3
Classification of frequeucy ræpotrse methods f.4
Frequency response matching design methods1.5
Summary of the current frequency matching design methods1.6
Objectives, approaches and achievementsL.7
The contents2.
TREQUENCY RESPONSE MATCHING DESIGN METHODS2.1
Formulation of the desigu problem2.2
Dominant Data Matching design method (DDM)2.2.L
Description of the design method2.2.2
Deficiencies in and modifications to the DDM method2.3
Complex-Curve Fitting design method (CCF)2.3.1
Rattan's design method2.3.2
Numerical integration2.3.3
Detrimental effect of the weighting factorl-l
1-l
1-1 L-2 1-3
t-4 l-6 l-8
2-l 2-t
2-4 2-4 2-7 2-9 2-9 2-12 2-13
Chapter Page 2-16
2-t6
2-20 2-21 2-2t 2-22 2-25 2-30 2-33 2-37 2.4
2.4.1 2.4.2 2.5
2.5.1 2.5.2 2.5.3 2.5.4 2.6 2.7
Iterative Complex-Curve
Fitting
design method (ICCF) Description of the ICCF methodNumerical examples
SIMplex optimization-based design method (SIM) Control system design via non-linear programming Formulatiou of the non-linear programming problem Simplex method for function minimization
Application to the design of digital controllers
Random Searching Optimization-based design method (RSO) Sumrnary
3.
DETERMINAÎION
OF FREQUENCY RESPONSE MODELS3.1
Flequency response models3.1.1
General description of defining a frequency response model3.L.2
Limitations on using the frequency response of an existing system as a model3.2
Second-order z-transfer function :rs a frequency response model3.2.1
Use of the digcrete transfer as the model3.2.2
Second-order a-transfer function model3.2.3
Conversion of specifications between the time and complex z- domains3.2.4
Fbequency response oI the open-loop system3.2.5
trÌequency response of the closed-loop system3.2.6
Numerical studies on relationships of various specifications for discrete systems3.2.7
Procedures to define a z-transfer function as a frequency3-1 3-2 3-2
3-4
3-5 3-5 3-7
3-8 3-9 3-12
3-13
response model
tv
3- 18
Chapter
4.
Page
DESIGN OF DIGITAT CONTROLLERS BY MEANS OF
THE FREQUENCY RESPONSE MATCmNG
METHODS
4-r4.1
IntroductionObjectives of the design studies Dynamic characteristics of plants Design specifications
Selection of the sampling period Flequency response models
4.f
.6
Order of the discrete transfer function of a digitalcontroller
4-10 4.1.14.t.2 4.1.3 4.t.4 4.1.5
.
4-104-1 4-2 4-5 4-5 4-6 4-9
4-15
4-t6
4-23 4-28 4-32
4-34 4-36
4-37
4-39
4.1.7
Simulation and assessment4.2
Design studieg of GroupI -
Comparisou of the various design methods
4.2.1
Desigus for PlantI 4.2.2
Desigus for PlantII
4.2.3
Discussiong of the simulation results4.2.4
Comparison of the design methods4.2.5
Conclusions4.3
Desigu studies of Group 2-
Effect of the discrepancy between the primary frequency range of the model and that of the closed-loop system on the frequency matching
4.3.1
Design studies based on PlantI 4.3.2
Design studies based on PlantII
4.3.3
Design studies based on matching a continuous frequency response for PlantI
4.3.4
Discussions of the simulation results.
4-324-42
4.3.5
Conclusiong 4-44Chapter Page
4-46 4-46 4-5r
5-l 5-l
5-2 5-5
5-r0
6-l
A-l
A-3 A-5 A-8 A-13 4.4 Deaigu studiee of Group 3
Evaluation of the optimization-based design methods Designs with different
initial
estimates4.4.t
4.4.2 Conclusions
5.
EYBRID FREQUENCY RESPONSE ANALYSIS5.1
Deûciencies of discrete frequency response analysis5.2
Hybrid frequency response analysis5.3
Numerical ercample5.4
Conclusions6.
SUMMARY AND CONCLUSIONSAppendix
A
Objective function E as fuuction of ÀB
Variation range of the parameterc C
Time response analysis of,hþ)
D
Frequency response analysis of, g(z) and h(z)E
Stability of a second-order discrete systemF
TableA-r -
Bibliography
Relationships between the design specifications in the time, frequency
and compLex z- domaine for second-order discrete control
systems
A-f 5B-r
vl
ABSTRACT
The frequency response matching technique for the synthesis of digital control systems has been investigated. The basic philosophy
of this
techniqueis to
design a digital controller sothat
the frequency response of the designed closed-loop system matches a specified frequency response model. The approaches described in the current literature include Rattan's complex-curvefitting
method and Shieh's dominant data matching method.Two new design methods are proposed
in
this thesis. The first one is the rúer- atiae comples-curue fitting (ICCF) design method based on Rattan's algorithm. Withits
iterative calculations, the new method improves the frequency matching accuracy significantly by eliminatingin
Rattan's algorithm the frequency dependent weighting factor which severely degrades the matching accuracyat
high sampling frequencies.The second one is the simplæ optimization-bøsed (SIM) design method.
With
the aid of non-linear constraints on the controller parameters, this method providesa
goodcompromise between the desired system frequency response and the required controller characteristics to avoid problems such as an excessively high controller gain or an oscil- latory control signal.
The non-linearity of the Shieh's method in the case of the design of a controller with an integrator is removed by choosing the appropriate controller form and dominant frequency
points.
As a result, the relevant computational algorithm is considerably simplified.The determination of a frequency response model from design specifications given in the time, frequency and a- domains is discussed.
It
is shownthat
the choice of the model may be criticalto
the succcess of the frequency matching,in
particular when there is discrepancy between the primary frequency range of the system under design and that of the model. To help select an appropriate z-transfer function as a model, ane¿rsy-to-use approach is developed which is based on a comprehensive investigation on the dynamic performances of second-order discrete systems.
A number of design studies is conducted in order to assess the frequency matching design methods. The frequency matching accuracies and time responses of the designed systems form the basis for the comparative evaluation. The resuits show that ICCF and SIM methods proposed in this thesis are superior to current methods. The effect of the discrepancy between the primary frequency ranges on the matching accuracy and the convergency of optimization algorithms are illustrated as well.
The hybrid frequency response is defined for the system containing both discrete- and continuous- time components. Unlike the commonly-used discrete frequency re- sponse, which is derived from the system z-transfer function and provides no informa- tion about the time response between sampling instants, the hybrid frequency response includes the characteristics of the inter-sampling time response.
vul
DECLARATION
I
herc,by declo,re tlt'øt, (ø) the thesis contøins no møterial which høs been øcceptedfor
the awø¡dof
any other d'egree or diplomøin
ønyuniaersity and thøt, to the best of my knowledge ønd belief, the thesis contains no materiol preúously published or written by ønother Peîson' encept wherc d,ue refercnce is mød'e
in
thc tert of the thesis; and (b)I
consent to the thesis being mød'e øaailøble for photocopying and loøn
if
applicable.
Jiønfei Shi
ACKNOWLEDGEMENTS
It
is good fortuneto
haveDr. M.J.
Gibbard as my supervisor.I
am deeplyindebted for his encouragement throughout the entire postgraduate studies and for his guidance and criticism given in the prepa.ratiou of this thesis.
I
would like to thankDr.
F.J.M. Salzbom, of the Department of Applied Math- ematics, for his etimulating lecture in the freld of optimization and for his helpful sug- gestions.I
would also like to thankMr.
P. Leppard, of the Department of Statistics, for permission to use his computing program at the early stage of this research project.I
wishto
express my gratitudeto Dr.
B.R. Davisfor
his help givenin
many interesting discussions.The assisstance of the staff of the department is gratefully acknowledged. Special thanks are due to
Mr.
R.C. Nash for his unsparing support.As a student from a non-English-speaking country,
I
am very grateful to Mrs. J.Laurie, of the student counselling service, for her two-year English tutorial work which has helped me to complete this thesis.
Finally,
I
wish to express my sincere appreciation to the University of Adelaide for the Scholarship for Postgraduate Research which enabled me to pursue my studies towards the degree of Master of Engineering Science in electrical engineering.x
Figure
2-l
2-2 2-3
2-t 2-6 2-T
LIST OF FIGURES
Location of the closed-loop poles for the numerical studies
Page
Configuration of the closed-loop system incorporating a digital controller
Discrete control system with unity feedback
Effect of the weighting factor lPn(ir)12 in Rattan's CCF method on the accuracy of frequency matching
2-4
[\equency responses of the closed-loop systems designed by the ICCF methodFlow chart for the simplex optimization method
Illustration of the simplex method
in
the 2-dimensional caseFlow chart for the random searching optimization method
Flow chart for determining the frequency response model Location of the zero 21 of. h(z) in terms of the parameter
c
2-2 2-3
2-t5
2-20 2-27 2-28 2-35
3-3 3-6 3-14
3- 15
3- 16
3-16
3-t7
3-17 3-20 3-1
3-2 3-3 3-4
3-7 3-6
Relationship between the maximum overshoot Mo and the phase
margin PM at uoT
:0.7
3-5
Relationship between the maximum overshoot Mo and the resonance peak valueM,
Relationship between the peak time ratio
tfi
and the normalized closed-loop bandwidth w6T as a function of
a
andf
Relationship between the normalized peak time ørúo and
a
as afunction of
{
3-8
Relationship between the malcimum overshoot Mo anda
as afunction of
{
Unit-step responses of. My(z) and M2(z)
3-9
Figure
4-l
4-2 4-3 4-4 4-5 4-6
Closed-loop digital control system with unity feedback Unit-step response of Plant
I
Unit-step response of Plant
II
Open-loop frequency response of Plant
I
Open-loop frequency response of Plant
II
Root loci of the control systems designed by the SIM method with
the desired digital controller D(z) with
1:0.3
sFrequency responses of the closed-loop systems in the design
trÌequency and time responses of the closed-loop systems in the design studies of Group 2 for Plant
I
, designed by the ICCF methodValues of WIAE of the closed-loop systems in the design studies of Group 2 for Plant
I
, designed by the ICCF methodxii
Page 4-2
4-6 4-6 4-7 4-7
and without constraints
4-7
Flequency responses of the closed-loop systems in the design studies of Group 1 for PlantI
4-8
Time responses of the closed-Ioop systems in the design studies of GroupI
for PlantI
4-9
Values of WIAE of the closed-loop systems in the design studies of GroupI
for PlantI
4-10
Magnitude of frequency responses of PlantII
, the modelMq¡
and4-18
4-21
4-22
4-23
4-24
4-26
4-27
4-28
4-35
4-38 studies of Group
I
for PlantII
4-12
Time responses of the closed-loop systems in the design studies of Group 1 for PlantII
4-13
Values of WIAE of the closed-loop systems in the design studies of GroupI
for PlantII
4-t4 Magnitudes of the frequency responses of arbitra¡ily-selected discrete systems with different primary frequency ranges due to the selection of different sampling periods .
4-ll
4-15
4-16
4-39
Figure 4-17
Page trÌequency and time responses of the closed-loop systems in the design
studies of Group 2 for Plant
II
, designed by the ICCFmethod
4-4OValues of WIAE of the closed-loop systems in the design studies of Group 2 for Plant
II
, designed by the ICCF method4-19
Unit-step responses of the continuous modelM"(t)
and the discrete model Mz(z) withÎ--Q.g
s4-20 Flequency and time responses of the closed-loop systems in the design studies of Group 2 for Plant
I
, designed by the ICCF method,matching the continuous frequency response model
M.(ir) 4-21
Values of WIAE of the closed-loop systems in the design studiesof Group 2 for Plant
I
, designed by the ICCF method, matching the continuous frequency response modelM"(ir)
4-22 4-r8
4-23
4-41
4-42
4-43
4-44
4-49
4-50
5-3
5-6
o-t
5-9 Results of the design studies set A
in
Group 3, based on the SIMand RSO methods with the arbitrarily-assigned
initial
valuesResults of the design studies set B in Group 3, based on the SIM and RSO methods with the initial values obtained from the design based on the DDM method
Block diagram of a closed-loop hybrid digital control system Hybrid and discrete frequency responses of the closed-loop
systems for Plant
I
, designed by the ICCF method5-3
Unit-step time responses of the model and the closed-loop systems for PlantI
, designed by the ICCF methodMagnitudes of the frequency responses
H(jr), ltj"), M(jr),
D.nU"), G¡G.(jw\
andG¡(iø)C(ir)
for the hybrid control5-1 5-2
5-4
system of Plant
I
, designed by ICCF with1:0.5s
A-1
Position of the zeroZl
relative to the polesP
andP
in terms ofa
A-3Table 4-1 4-2 4-3
4-8 4-9 4-10
4-LL
LIST OF TABLES
Objectives of the design studies
Sampling period
I
selected for the design studiesComparison of the frequency matching design methods
Sampling period
?
selected for the design studies of Group2
.Coeffi.cients of the controller transfer functinons in the design studies of Group 2
Page 4-4 4-9
4-4
trYequency response models and their time domain performance parameters for comparison with the control specifications
Dominant data points w; (radfs) used in the design studies based on the DDM method
4-5
Constraints on the gain and pole-zero locations ofD(z)
in the designsfor Plant
I
based on the SIM method4-6
Coefficients of the controller transfer functions in the design studies of GroupI
4-7
CPU time consumption of the various design methods in the design studies for PlantI
with? :
0.5 s, of GroupI
4-10
4-t7
4- 18
4-20
4-31 4-33 4-36
4-37
4-45
4-47
4-48 Effect of the discrepancy between the primary frequency range
of a model and that of a closed-loop system on the design
of a digital controller
4-12
Values of the frequency points(radls)
used in the calculation of the error .E4-13
Parameters of the z-transfer functions of the digital controllers for the design studies of Group 3Relationships between the design specifications in the time, frequency and complex z- domains for second-order discrete control
systems
A-15A-l
xlv
LIST OF SYMBOLS AND ABBREVIATIONS
This list summarizes symbols and abbreviations commonly used in this
study.
The page number indicates the place where the symbol or abbreviation is defined.Symbol
ø
coefficients of the z-tra¡sfer function of a plantwith
ZOHb coefrcients of the z-transfer function of a plant
with ZOH
2-3e
squared-error of the frequency response matching 2-t6el weight ed-squared-error of the frequency response matching 2-16
êe¿
steady state error 3-8g(z)
open-loop z-transfer function of a discrete second-order system 3-7 Page.
2-3h(")
m n
p
closed-loop z-transfer function of a discrete second-order
system
3-7order of the numerator polynomial of the z-transfer function of a controller 2-1 order of the denominator polynomial of the z-transfer function of a controller 2-l order of the denominator polynomial of the a-transfer function of a plant with ZOH
or
poles of a z-transfer functionq
order of the numerator polynomial of the z-transfer function of a plant.
4-62-3 2-23
3-2
2-L 2-L 3-8
with ZOH tp peak time
tc settling time
a
coefficients of the z-transfer function of a digital controllery
coefficients of the z-transfer function of a digital controllery(ú)
output signal of a closed-loop systemz
zeros of a z-transfer function.
2-23Symbol
A
coefrcient of a second-order discrete transfer functionB
coefficient of a second-order discrete transfer function CD
coefficient of a second-order discrete transfer function coefficient of a second-order discrete transfer function
Page 3-1
3-l 3-l
3-1 2-2 2-LO 2-23 2-2 2-3 2-2 2-2 2-3 3-2 2-3 2-5 2-3 2-3 3-2 3-2 2-9 3-6 2-9 3-2 z-3 2-5 2-2 1-3
2-t4 .D(
)
transform or frequency response of a digital controllerE
squ ared-matching-error functionor
objective functionø(r)
transfer function of an error signalE(")
z-transfer function of an error signal.F'(r)
transfer function of a control element in the system feedback loopG(r)
transfer function of a continuous-time plantGnG(
)
transform or frequency response of a plant with ZOHGM
gain margin¡f( )
transform or frequency response of a closed-loop systemI
imaginary part of a complex numberM( )
transform or frequency response of a closed-loop modelMq( )
transform or frequency response of a open-loop modelMp
ma>rimum overshootM,
resonance peak valuelV(
)
numerator polynomialP
open-loop or closed-loop polesP( )
denominator polynomialPM
phase marginA( )
transform of frequency response of an open-loop systemR
real part of a complex number Æ()
transform of an input signalT
sampling periodsampling period of a frequency response model xvi
T*
Symbol
U(")
z-transfer function of the output signal of a digital controller WIAE weighted integral absolute errorf
()
transform of the output signal of a closed-loop systemZ
zero of a control systemreflection coefrcient in the simplex method
angle to define the relative location of a zero to a pair of complex poles
contraction coefrcient in the simplex method expansion coefficient in the simplex method weighted-squared-error function
magnitude of a complex number in decibels auxiliary optimization variable
parameters of the constraints for a controller parameters of the constraints for a controller system damping ratio
magnitude of a complex number phase angle of a complex number frequency variable in rødf s weighted frequency variable
bandwidth
(-3
dö) of a closed-loop frequency response gain cross-over frequencyphase cross-over frequency
undamped natual frequency of a closed-loop system system oscillatory frequency
primary frequency range of a discrete system
primary frequency range of a frequency response urodel resonant frequency
sampling frequency
Page 2-3 4-t2 2-2 3-6
d,
or
B
"l e
f
À
l.t
v
€
î
,þ
w
u'
ub wc
ug ufl uo up
up*
ur
uo
2-26 3-5
2-29 2-28
2-to 2-23 2-24 2-24 2-24 3-7 3-10 2-23 2-3 4-12 2-8 3-9 3-10 3-7 3-7 2-4 4-36 3-2 2-3
Abbreviation
CCF -
Rattan's complex-curve ûtting design methodDDM -
Shieh's dominant data matching desiga method ICCF-
iterative complex-curvefitting
design methodRSO -
random searching optimization-based design methodSIM -
simplex optimization-based design methodZOH -
zero-order holdPage 2-9 2-4 2-16 2-33 2-21 2-3
xvlu