You are on page 1of 60

This literature was published years prior to the establishment of Agilent Technologies as a company independent from Hewlett-Packard

and describes products or services now available through Agilent. It may also refer to products/services no longer supported by Agilent.
We regret any inconvenience caused by obsolete information. For the latest information on Agilent’s test and measurement products go to:
www.agilent.com/find/products
Or in the US, call Agilent Technologies at 1-800-452-4844 (8am–8pm EST)

Control System Development


using Dynamic Signal
Analyzers
G(s)
1 + G(s)H(s)
Application Note 243-2

K ∞

K 0

K 0

∞ K

-10

K 0
Introduction

Dynamic Signal Analyzers (DSAs) Using This Application Note


represent a new generation of mi-
croprocessor-based test instru- This application note is designed
ments designed to support the for both the experienced control
development of control systems. systems engineer who may be un-
By combining the computational familiar with DSAs and the expe-
resources of microprocessors rienced DSA user entering the
with the accuracy of precision field of control systems. To ac-
measurement hardware, DSAs commodate this broad range of
combine high-performance mea- readers, the note is divided into
surements and powerful com- two parts.
puter-aided-engineering. By
consolidating this much power Part 1 is a review of the basic
into a single instrument, DSAs concepts associated with control
have expanded the role of test systems and linear control theory.
instruments beyond traditional This section serves as a general
testing functions to include resource and may be considered
contributions in the areas of optional reading for the experi-
modeling, design and analysis. enced control system engineer.

The purpose of this application Part 2 is an introduction to the


note is to examine how the ad- features and functions of DSA’s
vanced measurement and analysis which directly contribute to the
capabilities of a DSA can be development of control systems.
applied to the development and Each feature or function is briefly
production of control systems to described with example applica-
reduce testing time, reduce analy- tions provided.
sis time, provide more informa-
tion from measurements and, A glossary of control system
in general, enhance the overall terms is provided in Appendix A.
development and production
process.

2
Contents

Part 1: An Introduction to Control Systems and Classical Control Theory 4

Chapter 1: Basic Terms and Definitions 4

Chapter 2: Modeling 5
2-1: The Open-Loop Model 5
2-2: The Closed-Loop Model 6

Chapter 3: Measuring Performance 8


3-1: Time Domain Performance — Step Response 8
3-2: Frequency Domain Performance 9
3-2.1: Frequency Domain Terms and Definitions 9
3-2.2: Nyquist’s Stability Criterion (s-plane) 12
3-2.3: Nyquist Diagrams 13
3-2.4: Nyquist’s Stability Criterion (Nyquist diagram) 14
3-2.5: Magnitude and Phase Contours 15
3-2.6: Bode on Stability 16
3-2.7: Gain Margin and Phase Margin 18

Chapter 4: More Tools for Design and Analysis 20


4-1: The Bode Diagram 20
4-2: Stability and the Bode Diagram 22
4-3: The Nichols Diagram 22
4-4: The Root Locus Diagram 24

Chapter 5: Nonlinear Systems 26

Part 2: Measurement and Analysis Tools Applied to the Development Process 28

Chapter 1: Modeling the Development Process 28

Chapter 2: Test 29
2-1: Time Domain Measurements 29
2-1.1: Time Capture 30
2-1.2: Time Throughput 30
2-2: Frequency Domain Measurements 31
2-2.1: Swept Fourier Analysis 31
2-2.2: Fast Fourier Transform Analysis 32

Chapter 3: Analyze 34
3-1: Waveform Math 34
3-2: Curve Fitting 39
3-3: Coherence 43

Chapter 4: Model 44
4-1: Curve Fitting Applied to the Modelling Process 44
4-2: Frequency Response Synthesis Applied to the Modeling Process 48

Chapter 5: Design 49
5-1: Applying Frequency Response Synthesis, Waveform Math
and Curve Fitting to the Design Process 49
5-2: Using Display Formats Other Than the Bode Plot 55

Chapter 6: Summary 56

Appendicies 57

Appendix A: Glossary 57
Appendix B: Bibliography 60
Appendix C: Acknowledgments 60

3
Part 1:
An Introduction to Control Systems
and Classical Control Theory.

Chapter 1: Basic Terms While a thorough study of control Another category involves those
and Definitions theory is far beyond the scope of automatic control systems which
this application note, the follow- involve mechanical motion as the
A control system has been ing paragraphs present the basic controlled variable. These con-
formally described as, “A system concepts associated with classic trol systems are called servo-
in which deliberate guidance or control theory as applied to con- mechanisms (commonly referred
manipulation is used to achieve a tinuous linear control systems. 2 to as servos) and are defined as,
prescribed value of a variable.”1 “An automatic feedback control
With a variable further defined as, To categorize control systems system in which the controlled
“a quantity or condition which is with common traits or functions, variable is mechanical position or
subject to change,” it becomes several subclasses of control sys- any of its time derivatives.” While
apparent that the components of tems have been defined. One of this definition seems straightfor-
a control system may be virtually the basic categories of control ward, general usage has diluted
any definable entity, be it electri- systems are those systems which the literal meaning to include
cal, mechanical, biological, operate without human interven- virtually any electronic, electro-
organizational or otherwise. tion. Control systems in this cat- mechanical or mechanical
egory are called automatic control control system.
The human circulatory system, systems. An example of an auto-
pacemakers, motor speed con- matic control system is an auto- Control systems are also catego-
trols, clothes dryers, automobile mobile cruise control which rized as being either open-loop or
cruise controls and voltage regu- maintains the speed of the vehicle closed-loop. The difference be-
lators are a few examples of the without attention from the driver. tween these two categories, the
vast number of control systems in If the driver disengages the cruise use of feedback, becomes easier
existence. The diversity of con- control, he then becomes part of to understand when viewing the
trol systems may at first seem a the control system regulating the basic model of a control system.
barrier against the development speed of the car and, therefore, Formal definitions of open-loop
of a common analysis and design part of a nonautomatic control and closed-loop control systems
strategy. Fortunately, if the com- system. have therefore been incorporated
ponents of a system can be repre- into the following chapter on con-
sented through a common trol system modeling.
mathematical symbolism, then
there exists a collection of con-
cepts and methods for studying
the physical properties of control
systems known as control theory.

1
American National Standards Institute
specification MC85.1M-1981, Terminology
for Automatic Control.
2
References for further study of modern or
classic control theory as applied to linear,
nonlinear, continuous and discrete control
systems are listed at the end of this note.

4
Chapter 2: Modeling

The first step in the design or complex variable s1. The upper with units of volts per radian (as
analysis of a control system is to case G represents the Laplace shown in Figure 1-1C). A draw-
develop an analytical model of the transform of g and is generally back of this type of a control
system. This is done by dividing referred to as a transfer function2. system is its inability to respond
the control system into functional to dynamic changes in the system.
blocks. Each block may repre- A simple example of the type For example, if a load resistance
sent any portion of the control of control system shown in was connected to the output,
system from an individual compo- Figure 1-1A is a potentiometer there would be an undesirable
nent to a group of components connected as a voltage divider, change in the output voltage.
which perform an identifiable as shown in Figure 1-1B. For this This type of control system,
function. example the reference input R which cannot take corrective
would have units of radians, the action to alleviate undesirable
2-1: The Open-Loop Model directly controlled variable C changes of the directly controlled
units of volts, and the transfer variable, is called an open-loop
Figure 1-1A is a block diagram function G would be a constant control system.
which represents a very basic
control system. The letters r and
c represent the directly controlled
variable and the reference input
respectively. The letter g repre-
sents an equation which describes Figure 1-1:
the influence of the elements R G C
A. Control system r g c
within the functional block on a
block diagram
signal or action compared at the (open-loop).
input and output of the functional
block. All lower case letters
generally denote functions in the
time domain unless otherwise
specified (for example, c = c(t)).
The upper case variables R and C B. Control system
in Figure 1-1A represent the corresponding to
Laplace transform of r and c block diagram of
Figure 1A.
expressed as functions of the ω

+ 15V
Vout
1
In general, capital letters denote trans-
formed quantities. The quantities may be
either Laplace transformed as a function
of the complex variable s, (e.g., G(s)), or
Fourier transformed as a function of the G
C. Detailed
frequency variable jω , (e.g., G(jω)). Volts
block diagram of R C
Functions of s are generally abbreviated
control system Radians Radian Volts
to their capital letter only (i e., G(s) is
shown in
abbreviated to G). Functions of jω ,
Figure 1B.
however, are never abbreviated. R = Function with units of Radians
2
G = Transfer function with units of Volts/Radian
A transfer function is defined as the ratio
C = Function with units of Volts
of the Laplace transform of the output to
the Laplace transform of the input in the
absence of all other signals, and with all
initial conditions zero. Input and output
refer to the signals or variables applied to
and delivered from a system or element,
respectively.

5
2-2: The Closed-Loop Model Figure 1-2: +
R E C
Σ G
Another basic form of control
system is shown in Figure 1-2A. A. control system
In this system the output C is fed block diagram B
(closed-loop).
back through a functional block
H
with a feedback transfer function
H and compared to the reference
signal R via a summing junction.
The signal resulting from the dif- B. Control system
corresponding to P2 P1
ference between R and the feed-
block diagram of
back signal B is called the error Figure 1-2A.
or actuating signal E. The princi-
pal advantage of this form of sys-
tem is that any change in C, with Sliding Valve
R remaining constant, causes a
Differential
change in E, (E = R - B = R - CH). Pressure
If the system is operating prop- Actuator
erly, the change in E forces C to Vacuum High Pressure
return to the point where the Supply Supply
value of B approaches the value
of R. The effect is that the output
is maintained at a desired value
despite disturbances to the sys- R + E M C
tem. This type of control system Pressure Σ Pressure
G1
Distance
G2
Pressure
is called a closed-loop control
system and is defined as any con- B
trol system in which the directly Pressure
controlled variable has an effect 1
upon the input quantity in such a Distance H
manner as to maintain the desired G1 = Function with units of
Pressure
output level. Distance
G2 = Function with units of
Pressure
C. Detailed block
diagram of control
system shown in
Figure 1-2B.

6
An example of this second form into a single forward transfer
of control system is illustrated by function G. The resultant block
the pressure regulator shown in diagram would then have the
Figure 1-2B. The objective of this same form as Figure 1-2A.
system is to adjust the pressure in
Tank 2 (P2) until it is equal to the This control system is also an
pressure in Tank 1 (P1). example of a system in which the
controlled variable is fed back to
Figure 1-2C is one possible the summing junction without any
block diagram for this system. modification; the transfer func-
In this block diagram the function tion, H, is simply equal to 1. This
of the differential pressure actua- type of control system is called a
tor is represented by a summing unity feedback control system.
junction and a forward transfer
function G1. The action of the A general block diagram illustrat-
sliding valve is then represented ing most of the elements of an
by the forward transfer function automatic closed-loop control
G2. A perfectly valid alternative system is shown in Figure 1-31.
would be to combine G1 and G2

Figure 1-3:
Block diagram Idealized Ideal Value
of automatic System I
control system.
Reference
Input Signal
Summing Point Manipulated
Directly
Actuating Variable
Command Controlled Indirectly
Signal Disturbance*
Variable Controlled
Reference Forward Directly Indirectly Variable
+
Input Σ Controlling Controlled Controlled
V Elements R E Elements M System C System Q
A G1 G2 Z
Feedback
Signal
B
Feedback
Elements
* May occur at any
H place in the system

Controlling Controlled
System System

1
Figure 1-3 is adapted from the American
National Standard ANSI MC85.1M1981,
Terminology for Automatic Control.

7
Chapter 3:
Measuring Performance

The primary objective in 3-1: Time Domain Performance • the step stimulus is easy
designing a control system is to Step Response to generate
construct a system that achieves • the stimulus is easily modeled
the desired output level as fast The step response is the mea- [u(t)] making the solution to
as possible and maintains that sured reaction of the control the differential equation (used
output with little or no variation. system to a step change in the to predict the system’s time
One of the first techniques input. A typical step response domain response) much less
developed to measure a control and its associated parameters complicated
system’s compliance with are illustrated in Figure 1-41. The • several measurement techniques
these design goals was the step response has several favor- are available for recording the
step response. able characteristics which have time domain response to the step
maintained its universal accep- input
tance and popularity: • key aspects of the control
system’s performance can be
derived from the step response.

Figure 1-4: Maximum value of Transient Deviation


Typical time Command Maximum value of System Deviation Time Response
response of a (set point) System Deviation of Ultimately
system to a Damping Factor = A
_
Output

B Controlled
step increase Steady-state
Steady-state Variable
of input. Value
Deviation
A

Specified Band
B
(for Setting Time)
(Typical Values are
Transient
Peak ± 2% and ± 5%)
Deviation
Specified Value
Percentages
of Steady-state
Value (typical
Dead percentages
Time for Rise Time
Rise are 10% and
Time 90% or 5%
and 95%)

Initial
Value
Time
Build-up Time
Response Time
Settling Time
Effective
Dead Time

1
Figure 1-4 is adapted from the American
National Standard ANSI MC85.1M-1981,
Terminology for Automatic Control.

8
There are several measures 3-2: Frequency Domain 3-2.1: Frequency Domain
of performance which can be Performance Terms and Definitions
derived from the step response.
The rise time of the step response The time domain responses to the One of the most important trans-
provides a measure of how fast a step, ramp and parabolic forcing fer functions associated with a
system can initially achieve the functions were the only univer- closed-loop control system relates
desired output level. The maxi- sally accepted techniques for the directly controlled variable C
mum overshoot (shown in Figure measuring the performance of a to the reference input. The ratio
1-4 in terms of either peak value control system until the early C/R is referred to as either the
or maximum value of transient 1930s. It was during this period control ratio or the closed-loop
deviation) provides a relative that three Bell Laboratories scien- transfer function; this note refers
measure of the maximum output tists, H.S. Black, H.W. Bode and to it as the latter. By solving for
level resulting from a specific in- H. Nyquist, were doing pioneering C/R in terms of G and H we have:
put. The steady-state deviation work on the characterization of C/R = G/(1 + GH), as shown in
indicates a constant error in control systems in the frequency Figure 1-5. As previously men-
achieving a desired output. Set- domain. In an attempt to provide tioned, capital letters with no
tling time, perhaps the most sig- amplifiers with better linearity, subscripts represent transformed
nificant parameter, is a measure Black began a rigorous study of quantities expressed as a function
of how long it takes the system to the effects of negative feedback of s. The closed-loop transfer
settle to its steady-state value. on electronic amplifiers (a basic function can therefore be
form of automatic closed-loop expressed as:
If the system never settles to its control system). Early experi- C (s) G(s) G(s)
steady-state value (for example, it ments resulted in several observa- = =
R(s) 1 + G(s) H(s) 1 + GH(s)
constantly oscillates about a de- tions including improved linearity
sired output), the system is con- and, in some cases, unexpected Important values of s are those
sidered unstable. Taken one step oscillations in the amplifier’s out- values which set the numerator
further, the settling time can be put. It was the unexpected oscil- and/or denominator of the closed-
interpreted as a relative measure lations which inspired Nyquist to loop transfer function equal to
of stability, with a short settling study the cause of such instabili- zero. Values of s which set the
time considered more stable than ties in closed-loop control sys- numerator to zero are called zeros
a long settling time. tems. From his studies, Nyquist of the closed-loop transfer func-
discovered that the stability of a tion or closed-loop zeros. Values
In addition to the step response, closed-loop system could be de- of s which set the denominator
there were two other early stimu- termined from a simple frequency equal to zero (i.e., s such that
lus signals: the ramp function response plot. Before discussing 1 + GH(s) = 0) are called poles of
[tu(t)] and the parabolic function Nyquist’s discovery, it is helpful the closed-loop transfer function
[t2u(t)]. These signals provided to review a few of the basic or closed-loop poles.
the same simplicity in modeling definitions and concepts associ-
as the step response and also ated with the frequency domain At this point it is important to
provided a means of measuring a aspects of a control system. note that the complex variable s
control systems ability to track can be further expressed in terms
dynamic signals. of the variables σ and jω. That is,
s = σ + jω where σ represents the
real or damping component of s,
and jω represents the imaginary
or frequency component of s.

9
A common tool used to study Figure 1-5: +
control systems is a graph called Solving for R E C
Σ G
the s-plane. The s-plane is a C/R in terms
of G and H.
two-dimensional Cartesian graph
which represents values of s. The B
ordinate of the s-plane represents
H
the imaginary part of s (i.e., jω),
and the abscissa represents the
real part of s (i,e., σ). If values of C = EG Solving for C we have:
E=R-B R
s which constitute the closed-loop B = CH RG
poles are plotted with X’s on the Solving for C in terms of C=
1 + GH
s-plane and the values which C, G, H and R we have:
constitute closed-loop zeros are C = RG - BG C G
=
C = RG - CHG R 1 + GH
plotted with 0’s, the result is a
pole/zero plot of the closed-loop
transfer function as shown in
Figure 1-6.

When the magnitude of the


closed-loop transfer function
is plotted as a third axis of the Figure 1-6: jω
s-plane, the effects of the poles Pole/zero plot
for the closed
and zeros on the magnitude of the loop transfer
Pole
closed-loop transfer function at function s-plane
any value of s can be quickly G(s)
1 + G(s)H(s).
realized as shown in Figure 1-7.
Zero

Figure 1-7 shows only the left half σ


of the s-plane to illustrate the
contour of |C/R| for values of s
along the jω axis (i.e., for values
of s equal to 0 + jω). This con-
tour is significant in that it repre-
sents the same curve produced by
evaluating the magnitude of the
Fourier transform of c divided
by the Fourier transform of
r for positive values of (i.e.,
|C(jw)/R(jω)| for values of ω ≥ 0).
Therefore, this contour also rep-
resents the gain-versus-frequency
plot obtained by physically
measuring the gain of a control
system between its input
and output.

10
A similar diagram can be The information provided by For transfer functions in general,
drawn for the phase of C(s)/R(s) the highlighted contours in the information produced by
as shown in Figure 1-8. Again Figures 1-7 and 1-8 represents evaluating the Fourier transform
the contour presented by the the frequency-dependent relation for all values of jω can be re-
values of ∠C(s)/R(s) along between steady-state sinusoidal garded as a subset of the overall
the s = 0 + jω axis represent input signals (R(jω)) and the contour produced by evaluating
∠C(jω)/R(jω) for positive values resulting steady-state sinusoidal the Laplace transform for all val-
of ω. This contour also repre- output signals (C(jω)), that is, ues of s. The Fourier transform
sents the phase-versus-frequency they represent the frequency of a transfer function evaluated
plot obtained by physically mea- response of the device for positive values of ω also rep-
suring the phase shift of a control characterized by C/R. resents the physically measured
system between its input and gain and phase relationship (i.e.,
output. frequency response) between the
input and output of the device
modeled by the transfer function.

Figure 1-7: C(s)


Magnitude R(s)
plot of
G(s)
1 + GH(s)
versus values
of s. jω

Figure 1-8: C(s)


Phase plot of R(s)
G(s)
1 + GH(s)
versus values
of s.

11
3-2.2: Nyquist’s Stability exact location of closed-loop stability of the system and, ulti-
Criterion (s-plane) poles from measured data without mately, the character of the time
a computer, however, can often domain response, the equation
With the evaluation of transfer be a difficult task. Fortunately, 1 + GH(s) = 0 is known as the
functions over the s-plane well Nyquist’s original work included characteristic equation.
established, the fundamental a very useful technique for evalu-
condition for stability discovered ating the presence of closed-loop From the characteristic equation
by Nyquist, can now be presented. poles in the right-half plane with- it is apparent that the term GH(s)
Simply stated, for a control sys- out necessarily knowing their contains all the information
tem to be stable, there can be no exact locations. To examine concerning the location of the
closed-loop poles in the right half this technique closely, however, closed-loop poles (GH(s) is un-
of the s-plane. (Poles on the jω we will need a few more terms derstood to represent the transfer
axis are not directly addressed and definitions. function of all of the elements in
but are generally considered to the loop between the error signal
represent instability.) This rela- In the preceding paragraphs it (E) and the feedback signal (B).
tionship between closed-loop pole was established that the roots of The function GH(s) is called the
locations and system stability the equation 1 + GH(s) = 0 (i.e. loop transfer function or open-
constitutes Nyquist’s Stability Cri- values of s for which GH(s) = -1) loop transfer function and is
terion as applied to the s-plane. were the closed-loop poles and denoted by either GH(s) or
This relationship can be ex- the sole factor in determining if B(s)/E(s), as shown in Figure 1-9.
tremely useful in predicting the the system would be stable. This note uses the notation GH(s)
stability of a system if the posi- Because of its influence on the and refers to it as the open-loop
tion of each closed-loop pole is transfer function.
known. Trying to determine the

Figure 1-9:
R + E M C
Open-loop Σ G1 G2
transfer function
of a closed-loop
control system. Normal
Test
B
H

B(s)
GH(s) = G1G2H(s) = for switch in "test" or open position (therefore the
E(s)
name "open-loop transfer function")

Also: B(s) = EG 1G2H(s) for switch in either "test" or "normal" position


B(s)
= G1G2H(s)
E(s)

12
At this point it is worthwhile to this manner is to illustrate that determine if there are any zeros
recognize that G(s) and H(s) are the term 1+ GH(s) itself has of the term 1 + GH(s) (and there-
themselves generally ratios of poles and zeros, and that it is the fore poles of the closed-loop
polynomials in s. G(s) and H(s) zeros of this term that determine transfer function) in the right half
can therefore be represented by: the poles of the closed-loop trans- of the s-plane. To make this
fer function. It is also worth determination, GH(jω) is first
Gn(s) H n(s) noticing that the zeros of the plotted on a two-dimensional Car-
G(S) = and H(s) =
Gd(s) H d(S) closed-loop transfer function tesian coordinate system whose
are the roots of the equation ordinate is the imaginary part of
where the subscripts n and d Gn(s)Hd(s) = 0. GH(jω) and abscissa is the real
indicate the numerator and part of GH(jω). The complex
denominator portions of G(s) 3-2.3: Nyquist Diagrams conjugate of the frequency re-
and H(s), respectively. If the sponse curve is then plotted on
closed-loop transfer function is It was Nyquist’s observation that the same graph, as shown by the
reformulated in terms of the the frequency response of the dashed line in Figure 1-10A.
numerator and denominator of open-loop transfer function
G(s) and H(s) we have: (i.e. GH(jω)) can be used to The next step is to establish a
vector V1 whose tail is affixed to
Gn(s) Gn(s)Hd(s) the point -1 + jφ. If the head of
C(s)
=
G(s)
=
Gd (s) Gd(s)Hd(s) the vector is then placed any-
=
R(s) 1 + GH(s) Gn(s)Hn(s) Gd(s)Hd(s) + Gn(s)Hn(s) where along the curve of GH(jω),
1+
Gd(s)Hd(s) Gd(s)Hd(s) the vector then represents the
quantity 1 + GH(jω), as illus-
The objective of expressing the trated in Figure 1-10B.
closed-loop transfer function in

Figure 1-10:
Nyquist diagram Im Im
in rectangular
coordinates.

1 + j0
Re Re

V1
0

GH(jω)
V1 = 1 + GH(jω)
ω

A. Plot of B. Vector
open-loop representation
frequency of the quantity
response and 1 + GH(jω).
its complex
conjugate.

13
3-2.4: Nyquist’s Stability Figure 1-11: Im
Criterion (Nyquist diagram) Nyquist diagrams

At this point, Nyquist’s Stability


Criterion states that as the head
of the vector traces the GH(jω)
curve in the direction of increas- A. Stability -1 + j0
ing positive frequency, the net N=0
Re
number of complete rotations
N is equal to the number of poles

0
Pr of the term 1 + GH(s) in the
right half of the s-plane minus

ω
the number of zeros Zr of the term
1 + GH(s) in the right half
of the s-plane. That is:
N = Zr – Pr Im

where N is positive for clockwise


rotations and negative for coun-
terclockwise rotations. We there-
fore know that a system is stable
only if N = – Pr. It is a general
consensus that for most real B. Instability N = +2
systems Pr = 0 and, therefore, Re
N = Zr. When this assumption is
0
true, the condition for stability
can be restated as: a system is
ω
stable if and only if N = 0.
Figure 1-11 illustrates examples
of systems which are stable,
conditionally stable, and unstable. Im

C. Conditional N=0
stability Re

As illustrated, the system is stable.

However, if the gain in increased so that the


area shaded encloses the -1 + j0 point, then
N = 2, and the system is again unstable.

Also, if the gain is decreased so that the area


shaded in gray encloses the -1 + J0 point,
then N = 2, and the system is again unstable.

Therefore by either increasing or decreasing


the gain, the system becomes unstable (i.e.,
the system is conditionally stable).

14
3-2.5: Magnitude and Figure 1-12:
Phase Contours Evaluation of Im
closed-loop
response from
The Nyquist diagram can also be open-loop
used to evaluate the closed-loop frequency
frequency response from the response
(unity feedback).
open-loop frequency response if
the system being analyzed has (-1 + j0)
unity feedback. For H(jω) = 1 Re
the closed-loop transfer function
V1 V2 GH(jω)
for real frequencies becomes:

0
C( jw) G( jw)
=

ω
R(jw) 1 + G(jw)

If another vector V2 is added to V1 = 1 + GH(jω)


V2 = GH(jω)
the Nyquist diagram so that it for H(jω) = 1
projects from the origin and V1 = 1 + G(jω)
meets with the vector V1 at the V2 = G(jω)
curve of G(jω), then the closed-
loop transfer function can be Therefore:
V1 G(jω)
= = closed-loop frequency response
V2 1 + G(jω)
represented by the ratio of V2 /V1 , for a unity feedback control system
as shown in Figure 1-12.

Useful tools for evaluating the


performance of a unity-feedback
control system are magnitude
contours (often referred to as
M-contours). A magnitude
contour is a locus of points for
which the ratio of the magnitudes
of V1 and V2 is a constant. When
plotted on the Nyquist diagram,
a magnitude contour will appear
as a circle (except when
|V2 /V1| = 1.0), as shown in
Figure 1-13. When the open-loop
transfer function is plotted on a
Nyquist diagram with magnitude
contours, the maximum gain of
the closed-loop transfer function
can be identified as the value of
the magnitude contour which is
tangent to the plotted curve, as
shown in Figure 1-4. A similar
diagram can also be constructed
for constant values of phase
difference between V1 and V2.
Plots of constant phase are called
phase contours or N-contours.

15
From Figure 1-14 it can be seen 3-2.6: Bode on Stability Bode’s statement is much easier
that as the curve of the open-loop to interpret if the scale of the
frequency response approaches When H. Bode published his Nyquist diagram is changed from
-1 + j0, the maximum gain of the paper, “Relations Between rectangular coordinates to polar
closed-loop frequency response Attenuation and Phase in Feed- coordinates, as shown in Figure
approaches infinity (for either back Amplifier Design” in 1940, 1-15. The -1 + j0 point then repre-
unity or nonunity feedback). It he noted that for a system to be sents a magnitude of 1 and a
can be shown that the movement absolutely stable it can only cross phase of -180 degrees. Using a
of the open-loop frequency re- the negative real axis between the polar Nyquist diagram, Bode’s
sponse toward -1 + j0 is directly origin and -1 + j0. According to observation can be restated as:
related to the movement of the Bode, crossing the negative real for a closed-loop system to be
closed-loop poles toward the axis anywhere else produces a absolutely stable, the phase of
right half of the s-plane, therefore system which is either unstable or the open-loop frequency response
causing the system to become conditionally stable; neither of should not exceed 180 degrees
less stable. which is generally desirable. until its magnitude becomes
less than one.

Figure1-13: Locus of points for which


Loci of constant | V2 |
magnitude = 1.1 Im
| V1 |
contours. 1.1
1.0

V1 V2
1.2

0.8

1.4
1.6 0.6
2.0
0.4
-1 + j0 Re

1
“Relations Between Attenuation and Phase
in Feedback Amplifier Design,” Bell
System Tech. J., 19, 421-454 (July 1940).

16
Figure 1-14:
Determining the
maximum gain of
the closed-loop
frequency
Im
response of a
unity-feedback
control system.

1.1

1.5

2.0

4.0

(-1 + j0) Re
GH(jω) Tangent to magnitude contour
equal to 2.0, therefore the
maximum value of
G(jω) C(jω)
= = 2.0
1 + G(jω) R(jω)

GH(jω)

Figure 1-15: -270°


Nyquist diagram
in polar coordinates.

-1

-180° 0°

-90°

17
3-2.7: Gain Margin and Gain margin is defined as the From this series of interactions it
Phase Margin reciprocal of the open-loop fre- can be seen that the development
quency response gain at the point of a control system is generally
Bode also explained that an where the phase of the open-loop a trade-off between the desired
open-loop frequency response frequency response is equal to performance characteristics.
curve which just met this crite- minus 180 degrees. That is: Although each control system has
rion would rarely produce a unique requirements, minimum
1
stable system since any small gain margin = acceptable levels of gain margin
|GH(jω)|
variations in the system’s perfor- and phase margin are typically
mance would place the response where GH(jω) = -180 degrees 2 (or 6 dB)2 and 30 degrees,
in an unstable region. He there- respectively.
fore suggested that a certain The gain margin therefore repre-
amount of margin should be allot- sents the amount the open-loop In addition to gain margin and
ted for both the phase and gain gain can be increased before it phase margin, there are several
values as they approached the reaches a magnitude of 1. Ex- other performance quantities such
point representing a magnitude amples of gain margin and phase as the system type and steady-
of 1 and a phase shift of -180 margin are shown in Figure 1-16. state error coefficients which can
degrees. These margins are now be extracted from a Nyquist dia-
standard performance parameters The importance of the gain and gram. Unfortunately, a complete
known as the phase margin and phase margin can be fully appreci- description of these quantities is
gain margin. ated when they are compared beyond the scope of this docu-
with, and shown to correlate with, ment (several references for
Phase margin is defined as the time domain parameters of further study are listed at the end
180 degrees minus the absolute the step response. For example, of this note). It can be assumed,
value of the phase of the open- for a system whose response however, that the key perfor-
loop frequency response at the characteristics are dominated by mance characteristics of a control
point where the magnitude of the a pair of complex poles (a very system can be adequately charac-
open-loop frequency response common case), the following rela- terized with a Nyquist diagram.
(i.e., the open-loop gain) is equal tionships can be observed. An in-
to one. That is: crease or decrease in the system’s One shortfall of the Nyquist
phase margin = 180 - |∠GH(jω)| frequency independent gain1 will diagram is the difficulty encoun-
where |GH(jω)| = 1 cause both the gain margin and tered when attempting to predict
phase margin to decrease or in- the effects of changes to a control
crease, respectively. For the case system. Most alterations (other
in which the gain is increased, the than a change in frequency inde-
following events will occur: pendent gain) require a significant
• the gain margin and number of calculations, or a new
phase margin will decrease; measurement, to accurately ob-
• the maximum overshoot tain the correct Nyquist diagram.
will increase; As a result, several other analysis
1
Frequency independent gain is also • the rise time will decrease; techniques were developed to
referred to as proportional amplification • and, in some cases, the make the design and analysis of
and is represented by the variable K. A a control system easier. These
more detailed explanation is provided in steady-state deviation
the discussion of the root locus diagram, will decrease. are discussed in detail in the
Section 4-4. following chapter.
2
dB represents a unit of comparison known
as the decibel. It is calculated for both
voltage and power rations with respective
formulas for each being: dB = 10 log
(power ratio) and dB = 20 log (voltage
ration). See Hewlett-Packard Application
Note 243, The Fundamentals of Signal
Analysis, p. 5, for further details.

18
Figure 1-16:
R(jω) + E(jω) 4 1 C(jω)
Measuring gain
margin and phase jω(1 + 0.125jω) (1 + 0.5jω)
margin on a
Nyquist diagram1.
B(jω)

-270°

α
-1

-180° 0°

γ
ω

1
0

Gain margin =
α
Phase margin = (180 - | γ |) degrees

-90°

Table 1-1: Frequency Domain Time Domain


Generalized
relationships
between time
domain and
frequency domain
performance
Frequency Gain Phase Settling Rise Maximum Steady-state
parameters
Independent Margin Margin Time Time Overshoot Deviation
relative to an
increase in the Gain
frequency
independent gain.

1
Figure 1-16 is adapted from the American
National Standard ANSI MC85 1M-1981,
Terminology for Automatic Control.

19
Chapter 4:
More Tools for Design and Analysis

There is perhaps no design 4-1: The Bode Diagram be calculated through simple ad-
tool which has gained as much dition rather than multiplication.
popularity as the diagram which The Bode diagram is similar to That is, by plotting the frequency
Bode presented in his 1940 paper, the Nyquist diagram in that it also response of a new component on
“Relations Between Attenuation represents a plot of the open-loop the same Bode diagram as the
and Phase in Feedback Amplifi- frequency response. However, original response, the frequency
ers.” This chapter looks at the the Bode diagram considers the response of the new system can
famous Bode diagram and two gain and phase of the response be calculated by graphically add-
other popular design and analysis separately by providing a plot of ing the two plots. Third, the loga-
tools; the Nichols diagram and each versus frequency. The plot rithmic scales and units facilitate
root locus diagram. of open-loop gain versus fre- a technique for quickly estimating
quency is called the loop gain the frequency response of an ana-
characteristic and the plot of lytic transfer function. This last
open-loop phase versus frequency point is a major topic of Bode’s
is called the loop phase character- paper. In his paper, Bode pre-
istic, as shown in Figure 1-17. sented a relatively simple set
of procedures for constructing a
Bode diagrams use logarithmic set of curves which would closely
units (i.e., dB) for gain and estimate the actual frequency
logarithmic scales for frequency; response of a transfer function
phase is the only parameter repre- without ever actually calculating
sented linearly. The use of loga- or measuring the response.
rithmic scales and units provides
the Bode diagram with three key An equally powerful tool was the
advantages. First, by displaying ability to apply Bode’s construc-
gain in units of dB, a much wider tion procedures in reverse. That
range of gain levels can be dis- is, to obtain information about the
played on a single plot. Second, analytic transfer function from
the effect on the open-loop fre- the measured frequency response.
quency response of adding a new
component in a control loop can

20
Figure 1-17:
Bode diagrams R(jω) + E(jω) 4 1 C(jω)
showing frequency jω(1 + 0.125jω) (1 + 0.5jω)
response for a
typical open-loop
transfer function1. B(jω)

1000 60

100 40

10 20
Magnitude |GH(j ω)|

Gain |GH(jω)| in dB
Loop Gain Characteristic

1 0
Gain Crossover Gain Margin

0.1 -20 Open-Loop


Bandwidth
0 Hz
0.01 -40 Gain Crossover
Frequency – ωg

0.001 -60 ω g 0.5 ωp 1.0


0.05 0.1 0.2 2.0 5.0 10.0
Frequency, Hertz
0.1 1.0 10 100
Frequency ω, Radians per Second

R(jω) + E(jω) 4 1 C(jω)


jω(1 + 0.125jω) (1 + 0.5jω)

B(jω)

50 -100
Loop Phase Angle ∠ GH(jω) in Degrees
Phase Margin in Degrees

40 -140
Loop Phase Characteristic

0 -180
Phase Margin

-40 -220

Phase Crossover
-80 -260
Frequency – ω p

0.05 0.1 0.2 ω g 0.5 ωp 1.0 2.0 5.0 10.0


Frequency, Hertz
0.1 1.0 10 100
Frequency ω, Radians per Second

1
Figure 1-17 is adapted from the American
National Standard ANSI MC85. 1M-1981,
Terminology for Automatic Control.

21
4-2: Stability and One of two disadvantages of the 4-3: The Nichols Diagram
the Bode Diagram Bode diagram is that there is no
technique for directly relating The Nichols diagram (also known
The Bode diagram also provides the open-loop frequency response as the log magnitude-angle dia-
a simple check for stability. Ac- to the closed-loop frequency re- gram) is essentially a combination
cording to Bode’s interpretation sponse (as was possible with the of the Nyquist and Bode diagrams.
of Nyquist’s Stability Criterion, for magnitude and phase contours of It is conceptually similar to the
a system to be absolutely stable, the Nyquist diagram). However, Nyquist diagram in that it plots
the loop gain characteristic must the frequency response informa- the magnitude of GH(jω) versus
be less than one before the loop tion from a Bode diagram can be the angle of GH(jω) as a function
phase characteristic exceeds directly transferred to a Nyquist of frequency (ω) on a single
(becomes more negative than) or Nichols diagram to evaluate graph, as shown in Figure 1-18.
180 degrees. On a Bode diagram, the closed-loop frequency re- Its structure, however, more
this means the frequency at which sponse. (It is important to note closely resembles a Bode diagram
the loop gain characteristic be- that a reverse exchange of infor- in that it uses a rectangular coor-
comes equal to 0 dB (i.e., the gain mation, that is, from a Nichols or dinate system and scales gain in
crossover frequency) must be Nyquist diagram to a Bode dia- units of dB.
lower than the frequency at which gram, may not be possible due to
the loop phase characteristic be- the loss of frequency information The Nichols diagram incorporates
comes equal to – 180 degrees (i.e., in both the Nichols and Nyquist some of the advantages provided
the phase crossover frequency). diagrams.) by the Bode and Nyquist diagrams
into a single graph. By plotting
The phase margin, gain margin, A second disadvantage of the gain versus phase, the Nichols
and open-loop bandwidth1 of a Bode diagram is its limited ability diagram allows the construction
system can also be read directly to verify the stability of control of magnitude and phase contours
from the Bode diagram, as shown systems which are conditionally similar to those used on the
in Figure 1-17. stable. Fortunately, conditionally Nyquist diagram. However, by
stable systems are rarely designed scaling the gain in units of dB, a
intentionally and can be analyzed single set of contours can be ap-
by transferring the frequency re- plied over a much broader range
sponse data to a Nyquist diagram of gain levels. A single Nichols
if necessary. diagram can therefore provide a
direct readout of the closed-loop
frequency response (of a unity
feedback control system) for a
much broader range of open-loop
gains. Nichols diagrams which
have a large set of magnitude and
phase contours drawn on them
are often called Nichols charts.

1
Open-loop bandwidth is defined as the
frequency span between 0 Hz and
frequency at which the gain of the open-
loop frequency response is equal to 1.

22
Gain margin and phase margin set of rules which provides a
can also be read directly from quick estimation of a transfer
the Nichols diagram. However, to function’s frequency response. It
obtain the open-loop bandwidth, is therefore difficult to predict the
the gain crossover frequency must effect of a compensation circuit
be evaluated while the plot is on the system’s performance.
being constructed, and then
marked on the graph, as shown The Nichols diagram is also
in Figure 1-18. limited in its ability to verify the
stability of conditionally stable
The main disadvantage of the systems. However, like the Bode
Nichols diagram is the difficulty diagram, the frequency response
in plotting GH(jω) directly from information can be transferred to
the transfer function. Unlike the the Nyquist diagram for analysis.
Bode diagram, there is no simple

Figure 1-18:
R(jω) + E(jω) 4 1 C(jω)
Nichols diagram
(log magnitude jω(1 + 0.125jω) (1 + 0.5jω)
versus angle
diagram) for a
B(jω)
typical open-loop
transfer function.

60 | GH(jω) | in dB

40

Phase
Margin
20
-180°

-360° -270° -90° 0°


Gain
Margin
-20 Rad
ωg = 2.02
Sec
ω

-40

-60

23
4-4: The Root Locus Diagram if the open-loop transfer function would be a set of lines which
is expressed as KGH(jω), it is un- represent a locus of roots to the
The root locus diagram (or root derstood that K is the gain portion equation 1 + KGH(s) = 0 for all
locus plot) was developed by of GH(jω) which is independent possible values of K, as shown in
W.R. Evans and presented in his of jω. Figure 1-19C. This plot is called a
1950 paper, “Control System root locus diagram.
Synthesis by Root Locus The objective of the root
Method”1. The root locus diagram locus diagram is to graphically If root locus diagrams were
is a departure from the frequency locate values of s which set the constructed in this fashion, it
response plotting techniques used open-loop frequency response would require many calculations
by the Bode, Nichols and Nyquist equal to -1, that is s such that and make the construction of the
diagrams. All three of the latter GH(s) = -1. These values of s diagram much too involved to be
techniques use the frequency re- will therefore also represent roots of practical value, at least without
sponse of the open-loop transfer of the characteristic equation the aid of a computer. Fortu-
function, GH(jω), to gain infor- 1 + GH(s) = 0 and, further, nately, Evans also presented a
mation about the relative location represent the location of the technique for graphically estimat-
of the closed-loop poles in the closed-loop poles. ing the root locus diagram based
s-plane. The root locus diagram, on the location of the open-loop
however, uses the location of the The power of the root locus poles and zeros in the s-plane.
open-loop poles and zeros in technique is its recognition of the The procedure is relatively simple
the s-plane to predict the actual frequency independent gain of the and it is not uncommon for
location of the closed-loop poles. open-loop transfer function, K of people who have mastered the
Before discussing the root locus KGH(s). The root locus tech- root locus technique to quickly
diagram further, it is again nique recognizes that for each sketch the root locus diagram
necessary to introduce another value of K there is a unique set of based solely on the location of the
concept. values for s which satisfy the open-loop poles and zeros (i.e.,
equation KGH(s) = -1. For with virtually no calculations). A
The symbol G was previously example, if K is set equal to 3 in root locus diagram will therefore
defined as a transfer function the open-loop transfer function: generally include designators indi-
whose gain and phase character- cating the position of the open-
K
istics change with respect to the KGH(s) = loop poles and zeros as shown in
variable s or jω. It can, however, s(1 + 0.125s)(1 + 0.5s)
Figure 1-20.
be divided into two factors: 1) a then there exists a unique set
proportional amplification often of values of s, in this case those The root locus diagram is a very
denoted as K, which is indepen- shown in Figure 1-19A, for which powerful design tool since it
dent of s or jω and associated 3GH(s) = -1(or alternatively, works directly with the location
with a dimensioned scale factor GH(s) = -1/3). If K is set equal of the closed-loop poles in the
relating the units of input and to 4, then there exists another s-plane. However, the root locus
output; 2) a dimensionless factor set of values of s for which technique can only be used if the
often denoted as G which is GH(s) = -1/4, as illustrated in number and location of the open-
dependent on s or jω. Therefore, Figure 1-19B. This new set of loop poles and zeros are known.
if K is used as a prefix when ex- values for s represents the new It is therefore less flexible than
pressing a transfer function, it is locations of the closed-loop poles the Nyquist or Bode diagrams
understood that K represents a when K is increased from 3 to 4. which need only the measured
gain value extracted from the open-loop frequency response to
transfer function which is inde- If the unique set of values for s predict performance and provide
pendent of s or jω. For example, were calculated for each value of design information. It does, how-
K from zero to infinity and plotted ever, provide more information
1
on the same graph, the result during the initial design process
“Control System Synthesis by Root Locus
Method,” Trans, AIEE, 69, and is better suited for the
1-4 (Mar 10, 1950). design of complex compensation
networks.

