Adaptive Harmonic Control Tuning in The Frequency Domain
Adaptive Harmonic Control Tuning in The Frequency Domain
5.1 Introduction
Detection d(G>)
Signal
Controller Plant
y(co)
am
X((O) U{(O)
W(JG))
W(jojk) = — (5.1)
Control of periodic sound at individual harmonics has been around for some
time and Reference [219] gives a summary of the subject. William Conover
built an electronic system to achieve this cancellation for the harmonics of
electrical transformers [58] in 1956. To satisfy these conditions in Conover's
work the transfer function W is physically realised by bandpass filters, phase
shifters and amplifiers. Figure 5.2 shows a block diagram of Conover's sys-
tem. The analogue circuits offered little flexibility in the selected frequencies,
the amplifiers (amplitude control) and phase shifters were tuned manually.
Later digital control solutions were sought when computer technology made
that a possibility. Various adaptive digital feedforward control methods have
been proposed, among them the most widely used today is the filtered-x LMS
method.
(i) For periodic disturbances with a nearly discrete spectrum the perfor-
mance is far better than that which is achievable by linear feedback
systems.
functions:
(5.2)
so that at each time instant t:
(5.4)
where
Gk{q (5.5)
'-
The following situation is practically important:
(i) u1 is an unmeasured excitation of the vibration,
(ii) u2 is a control input.
FSF
FSF ^
Control
FSF
KiJK
(ii) The plant is slowly time varying so that ||G t - Gt+i||i < c, t > 0 with
i > 0 known a priori.
(iii) The outputs are measurable with a given accuracy p > 0.
A possible scheme to achieve this is as follows. Each output is led through
a frequency selective filter (FSF) for each frequency CJI,CO2, ... ,cj n as shown
in the block diagram in Figure 5.4. The signals coining from the filters are
processed by the controller and a suitable input is synthesised. The main
result of this section is dealing with the problem of how to compute a suitable
control input in the frequency domain.
First, some of the surrounding details will be clarified. The frequency
selective filters are of the form:
the respective average complex amplitudes over time period T(k) will be de-
noted by:
Let Xfc, dfc and e* denote complex numbers representing the harmonic content
of the signals y2, Gllu\ and yi, during time period T(k), as described above at
given frequency UJ and indicated in Figure 5.6 . Assume that G12 changes slowly
and good estimates g^ can be calculated for its complex gain at frequency w.
(Let's postpone discussion of the estimability of G12 for a little while.) First a
simple filtered-x algorithm can be introduced for each frequency CJ of interest.
Introduce r* = x^g*. For any complex number c the notation c = c1 4- c*j
will be used. Then the equation:
dk + nk = ek (5.6)
w* g*
RLS
\
for the output errors e* which are measured with error/noise n\ and n\. To
find a suitable controller gain w^ represented by the coefficients wk and w%,
the following exponentially weighted criterion can be optimised:
by the usual RLS algorithm with a forgetting factor A < 1. This can be carried
out in two stages for each k > 1:
Kk = = (I~ Kk(j>l)Pk
(5.8)
where the notations:
9k = Pk =
-rl
are used and Kk, wk, Pk are only intermediate variables in an updating step.
Hence Wk, Pk are computed recursively with initial conditions dependent on
a priori knowledge of the plant. The following simulation illustrates how this
algorithm works.
Let:
r, _ r / > * • % _ [ 1-2 - 0.2j 0.6-0.05
u-u{e> ) - [ 0 8 + 0Aj 0.9-O.lj
where gk is time-varying gain, gk = c(cos0.02A:+jsin0.02fc) and c = 0.15, the
dynamics are time varying.
Non-controlled Output (200 periods)
Real parts
0.05 -
-0.05 -
-0.1
-0.02
Figure 5.7 Complex amplitudes of the controlled and uncontrolled outputs for
200 periods: (a) Non-controlled output, (b) Controlled output
The forgetting factor is set to A = 0.7 and the detection signal is a fixed
constant rk = 1, therefore no measured detection is used. As the forgetting
factor is low, reasonable performance is achieved as shown in Figures 5.7 and
5.8. For a plant model the fixed and incorrect:
The simulation illustrates that the method can work as the complex ampli-
tudes of the controlled output are small in Figures 5.7 and 5.8. Conditions of
stability with regard to G and xk are difficult to establish. The frequency selec-
tive LMS solution presented in the next Section easily lends itself to stability
conditions.
-60
200 200
Figure 5.8 Amplitudes (dB) and phase (°) of uncontrolled outputs for 200
periods: (a) Non-controlled output, (b) Controlled output
0.05 -
i -0.05 -
-0.1 -
-0.2
0.45
Figure 5.9 Change of the complex gain G12 during 200 periods
An adaptive law will be derived for the input complex amplitude at a single
frequency and then its stability will be analysed in view of the uncertainty of
the transfer function of the plant. It will be proved that the adaptation law is
convergent under large relative uncertainty of the plant transfer function.
Let the input complex amplitude during time period T(k) be denoted by
u>k = u>r +uiJ- Similarly, the disturbance and output amplitudes will be denoted
by dk = dj + dij and yk = y* + yfj, respectively. Then, at a single frequency
the model of the plant equation will be:
Vk dk
The control law will be designed to move the control signal u*;+i in the negative
gradient direction of the criterion c&. The gradient of the criterion function
can be calculated as:
Lemma 5.4.1 (a) The adaptive law eqn (5.9) will be stable if the matrix:
lim I!* = Go ld
where u = G0"1d is the ideal control input to eliminate the vibration of the
output.
Proof: (a) is obvious from linear system theory. For (b) the steady state of the
given linear stable system can be calculated as:
8^9r+J9i ^dgo^9r+J9i
respectively. Then the following theorem holds.
Theorem 5.4.1 the control law eqn. (5.9) will be stable under any relative
error less than 5 > 0 of the estimate g, (i.e. for |g0 — g| < <J|g[i, if and only
if S < 1 and the condition
<512)
is satisfied.
with eigenvalues 1 — fj,(a ± bj). To prove the theorem one has therefore to
prove that |1 — /x(a ± bj)\ < 1 for any relative error < 8 if and only if:
(513)
By definition it can also be seen that a + bj = ggj holds. Define the unit
disc C(l) = {z € C | |1 - z\ < 1}. In view of the relative error specification
the true transfer can be written as g0 = g + tflglre*" with some r € [0,1] and
u € [0, 2TT]. The uncertainty set of a + bj under maximum relative error 8 of
g is:
p u € [0, 2TT], r € [0,1]} (5.14)
Hence |1 - /z(a ± bj)\ < 1 will be satisfied under any relative error < 8 of g if
and only if D(8) C C(l). It can, however, be easily shown that D(8) C C(l)
if and only if eqn. (5.12) holds. To see this notice that:
and the shaded disk D(8) with radius 8\g\2 will be contained in C(l) if and
only if:
/x|g|2 + fy|g|2 < 2 and 8 < 1 (5.16)
which is equivalent to eqn. (5.12).
frequency (rad/s)
Figure 5.10 Poles and Bode plot of the plant simulated. Resonant and lightly
damped modes can be observed around 2 Hz, 3.5 Hz and 7 Hz
-100
-150
— •- ——,
•^ • i r -
-200
-250
_ann : : : : : : : i
102
frequency (Hz)
Figure 5.11 A section of the time signal of the disturbance and the estimate
of its spectrum by Hanning window, based on 500 samples
is then used during time period T(k + 1) to set the frequency of the
0.5
-0-5 H
200
'IT IT IT IT IT II IT IT IT IT IT I1'1 I'll I111! I
400 600 800 1000 1200 1400 1600 1800
Figure 5.12 Time signals of the output during periods T(2) — T(3) and
T(28) - T(30)
Figure 5.13 The complex gains of the control inputs and the amplitudes of
the estimated output harmonic components during time periods
T(2)-r(30)
of the control inputs, the computation of which was based on the FSF-RLS
method of eqns (5.8) applied at each main harmonic component of disturbance
d.
For the sake of completeness, and to illustrate the size of the control input
used, Figure 5.14 shows the control input during time periods T(2) — T(3) and
T(28) - T(30). Note that in Figure 5.12 the output during periods T(28) -
T(30) still contains the harmonic components of the disturbance at frequencies
4Hz, lOHz and 11 Hz which were not intended to be cancelled by the controller.
Hence, the controller achieved only about 20 dB reduction in the vibration of
the output y.
-20
-40
200 400 600 800 1000 1200 1400 1600 1800 2000
Figure 5.14 Time signals of the control input during periods T(2) - T(3) and
T(28) - T(30)
5.6 Conclusions
The basic schemes of frequency selective RLS (FS-RLS) and LMS (FS-LMS)
methods have been described for periodic disturbance compensation. For the
FS-LMS method a stability robustness theorem was given. Advantages of the
methods were pointed out as (i) no principle limits of performance as in linear
feedback control, (ii) high degree of adaptivity and (iii) high degree of stability
robustness. A disadvantage is that the scheme only works for disturbances
dominated by a discrete spectrum, although that can be slowly time varying.
This introductory research into the topic has some shortcomings which
future research will resolve: