Time To Frequency: The Transformation From Domain
Time To Frequency: The Transformation From Domain
Time To Frequency: The Transformation From Domain
THE TRANSFORMATION
FROM TIME TO
FREQUENCY DOMAIN
A series of three articles will feature Frequency Response Function
(FRF) measurements. The FRF, describing the frequency-dependent
AUTHORS’ NOTE
behaviour of linear systems, is an indispensable tool in the engineering
Pieter Nuij, senior system
of dynamic systems. This series is not meant to be mathematically
architect, and David rigorous but aims at an understanding of the main steps to determine
Rijlaarsdam, group leader,
both work at NTS Systems
the FRF based on real measurements from an application point of view.
Development in Eindhoven, Part 1 deals with the transformation of time-domain signals to the
the Netherlands.
frequency domain and may serve as a stand-alone guide for basic signal
pieter.nuij@nts-group.nl
www.nts-group.nl analysis.
PIETER NUIJ AND DAVID RIJLAARSDAM
8 MIKRONIEK nr 2 2014
1 Time trace of torque
measurement.
2 Spectrum of torque
measurement.
3 Necessary steps to
convert a continuous
time signal into
numerical data points.
Certified Precision
Engineer competencies
The content of this series of three articles is in
part covered in the “Experimental Techniques in
Mechatronics” course, provided by The High
Tech Institute (HTI). This course has been
selected for the DSPE Certification Program (see
page 58).
WWW.DSPEREGISTRATION.NL WWW.HIGHTECHINSTITUTE.NL
3
nr 2 2014 MIKRONIEK 9
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 1
4 Introduction of errors by
sampling.
(a) Signal (blue) with
frequency fsignal sampled
with frequency fsample
(red).
(b) Signal (blue) with
frequency fsignal + fsample
sampled with frequency
fsample (red). The
reconstructed signal is
the aliasing component
4a (black).
5 Analysis of time signal
x(t) in blue.
(a) Periodically
reconstructed time
signal based on
measurement signal
x1(t) in red.
(b) Some of the signal
components present in
x1(t).
4b
T1 = # samples / fs
Figure 5a shows a time signal x(t) of which frequency Figure 7 shows the situation that T2, the length of the
components are to be identified (= transformed from time measurement record x2(t), is not an integer amount of
to frequency domain). Since the signal is periodic with a periods T of x(t) any longer. The FFT algorithm will again
period of T, it consists of a series of cosine components determine the best fit of a series of cosines, but this time
10 MIKRONIEK nr 2 2014
6 Spectra of measurement
signal x1(t) in case the
measurement record
length T1 is equal to
period T.
(a) Amplitude.
(b) Phase.
7 Results in case the
measurement record
length T2 is not an
integer amount of
6a
periods T.
(a) Time signal x(t) in
blue and periodically
reconstructed time
signal based on
measurement signal
x2(t) in red.
(b) Amplitude and
phase spectra of
measurement signal
x1(t) in blue and x2(t) in
red, both with starting
time t = 0 s.
6b
In Figure 8a the weighting function is depicted in black. independent characteristics. This does not require the
Applying this weighting function to x2(t) results in a new signal to be periodic. A noise signal with time-independent
time trace x2hanning(t) = w(t) · x2(t), which represents a signal mean and variance also fulfils this criterion.
with reduced discontinuities, see Figure 8a in red. Figure 8b
shows the spectra of x1(t) in blue, x2(t) in red and x2hanning(t) In modal analysis a transient signal (hammer impact) is
in black in a logarithmic amplitude format. The leakage often used for system excitation. A transient weighting
error in x2(t) is clearly visible. This error even obscures the function is applied to improve the signal-to-noise ratio for
presence of a weak signal component at 8 Hz. the analysis of these short transient signals. The transient
weighting function is defined as:
Applying a Hanning weighting function significantly
reduces the leakage error, but it cannot be applied to all w(t) = 1 for t0 ≤ t < t0 + tw and 0 ≤ t0 < T – tw
signals. Since w(t) is not a constant but a function of time,
this type of weighting is only allowed for signals with time- w(t) = 0 elsewhere
nr 2 2014 MIKRONIEK 11
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 1
w(t) = 0 elsewhere 8a
Signal units
So far the focus was on periodic signals that consist of a
series of discrete frequency components with constant 8b
12 MIKRONIEK nr 2 2014
The most basic test signal is the sinusoid. If the frequency is cannot be used for coherence measurements when only one
a multiple of the frequency resolution Δf = 1/T, then no phase realisation is used.
weighting function is required. The crest factor is only √2,
which makes it a well-suited signal for testing extremely Unlike multi-sine signals, random noise has a continuous
delicate systems. The sinusoid is ideal for measuring the spectrum and is not periodic. This results in leakage and so
Higher Order Sinusoidal Input Describing Functions the use of a Hanning weighting function is required. The
(HOSIDF) to determine nonlinear behaviour, as will be frequency range can be optimised by filtering. Within this
discussed in Part 3 of this series. Since all power is range the PSD can be flat (white noise) or inversely
contained in only one frequency line, many measurements proportional with frequency (pink noise). Noise is
are required to cover a frequency range. uncorrelated with all other signals. The cross-spectrum of
noise and any other signal will converge to 0 after
Measurement time can be reduced by constructing a test averaging, as will be explained in Part 2. This property is
signal that contains power at many frequency lines at the used to determine the frequency response function of a
same time. These multi-sine signals can be processed system under non-ideal measurement conditions.
without weighting function if all the frequency components
coincide with frequency lines of the FFT. The crest factor The pulse signal differs from the test signals mentioned
can be minimised by manipulating the phase of all earlier in the sense that its power distribution over
frequency components and can even become less than √2. frequency is time-dependent. For modal analysis
measurements the pulse is generated by a hammer impact.
In a special class of multi-sine signals distinct frequency By changing the hardness of the hammer tip, the frequency
lines do not contain energy. If a nonlinear system is excited range of the pulse spectrum can be influenced. A soft tip
by these special odd multi-sines, its response will contain will result in a wider pulse, which contains less high-
power in the non-excited frequency lines, which serve as frequency energy. As mentioned in the paragraph on
detection lines for nonlinear behaviour. It is important to weighting functions, an impact window can be used to
realise that these signals are periodic and thus consist of increase the signal-to-noise ratio of the measurement.
frequency components with a fixed amplitude and phase. In Triggering is important to align the window with the pulse.
Part 2 it will become clear that for this reason multi-sines To capture the total pulse, a pre-trigger delay is required. ◾
Summary
Signal Units Weighting function Trigger condition
Sine f = n · Δf None
Ampl. [units] Free run
Sine f ≠ n · Δf Hanning
Multi-sine, linked to Δf Ampl. [units] None Free run
Random PSD [units2/Hz] Hanning Free run
Pulse ESD [units2 s/Hz] Transient window Pre-triggered on pulse
LITERATURE
• J.S. Bendat, A.G. Piersol, “Random data: analysis and
Coming up in Part 2 measurement procedures”, Chichester: Wiley-
Interscience, 2000, ISBN 0-471-31733-0.
• J.W. Cooley, J.W. Tukey, “An algorithm for the Machine
In Part 2 the Frequency Response Function will be introduced as the Calculation of Complex Fourier Series”, Math. Comp.
Vol. 19 (90), pp. 297-301,1965.
frequency-domain description of dynamic behaviour of linear dynamic • R.B. Randall, “Frequency analysis”, Naerum: Bruel &
systems. The article will focus on the practical aspects of FRF Kjaer, 1987, ISBN 87-87355-07-8.
measurements: choice of test signals, picket-fence effect,
measurement noise, and interpretation of the coherence function for
detection of nonlinearities. Both open-loop and closed-loop systems
will be considered.
nr 2 2014 MIKRONIEK 13
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 2
32 MIKRONIEK nr 3 2014
Bias errors in FRF estimates
As discussed in the previous section, the FRF can be
calculated from the Fourier transforms of the input and
output signals of the system to be described. In the ideal
situation as shown in Figure 2, the FRF calculation will
yield an unbiased estimate:
2
B( f ) Y ( f )
= = H( f )
A( f ) U ( f )
B( f ) V( f )
= H( f ) +
A( f ) A( f )
Moreover, noise in the input signal, as shown in Figure 4,
will also result in a biased FRF estimate:
B( f ) W( f )
= H ( f ) 1 −
4
A( f ) A( f )
Since noise is always present in realistic measurements, the
calculation of the FRF from the Fourier-transformed time
signal A(t) and B(t) will always be biased. A significant
improvement in the estimation of the FRF can be achieved
Applying this transformation to the DE results in: 2 Ideal, noise-free by using the cross-spectrum. This will be introduced in the
situation. next section.
3 Noise in the output
F ( s ) = ms 2 X ( s ) + dsX ( s ) + cX ( s ) signal.
assuming f '(0) = f (0) = 0 4 Noise in the input signal. The auto-spectrum and the cross-spectrum
The Fourier transform of a time signal a(t) is defined as:
From this expression, the input-output relationship
+∞
becomes a polynomial expression with variable s: A( f ) = F{ a( t )} = ∫ a ( t )e − j 2 πft dt
−∞
X(s) 1
= 2
F(s) ms + ds + c
which is called the transfer function. Next, substituting
s = jω = j2πf in the transfer function results in the FRF:
Certified Precision Engineer
X(f )
=
1
F(f ) ( j2πf ) m + j2πfd + c
2 competencies
The content of this series of three
X(f ) and F(f ) are the Fourier transforms of x(t) and f(t), so articles is in part covered in the
the FRF of a dynamic system can be determined from its “Experimental Techniques in
input excitation signal and the resulting output response Mechatronics” course, provided by The
time signal using a fast Fourier transform (FFT) analyser. High Tech Institute (HTI). This course
This is correct from a theoretical point of view, but the has been selected for the DSPE
estimate will be biased if the influence of measurement Certification Program (see page 26).
noise is not taken into account, as will be discussed in the WWW.DSPEREGISTRATION.NL WWW.HIGHTECHINSTITUTE.NL
next section.
nr 3 2014 MIKRONIEK 33
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 2
SAA ( f ) = A* ( f ) ⋅ A( f )
SAB ( f ) = A* ( f ) ⋅ B( f ) B = H ⋅ A +V
A* ⋅ B = H ⋅ A* ⋅ A + A* ⋅ V
and can be calculated using the FFT by averaging
B = Hthe
⋅ A +V A* ⋅ B A* ⋅ V
individual cross-spectra estimates: =H+ *
A* ⋅ B = H ⋅ A* ⋅ A + A* ⋅ V A ⋅A
*
A ⋅A
SAB ( f )
1 n ˆ* ˆ A* ⋅ B A* ⋅ V H1( f ) = if SAV ( f ) = 0 [v( t ) , a( t ) uncorrela
SAB ( f ) = lim ∑ A i ( f ) ⋅ Bi ( f ) = H + SAA ( f )
n→∞ n i =1 A* ⋅ A A* ⋅ A
SAB ( f )
H1( f ) = SAB(f )
Unlike the auto-spectrum SAA(f ), the cross-spectrum if SAV ( f ) = 0 [v(t), a(t) uncorrelated]
SAA ( f )
is complex valued. The magnitude of each individual cross-
spectrum estimate is the product of the magnitudes of the Likewise for the situation of noise in the input
two individual signal components with frequency fk. The measurement, as shown in Figure 4, the unbiased estimate
phase of the cross-spectrum is the phase difference Δφ(fk) for the FRF can be calculated using:
between the corresponding frequency components Â(fk)
SBB ( f )
and Bˆ( f ) . H2( f ) = if SBW ( f ) = 0 [w(t) , b(t) uncorr
k
SBA ( f )
SBB ( f )
H (f) if SBW ( f ) 0 [w( t ) , b( t ) uncorrelated]
Since the averaging operation is done on complex 2values,SBA ( f )
the magnitude of the averaged cross-spectrum will also In both cases, the excitation signal is expected to be
depend on the variation of Δφ(fk) over the measurement uncorrelated with the noise components in the measured
records as can be seen in Figure 5. If two signals are input and output signals. This is always the case if the
uncorrelated, the phase difference Δφ(fk) will be random excitation signal is a random signal.
and the magnitude of the averaged cross-spectrum will be
zero (see Figure 5c). The coherence function
In system analysis, it is important to quantify the degree of
The cross-spectrum emphasises common frequency linear relationship between the input and output signals. In
components in both signals, with a consistent phase statistics, this relationship is indicated by the correlation
relationship. This characteristic will be used in all practical coefficient, while in the frequency domain, it is indicated by
measurements where noise is always present. In the second the coherence function γ2(f ):
part of this paper, the variables in all derivations are 2
SAB ( f )
assumed to be a function of frequency and the notation ‘(f )’ γ2( f ) = 0 ≤ γ2( f ) ≤ 1
SAA ( f ) ⋅ SBB ( f )
is left out in the formulae for clarity.
34 MIKRONIEK nr 3 2014
7a 7b
nonlinear system behaviour. Even if the coherence is Any attempt to determine H(f ) directly from the measured
determined using averaging, all deterministic test signals input signal A(f ) and the measured output signal B(f ) will
will yield a coherence value close to one if there is minimal fail because of the correlation between N(f ) and A(f ) and
measurement noise compared to the test signal. Examples R(f ) and A(f ):
of these types of test signals are the multi-sine and the
hammer impact if all impacts are equally strong. B = H ( N + T + CR − CB ) → B (1 + CH ) = H ( N + T + CR )
A = T + C ( R − H ( N + A )) → A (1 + CH ) = T + C ( R − HN )
Figure 7a shows the FRF and coherence of a measurement
B N + T + CR SAB SAN + SAT + CSAR
of a nonlinear system using chirp excitation. The coherence =H → =H⋅
A T + C ( R − HN ) SAA SAT + C ( SAR − HSAN )
is clearly one over most of the frequency range, which
nr 3 2014 MIKRONIEK 35
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 2
Even if the setpoint signal R(f ) is equal to zero, the estimate difficult, but the torque signal can be calculated from a
of H(f ) will remain biased: simple motor current measurement if the motor constant is
known. Measuring small displacements at high frequencies
SAB ( f ) SAN ( f ) + SAT ( f )
= H( f ) ⋅ with a good signal-to-noise ratio is often difficult, while
SAA ( f ) SAT ( f ) − C( f ) H ( f )SAN ( f ) measuring accelerations at high frequencies is simple
Depending on the signal-to-noise ratios in the loop, the because of the increase in sensitivity with (j2πf )2. The
estimate of the FRF of the plant may vary between H(f ) and corresponding FRF can be calculated by dividing the FRF
–1/C(f ). by (j2πf )2. Time spent on optimising the signal-to-noise
A robust alternative to determine the plant FRF H(f ) in a ratio of the measurement signals is time well spent.
closed-loop system is the three-point method in which the
sensitivity S(f ) and the process sensitivity PS(f ) are Choice of frequency range and frequency resolution
determined: Take a broad frequency range for the first measurement to
get a good general overview of the region of interest. In the
STA 1 C STR − HSTN 1
S( f ) = = + = subsequent measurements, however, limit the frequency
STT 1 + CH 1 + CH STT 1 + C( f ) H ( f ) range to the region of interest so as not to excite system
S H 1 STR − HSTN H( f ) dynamics outside that range. The required frequency
PS( f ) = − TE = − =
STT 1 + CH 1 + CH STT 1 + C ( f )H( f ) resolution of the measurement depends on the damping at
PS( f ) the resonances or antiresonances. Too coarse a resolution
H( f ) =
S( f ) will underestimate the magnitude at the resonance
frequency because of the ‘picket fence effect’. A very
if R(f ), T(f ) and N(f) are uncorrelated, and averaged narrow resolution will not result in any additional quality
spectra and cross-spectra are used. improvement; it will only result in unnecessary
measurement time.
Tips for measuring an FRF in practice
Although a thorough understanding of the theory behind Figure 9a shows the measurements of a resonance at three
the FRF helps, it does not guarantee good measurement different frequency resolutions with a chirp test signal
results. Experience with experimentation is also required under leakage-free conditions. The estimate of the
for good results. This section focuses on some practical resonance magnitude depends on the frequency resolution
measurement aspects. used and shows a 2.2dB variation. As a rule, a resonance is
estimated correctly if the frequency interval between the
Choose the proper input and output signals -3dB magnitude frequencies is covered by at least five
The choice of input and output signal is often determined frequency lines. Figure 9b shows the measurement results
by the accessibility of the signals. Measuring torque is often of the same system but with a random noise test signal.
36 MIKRONIEK nr 3 2014
10
Apart from the ‘picket fence effect’, leakage errors are also 10 The –20dB rule to power in this frequency range is an option. Other options
evident. These errors show up as a difference in the determine the useful are zoom measurements in that limited frequency range.
frequency range in the
magnitude values for the same frequency line as a function case of impact This will allow the signal conditioning to be optimised to
of the resolution. Even using a Hanning weighting excitation. reduce the quantisation noise.
function, these differences amount to approximately 4 dB
at 4,100 Hz. Reduce unnecessary nonlinear behaviour as much as
possible
Hammer or shaker excitation for modal analysis? All real systems are in essence nonlinear, but for many
The choice of excitation is often dictated by practical systems, under normal operating conditions, the nonlinear
considerations like the accessibility of the test object, the behaviour can be ignored if the measurements are carried
ease of mounting a shaker and the required frequency range out carefully. Do not over-drive the system, check for
of excitation. In the case of impact excitation, the tip of the saturating power amplifiers and overloaded sensors. Listen
hammer determines the width of the excitation spectrum. for rattles in coverings, check for strong 50/60Hz
The useful frequency range starts at 0 Hz and is limited to harmonics. Optimise the sensor signal-to-noise ratio and
that frequency at which the magnitude is 20 dB less than choose proper ADC input ranging. Prevent aliasing and
the low-frequency magnitude, as can be seen in Figure 10. reduce leakage.
When testing very sensitive equipment, shaker excitation is Do the FRF measurements under the proper operating
often preferred over impact excitation. A band-limited conditions
white noise test signal in combination with a Hanning Friction in positioning systems often induces stick-slip
weighting function is a good starting point because the total behaviour. The stick phase system dynamics are very
signal power is evenly distributed over the frequency range different from the dynamics in the slip phase. For FRF
of interest. This reduces the risk of over-driving resonances, measurements in the stick phase, only very small excitations
which can happen with a sinusoidal excitation signal. are allowed in the 100 nm range. The slip phase dynamics
Moreover, because random noise is not a deterministic can be measured reliably by jogging the system.
signal, the information from the coherence function can be
used to assess the linearity of the measurement. Be critical about the measurement results
Figure 11 shows a typical evolution in the quality of an FRF
Optimise the signal-to-noise ratio of the signals measurement. The excitation signal is band-limited white
A dip in the coherence function often coincides with a low noise. The left column shows the magnitudes of the FRF
value in the excitation and/or response spectra. If the measurements, while the right column shows the
magnitude at the anti-resonance frequency is relevant, corresponding coherence plots. In both columns, the red
increasing the signal-to-noise ratio by increasing the input curves represent the final results. In the upper row in blue, a
nr 3 2014 MIKRONIEK 37
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 2
11
frequency resolution of 200 Hz was used with a rectangular With the same excitation signal level and weighting 11 FRF estimates for
weighting function. Both large leakage errors and picket function as in row two, the measurement in the third row is various weighting
functions, frequency
fence errors are present. done with a frequency resolution of 6.25 Hz. Once again, resolutions and
the leakage error is reduced as indicated by the increased excitation levels.
The second row shows the results for a measurement with value of the coherence function. The picket fence error is
equal excitation signal level and frequency resolution but also reduced. The remaining minima in the coherence
with a Hanning weighting function. The increase in function coincide with the antiresonances. The bottom row
coherence is caused by a significant reduction in leakage shows the final results. In this measurement, the RMS value
error. The picket fence error is not reduced. The coherence of the excitation signal is increased by a factor of 10, which
function still shows ranges with low values, however. These results in an increased signal-to-noise ratio of the output
ranges coincide with the resonances and antiresonances. signal. This results in a better coherence for the anti-
There are different reasons for the low coherence values of resonances. One should be careful about increasing the
the resonances and antiresonances. In the case of the excitation signal any further, as this may over-drive the
resonances the low coherence is due to leakage, while in the system resulting in a lower coherence value due to the
case of the antiresonances the low coherence is caused by induced nonlinearity. ◾
low signal-to-noise ratios, as will become evident from the
subsequent measurements.
LITERATURE
• P. Nuij, D. Rijlaarsdam, “Introduction to Frequency Response
Function Measurements (Part 1)”, Mikroniek, Vol. 54 (2), pp. 8-13,
Coming up in Part 3 2014.
• J.S. Bendat, A.G. Piersol, Engineering applications of Correlation and
Spectral Analysis, Chichester: Wiley-Interscience, 1993, ISBN: 0-471-
Part 3 will introduce frequency domain methods to use in practice to 57055-9.
model and optimise the performance of nonlinear systems. The article • H. Herlufsen, “Dual Channel FFT Analysis (Part 1)”, Brüel & Kjær
Technical Review, No. 1, 1984.
provides a brief overview and experimental examples of existing
modelling techniques and a novel method to assess and optimise the
performance of nonlinear systems using frequency domain-based
tooling.
38 MIKRONIEK nr 3 2014
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 3
FREQUENCY DOMAIN
MODELLING AND
PERFORMANCE
OPTIMISATION OF
NONLINEAR SYSTEMS
AUTHORS’ NOTE
Concluding a series of three, this article deals with frequency domain
David Rijlaarsdam, group
leader, and Pieter Nuij, senior methods when applied to systems subject to nonlinear dynamical
system architect, both work at effects. To meet increasing system requirements, techniques have to
NTS Systems Development in
Eindhoven, the Netherlands. deal with the performance-degrading effects of nonlinearities. When
Maarten Steinbuch is full applied with care, frequency domain methods provide practically
professor in the department of
Control Systems Technology at applicable tools to model and optimise the performance of nonlinear
Eindhoven University of
Technology. Johan Schoukens
systems. This article provides a brief overview and experimental
is full professor in the examples of existing modelling techniques, as well as a novel method
department of Fundamental
Electricity and Instrumentation
for performance assessment and optimisation using frequency domain
at the Free University of based tooling.
Brussels (VUB), Belgium.
david.rijlaarsdam@ DAVID RIJLAARSDAM, PIETER NUIJ, MAARTEN STEINBUCH AND JOHAN SCHOUKENS
nts-group.nl
www.nts-group.nl
Introduction
Three articles Increasing performance requirements on high-performance
(motion) systems require novel techniques to deal with
In a series of three articles on Frequency Response Function (FRF) performance-degrading effects of nonlinearities. For linear
measurements, this third article focusses on the extension of and time-invariant (LTI) systems, frequency domain
frequency-domain methods towards nonlinear systems and the methods are widely accepted in the engineering community
application of such methods to define and optimise the performance for modelling as well as performance optimisation
of such systems. The first article [1] covered the steps necessary to purposes. Although systems may be specifically designed to
convert a time-continuous signal into a discrete spectrum. Potential minimise nonlinear effects, nonlinearities such as magnetic
errors caused by aliasing and leakage were explained and solutions fields may be inherently present in the design. In particular,
were presented. An overview of several types of test signals was some applications require the presence of nonlinear effects,
presented. The second article [2] introduced the FRF, explaining the such as friction in the motion stage of an electron
choice of test signals in relation to the coherence function and the microscope. Whether performance is measured by speed,
measurement of the FRF in open- and closed-loop systems. Each accuracy, reproducibility, smoothness, or other
article is illustrated with examples. performance measures, the effects of nonlinearities become
increasingly important in high-precision applications.
22 MIKRONIEK nr 4 2014
1 2a
nr 4 2014 MIKRONIEK 23
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 3
Content at frequencies
Legend:
Intermodulation
present in input
Desensitisation
green:
effect captured / info available
Harmonics
expansion
red:
effect not captured / info not
available
dependence of dependence of combination of generation of
orange: gain on input response at one input frequencies frequency
effect partly captured / info available, excitation level frequency on to produce new components in
requires additional processing input at another frequencies in the output at
phase
phase
gain
frequency
Conventional FRF
Generalised FRF [5]
Nonlinear FRF [6]
sinusoidal
Describing function generalised
HOSIDF [7]
Best linear approximation [8]
24 MIKRONIEK nr 4 2014
4a 4b
nonlinear system to a
the frequency domain provides a useful way to define and best linear
optimise the performance of nonlinear systems. approximation (BLA)
and corresponding
nonlinear distortion.
Experimental results (a) Nonlinear system.
In the following, two approaches to modelling the non- (b) BLA and nonlinear
distortion.
linear TEM system are illustrated based on experimental 5 Analysis of the TEM
results. The best linear approximation (BLA) and Higher system.
(a) Best linear
Order Sinusoidal Input Describing Function (HOSIDF) are approximation.
selected from Table 1 as they provide models that are easily (b) Output spectrum:
computed from measured data and provide insightful average (black), variance
due to nonlinearities
representations, which are usable in practice. First, a best (red) and stochastic
linear approximation of the TEM system is derived, disturbances (orange),
also energy appearing at
yielding separate quality measures relating to random odd (blue) and even
disturbances (noise) and nonlinear influences. Second, the (green) non-excited
frequencies.
HOSIDF is used to explicitly investigate nonlinear effects in
the TEM system. 5b
nr 4 2014 MIKRONIEK 25
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 3
6a 6b
it shows the energy level at non-excited odd and even 6 Higher-order sinusoidal Furthermore, Figure 6b shows the first HOSIDF as a
describing functions
multiples of the base frequency of the multisine which are (HOSIDFs) of the TEM
function of frequency and excitation amplitude. The fact
not present in the excitation signal. system. that the even HOSIDFs are close to zero and the behaviour
This shows that the variance caused by nonlinearities is (a) First, third and fifth of the gain characteristics of the odd HOSIDFs, both point
HOSIDF for f0 = 20 Hz
mainly due to odd nonlinear effects, which points towards a (grey: variance on towards a point-symmetric nonlinearity, the effect of which
point-symmetric nonlinearity such as (Coulomb) friction average). reduces with increasing excitation amplitude, e.g. friction.
(b) First HOSIDF.
(a point-symmetric nonlinear function of the system’s
velocity). Hence, using the BLA when working with Apart from providing insight into and quantification of the
nonlinear systems not only provides a best approximation nonlinear effects present, the HOSIDFs have been shown to
of the FRF, but yields both quantitative measures of the allow computation of the parameters defining the non-
type and level of nonlinearities present and the quality of linearity. Moreover, the HOSIDFs can be used to optimally
the measurement (signal-to-noise ratio). design nonlinear compensators to reduce performance-
degrading effects in nonlinear systems. This is addressed in
Nonlinear modelling: Higher Order Sinusoidal Input the next section.
Describing Functions
The second modelling approach specifically models the Frequency domain performance optimisation of
generation of harmonics due to nonlinearities. Due to its nonlinear systems
similarity to the classical sinusoidal describing function, the
model is referred to as the Higher Order Sinusoidal Input Time versus frequency domain performance
Describing Function (HOSIDF) [7]. The HOSIDFs are While the previous section dealt with modelling nonlinear
defined for sinusoidal inputs with frequency f0. The k th effects in the frequency domain, this section focusses on
HOSIDF Hk ( f0, a) is a function of both frequency f0 and using frequency domain analysis to optimise the
amplitude a and is defined as follows: performance of nonlinear systems [3] [4]. Defining and
optimising performance of nonlinear systems in a
Hk ( f0, a) = Ys (kf0, a) / Usk ( f0, a) practically applicable manner is nontrivial. For example,
performance indicators for LTI systems such as bandwidth,
Here, the subscript s refers to the single-sided spectrum of sensitivity and gain/phase/modulus margin cannot be used
the input U( f ) and output Y( f ). For k = 1, the above and global optimisation of a given performance indicator is
definition equals the definition of a conventional FRF not straightforward.
under sinusoidal excitation and that of a conventional
sinusoidal describing function. The added value of the The method introduced in the following is based on the
HOSIDFs comes from explicitly – both in gain and phase concept behind the HOSIDFs, i.e. nonlinear effects generate
shift – modelling the generation of harmonic frequency harmonics when the system is subject to a sinusoidal input
components by the nonlinear system. (often harmonics are indeed a necessary and sufficient
condition for the existence of nonlinear behaviour [3]). The
Figure 6a shows the first three odd HOSIDFs for the TEM method also assumes that the nonlinear effects are
system at f0 = 20 Hz for varying input amplitude. performance-degrading and should therefore be
26 MIKRONIEK nr 4 2014
compensated. However, before moving to performance harmonics and at the excitation frequency (Table 2, dark
optimisation, consider the essential difference between green) provides a suitable and practically measurable
time and frequency domain based performance assessment; performance measure. Note that optimising nonlinear
see Table 2. compensators by removing harmonics in the output of a
system provides a globally optimised controller for a large
Table 2 illustrates the difference between optimisation class of systems, including magnetic fields, actuator/sensor
based on time and frequency domain analysis with respect nonlinearities and several forms of friction. Hence, a static
to performance in terms of tracking and compensation of nonlinear compensator optimised in this way, provides
nonlinear effects. If a control system is optimised based on optimal compensation for any input/reference signal,
tracking error, the output of such a system will approximate although it was tuned using a sinusoidal input only [3].
the sinusoidal reference in both amplitude and phase (light
red). The controller will, however, sub-optimally The method described above has, so far, been applied to
compensate the nonlinearity as the input-dependent term optimise the performance of a military surveillance camera,
in the performance measure clouds the influence of the linearise amplifier characteristics and compensate friction
harmonics generated by the nonlinearity (dark red). The in a TEM motion module [4]. Moreover, simulations are
resulting controller only provides optimal tracking for the successful in linearisation of the influences of magnetic
amplitude and frequency of the signal applied during fields in maglev applications and fully automated, adaptive
tuning. implementations have been successfully applied in practice.
For the purpose of this article, attention is focussed on the
If instead the harmonics are optimally compensated by application of friction compensation in a TEM.
minimising the corresponding frequency domain
performance measure only (dark green), the corresponding The TEM system depicted in Figure 1 is subject to
output will match the input in frequency, but possibly differ conventional Coulomb friction feed forward and the
in amplitude and phase (light green) resulting in a sub- corresponding feed-forward gain is to be optimally tuned.
optimal tracking error. The solution comes from separating In this application the feed-forward gain is incrementally
the problem and using the appropriate performance increased while the system is subject to a sinusoid with a
measure for each job [4]. Hence, first optimise a nonlinear frequency significantly below the bandwidth of the closed-
controller to optimally compensate nonlinear effects based loop system. The results are depicted in Figure 7.
on a frequency domain performance measure (e.g. dark
green) and then optimise a conventional LTI controller to Figure 7a shows the energy present at the individual
achieve tracking performance and disturbance attenuation, harmonic lines in the spectrum as a function of the feed-
e.g. using loop shaping. forward gain. Moreover, the cost function combining all
statistically relevant harmonics is depicted. From Figure 7a
Next, an example of frequency domain based friction it becomes clear that around 0.2 V the overall energy at
compensation in a TEM is presented to illustrate the above. harmonics in the output is minimised (individual
harmonics have slightly different optima due to the nature
Frequency domain based friction compensation of the nonlinearity and compensator). As observed in
As indicated in Table 2, nonlinear effects can be assessed in Figure 7b, the harmonics in the output spectrum have
the frequency domain by considering harmonics present in indeed been reduced significantly when comparing the
the output when the system is subject to a sinusoidal input. uncompensated (red) and optimally compensated (green)
For example, the ratio between the energy present at situation.
Table 2 Time and frequency domain performance measures for optimal tracking and nonlinear compensator design.
Time domain Frequency domain
minimise harmonic disturbance
A cos(2πf0t + φ0)
Optimal nonlinear K Y ( kf 0 )
↓ ∑
compensator
B cos(2πf0t + ψ) k =0 Y ( f0 )
k ≠1
nr 4 2014 MIKRONIEK 27
■ INTRODUCTION TO FREQUENCY RESPONSE FUNCTION MEASUREMENTS – PART 3
7a 7b
The practical implications and global nature of the Ministry of Economic Affairs under the BSIK programme. 7 Frequency domain
based optimisation of
optimised tuning become clear from Figure 2. Comparing This work was supported in part by the Fund for Scientific
Coulomb friction feed
Figure 2a and 2b yields that selecting the optimised Research (FWO-Vlaanderen), by the Flemish Government forward in the TEM
parameter setting based on the frequency domain based (Methusalem), and by the Belgian Government through the system.
(a) First five harmonics
performance measure depicted in Figure 7a yields a Interuniversity Poles of Attraction (IAP VI/4) and performance
significant performance improvement in terms of Programme. ◾ measure (Table 2, dark
green) as a function of
smoothness during low-speed jogging motion at 20 nm/s. controller parameter.
(b) Difference between
the output spectrum
Conclusions without (red) and with
Although frequency domain methods are widely applied (green) optimised
Coulomb friction feed
and accepted for modelling and performance optimisation
forward. Grey lines
of linear and time-invariant system, their applicability to indicate statistically non-
systems containing nonlinearities is nontrivial. However, significant data.
28 MIKRONIEK nr 4 2014