24
Figure 1-19:
Value of s which
satisfy the equation

GH(s) = K = -1
s(1 + 0.125s)(1 + 0.5s)
jω jω
10 10

(-0.6 + j2.26) (-0.49 + j2.6)


(-8.80 + j0) (-9.01 + j0)
σ σ
-10 10 -10 10
(-0.6 - j2.26) (-0.49 - j2.6)

A. K = 3 B. K = 4

-10 -10


10

K ∞

K 0
∞ K K 0
σ
-10 10
K 0

C. 0 ≤ K ≤ ∞

-10

Figure 1-20: jω
Root locus 10
diagram of
the equation
K
GH(s) = = -1
s(1 + 0.125s)(1 + 0.5s)
(-8 +j0)

σ
-10 10
(-2 + j0)

C. -10

25
Chapter 5:
Nonlinear Systems

The design and analysis tools the operating region which best It is important to note that for any
presented so far have all assumed fits the gain curve. This approxi- small change in either the mean
that the control system or sub- mation, however, would not voltage V2 , or the amplitude of the
system being analyzed is linear. address the distribution of energy sine wave itself, the measured
Unfortunately, the vast majority throughout the response spectrum frequency response will also
of control systems are actually due to the distortion of the change. This change in measure-
nonlinear, either by design or by output waveform, as shown ment result due to changes in the
virtue of the components within in Figure 1-21C. testing conditions is a common
the system. phenomenon associated with
For this type of nonlinearity, a most nonlinear devices.
There are some very complex better technique for obtaining a
analysis tools which deal directly linear approximation of the If a nonlinear system is both
with nonlinearities; however, a system’s gain is to measure sensitive to changes in the stimu-
very common practice is to obtain only that part of the response lus signal (as described above)
an approximation of the system’s spectrum which is at the same and operated over a wide range
nonlinear operation which best frequency as the input. That is, of stimulus levels, then there is
conforms to a linear response. measure the system gain at the typically no one unique frequency
The approximation can then be fundamental frequency of the response or describing function
used with the tools presented in stimulus and ignore all the which can accurately model the
the previous chapters. other frequency components, in- operation of the system.
cluding those created by system
For example, Figure 1-21A shows nonlinearities. If a series of both As a practical solution to this
a typical gain curve (Vout /Vin ) gain and phase measurements are problem, a nonlinear device is
which is essentially linear for made over a range of frequencies, typically tested under conditions
input voltages less than VL and the results can be plotted to pro- which closely approximate the
nonlinear for input voltages duce a graph of the system’s fre- actual operating conditions of
greater than VL . quency response. The resulting the system. If the operating
frequency response can then be conditions themselves do not
If the system characterized by used to generate a transfer func- vary widely, and they can be
Figure 1-21A is operated within a tion based solely on the funda- adequately simulated during test-
narrow range of voltages centered mental. Such a transfer function ing, then the resulting measure-
about a voltage V1 , as shown in is often called a describing func- ments are generally assumed to
Figure 1-21B, then the system will tion and is generally considered a be a linearized estimation of the
operate over a linear region of the good linearized approximation of device’s operation.
curve and can be modeled with a system with nonlinearities such
the linear equation: as harmonic distortion and To provide maximum flexibility in
Vout = aV in
intermodulation distortion. obtaining a linearized estimation
of a device’s operation, advanced
Vout A common technique used to DSAs provide two separate analy-
or =a
Vin make the measurement described sis functions for measuring the
where a is a constant. is to stimulate the system with a frequency response of both linear
swept sine wave source and mea- and nonlinear devices: Swept
If, however, the system operates sure both the stimulus and the re- Fourier Analysis (SFA) and Fast
under the same conditions except sponse with narrow bandpass Fourier Transform (FFT) analy-
at a higher average voltage V2 , as filters which track the frequency sis. More information concerning
shown in Figure 1-21C, then the of the source. Test instruments SFA and FFT analysis as well as
system is not operating in a linear capable of making this type of many of the other measurement
region and a linear approximation measurement include network capabilities provided by DSAs
is required. analyzers, frequency response are presented in Part 2 of this
analyzers, and properly equipped application note.
Graphically, a linear approxima- Dynamic Signal Analyzers (DSAs).
tion could be obtained by simply
drawing a straight line through
26
Figure 1-21: Vout

A. Typical gain
curve with
additional third
axis representing
time.

VL Vin

Vout

B. Operation
within linear
region.
V Output
Spectrum
V1
ω1 ω

VL Vin

V Input
Spectrum

ω1 ω

Vout

C. Operation
in non-linear Output
V
region. Spectrum

ω1 ω
V2

VL Vin

V Output
Spectrum

ω1 ω

27
Part 2:
Measurement and Analysis Tools
Applied to the Development Process

Historically, a test instrument’s Chapter 1: Test: the collection of stimulus


primary contribution to the Modeling the and/or response data.
development of a control system Development Process
has been the collection of stimu- Analyze: determining the value of
lus and response data. While In general, it is recognized that parameters, either physical or
this is still true, microprocessor- the development of a control theoretical, used to characterize
based Dynamic Signal Analyzers system typically involves some the action or function of a device.
(DSAs) have expanded the role unique combination of five Also establishing the relation-
of the test instrument to include distinct processes: model, ships, if any, between those
significant contributions in other design, build, test and analyze. parameters.
areas of control system develop- For the purpose of this applica-
ment, such as modeling and tion note, these five processes When grouped into a process
design. are defined as follows: flowchart, these five processes
can be used to model the
The purpose of the following Design: determining the development of a control system.
chapters is to provide a basic combination of physical or A generalized example of a
introduction to the measurement theoretical components or “development process” model/
and analysis capabilities pro- parameters that will produce flowchart is shown in Figure 2-1.
vided by high performance a desired action or result.
DSAs, and to suggest how To emphasize the DSA’s ability
these tools can be used in the Model: the process of transform- to contribute throughout the
various phases of control ing the observed characteristics development of a control system,
system development. of some device or process into the following chapters examine
theoretical representations con- the tasks associated with each
sistent with the analysis/design development process (with the
technique being used. exception of build) and present
the tools provided by DSAs for
Build: the physical construction accomplishing those tasks. To
of a system and/or its provide a structured introduction,
components. the chapters are presented in the
following order: Test, Analyze,
Model and Design.

Figure 2-1:
Design Model Build

Analyze Test

28
Chapter 2:
Test

