ANC Based On Fuzzy Models, CA Silva, (7p)
ANC Based On Fuzzy Models, CA Silva, (7p)
ANC Based On Fuzzy Models, CA Silva, (7p)
EURONOISE 2001
Patra, 14-17 January 20001
c EURONOISE
Abstract. This paper presents a new approach to acoustic noise control, by introducing a fuzzy
model-based control strategy. Classical linear identification and control tools have been ap-
plied to active noise control in the last two decades. In this type of control, the limitations of
their applicability are well defined. Therefore, new techniques must be developed in order to
increase the performance of active noise controllers. Recent research in control has emphasized
the importance of nonlinear model-based control, increasing the performance of several types
of systems. From the different nonlinear techniques, fuzzy modeling is one of the most appeal-
ing. Fuzzy clustering can be used to identify models directly from data. These models proved to
be accurate for complex and partly known systems, and can represent highly nonlinear systems
in an effective way due to their function approximation properties. This paper applied fuzzy
and classical modeling to real-time noise data. The fuzzy model revealed to be more accurate
than the linear model. An inverse model is derived which is applied in the proposed model-
based control scheme. The paper presents control results derived from an experimental setup,
revealing best performance than classical control methods.
1
1 INTRODUCTION
Technological and industrial development has resulted in an increase of noise level from ma-
chines, factories, traffic, etc. Many reasons have been taken into account to develop some
research in the sound attenuation area, such as environmental and legal restrictions concerning
people’s safety and health.
There are two ways to achieve noise reduction. The first one are the passive systems, which
are based on the absorption and/or reflection properties of materials, and present excellent re-
sults for frequencies higher than 1 kHz. The other consists of active systems, which show good
performance for lower frequencies and are based on the principle of interference, where a sound
with the same amplitude as the noise source but an opposite phase is generated in order to cancel
the primary noise. This is usually known as Active Noise Control (ANC).
Most of the ANC applications use linear identification and control techniques, relying on the
linear superposition of a primary field and a destructively interfering secondary field to achieve
the desired noise cancellation. In practical terms, this means that one pressure fluctuation will
not become distorted by the presence of another. However, in some situations it is not possible
to neglect the nonlinear terms in the wave equation [6]. Elliott [5] describes two types of
nonlinearities present in a system: Weak nonlinearities, where the behavior of the system under
control is mainly linear but can have nonlinear components, e.g., an harmonic distortion due
to saturation or hysteresis of the actuator. In these cases the principle of superposition fails
when pressure fluctuations of very large amplitudes and propagation over very large distances
are taken into account. These nonlinearities can be solved using a compensation term in the
control loop; Strong nonlinearities which are driven by tonal excitations producing responses
which waveform has a continuous broadband frequency spectrum.
This paper deals only with weak nonlinearities. Therefore, fuzzy models will be adopted as
dynamic acoustic models, since they are specially suited for nonlinear mapping, and are able to
deal with nonlinear effects such as distortion and reverberation.
In order to investigate possible developments in active noise control of enclosures, this paper
presents the simulation of noise reduction in a square wood box, using a control technique based
on a fuzzy model.
The outline of this paper is as follows. In section 2 a short review of classical active noise
control is presented. Sections 3 presents a brief overview on fuzzy modeling. Section 4 de-
scribes the application of fuzzy models to active noise control. The experimental setup is pre-
sented in section 5 and section 6 shows the experimental results. Finally, in section 7 some
conclusions are drawn and future applications of nonlinear identification techniques in ANC
are discussed.
2
ANC strategies can be divided into two groups: feedforward systems, where a reference
signal is available from a detection sensor and the information of a monitoring sensor is used to
adapt the controller, and feedback systems, where there is no detection of the noise source. The
signals from the sensors are fed back to the actuator which in turn produces an acoustic signal
at the sensor which is added to the signal produced by the noise source [8].
In the present-day ANC applications, the controllers are usually Finite Impulse Response
(FIR) adaptive filters, where a feedforward control loop is used. These filters are moving aver-
age models of the actuators and are designed to minimize a cost function, usually the acoustic
pressure measured by a mesh of sensor microphones [8]. This strategy can be easily generalized
for the multivariable case when the cancellation problem requires several speakers and micro-
phones. When a feedback loop is used, the filters are designed in the frequency domain using,
for instance, robust control analysis [12].
ANC was already implemented successfully in several systems, such as air conditioning
ducts to attenuate the low frequency noise produced by fans, or in transport systems, such as
cars or planes, to reduce the sound produced by the engines. Both the fan and engine noises
are harmonic sounds, which make the noise reduction a relatively simple problem. However,
in many other applications the sound attenuation would be desirable but the sound field is far
more complex, such as in enclosures or free field applications. The classical controllers have
their bounds of application well defined and the use of linear time invariant model based control
does not allow for further improvements in terms of control performance. Nonlinear modeling
techniques may bring a new insight and develop the possibilities of active noise control.
w(n) = a f (n
i i) (1)
i=0
()
where ai are the filters coefficients, f n is the signal input of the filter, and I is the total number
of filter coefficients.
3
d(n)
x(n) + e(n)
u(n)
w(n) G(z) S
+
r'(n)
G'(z) X
Figure 1: Feedforward loop control with LMS adpative controller
In order to obtain better active controllers, the error signal can be used to adapt the FIR
controller, using the least mean squares algorithm. The adaptation of the filter is derived by
filtering the detection signal using a model of the system.
()
The error e n to be minimized is given by the pressure at the control point, which has two
() ()
terms: the primary noise pressure d n and an estimate of the output y n :
e(n) = d(n) + y (n) (2)
The estimate of the output uses the reference signal r (n) and the adaptive version of the FIR
filter to be used on-line wi :
X
I i
y (n) = w r (n
i i) : (3)
i=0
() ()
The reference signal r n is the detection signal x n defined previously filtered by a model of
the actuator gbi :
X
I i
r(n) = gb x(n
i i) : (4)
i =0
Figure 1 shows the described control loop. In fact, this type of controller acts like an inverse
model controller [8]. Note that in spite of using the error signal, the control loop is said to be
feedforward, since the error is not directly used by the controller.
3 FUZZY MODELING
3.1 Fuzzy logic – basic principles
0
Fuzzy logic is a generalization of yes-no Boolean logic. Assigning to false values and to 1
true ones, fuzzy logic also allows in-between values. Assuming that U is a set of values of
u, fuzzy logic defines a mapping from U to the unit interval through a membership function
( ): [0 1]
A u U ! ; . This membership function can be defined in linguistic terms. As it can be
seen in Fig. 2, the subjective feeling of noise as a result of a sound pressure level of 120 dB is
not defined in a crisp sense as Noisy or as an Intolerable sound - it is defined as : Noisy and : 05 05
Intolerable. In this way, the uncertainty present in every systems can be implicitly represented.
4
y
0
m Bi
m Ai
0 70 90 140 u
5
y
x+b3
y=a 3
b
x+
2
y=a 2
b 1
x+
a1
y=
u
m Ai
0 70 90 140 u
different function fi yielding a different value for the output yi . The most simple and widely
used function is the affine linear form:
R i : If u is A i then y = a u + b ; i = 1; : : : ; K
T
i i (7)
where nd ; nu and ny represent the number of pure delays, delays at the input and delays at the
output respectively.
()
The time signals of the output y t and the input u t are sampled at a constant sampling ()
rate. The identification problem consists of predicting how changes in u k affect y k , given () ()
by the function f .
6
Clustering consists of grouping data into clusters. Generally, a cluster is a group of data ob-
jects, which are more similar to one another than to other data in different clusters. This fuzzy
similarity should be understood as mathematical similarity, measured in some well-defined
sense, for example by using a distance norm. Then, fuzzy clustering consists of assigning a
rule-based function between the input data and the output data to describe a NARX model as in
(8). This function can be parameterized by a Takagi-Sugeno (TS) model as in (7).
Assuming that the input and the output variables are known, the nonlinear identification
problem is solved in two steps:
Figure 3 presents a possible clustering of the data used to identify a TS fuzzy model.
7
Acoustic plant
d(n)
x(n) ^ + e(n)
d(n) u(n)
^
A(n) G -1(n) G(n) S
+
5 EXPERIMENTAL SETUP
5.1 The enclosure
In order to perform accurate measurements and test active noise control algorithms, an ex-
perimental setup is required. For this purpose, a closed and isolated box with a volume of
09 07 04
: : : m3 was developed. This box must receive the less possible sound from any other
source but the loudspeakers. Its construction guarantees perfect isolation from the outside. The
isolation is achieved by using heavy or dense materials. Two wood walls with different thick-
ness (19 and 12 mm) were used, which have also an air interface between the walls. To avoid
undesirable reflections, the air interface was filled with an absorbing material (glass wool with
25 mm of thickness). The sound field produced consists of sound (noise) at one position inside
the box using a loudspeaker. Another loudspeaker at a different position produces the control
actions that will cancel the noise at particular points inside the box. In order to apply this con-
trol strategy, a model of the loudspeaker is required. The model represents the output of the
loudspeaker at a microphone placed in a specified point inside the box, where it is desired to
cancel the sound when an input voltage is applied.
8
5.2 Loudspeakers and microphones
To implement active noise controllers in transport systems, one of the most strong requirements
is that the price of the control system is low - the devices must be as cheap as possible, but nev-
ertheless robust. The chosen speakers are typical dynamic loudspeakers and the microphones
are of the electret type. The experiment used 1 loudspeaker to control, one to play as noise
source and one microphone. The microphone was placed 0.33 m away from both noise and
control loudspeakers.
6 EXPERIMENTAL RESULTS
6.1 Modeling of the plant
The excitation signal used to derive the models was white noise. The accuracy of the models
is measured using the root mean square error (RMS), and the percentile variance accounted
for (VAF). The VAF measure rates the variance of the error between two signals, the original
signal y and the modeled signal y m , and the variance of the original signal y . Both measures
were done using the power spectrum density of the signals S : , since the analysis must be done
in the frequency domain. Therefore, in this paper the VAF is defined by
(S S m )
VAF = 1 y
(S )
y
100% : (9)
y
Note that when the real output power spectrum S y and the models output power spectrum S ym
are equal the VAF has the value of 100% . This measure is adimensional, contrary to the RMS.
The experimental results are presented for the bandwidth [100,1000] Hz, because the used loud-
speakers have low gain for lower frequencies.
A linear FIR filter model and a TS fuzzy model are derived using the same identification
data. The FIR filter has I = 128 coefficients and the TS fuzzy model has the following orders:
nu = 40 = 40
; ny and nd =2 . The pure delay value is chosen based on the plant physics; the
sound speed has a standard value of 331.5 ms 1 [6].
Since the frequency rate is 2 kHz, the sound takes 2 samples to travel the distance between
the loudspeakers and the microphone (0.33 m, see section 5). The modeling results are shown
if Fig. 6 and in Table 1. The TS fuzzy model has a RMS value lower than the FIR model, but
a slightly lower VAF. However, Fig. 6 shows clearly that the TS fuzzy model copes better the
9
−40
−60
−70
−80
−90
200 400 600 800 1000
Frequency [Hz]
Figure 6: White noise modeling. Continuous – real output; dashed – FIR model; dot-dashed –
TS fuzzy model
higher frequencies. Moreover, the orders of the fuzzy model are much smaller, which can be an
advantage in terms of implementation.
The inverse model is identified directly from data using the direct inverse learning as de-
scribed in [7]. This model is a TS fuzzy model with the following orders: n u , ny = 80 = 80
and nd =0 . Figure 7 presents the acoustic path model and Fig. 8 the inverse model. Table 2
presents the models’ accuracy measures.
The direct model derived in the previous section and the acoustic model have a similar
accuracy. The inverse model presents an excellent result, except for 200 Hz. This implies that
this control strategy can only be used for noise sources with frequencies higher than 200 Hz.
10
−30
−50
−60
−70
−80
−90
200 400 600 800 1000
Frequency [Hz]
Figure 7: Acoustic path modeling. Continuous – real output; dashed – TS fuzzy model
−10
−20
Power Spectrum Magnitudde [dB]
−30
−40
−50
−60
−70
−80
−90
200 400 600 800 1000
Frequency [Hz]
11
−10 −10
−20 −20
Power Spectrum Magnitudde [dB]
(a) Classic controller. Continuous – real output; dashed (b) Inverse fuzzy control. Continuous – real output;
– controller. dot-dashed – controller.
6.3 Control
This section presents the experimental control results. The excitation is a tonal signal of 370 Hz
with harmonics. The classic control loop shown in Fig. 1 and the control loop proposed in this
paper and shown in Fig. 4 are both applied to cancel the noise. Figure 9 depicts the obtained
results for both controllers. Both controllers attenuate the dominant frequency (370 Hz) for
which they were designed. However, some harmonics are amplified by the classic controller,
see Fig. 9a. On the other hand, the inverse fuzzy controller do not amplify any harmonics as
shown in Fig. 9b. The global sound reduction is obtained by the inverse fuzzy model-based
controller.
7 CONCLUSIONS
This paper presented an active noise controller based on fuzzy acoustic modeling of the envi-
ronment where one wants to cancel noise and proposed a direct derivation of an inverse model
controller to be applied in a feedforward strategy. The control performance are compared to a
classical filter controller. The proposed fuzzy controller is able to accomplish a global noise
reduction.
To control enclosed sound fields it is necessary to use several devices: multiple micro-
phones, since the attenuation at one point usually implies the amplification at another points;
and multiple loudspeakers, to control all possible modes in an efficient way. In classic linear ap-
proaches, the increase in the number of variables represent an exponential increase in number
of filters and controllers, and consequently an increase in the control loops complexity. Us-
ing fuzzy models, this complexity can be reduced, since a single model can represent multiple
12
inputs and outputs, and the control loop will be exactly the same.
Future research will focus the extrapolation of this type of controller to multiple-input-
multiple-output systems, and its consequences in terms of computational burden.
Acknowledgements
This work was supported by PRAXIS XXI, ref. PRAXIS/C/EME/12124/1998, Fundação para
a Ciência e Tecnologia, Ministério da Ciência e da Tecnologia, Portugal.
References
[1] R. Babuška. Fuzzy Modeling for Control. Kluwer Academic Publishers, Boston, 1998.
[2] R. Babuška, J.M. Sousa, and H.B. Verbruggen. Inverse fuzzy model based predictive
control. In D. Driankov and R. Palm, editors, Advances in Fuzzy Control, pages 129–154.
Physica-Verlag, Heidelberg, New York, 1998.
[3] D.E.Gustfason and W.C.Kessel. Fuzzy clustering with a fuzzy covariance matrix. In In
Proceeding IEEE CDC, pages 761–766, San Diego,CA, USA, 1999.
[4] S.J. Elliott. Signal processing for active control. Academic Press, London, UK, 2000.
[5] Stephen J. Elliott. Active control of nonlinear systems. In Active 99, USA, 1999.
[6] Lawrence E. Kinsler, Austin R. Frey, Alan B. Coppens, and James V. Sanders. Funda-
mentals of Acoustics. John Wiley and Sons, New York, USA, fourth edition, 2000.
[7] M.Fischer and R.Isermann. Robust hybrid control based on inverse fuzzy process models.
In In Proceeding IEEE International conference on fuzzy systems, pages 1210–1216, New
Orleans, USA, 1996.
[8] P.A. Nelson and S.J. Elliott. Active Control of Sound. Academic Press, UK, 1999.
[9] M. Setnes, R. Babuška, U. Kaymak, and H. R. van Nauta Lemke. Similarity measures
in fuzzy rule base simplification. IEEE Transactions on Systems, Man and Cybernetics –
Part B: Cybernetics, 28(3):376–386, 1998.
[10] C.A. Silva, J.M. Sousa, M.A. Botto, and J.M.G. Sá da Costa. Active acoustic noise iden-
tification using fuzzy modeling techniques. In ISCSV7 - Seventh International Congress
on Sound and Vibration, pages 3213–3220, Garmisch-Partenkichen, Germany, july 2000.
[11] C.A. Silva, J.M. Sousa, and J.M.G. Sá da Costa. Model-based active noise control using
fuzzy models. In Controlo2000 - Fourth Portuguese conference on control, pages 377–
382, Guimarães, Portugal, october 2000.
13
[12] M.O. Tokhi and R.R. Leitch. Active Noise Control. Oxford Science Publications, engi-
neering science series - 29 edition, 1992.
[13] T.Takagi and M.Sugeno. Fuzzy identification of systems and its application to modeling
and control. IEEE Transactions on Systems, Man and Cybernetics, 15(1):116–132, 1985.
[14] X. Zeng and M. Singh. Approximation theory of fuzzy systems - mimo case. IEEE Trans.
Fuzzy Systems, 3(2):219–235, 1995.
14