Test: the collection of stimulus The high performance DSA, 2-1: Time Domain
and/or response data. however, is a single instrument Measurements
capable of providing all the mea-
There are many tests which con- surement capability needed in the Time domain measurements
form with the above definition; dc to 100 kHz frequency range. require the test instrument to
however, the most common con- Technological advances allow record the reaction of a device in
trol system tests are the measure- DSA to assume 1 to 3 basic con- response to some controlled
ment of a system’s response to a figurations: a waveform recorder change in the system’s input.
step change in the input (i.e., the for direct measurement of time A measurement is generally con-
step response) and the frequency domain data, a frequency sidered successful if it records
response of the system and/or any response analyzer (i.e. Swept the entire response and allows
of its components. Fourier Analyzer) for providing the operator to examine both the
frequency domain data, or a Fast long term trend of the response
Instruments which have com- Fourier Transform (FFT analyzer and the details of any short
monly been used to perform these which also provides frequency term events.
tests include frequency response domain information.
analyzers, network analyzers, DSAs provide this measurement
waveform recorders, strip-chart In addition to providing three ana- capability by sampling the signals
recorders, and storage oscillo- lyzers within one test instrument, applied to their inputs and record-
scopes. Typical control system the DSA also provides several sig- ing the samples as blocks of con-
tests often required at least two of nal monitoring functions. These tiguous data called time records.
these instruments: one instrument functions allow the DSA to auto- How the time records are stored
to record time domain data (e.g., matically optimize measurement and how the data within them can
the impulse response or step conditions during a test, reducing be accessed depends on which of
response) and another to record the need for operator interaction. two measurement modes, time
frequency domain data (e.g., the capture or time throughput, is
open-loop or closed-loop fre- The remainder of this chapter pre- used to collect the data.
quency response). sents the DSA’s basic capabilities
for measuring both time domain
and frequency domain data.

29
2-1.1: Time Capture To ensure that an entire response ignore the large amounts of dead
can be recorded, both time cap- time in systems with very slow
Responses which decay to a ture and time throughput provide response times.
steady state value within a pre- and post-trigger data record-
few time records can easily be ing functions. The pre-trigger In addition to recording and
recorded using the DSA’s time function allows a specified displaying time domain data,
capture mode. The time capture amount of data obtained before DSAs are also capable of recalling
mode stores a limited number of a trigger occurs to be recorded. recorded data and processing it
contiguous time records within The post-trigger function allows through a Fast Fourier Transform
the DSA’s internal memory. Once a specified amount of data to be algorithm. This allows the DSA to
collected, all the data can be com- ignored when obtained after a provide both time and frequency
pressed onto a single trace on the trigger occurs. domain information from one set
DSA’s display. Segments of the of recorded data. This capability
compressed data can then be ex- For systems with very fast can be especially valuable for ex-
panded and closely examined on response times, the pre-trigger tracting the maximum amount of
the second trace of the display, as function can be used to record the information from tests which can
shown in Figure 2-2. steady-state operation of a system be performed only once, such as
just before a step change is intro- destructive tests.
2-1.2: Time Throughput duced. Alternatively, the post-
trigger function can be used to
Occasionally, a device with a very
long settling time will require
very large amounts of data to be
recorded. In these situations, the
DSA’s time throughput mode can Figure 2-2: CAP TIM DAT
be used to store contiguous time A display of a 7.5
records1 directly to a mass stor- step response
recorded with Real
age disc without the need for an time capture
instrument controller. To study showing 10 Peak
a recorded event, time records time records V
compressed
are recalled from the disc and on a single -2.5
presented on the DSA’s display. trace (lower FxdXY -74.4m Sec EXPANDED TRACE 951m
trace) and CAP TIM DAT
a portion of 7.5
the response
expanded Real
to reveal detail
(upper trace).
Peak
V
-2.5
FxdXY -1.0 Sec FULL TRACE 3.0
1
If the DSA collects data much faster that
the connected disc can record data, or
the DSA collects data faster than it can
process the data through its own I/O
section, then the time records will no be
contiguous. The rate at which time
records can be transferred in a contiguous
fashion is referred to as the “real-time
bandwidth” of the throughput function.
More information on real-time bandwidths
is available in Hewlett-Packard Application
Note 243, The Fundamentals of Signal
Analysis.

30
2-2: Frequency Domain By using very narrow bandwidths, An added advantage of using a
Measurements the effects of nonlinearities such DSA to make SFA measurements
as harmonic distortion, dc offset is the availability of automated
Virtually all closed-loop control and random noise can be mini- measurement functions. By
system development requires the mized. This measurement tech- constantly monitoring the signals
frequency response of the system nique also allows those types of applied to its inputs and referenc-
and/or some of its components nonlinearities which are not af- ing past measurements, the DSA
to be evaluated by experiment. fected by narrow filter band- can automatically:
Unlike most conventional test widths (such as level saturation
• adjust its input sensitivity
instruments, advanced DSAs pro- and frequency shifting of reso-
• reject measurements in which
vide two independent techniques nances) to be characterized by
input overloads occurred
for measuring the frequency re- either making several measure-
• adjust the frequency resolution of
sponse of a device; Swept Fourier ments at different stimulus levels
the measurement relative to the
Analysis and Fast Fourier or by sweeping in both directions.
rate of change in gain and phase
Transform analysis.
• repeat a measurement at a given
To achieve the narrow filter
frequency and average the results
2-2.1: Swept Fourier Analysis bandwidths required to measure
until an acceptable variance in the
low frequency systems, DSAs uti-
measurement is obtained
Swept Fourier Analysis (SFA) is lize a Discrete Fourier Transform
• adjust the source level to
a very common measurement to evaluate the energy within a
maintain a constant stimulus or
technique involving a swept sine narrow frequency span. The
response level
wave source and an integration transform is evaluated at several
• allow the operator to simulta-
process which emulates a track- points during a sweep with the
neously monitor the signals
ing bandpass filter, as shown in center frequency of the analysis
applied to the analyzer (in
Figure 2-3. The primary objective corresponding to the frequency
either the time or frequency
of this measurement technique is of the swept sine source (thus the
domains) and view the current
to measure the gain and phase term Swept Fourier Analysis).
measurement.
shift of a device by measuring This technique emulates a track-
only the fundamental component ing bandpass filter with very
of the stimulus signal and only narrow bandwidths, very good
the fundamental component of harmonic rejection and excellent
the device’s response signal (the dc rejection.
frequencies of the fundamentals
are assumed to be the same). A
series of measurements are made
at different frequencies to provide
a frequency response based on
the fundamental of the stimulus
and response signals (i.e. ignoring
any other spectral components
including those generated by
nonlinearities such as harmonic
distortion).

31
2-2.2: Fast Fourier A useful analogy is to think of system. Instead, these frequency
Transform Analysis each filter as the bandpass filter components (if they are not
of an SFA analyzer. However, coherent with the stimulus) are
Compared to SFA, FFT analysis rather than collect new data for removed by averaging several
represents more of a parallel ap- each measurement point sweep, measurements.
proach to measuring a device’s the FFT process uses time
frequency response. Rather than records to collect time domain One of the most powerful at-
sweeping a single bandpass filter data and then processes the data tributes of the FFT measurement
as the SFA technique does, the through 800 filters simulta- technique is that it allows virtu-
FFT process uses a different form neously. This form of parallel ally any type of signal to be used
of Fourier integration to create processing provides exceptional as a stimulus. Common stimulus
many adjacent bandpass filters measurement speeds. It is worth signals used with FFT measure-
(up to 800 in advanced DSAs), as noting, however, that unlike an ments include: actual operating
shown in Figure 2-4. These filters SFA measurement, an FFT mea- signals, sine wave chirps, fixed
selectively and simultaneously surement does not filter out sine waves, random noise, burst
measure the energy distributed energy converted to other fre- random noise, step functions and
over an entire frequency span. quencies by nonlinearities in the impulse functions.

Figure 2-3:
Synchronized
sweep of
sinewave
source and
Fourier
Integration =
bandpass filter
created by ω
Fourier
integration.

SIN ω,t =
ω

Figure 2-4:
Multiple
bandpass filters
produced by
fast Fourier
transform
(FFT) process.
FFT
Process
=

32
This broad range of stimulus present in a servo system Some forms of nonlinearities
signals increases the resources much more than a sine wave preclude the use of certain stimu-
available for characterizing the superimposed on a dc level. lus types. For example, when
operation of a system. Often, testing systems with a significant
selecting the right stimulus signal Signals with random amplitude amount of dead zone or hyster-
can provide a better understand- distribution, such as true random esis, such as large gear trains,
ing of nonlinearities present in the and burst random, can be used to signals such as random noise can
system and, in some cases, even provide an approximation of the be inappropriate. The waveform
reduce the overall testing time. frequency response of a system of a random signal is typically
The following paragraphs cite with amplitude nonlinearities. characterized by many changes in
some of the benefits offered by Because random noise is charac- slope and a greater concentration
certain source types. terized by a random level distribu- of lower level voltages than high
tion at a given frequency, a level voltages. This would create
An important class of stimulus random noise measurement a lot of noise in a gear train while
signals are those stimuli which produces a frequency response producing little output. Instead, a
produce energy at all of the fre- which represents an average of sine wave stimulus which spends
quencies being analyzed by the responses taken at several stimu- more time at higher voltage levels
FFT algorithm and do so within lus levels. When attempting to and makes fewer slope transitions
one time record. Stimuli which measure the frequency response may be a much better overall
meet this criteria (such as the of a device with an amplitude stimulus choice.
sine chirp, random noise, burst nonlinearity such as gain com-
chirp and burst random noise pression, a random noise mea- The decision of which stimulus/
stimuli provided by advanced surement may provide a better analysis combination should
DSAs) allow the FFT algorithm to approximation of the device’s be used is driven in part by the
provide frequency response infor- actual operation than a single known attributes of the device
mation over the entire frequency swept sine measurement. being tested and the kind of
span being analyzed with just one information being sought. For
measurement. If any of these A random stimulus signal can example, several swept sine
stimuli (with the exception of ran- also reduce the effects of measurements made at different
dom noise) are used to test a sys- nonlinearities influenced by the stimulus levels can be used to
tem which is relatively noise-free direction of a sine sweep. Such characterize the operation of a
and linear, a single time record is nonlinearities often show up as a device with an amplitude
often sufficient data to produce change in resonance frequencies nonlinearity. Alternatively, an
an accurate frequency response. corresponding to a change in FFT measurement using random
sweep direction (not to be con- noise and averaging can be used
When testing a nonlinear system, fused with skewed responses to provide a single frequency re-
selecting a stimulus signal which caused by excessive sweep sponse which approximates the
approximates the signals present speed). Since random noise device’s operation over a range
during normal operation can continuously produces energy of stimulus levels.
provide results which more accu- over an entire frequency spec-
rately predict the system’s opera- trum, the measurement is not
tion. The ability to use a random affected by transferring energy
noise stimulus can be very useful from one frequency to another.
in this respect. For example, ran-
dom noise superimposed on a dc
level often resembles the signals

33
Chapter 3:
Analyze

If the device being tested is Analyze: determining the value 3-1: Waveform Math
essentially linear (at least within of parameters, either physical or
the range of amplitudes and theoretical, used to characterize Waveform math provides the abil-
frequencies being tested), the the action or function of a device. ity to use standard math operators
selection of a stimulus/analysis Also, establishing the relation- such as +, -, × and ÷ between two
combination is simply a matter ships, if any, between those displayed data traces, or perform
of measurement speed. Any parameters. any of the other math functions
stimulus/analysis combination shown in Table 2-1 on individual
would be able to produce This definition of analysis, traces. Waveform math therefore
accurate results. when applied to classical control allows many of the control system
theory, generally implies the calculations which have histori-
It is important to note, however, evaluation of parameters such as cally been done graphically, with
that before any assumption can be gain margin, phase margin and plotted data, to be performed
made about a system’s linearity, settling time. within the analyzer. This not only
at least two measurements (with reduces calculation times, but
variances in the stimuli between Typically, these parameters are also preserves the full resolution
them) must be compared. If the not evaluated by the test instru- and accuracy of the original data.
system is found to be nonlinear, ment. More often than not, they The following examples present
it may take several more mea- must be derived from the mea- only a few of the many possible
surements to characterize the sured data and, in some cases, applications for the waveform
nonlinearity so that its effect on derived from several sets of data. math function.
the operation of the system can With respect to extracting useful
be understood. information from measured data, A very straightforward applica-
the Dynamic Signal Analyzer rep- tion of waveform math is the
It is in response to these measure- resents one of the most powerful extraction of the normalized value
ment needs that advanced DSAs measurement and analysis tools of maximum overshoot from a
have incorporated the ability to available to the control systems step response measurement.
make time domain measurements, engineer. The left half of Figure 2-5 shows a
traditional swept sine frequency measured step response with a
response measurements and non- The DSA’s major contributions Y-axis marker positioned on the
traditional frequency response toward analyzing data center steady-state value. Using wave-
measurements utilizing virtually around three major functions: form math, the display can be
any type of stimulus signal and waveform math, curve fitting normalized by simply specifying
FFT analysis. With these mea- and coherence. The following the ÷ operator and entering the
surement capabilities, the DSA sections briefly describe each response’s steady-state value.
provides a total measurement function and present typical The normalized value of maxi-
solution for fully characterizing applications. mum overshoot can then be read
the operation of control systems. directly from the X-axis marker
as shown in the right-half of
Figure 2-5.

34
Table 2-1: + √ Multiply by jω T/(1 - T)
Waveform math
functions − Reciprocal Multiply by jω - 1 Real Part
available × Negate FFT Complex Conjugate
with advanced ÷ Differentiate FFT -1 Log of Data
dynamic signal
analyzers.

Figure 2-5: Y=9.03515


Using waveform FILT TIME1 1Avg 0%Ovlp
math to normalize 14.0
a step response.
Marker on
/Div
normalized display 2.0
reads out
normalized peak
overshoot directly.

Real

Peak
V

-2.0
Fxd Y -1.0 Sec 3.0

Marker
Value ÷
X=25.391 mSec Y=1.00048
Yo=1.335 V
FILT TIME1 1Avg 0%Ovlp
1.4

/Div
200
m

Real

Peak
V

-200
m
Fxd Y -1.0 Sec 3.0

35
Figure 2-6: Direct Readout of Settling Time
Using X- and
Y-axis markers X=-269.53 m ∆X=1.3008 Y=950.06m ∆Y=100.848m
to read out Yo=-169.6µV ∆Yo=1.0482
settling time FILT TIME1 1Avg 0%Ovlp
of a step response 1.4
from a normalized
Using the normalized display, the display.
settling time can also be quickly /Div
200
evaluated. The upper and lower
boundaries relative to the steady-
state value can be clearly marked
by simply programming the Y-axis Real
markers to those values (i.e., for a
restriction of ± 5% of final value, Peak
V
the markers can be set to 1.05 and
0.95). The X-axis marker can then
be used to display the settling
time, as shown in Figure 2-6.
The information shown on the
-200
display of the DSA, including Fxd Y -1.0 Sec 3.0
trace, display grid and annotation,
can then be sent directly to a
digital plotter to provide hardcopy
documentation.

The DSA’s waveform math


function can also be used with Figure 2-7: FREQ RESP
60.0
frequency domain data to execute Using waveform
math to combine dB
much more complex calculations. frequency
For example, two sets of fre- response data.
quency response data represent- -100
ing the forward gain path and FxdXY 100m Log Hz FORWARD FREQ RESP: G 100
FREQ RESP
feedback path of a system could 10.0
be quickly combined to predict dB
the system’s open-loop frequency
response.
-30.0
Combining frequency responses FxdXY 100m Log Hz FEEDBACK FREQ RESP: H 100
can be accomplished by simply
displaying one set of frequency

×
response data in one display trace
Trace Trace
and a second set of frequency
A B
response data in the other display
trace. The operator then selects
an active trace, the multiply op-
erator and the second operand FREQ RESP
60.0
(in this case the nonactive display
trace)1. The result of the calcula- /Div
20.0
tion is then displayed in the active
trace, as shown in Figure 2-7.
dB

1
The order in which the waveform math
operations are executed may differ -100
between DSAs. FxdXY 100m Log Hz COMBINED RESP: GH 100

36
The resultant frequency response Figure 2-8: FREQ RESP
20.0
can then be presented in virtually CRT Display of
any desired scale and in one data allows dB
quick change
of many display formats. For of display
example, the derived frequency formats.
-60.0
response can be displayed in a FxdXY 1.76 Log Hz 200
Bode plot, as shown in Figure FREQ RESP
0.0
2-8A, to allow the gain margin,
Phase
phase margin and open-loop
bandwidth to be quickly read
from the X-axis markers. The
-360
frequency response can then be A. Bode plot FxdXY 1.76 Log Hz OPEN-LOOP FREQ RESP 200
displayed on a Nyquist plot, as
shown in Figure 2-8B, to provide
a quick check of the system’s
absolute stability. Nyquist

Since either display trace may


contain either current measure-
ment data, calculated data, or FREQ RESP
2.0
data recalled from a mass storage
device (such as a magnetic disc /Div
785
or tape drive), waveform math m
can be used to combine many
frequency response data sets.
Imag
This capability could be used to
predict the frequency response
of a system from a library of
previously stored component
frequency response data.
-2.0
B. Nyquist plot FxdXY -2.57 Real OPEN-LOOP FREQ RESP 2.57

37
Figure 2-9: Signal
Typical Source
measurement
setup for Channel 1
determining
the open-loop Channel 2 S(jω)
frequency
response of a R(jω) + + C(jω)
closed-loop Σ G1 Σ G2
system using Y(jω) Z(jω)
FFT.

Y(jω) G1G2H(jω) T(jω)


= = T(jω) = G1G2H(jω)
S(jω) 1 + G1G2H(jω) 1 - T(jω)

Figure 2-10: FREQ RESP


40.0
Using the
“T/(1 - T)” dB
waveform math
function to
calculate
the open-loop -40.0
frequency FxdXY 1.507 Log Hz 1.6k
FREQ RESP
response from 180
a measurement
of Y(jω )/S(jω). Phase

-540
FxdXY 1.507 Log Hz CLOSED-LOOP MEAS 1.6k

T
1 -T

FREQ RESP
40.0

dB

-40.0
FxdXY 1.507 Log Hz 1.6k
FREQ RESP
180

Phase

-540
FxdXY 1.507 Log Hz CALCULATED OPEN-LOOP 1.6k

38
Waveform math also makes it 3-2: Curve Fitting fitters which can automatically
possible to easily calculate the process an entire spectrum; using
open-loop frequency response of Curve fitting is a function which up to 40 poles and 40 zeros in the
a system from a closed-loop mea- estimates an equation whose estimation process (see Figure
surement. Typically, a stimulus solution, when plotted, will be 2-11B). The latter curve fitters
signal is injected into the loop identical to the measured fre- are typically accompanied by a
and, when using FFT analysis1, quency response. Depending on synthesis capability which allows
the frequency response between the curve fitter available with a the pole/zero information to be
the stimulus signal S and the given DSA, the derived equation quickly converted to a pole/resi-
response to the stimulus signal may be expressed to the operator due format or a polynomial for-
at the point Y is measured as in one of three formats: a table of mat as shown in Figure 2-12.
shown in Figure 2-9. The open- poles and zeros, a table of poles
loop frequency response of the and residues (i.e., partial fraction For extracting information from
system can then be calculated by expansion form), or a ratio of measured data, the curve fitting
evaluating the equation: polynomials. function is an exceptionally pow-
erful analysis tool. Its applica-
T(j ω)
open-loop frequency response = Advanced DSAs are usually tions, however, lie mostly in the
1 - T(j ω)
equipped with one of two curve area of modeling and design and
where T(jω) is the measured fitters, either a basic single- are discussed in chapters 4 and 5,
frequency response Y(jω )/S(jω). degree-of-freedom (SDOF) curve in Part Two, respectively.
fitter or a multiple-degree-of-free-
This equation can be easily dom (MDOF) curve fitter. SDOF
evaluated using either a series of curve fitters provide pole/residue
waveform math calculations or by information for each resonance
using the single waveform math identified by the operator, as
operator T/(1 - T) as shown in shown in Figure 2-11A. MDOF
Figure 2-10. curve fitters represent a more
versatile generation of curve

1
When using an FFT analyzer to derive
the open-loop frequency response of a
closed-loop system, the ratio Y(jω )/S(jω)
or Z(jω )/S(jω) is measured rather than
Y(jω)/Z(j ω) (the ratio commonly
measured with frequency response
analyzers) to prevent a bias error from
degrading the calculation. The bias error
can be avoided and is typically not a
significant factor when using SFA analysis.

39
Figure 2-11:
Using curve fitters
to reduce
frequency
response data
to analytical
equations.

TRANS EXPAND FREQ RESP


20.000 20.0
Data Measured
LOGMAG dB
DB Being Data
Analyzed

-60.0
-60.000
LG HZ Fxd Y 50 Log Hz MEASURED DATA 10k
50.000 5.0000 K
CURVE FIT
TRANS FIT EXPAND 20.0
20.000
Curve dB
Curve
LOGMAG Produced Produced
DB
by Curve by Curve
Fitter Fitter
Estimation -60.0 Estimation
-60.000 Fxd Y 50 Log Hz CURVE FIT DATA 10k
50.000 LG HZ 5.0000 K

FREQUENCY AND DAMPING Curve Fit


Poles And Zeros
FREQUENCY DAMPING
POLES 5 ZEROS 2
MODE
NO. HZ R/S % HZ R/S 1 -74.6323 -79.9162 ±j 2.43186k
2 -119.071 ±j 1.99714k
1 2.047 K 12.863 K 5.834 119.638 751.708 3 -103.437 ±j 4.00214k
2 4.002 K 25.143 K 2.598 103.990 653.386
0

LARGEST MODE USED: 2 Time delay= 0.0 s Gain= 1.02E+9 Scale= 1.0
And
MODAL RESIDUES

MODE: 2 FREQ(HZ): 4.002 K DAMP(%): 2.598

CHAN#1 CHAN #2 (s + Z 1) (s + Z 2) s + Z 3) . . . Transfer


MEASMT PT DIR PT DIR RESIDUE =
(s + P1) (s + P 2) s + P 3) . . . Function
1 11 3 1 3 321.651
2 0 0 0 0 0.000
3 0 0 0 0 0.000
4 0 0 0 0 0.000
5 0 0 0 0 0.000 B. Using an MDOF curve fitter to evaluate
6 0 0 0 0 0.000 the poles and zeros associated with the
7 0 0 0 0 0.000 displayed frequency response, up to 40
8 0 0 0 0 0.000
9 0 0 0 0 0.000 poles can be evaluated in one analysis.
10 0 0 0 0 0.000

LARGEST MEAS USED: 1

R1 R1* R2 Transfer
+ + +...=
s + P1 s + P1 * s + P2 Function

A. Using an SDOF curve fitter to


evaluate the frequency, damping
and residue of each resonance in
the displayed frequency response.
Curve fit data is accumulated in the
Frequency and Damping and Modal
Residues tables. 40
Figure 2-12: Curve Fit
Converting Poles And Zeros
pole/zero data
POLES 5 ZEROS 2
from the curve
fitter to 1 -74.6323 -79.9162 ±j 2.43186k
pole/residue 2 -119.071 ±j 1.99714k
3 -103.437 ±j 4.00214k
and polynomial
formats via the
frequency
response
synthesis table Time delay= 0.0 s Gain= 1.02E+9 Scale= 1.0
conversion
function.

Fit →
Synth

Synthesis
Poles And Zeros

POLES 5 ZEROS 2

1 -74.6323 -79.9162 ±j 2.43186k


2 -119.071 ±j 1.99714k
3 -103.437 ±j 4.00214k

Time delay= 0.0 s Gain= 1.02E+9 Scale= 1.0

Convert
Table
Synthesis Synthesis
Poles And Residues Polynomials

POLES 5 RESIDUES 2 NUMERATOR 2 DENOMINATOR 5

1 -74.6323 94.3714 1 5.92032M 4.788E + 15


2 -119.071 ±j 1.99714k -20.4463 ±j 2.01105 2 159.832 64.50E + 12
3 -103.437 ±j 4.00214k -26.7395 ±j 584.067m 3 1.0 6.144E + 09
4 20.1131M
5 519.648
6 1.0

Time delay= 0.0 s Gain= 1.0 Scale= 1.0 Time delay= 0.0 s Gain= 1.02E+9 Scale= 1.0

41
Figure 2-13: Signal Source
Using the Disturbance
(Random Noise)
noncoherent Signals from Channel 1
power spectrum U(jω)
Fan Vibration, etc.
of the response Channel 2
to monitor S(jω) Head Position
known periodic Error Signal Amp Actuator
disturbances in R(jω) + + C(jω)
the control loop. Σ G1 Σ G2
Y(jω) Z(jω)

Reference
A. Measurement Track Head Position Head Position
setup used to on Disk
measure the
frequency response
Y(jω )/S(jω) of
a disk drive
read/write head
positioning servo. 41.5 Hz — Cooling Fan Vibration
50 Hz — Offcenter Reference Track
60 Hz — Power Supply Ripple

FREQ RESP 100 Avg 50%Ovlp Hann


-20.0

/Div
20.0
B. Noncoherent
power spectrum
derived from
Y(jω )/S(jω) dB
measurement and
the associated
coherence data.
Note that the error
signal caused by an
offcenter reference
-180
track appears as a
FxdXY 20 Log Hz REFERENCE SPECTRUM 1.6k
noncoherent signal
at 50 Hz.

42
3-3: Coherence Since a low value of coherence Both the coherent and non-
indicates that only a small per- coherent power spectra have
The coherence function is a centage of the response is directly been used in several interesting
statistical quantity whose related to the stimulus, it is rea- applications. One example is the
dimensionless values represent sonable to assume that the corre- use of the noncoherent power
the fraction of system output sponding measurement data may spectrum by a disc drive manufac-
power directly related to the not accurately reflect the transfer turer to monitor the disturbance
input. Values of coherence are of energy through the tested de- signals within the read/write head
used in two primary applications: vice. In this respect, the coher- positioning servo. By using a ran-
1) as a measure of the quality of a ence function acts as a qualitative dom stimulus signal, the periodic
frequency response measurement tool which can be used to verify signals within the control loop
and 2) to discriminate between the general quality or credibility (such as those caused by cooling
those response signals which are of a measurement. Typical fan vibration, power supply ripple
directly related to (coherent with) causes of low coherence include bleeding into the control loop or
the stimulus signal and those very poor signal-to-noise ratios, an off-centered reference track on
response signals which are not the presence of noncoherent sig- the disc) appear in the response
directly related to (not coherent nals generated within the tested as noncoherent signals. By corre-
with) the stimulus signal. device or, when using FFT analy- lating the known characteristic
sis, leakage due to improper win- frequencies of these signals with
When more than one average is dow selection or insufficient time the spectral components of the
taken per measurement point, the record length1. noncoherent power spectrum, the
coherence function produces a amplitudes of these noncoherent
value from 0.0 to 1.0 for each Coherence can also be used to signals were effectively moni-
point. (For example, when using separate the output power spec- tored, providing more information
SFA, a value of coherence will be trum into two power spectra: the about the overall health of the
produced for each step in the coherent power spectrum which positioning system. A simplified
sweep if the analyzer is pro- represents the output power drawing of the measurement
grammed to average two or more directly related to the input and setup and an actual plot of the
measurements per step.) A coher- the noncoherent power spectrum noncoherent power spectrum are
ence value of 1 indicates that all which represents the output shown in Figure 2-13.
of the output power (response) is power not related to the input.
coherent with the input power
(stimulus) but not necessarily a
result of the input power. A co-
herence value of 0 indicates that
virtually none of the output power
is coherent with the input power.

1
Complete definitions of leakage, window
functions and time records are available in
Hewlett-Packard Application Note 243,
The Fundamentals of Signal Analysis.

43
Chapter 4:
Model

Since all of the data needed to Model: the process of transform- 4-1: Curve Fitting Applied to
calculate the noncoherent power ing the observed characteristics the Modelling Process
spectrum is provided with each of some device or process into
frequency response measurement, theoretical representations con- As an aid in accomplishing this
it can be provided without in- sistent with the analysis/design task, the MDOF curve fitter
creasing measurement time. technique being used. offered with high performance
The ability to increase the DSAs represents one of the most
information obtained from each This definition, when applied to powerful tools ever offered by a
measurement can be especially classical control theory, generally test instrument.
valuable in situations where test- implies the creation of equations
ing time is considered a valuable which accurately predict the By simply displaying a measured
commodity, such as production action or function of some device frequency response and activating
line testing. A copy of a produc- in the frequency or time domains. the MDOF curve fitter, the DSA
tion test report dumped directly Since most design work is done automatically provides an esti-
to a digital plotter by a DSA is in the frequency domain, the mate of the s-plane poles and
shown in Figure 2-14. modeling process can further be zeros and the gain required to
generalized as the development produce the displayed response,
The coherent and noncoherent of frequency domain equations, as shown in Figure 2-15.
power spectra mentioned above typically in a pole/zero format,
can easily be obtained by using which accurately predict a The use of a curve fitter to
waveform math to calculate the device’s frequency response. extract pole/zero information
following formulas: from a measured frequency
response represents a significant
coherent power spectrum =
advancement over the graphic
(output power spectrum) × (coherence spectrum)
techniques commonly used to
noncoherent power spectrum =
derive pole/zero information. The
(output power spectrum) × (1 – coherence spectrum)
curve fitter has the advantage of
where: coherence spectrum utilizing the full frequency and
refers to the collective set of amplitude resolution of the mea-
coherence values which exist sured data and, in many cases,
when more than one average is provides the pole/zero informa-
taken and (1 – coherence spec- tion in the time normally required
trum) implies the subtraction of to obtain and prepare hardcopy
each value of coherence in the plots for graphic interpretation.
coherence spectrum from 1.

The output power spectrum,


like the coherence function, is
a normal by-product of a DSA’s
frequency response calculations
and can be viewed at any time.

More applications for the coher-


ence function (as well as a de-
tailed definition) are provided in
Hewlett-Packard Application Note
245-2, Measuring the Coherence
Function with the HP 3582A
Spectrum Analyzer.

44
Figure 2-14: FREQ RESP 100Avg 50%Ovlp Hann FREQ RESP 100Avg 50%Ovlp Hann
40.0 -20.0
A production
test report
showing the
/Div
data provided dB 20.0
from a
measurement
made on an
operating
closed-loop -40.0
servo system. FxdXY 20 Log Hz 1.6k db
FREQ RESP 100Avg 50%Ovlp Hann
190

Phase

-180
-180
FxdXY 20 Log Hz OPEN-LOOP FREQ RESP 1.6k FxdXY 20 Log Hz REFERENCE SPECTRUM 1.6k

Figure 2-15: FREQ RESP 100Avg 50%Ovlp Hann


40.0
Using an MDOF
curve fitter to dB
estimate the
pole/zero
locations and
gain from -40.0
frequency FxdXY 375m Log Hz 50.37
response data. FREQ RESP 100Avg 50%Ovlp Hann
0.0

Phase

-360
FxdXY 375m Log Hz 50.37

Create
Fit

Curve Fit
Poles And Zeros

POLES 5 ZEROS 2

1 -98.6842 -30.8428
2 -8.03376 ±j 6.78611 -5.36744 ±j 10.7513
3 -1.98173 ±j 9.71016 95.0489 ±j 97.0916

Time delay= 0.0 s Gain= 11.79m Scale= 1.0

45
Figure 2-16: Position Motor Pre-amp 30:1
Sensor and motor Gearbox
θ IN Volts + θM 1 θM 1 θOUT
0.1
Deg Σ ?
s 30
Position
A. Block diagram of Sensor
position control
system with Volts
0.1
unknown transfer Deg
function for motor
and pre-amp.

FREQ RESP 20Avg 50%Ovlp Hann


10.0

dB

K RPM
Volt
-20.0
Fxd Y 50m Log Hz 10.05
FREQ RESP 20Avg 50%Ovlp Hann
180

Phase

K RPM
Volt
0.0
Fxd Y 50m Log Hz 10.05
B. Curve fitting the measured fre-
quency response of the motor and pre-
amp to produce an estimate of the
associated transfer function (poles,
zeros and gain). The upper/lower Create
display format is used after the fit to Fit
compare the measured frequency
response with the frequency response
of the estimated transfer function.

FREQ RESP 20Avg 50%Ovlp Hann FREQ RESP 20Avg 50%Ovlp Hann
10.0 180

dB Phase

K RPM
Volt
-20.0 0.0
Fxd Y 50m Log Hz 10.05 Fxd Y 50m Log Hz 10.05
CURVE FIT CURVE FIT
10.0 180

dB Phase

-20.0 0.0
Fxd Y 50m Log Hz 10.05 Fxd Y 50m Log Hz 10.05

46
Figure 2-16:
(cont.)
Curve Fit
Poles And Zeros

POLES 3 ZEROS 1

1 -599.83m -4.56721
2 -3.27977 ±j 4.19772

C. Producing the
transfer function Time delay= 0.0 s Gain= 10.83 Scale= 1.0
of the motor and
the pre-amp from
pole/zero table
generated by DSA’s
MDOF curve fitter. -10.83 (s + 4.57)
= M(s)
(s +0.6)(s + 3.28 + j4.2)(s + 3.28 - j4.2)

Position Motor Pre-amp 30:1


D. Completed Sensor and motor Gearbox
block diagram. θ IN Volts + θM 1 θM 1 θOUT
0.1
Deg Σ M(s)
s 30
Position
Sensor
Volts
0.1
Deg

Amongst other applications, the preamplifier (of a position control information is automatically syn-
pole/zero data obtained from fre- system) whose specifications, thesized to provide a frequency
quency response measurements such as motor inertia and forward response which can be compared
can be used to either verify the gain, are unknown. with the measured frequency re-
poles and zeros used in an exist- sponse, as shown in Figure 2-16B.
ing analytical model or create an To obtain the motor/preamps The pole/zero data is then used to
initial model of a device with transfer function, the frequency generate a transfer function of the
unknown characteristics. An response of the motor/preamp motor/preamp as illustrated in
example of the latter application is first measured using a DSA Figure 2-16C. The derived trans-
is illustrated in Figure 2-16. In equipped with a MDOF curve fer function can now be added to
this example, a transfer function fitter. The curve fitter is then the system block diagram to com-
is generated for a combination activated resulting in a table of plete the system model, as shown
armature controlled motor and poles and zeros. The pole/zero in Figure 2-16D.

47
4-2: Frequency Response Another use of the synthesis func- ing damage to the system or
Synthesis Applied to the tion utilizes modeling information device being tested.
Modeling Process to optimize the initial testing of
systems. By synthesizing the These examples illustrate only a
Another useful modeling tool frequency response of a system few of the applications in which
provided with advanced DSAs is which has never been tested (i.e. the DSA’s precision measurement
the frequency response synthesis the model has been developed hardware and computational
function (commonly referred to from data sheet information or power contribute to the modeling
as the synthesis function). DSAs initial design parameters), an ini- process. By providing analysis
equipped with this function allow tial estimate of the system’s fre- tools such as frequency response
analytical equations (e.g., transfer quency response can be obtained. synthesis and curve fitting, the
functions) to be entered directly This information can then be used DSA provides a new level of sup-
into the analyzer. The DSA then to estimate the transducers and port for meeting the complex as
calculates and displays the fre- stimulus levels required to prop- well as the routine challenges of
quency response associated with erly test the system, reducing test modeling today’s control systems.
the transfer function, as shown time and, in many cases, prevent-
in Figure 2-17.

Equations may be entered in


one of three formats: pole/zero,
pole/residue (i.e., partial fraction Figure 2-17: Synthesis
expansion), or ratio of polynomi- Synthesizing Poles And Zeros
the frequency
als in s. In addition to providing a response of a
POLES 6 ZEROS 2
conversion function for transfer- control system 1 0.0 -2.4 ±j 4.6
using the DSA’s 2 -300.0m
ring data from one format to 3 -2.3 ±j 4.4
frequency 4 -3.2 ±j 15.6
another, high performance DSAs response
also provide direct transfer of synthesis
data between the synthesis and function.
Time delay= 0.0 s Gain= 794.3 Scale= 1.0
curve fitting functions.

In the modeling process, the


synthesis function is commonly
used in conjunction with the Create
Trace
curve fitter. For example, if the
curve fitter produces more de-
tailed information than required
for a given application, the pole/
zero data can be transferred to SYNTHESIS Pole Zero
50.0
the synthesis function where in-
dB
significant poles and zeros can be
deleted. The frequency response
of the remaining poles and zeros
-150.0
can then be synthesized and com- 100m Log Hz 100
pared to the measured frequency SYNTHESIS Pole Zero
0.0
response. This allows the engi-
neer to verify that the remaining Phase

poles and zeros sufficiently model


the measured frequency response.
-360
Fxd Y 100m Log Hz 100

48
Chapter 5:
Design

Design: determining the combi- 5-1: Applying Frequency Initial measurements on the
nation of physical or theoretical Response Synthesis, Waveform motor speed control were taken
components or parameters that Math and Curve Fitting to the with the control loop closed and
will produce a desired action or Design Process the system’s open-loop gain set
result. approximately 8 dB below the de-
As a design tool, DSAs offer sev- sired operating level. The closed-
The design process, as defined eral data processing functions loop measurement indicated a
above, occurs throughout the which can aid the engineer in sharp resonance at approximately
development of control systems. choosing combinations of compo- 87.5 Hz, as shown in Figure 2-18A.
It begins with the initial concep- nents which will accomplish a de- The open-loop frequency re-
tion of a system and becomes one sired task. For example, the sponse was then calculated from
of an unpredictable sequence of frequency response synthesis the measurement of Y(jω)/S(jω)
development processes which ul- function1 can be used to predict using the T/(1 - T) calculation, as
timately result in a refined, fully the frequency response of com- shown in Figure 2-18B.
operational control system. Typi- pensation networks before they
cally, the purpose of most design are actually built. The waveform The magnitude of the resonance
work (after conceiving the initial math function2 can then be used at 87.5 Hz indicated that an 8 dB
system) is to generate modifica- to predict the effects of a synthe- increase in the gain would cause
tions to the initial system which sized compensation network on the open-loop gain at 90 Hz to
will allow it to comply with the a system’s open-loop frequency exceed 0 dB with the phase less
original design goals or specifica- response or predict the system’s than -180 degrees, creating an
tions. Modifications can range new closed-loop frequency re- unstable operating condition, as
from simple changes in compo- sponse. It can even be used to shown in Figure 2-19. Therefore,
nent values to the design and ad- estimate the step or impulse re- to achieve the desired increase in
dition of complex compensation sponse of the modified system the system’s open-loop gain, a
networks. before the compensation network compensation network was added
is built. to the system to reduce the level
of the 87.5 Hz resonance.
To illustrate the use of the DSA’s
data processing functions in the The compensation network, in
design process, the following case this case a two-pole low-pass
study examines the development filter, was developed by entering
of a simple compensation an initial estimate of the pole
network for a motor speed locations, gain and delay into
controller. the pole/zero table of the DSA’s
frequency response synthesis
function. The synthesized fre-
quency response of the low-pass
filter was then displayed on
the CRT of the DSA, as shown
in Figure 2-20.

1
See section 4-2 for a brief description of
the frequency response synthesis function.
2
See section 3-1 for a brief description of
the waveform math function.

49
Figure 2-18: FREQ RESP 200Avg 50%Ovlp Hann
20.0
Closed-loop
measurement dB
and calculated
open-loop
frequency
response -60.0
showing Fxd Y 500m Log Hz 200.5
FREQ RESP 200Avg 50%Ovlp Hann
resonance 0.0
at 87.5 Hz.
Phase

A. Closed-loop -720
measurement Fxd Y 500m Log Hz CLOSED-LOOP MEAS (T) 200.5
(Y(jω)/S(jω))

T
1 -T

FREQ RESP 200Avg 50%Ovlp Hann


20.0

dB

-60.0
Fxd Y 500m Log Hz 200.5
B. Calculated FREQ RESP 200Avg 50%Ovlp Hann
open-loop 0.0
frequency
Phase
response
(GH(jω ))

-720
Fxd Y 500m Log Hz CALCULATED OPEN-LOOP 200.5

Figure 2-19: Marker indicates 0 dB


Using markers level should the system's
to predict the open-loop gain be
effect of increased by 8 dB.
increasing the
open-loop gain Y = -8.0109
by 8 dB. FREQ RESP 200Avg 50%Ovlp Hann
20.0

dB
Increasing the system's
open-loop gain will
cause the gain to exceed
0 dB with the phase less
-60.0 than -180 degrees causing
Fxd Y 500m Log Hz 200.5 an unstable condition.
FREQ RESP 200Avg 50%Ovlp Hann
0.0

Phase

-720
Fxd Y 500m Log Hz CALCULATED OPEN-LOOP 200.5

50
Figure 2-20: Synthesis
Using the Poles And Zeros
synthesis function POLES 2 ZEROS 0
to calculate the
frequency 1 -38.0 ±j 25.0
response of
a low pass filter.

Time delay= 0.0 s Gain= 2.069k Scale= 1.0

Create
Trace

The frequency response of the


SYNTHESIS Pole Zero
speed control system and the 10.0

synthesized frequency response dB


of the low-pass filter were then
displayed adjacently, as shown
in Figure 2-21. By displaying -30.0
Fxd Y 500m Log Hz 200.5
both frequency responses in this
SYNTHESIS Pole Zero
fashion, the low-pass filter pole 180
locations which provided the best Phase
trade-off between level rejection
and phase shift could quickly
be determined. -180
Fxd Y 500m Log Hz LOW-PASS FILTER 200.5

Figure 2-21: SYNTHESIS Pole Zero


20.0
Synthesized
frequency dB
response of
low pass filter
(upper trace)
and calculated -60.0
open-loop Fxd Y 500m Log Hz LOW-PASS FILTER 200.5
frequency FREQ RESP 200Avg 50%Ovlp Hann
response of 20.0
motor speed dB
controller (lower
trace).

-60.0
A. Gain Fxd Y 500m Log Hz SYSTEM OPEN-LOOP 200.5

SYNTHESIS Pole Zero


0.0

Phase

-720
Fxd Y 500m Log Hz LOW-PASS FILTER 200.5
FREQ RESP 200Avg 50%Ovlp Hann
0.0

Phase

-720
B. Phase Fxd Y 500m Log Hz SYSTEM OPEN-LOOP 200.5

51
Figure 2-22:
Using waveform math
to calculate the effect
of the low-pass filter on
the open-loop frequency
response.

Figure 2-23:
SYNTHESIS Pole Zero
Measured frequency
10.0 response of prototype
(upper trace) compared
dB
to synthesized frequency
response (lower trace).

-30.0
Fxd Y 500m Log Hz SYNTHESIZED MODEL 200.5
FREQ RESP 10Avg 50%Ovlp Hann
SYNTHESIS Pole Zero 10.0
180
dB
Phase

-30.0
-180 Fxd Y 500m Log Hz PROTOTYPE 200.5
Fxd Y 500m Log Hz SYNTHESIZED MODEL 200.5
SYNTHESIS Pole Zero
10.0

dB
FREQ RESP 200Avg 50%Ovlp Hann
20.0

dB
-30.0
A. Gain Fxd Y 500m Log Hz SYNTHESIZED MODEL 200.5

-60.0
Fxd Y 500m Log Hz SYSTEM OPEN-LOOP 200.5
FREQ RESP 10Avg 50%Ovlp Hann
FREQ RESP 200Avg 50%Ovlp Hann 180
0.0
Phase
Phase

-180
-720 Fxd Y 500m Log Hz PROTOTYPE 200.5
Fxd Y 500m Log Hz SYSTEM OPEN-LOOP 200.5
SYNTHESIS Pole Zero
180

Phase

× -180
B. Phase Fxd Y 500m Log Hz SYNTHESIZED MODEL 200.5

FREQ RESP 200Avg 50%Ovlp Hann


20.0

dB

-60.0
Fxd Y 500m Log Hz 200.5
FREQ RESP 200Avg 50%Ovlp Hann
0.0

Phase

-720
Fxd Y 500m Log Hz OPEN-LOOP W/LOW-PASS 200.5

52
To verify the visual approxima- Figure 2-24: FREQ RESP 137Avg 50%Ovlp Hann
20.0
tion, the synthesized frequency Comparison of
response of the low-pass filter the measured dB
(upper trace)
was combined with the open-loop and the predicted
frequency response of the speed (lower trace)
open-loop -60.0
control system using waveform MEAS OPEN-LOOP W/FLT
frequency Fxd Y 500m Log Hz 200.5
math, as shown in Figure 2-22. response with FREQ RESP 200Avg 50%Ovlp Hann
low-pass filter 20.0

Using the information provided by installed. dB


the pole/zero table and a passive
filter design guide, the component
values for the low-pass filter were A. Gain
-60.0
Fxd Y 500m Log Hz CALC OPEN-LOOP W/FLT 200.5
determined and a prototype filter
constructed. The frequency re-
sponse of the prototype was then FREQ RESP 137Avg 50%Ovlp Hann
measured and compared to the 0.0

synthesized frequency response, Phase

as shown in Figure 2-23.

With the low-pass filter installed -720


Fxd Y 500m Log Hz MEAS OPEN-LOOP W/FLT 200.5
in the forward signal path of the
FREQ RESP 200Avg 50%Ovlp Hann
motor speed control, the open- 0.0

loop frequency response was Phase


again measured and compared to
the predicted response, as shown
in Figure 2-24. Finally, the gain B. Phase
-720

of the speed control was raised Fxd Y 500m Log Hz CALC OPEN-LOOP W/FLT 200.5

by 8 dB to provide the desired


performance while maintaining
reasonable gain margin and phase
margin, as shown in Figure 2-25.

Figure 2-25: Open-loop


Measured Bandwidth Gain Margin
open-loop
frequency
X=15.0 ∆X=10.5
response with Yo=22.63mdB ∆Yo=5.6619
low-pass filter
FREQ RESP 210Avg 50%Ovlp Hann
installed and 20.0
gain increased
by 8 dB. dB

-60.0
Fxd Y 500m Log Hz 200.5

Yb=-134.5 Dg ∆Yb=45.51
FREQ RESP 210Avg 50%Ovlp Hann
0.0

Phase

-720
Fxd Y 500m Log Hz FLTRD OPEN-LOOP ÷8DB 200.5

Phase
Margin

53
In this example, the low-pass frequency response synthesis response of the cascade compen-
filter provided enough compensa- function is used to synthesize sation network needed to achieve
tion to achieve the desired system the “ideal” frequency response the “ideal” frequency response for
performance. However, for more for a system. Waveform math is the system. By curve fitting this
demanding applications, a lag- then used to divide the synthe- resultant frequency response, the
lead network could be added to sized response by the system’s DSA supplies the designer with a
the system to further improve the measured frequency response. table of poles and zeros which
system’s performance. The result is the frequency will produce that response.

When building compensation


networks such as the lag-lead
network mentioned above, the
DSA’s curve fitter can be used Figure 2-26: FREQ RESP 210Avg 50%Ovlp Hann
20.0
Curve fitting
to locate the dominant poles and over frequency dB
zeros of a system’s open-loop range of interest
frequency response, as shown in to determine the
dominant poles
Figure 2-26. This information can and zeros of -60.0
then be used with design tools the system. Fxd Y 500m Log Hz 200.5

such as a root locus plot to select CURVE FIT


20.0
the most advantageous position
dB
for the poles and zeros of the
compensation network.
-60.0
The DSA’s curve fitter function Fxd Y 500m Log Hz 200.5
can also be used to suggest the
location of a compensation
network’s poles and zeros. For
example, the pole/zero model of a
Create
“perfect” compensation network Fit
can be derived using a combina-
tion of the frequency response
synthesis, waveform math and
curve fitting functions. First, the Curve Fit
Poles And Zeros

POLES 9 ZEROS 2

1 -3.9 -963.235m ±j 74.3426


2 -24.549 ±j 21.4567
3 -24.3135 ±j 63.7758
4 -2.72413 ±j 85.6206
5 -15.2349 ±j 108.683

Time delay= 0.0 s Gain= 1.1E+12 Scale= 1.0

54
5-2: Using Display Formats Figure 2-27: CURVE FIT
Other Than the Bode Plot Open-loop 4.0
frequency /Div
response of 3.32
By providing a wide choice of motor speed
coordinate formats, advanced controller
DSAs allow the operator to redisplayed in
Imag
the Nichols and
observe frequency response data Nyquist formats.
in the display format which best
conforms with the design tech-
nique being used. For example, A. Nuquist
the open-loop frequency response plot of
of the motor speed controller can open-loop -4.0
frequency Fxd Y -5.14 Real MOTOR SPEED CNTRLR 5.14
be displayed in either the Nichols response.
or Nyquist formats as shown in
Figure 2-27. CURVE FIT
20.0
This rapid exchange of data /Div
between display formats not only 10.0

allows the engineer to capitalize


on the advantages of each display
dB
format, it also serves as a conve-
nient way to bridge communica-
tion gaps between engineers
accustomed to different display
formats. B. Nichols
plot of
open-loop -60.0
frequency Fxd Y -600 MOTOR SPEED CNTRLR 0.0
response.

55
Chapter 6:
Summary

By combining the computational In addition to providing multiple


power of the microprocessor with measurement capabilities, the
the accuracy of precision mea- DSA utilizes the power of the
surement hardware, the Dynamic microprocessor to provide a host
Signal Analyzer has expanded its of automated measurement aids
functional scope to include contri- capable of optimizing measure-
butions in virtually all aspects of ment conditions and rejecting
control system development. undesirable data.

In the area of testing, the DSA has In the area of analysis, the DSA
provided the facilities for making provides functions such as coher-
both time domain and frequency ence, waveform math, curve
domain measurements. Using fitting and advanced display
either the time capture or time formatting as tools for reducing
throughput measurement modes, raw data to valuable information.
the DSA can store large quantities
of time domain data. The data In the areas of modeling and
can then be either displayed in design, the DSA’s frequency
the time domain or routed to the response synthesis and advanced
FFT processor and transformed analysis functions can be utilized
into frequency domain data. in the development of accurate
system models and effective
For making frequency domain system designs.
measurements, the DSA provides
both FFT analysis and Swept Fou- Perhaps the DSA’s most signifi-
rier Analysis. This combination cant contribution is that it has
of measurement capabilities al- brought both advanced measure-
lows the DSA to analyze a control ment capabilities and powerful
system’s response to a wide range analysis tools together in a single
of stimulus signals. This capabil- instrument. This consolidation of
ity can often be used to gain development tools allows the DSA
greater insight into the operation to provide a great deal of valuable
of a control system as well as information — not just data.
minimize measurement times.

56
Appendicies
Appendix A: Glossary

Bandwidth. The interval sepa- Control system, feedback. A Error constant. In a feedback
rating two frequencies between control system which operates to control system, the real number K
which both the gain and the phase achieve prescribed relationships by which the nth derivative of the
difference (of sinusoidal output between selected system vari- reference input signal is divided
referred to sinusoidal input) ables by comparing functions to give the resulting nth compo-
remain within specified limits. of these variables and using the nent of the actuating signal.
difference to effect control.
Bode diagram. A plot of log-gain Frequency, damped. The
and phase-angle values on a Control system, open-loop. apparent frequency of a damped
log-frequency base, for an ele- One which does not utilize oscillatory time response of a
ment transfer function G(jω), a feedback of measured variables. system resulting from a
loop transfer function GH(jω). non-oscillatory stimulus.
The generalized Bode diagram Critically damped. Describing a
comprises similar plots of func- linear second-order system which Frequency, gain crossover. On
tions of the complex variable is damped just enough to prevent a Bode diagram of the loop trans-
s = σ + j ω. any overshoot of the output fer function of a system, the fre-
following an abrupt stimulus. quency at which the gain becomes
Characteristic equation. Of a See also damping. unity (and its decibel value zero)
feedback control system, the rela-
tion formed by equating to zero Critical point. (1) In a Nyquist Frequency, phase crossover.
the denominator of a rationalized diagram for a control system, the Of a loop transfer function the
transfer function of a closed loop. bound of stability for the locus frequency at which the phase
of the loop transfer function angle reaches ± 180 degrees.
Closed loop (feedback loop). GH(jω), the (-1, jω)point. (2) In
A signal path which includes a a Nichols chart, the bound of Frequency response. In a linear
forward path, a feedback path stability for the GH(jω) plot; system, the frequency-dependent
and a summing point, and forms the intersection of GH = 1 with relation in both gain and phase
a closed circuit. GH = – 180 degrees. difference, between steady-state
sinusoidal inputs and the resulting
Compensation. A modifying or Damping. (1) (noun) The pro- steady-state sinusoidal outputs.
supplementary action (also, the gressive reduction or suppression
effect of such action) intended of the oscillation of a system. Function describing. Of a
to improve performance with (2) (adj.) Pertaining to or nonlinear element under periodic
respect to some specified productive of damping. input, a transfer function based
characteristic. solely on the fundamental,
Decibel. In control usage, a ignoring other frequencies.
Control system. A system in logarithmic scale unit relating a
which deliberate guidance or variable x (e.g., angular; displace- Function, loop transfer. For a
manipulation is used to achieve a ment) to a specified reference closed loop, the transfer function
prescribed value of a variable. level x, dB = 20 log x/x0 . obtained by taking the ratio of the
NOTE: It may be subdivided into a NOTE: The relation is strictly applicable Laplace transform of the return
controlling system and a controlled only where the ratio x/x0 is the square root signal to the Laplace transform of
system. of the power ratio P/P0, as is true for
its corresponding error signal.
voltage or current ratios. The value
Control system, automatic. A dB = 10 log P/P0 originated in telephone
engineering, and is approximately Function, output transfer.
control system which operates equivalent to the old “transmission unit”.
For a closed loop, the transfer
without human intervention.
function obtained by taking the
Dither. A useful oscillation of
ratio of the Laplace transform of
small amplitude introduced to
the output signal to the Laplace
overcome the effects of friction,
transform of the input signal.
hysteresis or clogging.

57
Function, return transfer. Gain characteristic, loop. Of Nichols chart (Nichols diagram).
For a closed loop, the transfer a closed loop, the magnitude of A plot showing magnitude con-
function obtained by taking the the loop transfer function for tours and phase contours of the
ratio of the Laplace transform of real frequencies. return transfer function referred
the return signal to the Laplace to ordinates of logarithmic loop
transform of its corresponding Gain, closed-loop. The gain of a gain and to abscises of loop
input signal. closed-loop system, expressed as phase angle.
the ratio of output to input.
Function, system transfer. Nyquist diagram. A polar plot
The transfer function obtained by Gain, loop. The absolute of the loop transfer function.
taking the ratio of the Laplace magnitude of the loop gain NOTE: The “inverse Nyquist diagram” is a
transform of the signal corre- characteristic at a specified polar plot of the reciprocal function. The
generalized Nyquist diagram comprises
sponding to the ultimately frequency.
plots of the loop transfer function of the
controlled variable to the complex variables, where s = σ + j ω and
Laplace transform of the signal Gain margin. Of the loop σ and ω are arbitrary constants,
including zero.
corresponding to the command. transfer function for a stable
feedback system, the reciprocal
Overdamped. Damped suffi-
Function, transfer. A math- of the gain at the frequency at
ciently to prevent any oscillation
ematical, graphical, or tabular which the phase angle reaches
of the output following a step or
statement of the influence which minus 180 degrees.
impulse input.
a system or element has on a NOTE: Gain margin, sometimes expressed
NOTE: For a linear second-order system
signal or action compared at in decibels is a convenient way of
the roots of the characteristic equation are
estimating relative stability by Nyquist,
input and at output terminals. real and unequal.
Bode, or Nichols diagrams, for systems
with similar gain and phase characteristics.
Gain (magnitude ratio). For In a conditionally stable feedback system, Phase angle, loop. Of a closed
gain margin is understood to refer to the loop, the value of the loop phase
a linear system or element, the ra-
highest frequency at which the phase angle
tio of the magnitude (amplitude) is minus 180 degrees. characteristic at a specified
of a steady-state sinusoidal output frequency.
relative to the causal input; the M-peak. Of a closed loop, the
length of a phasor from the origin maximum value of the magnitude Phase characteristic, loop.
to a point of the transfer locus in of the return transfer function Of a closed loop, the phase angle
a complex plane. for real frequencies, the value at of the loop transfer function for
NOTE: The quantity may be separated into zero frequency being normalized real frequencies.
two factors: (1) a proportional amplifica- to unity.
tion often denoted as K which is fre-
quency-independent, and associated with a
dimensioned scale factor relating the units
of input and output; (2) a dimensionless
factor often denoted as G(jω) which is
frequency-dependent. Frequency,
conditions of operation, and conditions of
measurement must be specified A loop
gain characteristic is a plot of log gain vs.
log frequency. In nonlinear systems, gains
are often amplitude-dependent; see also
transfer function.

58
Phase margin. Of the loop trans- Root locus. For a closed loop Stability. For a control system,
fer function for a stable feedback whose characteristic equation is the property that sufficiently
control system, 180 deg. minus KG(s)H(s)+1 =0, a plot in the bounded input or initial state per-
the absolute value of the loop s-plane of all those values of s turbation result in bounded state
phase angle at a frequency where which make G(s)H(s) a negative or output perturbations. Time,
the loop gain is unity. real number; those points which rise. The time required for the
NOTE: Phase margin is a convenient way make the loop transfer function output of a system (other than
of expressing relative stability of a linear KG(s)H(s) = -1 are roots. first-order) to make the change
system under parameter changes in
NOTE: The locus is conveniently sketched from a small specified percentage
Nyquist, Bode or Nichols diagrams. In
a conditionally stable feedback control from the factored form of KG(s)H(s); each (often 5 or 10) of the steady-state
branch starts at a pole of that function,
system where the loop gain becomes increment to a large specified
unity at several frequencies, the term is with K = 0. With increasing K, the locus
proceeds along its several branches toward percentage (often 90 or 95),
understood to apply to the value of phase
margin at the highest of these frequencies. a zero of that function and, often asymp- either before overshoot or in
totic to one of several equiangular radial
the absence of overshoot.
lines, toward infinity. Roots lie at points
Pole. (1) Of a transfer function on the locus for which (1) the sum of NOTE: If the term is unqualified, response
in the complex variable s, a value the phase angles of component G(s)H(s) o a unit-step stimulus is understood,
of s which makes the function vectors totals 180 deg., and for which otherwise the pattern and magnitude of
(2) 1/K =|G(s)H(s)|. Critical damping of the stimulus should be specified.
infinite. (2) The corresponding the closed loop occurs when the locus
point in the s-plane. breaks away from the real axis; instability Time, settling (correction time).
when it crosses the imaginary axis.
NOTE: If the same value is repeated n The time required following the
times, it is called a pole of nth order; if it initiation of a specified stimulus
occurs only once, a simple pole. Servomechanism. An automatic
feedback control system in which to a linear system for the output
Resonance. Of a system or ele- the controlled variable is me- to enter and remain within a
ment, a condition evidenced by chanical position or any of its specified narrow band centered
large oscillatory amplitude which time derivatives. on its steady-state value.
results when a small amplitude of NOTE: The stimulus may be a step,
a periodic input has a frequency impulse, ramp, parabola, or sinusoid.
Servomechanism type number.
For a step or impulse, the band is often
approaching one of the natural In control systems in which the specified as ±2%. For nonlinear behavior,
frequencies of the driven system. loop transfer function is: both magnitude and pattern of the stimulus
K(1 + a1s + a2s2 + . . . + a isi) should be specified.
NOTE: In a feedback control system, this
occurs near the stability limit. Sn(1 + b1s + b2s 2 + . . . + bksk)
Underdamped. Damped insuffi-
where K, a, b etc. are constant
Response, steady-state. Of a ciently to prevent oscillation of
coefficients, the value of the
stable system or element, that the output following an abrupt
integer n.
part of the time response remain- stimulus.
ing after transients have expired.
NOTE: The term steady-state may also Zero. (1) of a transfer function in
be applied to any of the forced response the complex variable s, a value of
terms: for example, “steady-state s which makes the function zero.
sine-forced response”.
(2) The corresponding point in the
s-plane.
NOTE: If the same value is repeated n
times, it is called a zero of nth order; if it
occurs only once, a simple zero.

59
0
Appendix B: Bibliography

American National Standard Kuo, B. C., 4th Ed., 1982. For more information about Hewlett-
Packard test & measurement products,
Association, 1981. Terminology Automatic Control Systems. applications, services, and for a current
for Automatic Control, ANSI Prentice-Hall, sales office listing, visit our web site,
MC85.1M-1981. American Society Englewood Cliffs, NJ. http://www.hp.com/go/tmdir. You can
also contact one of the following
of Mechanical Engineers, New centers and ask for a test and
York, NY. MacFarlane, A. G. J., ed. measurement sales representative.
Frequency-Response Methods in
United States:
Brogan, W. L., 1974. Modern Control Systems. IEEE Press, Hewlett-Packard Company
Control Theory. Guantum, New York, NY. Test and Measurement Call Center
New York, NY. P.O. Box 4026
Englewood, CO 80155-4026
Nagrath, I. J., and M. Gopal, 1982. 1 800 452 4844
D’Azzo, J. J.. and C. H. Houpis, Control Systems Engineering.
1981. Feedback Control System Wiley Eastern, New Delhi, India. Canada:
Hewlett-Packard Canada Ltd.
Analysis and Synthesis. 5150 Spectrum Way
McGraw-Hill, New York, NY. Thaler, G J., ed., 1974. Automatic Mississauga, Ontario
Control: Classical Linear L4W 5G1
(905) 206 4725
DiStefano, J. J., A. R. Stubberud, Theory. Dowden, Hutchinson,
and I. J. Williams, 1967. Schaum’s & Ross, Stroudsburg, PA. Europe:
Outline of Theory and Problems Hewlett-Packard
European Marketing Centre
of Feedback and Control Thaler, G. J. and R. G. Brown, P.O. Box 999
Systems. Schaum, New York, NY. 1960. Analysis and Design of 1180 AZ Amstelveen
Feedback Control Systems. The Netherlands
(31 20) 547 9900
Dorf, R. C., 1980. Modern Control McGraw-Hill, New York, NY.
Systems. Addison-Wesley, Japan:
Reading, MA. Chen, C.T., 1984. Linear System Hewlett-Packard Japan Ltd.
Measurement Assistance Center
Theory and Design. 9-1, Takakura-Cho, Hachioji-Shi,
Gabel, R. A., and R. A. Roberts. Holt, Rinehart, and Winston. Tokyo 192, Japan
Signals and Linear Systems. Tel: (81) 426 56 7832
Fax: (81) 426 56 7840
John Wiley, New York, NY. Appendix C:
Acknowledgments Latin America:
Hewlett-Packard Co. Digital Hewlett-Packard
Latin American Region Headquarters
Signal Analysis, Feedback Many of the definitions within 5200 Blue Lagoon Drive
Control System Measurements. this application note have been 9th Floor
Application note 240-1. either influenced by, or directly Miami, Florida 33126
U.S.A.
reprinted from American National Tel: (305) 267-4245
Hewlett-Packard Co. Measuring Standard ANSI MC85.1M-1981 (305) 267-4220
the Coherence Function with the with permission from the Fax: (305) 267-4288
HP 3582A Spectrum Analyzer. publisher. Australia/New Zealand:
Application note 245-2. Hewlett-Packard Australia Ltd.
31-41 Joseph Street
Blackburn, Victoria 3130
Hewlett-Packard Co., 1982. Australia
The Fundamentals of Signal Tel: 1 800 629 485 (Australia)
Analysis. Application note 243. 0800 738 378 (New Zealand)
Fax: (61 3) 9210 5489

Institute of Electrical and Elec- Asia Pacific:


tronics Engineers. Standards Hewlett-Packard Asia Pacific Ltd.
17-21/F Shell Tower, Times Square,
Committee, 1972. IEEE Standard 1 Matheson Street, Causeway Bay,
Dictionary of Electrical and Hong Kong
Electronics Terms. IEEE, Tel: (852) 2599 7777
Fax: (852) 2506 9285
New York, NY, IEEE Standard
100-1972. Data is subject to change.
Copyright © 1998 Hewlett-Packard Co.
Printed in U.S.A. 3/98
5953-5136E

You might also like