ACTIVE NOISE RECUCTION

Abstract: Primary vibrations (N), e.g. acoustic noise or vibration from a source thereof such as a motor, are cancelled by secondary vibrations (C) produced by an actuator (2) driven by a controller (3) that is responsive to an error signal (E) detected by a detector (4) and representative of the residual or difference between the primary and secondary vibrations. The controller samples the error signal (E) during successive sampling periods determined by a synchronising signal (syn) taken from the motor. The secondary vibrations Cn+1 for a sampling period n+1 are determined as follows: Cn+1 = Cn- mu EnSGN[1/H &cir& NOt ], where Cn represents the secondary vibrations produced during a preceding sampling period (n); En represents the detected error signal for said preceding period n, H represents the transfer coefficient between the actuator (2) and the detector (4) and mu is a scaling factor where 0 </= mu </= 1. The apparatus is in one embodiment configured as an add-on unit for a personal computer (PC) including circuit board which fits into an expansion slot of the PC.

Description: ACTIVE NOISE REDUCTION DESCRIPTION This invention relates to apparatus for cancelling vibrations, which may be gas, liquid or solid-borne, by nulling primary vibrations, at least in part, with specially generated cancelling or secondary vibrations. It has been proposed to cancel repetitive noise produced by e.g. an internal combustion engine, by generating cancellation noise with a controller such that the cancellation noise at least in part cancels the repetitive noise produced by the engine. In order to maintain the amplitude and phase of the cancellation noise in opposition to the noise itself, a detector in the form of a microphone is used to determine the residual noise or error between the cancellation noise and the noise itself. The error signal is used to control the output of the controller in accordance with a predetermined algorithm for maintaining a desired cancellation condition. Also, in order to allow the system to track changes in fundamental frequency of the noise, a synchronisation sensor is utilised to provide an indication of the fundamental frequency of the noise e.g. from the speed of rotation of the engine. An example of such an arrangement is disclosed in US Patent 4 417 098 (Chaplin et al) . The apparatus may operate in a number of different frequencies each comprising a different harmonic of the fundamental frequency so as to produce cancellation over a broad frequency band. The algorithm for the controller operates so that samples of the error signal are compared with one another and the output of the controller is modified in accordance with the algorithm to produce a iterative reduction of the error signal. However, as will be described in more detail hereinafter, the iterative technique utilised has a tendancy in conditions close to cancellation, to become unstable as a result of the error signals becoming small, so that the differences between successive error samples can contain a large percentage error that can drive the controller to produce a uncancelled condition. In accordance with a first aspect of the invention, there is provided improved apparatus for cancelling vibrations wherein the controller is operated in accordance with an improved algorithm that is less prone to drive the apparatus out of the cancelled condition. In accordance with a second aspect of the invention, there is provided improved noise cancellation apparatus implemented by means of an add-on unit for a personal computer (PC) . The apparatus is conveniently embodied as a first circuit board for insertion into the expansion slot of a conventional PC, and a second circuit board driven by the first board and conveniently external to the PC, the second board including an output for a cancellation noise signal, an input for a noise error signal and an input for an external synchronisation signal. Also, software is provided, typically on a floppy disc, to configure the PC processor to perform cancellation in accordance with a predetermined algorithm. The apparatus may also include means for producing demonstration noise waveforms to be cancelled. Such waveforms may simulate the noise produced by e.g. a helicopter or a motor vehicle so that the apparatus can be used as a demonstration device for active noise cancellation. In order that the invention may be more fully understood an embodiment thereof will now be described by way of example with reference to the accompanying drawings, in which: Figure 1 is a schematic block diagram of an apparatus according to the invention for the active cancellation of repetitive noise from a machine; Figure 2 is a schematic functional diagram for the signals discussed in relation to Figure 1; Figure 3 is a schematic block diagram of an example of the invention for use with a personal computer; and Figure 4 is a more detailed schematic block diagram of first and second circuit boards used in the apparatus of Figure 3. Referring firstly to Figure 1, an active noise reduction apparatus is shown for cancelling noise from a repetitive source such as an internal combustion engine 1. Noise from the engine 1 is cancelled by means of cancellation noise produced by a loudspeaker 2 driven by a controller 3. The difference between the noise from the engine 1 and the cancellation noise 2 is detected as an error signal by means of a microphone 4 and the error signal is applied in a feedback loop to the controller so as to control the cancellation noise produced by the loudspeaker in a manner to minimise the error signal. The controller also receives a synchronisation signal syn from the engine 1 indicative of its fundamental frequency. The synchronisation signal syn is typically produced by means of tachometer and thus comprises a train of pulses at a frequency indicative of the engine's fundamental frequency. It will be appreciated that the signal syn will vary as a function of engine speed and thus permits the controller the track the speed variations. The apparatus operates in the frequency domain i.e. cancellation is carried out for a particular frequency harmonic of the signal syn. In practice, cancellation is carried out at a plurality of harmonics so as to achieve cancellation over a broad frequency band. However, for the purposes of this discussion a single harmonic will be considered. Referring now to Figure 2, in the case of constant repetitive noise from the engine 1, the controller 3 produces an output signal C which is received at the microphone 4 after having been modified according to a transfer function H dependent upon characteristics of the loudspeaker 2, the microphone 4 and the acoustic environment between the loudspeaker and the microphone. The noise N from the engine is for the purpose of this initial discussion assumed to be constant. The error signal E produced by the microphone 4 can thus be expressed as follows: * E = CH + N ( 1) It will be appreciated that since all the variables expressed in equation (1) represent wave functions, they are actually complex numbers of the form: y = a + ib where i = ι/-l (2) In use of the apparatus, the error signal E is successively sampled at a rate selected to be a predetermined harmonic of the synchronisation signal syn, and a number of successive updates of the error signal are thereby formed. The error signal for successive updates, n-1, n, n+1 will now be considered for a single harmonic. For the nth update: E n = C n H + N (3) For the n-lth update: For the n+lth update: Vι = ι +i < 5 > Since the noise produced by the engine is repetitive, it is assumed in the following analysis that the noise signal N produced by the engine is constant for equations (3), (4) and (5). Similarly, it is initially assumed for the purpose of this analysis that the transfer function H does not vary significantly between successive updates. In order to achieve noise cancellation during the n+lth sample, the controller output C ,, should be selected in such a manner that the error signal E .. becomes zero. Setting E ,. to zero in equation. (5) yields: N = - C n+1 H (6 ) By substituting equation (6) into equations (3) and (4) it can be shown that: and From equation (7), it can be seen that noise cancellation can be achieved by an iterative process in which the noise output C .. is selected in dependence upon the values of E and C utilised for two previous samplings. In practice, for an adaptive system converging in a few iterations can result in significant errors. To overcome this problem a scale factor 0 < μ < 1 is utilised as shown in the following equation ( W l * Whilst iteration according to equation (9) will work satisfactorily, a problem remains in that as successive values of C converge towards the value to produce the condition E = 0 the values of the error samples E and E . in equation (9) become small so that any spurious fluctuations in the values of these error samples will produce a very large fluctuation in the value of the term μE n (c " n - C^) ^n - *n-l> Thus, in practice, if cancellation is carried out according to equation (9) it has a tendency spuriously to jump out of the cancelled condition, for example if the value of the transfer function H varies. By way of explanation, if the function H according to equation (8) is substituted into equation (9) the following relationship is provided C n+ j.1, - C n * - u " i " n ( v 10 ') Thus, if the actual value of H varies, the computed value thereof according to equation (8) no longer holds true and a significant error occurs in equation (10). It might be thought that the solution to this problem would be to utilise a constant value of H in equation (10) for successive samples. However, it is to be recalled that C, E, and H are all complex numbers having both a modulus and an argument and that the resulting combination thereof according to equation (10) will be represented by the vector combination of the signals concerned. Thus, if a constant value of H were utilised the resulting constant argument of H would add in a vector sum in some conditions in such a manner as to move away from an iterative convergence since the arguments or phase angles of the vectors concerned would combine in the wrong sense and produce a resultant μ En„ which would combine with Cn to H produce a value of C ,, that would tend to move the resulting value of E .. into an out of cancellation condition. In accordance with the present invention, it has been appreciated that much more reliable convergence of the iteration can be achieved if only the vector sign of 1 ^ is considered in equation (10). Thus, equation (10) H can be rewritten as follows: It will be appreciated that 1 is a complex number and H can be expressed as follows: _1_ = + a + ib (12) H Thus, in accordance with the invention, the term H is computed in such a manner as to determine the sign of the real and imaginary components a and b shown in equation (12) . The absolute amplitude information of a and b is then discarded and the term f 1 ) in equation (10) is replaced by [ t ] (+ 1 + il) wherein the signs for the real and imaginary components are determined in accordance with the actual signs of a and b of equation (12). Accordingly, upon computation of the term μ E SGN the resulting vector will have a phase in dependence upon the phase of 1 , so H that the expression will always try to reduce the error, assuming that μ is selected in such a manner as to produce stable operation. The value of μ can be selected to optimise convergence. Since the absolute value of H is no longer incorporated in the vector product, spurious variations in the value of E and E . will not produce large spurious variations in the expression μ E SGN r 1 H As previously explained in relation to equation (8) when the system moves close to cancellation, En and En-1 both become small and the difference between them becomes prone to spurious errors which can produce very large variations in 1 . In contrast, in H accordance with the invention, only the sign of 1 If is considered so that such large amplitude variations cannot occur. If there is an error in SGN WJ 1 I the resulting error is small and the next operation of the iterative process will produce a correction so that convergence will occur. As a practical matter, during start up of the noise cancellation process with large error signals E , both the algorithm of equation (10) and (11) will produce a similar result, but as the values of the error signals E reduce, the potential to get 1 wrong H becomes more significant which can have a dramatic effect, as previously explained. An additional problem is that in practice H and N are not fixed as assumed above, and do actually change with time. N changes with engine load and H with frequency. Thus, in practice, it is important to evaluate H in such a manner that the spurious fluctuations in E do not substantially degrade the computation. Thus, the invention has the advantage that by computing the sign of 1 any errors in E have H minimal effect on the overall cancellation performance. The invention also embodies an additional advantage that by computing only the sign of 1 the speed of H computation can be improved, which is advantageous in terms of processor time. To explain this in more detail, consider the following: Let C = (C n - C n-1 ) , and VE = (I n - " ^) Substituting in equation (8) and inverting: l = Vc H VE i.e. 1 = V C . VE* (14) H 7Ϊ . "^E* where * denotes the complex conjugate. It will be seen that the denominator of equation (14) is a real number and therefore in order to compute the sign of 1 , it is only necessary to compute the K numerator of the equation. It will be appreciated that division performed by a microprocessor is significantly slower than multiplication and the omission of the division step therefore substantially speeds up the computation process. The algorithm described above can be implemented by the use of a purpose built controller. However, advantageously, the invention can be embodied in an add-on unit for a personal computer (PC) as will now be described. Referring to Figure 3, a conventional personal computer is shown including a video monitor 5, a keyboard 6, and a disc drive 7, processor circuitry 8 and RAM 9 mounted on a circuit board arrangement 10. In a conventional manner, the circuit board arrangement 10 includes expansion slots which permit additional circuitry to be connected to the system bus (not shown) . The expansion slots are shown schematically at 11. In accordance with the invention, a first, internal card 12 is fitted into one of the expansion slots and is connected by a ribbon cable 13 to a second, external card 14. The circuit arrangements for the first and second cards 12, 14 are shown in more detail in Figure 4. The sys.tem is arranged to operate generally in the manner shown in Figure 1 wherein the noise cancellation algorithm is performed by means of the processor 8 of the PC The processor is controlled to operate in accordance with the algorithm by means of software from the disc drive 7. Other means of loading software into the computer will be evident to those skilled in the art. Additionally, the system can be used to display an active noise cancellation process without actually cancelling noise produced by a noise source such as the engine 1. Instead, the computer can generate its own noise signal which can be filtered and modified appropriately to simulate noise produced by engines, helicopters and other repetitive noise sources. The simulated noise signal can be fed to a loudspeaker to simulate the presence of the sound source 1. Also, the noise and the resulting cancellation can be displayed on an oscilloscope. Thus, referrring in more detail to Figure 4, the second, external board includes an output 15 for simulated noise produced by the PC processor, an output 16 for the cancellation signal C, an input 17 for the error signal E, and input 18 for the external synchronisation signal syn and an output 19 for an oscilloscope. The inputs and outputs 15, 16 and 17 are connected through appropriate filters 20, 21, 22, via the cable 13 to the first board 12. The second, external board 14 also includes an internal clock 23 for generating an internal synchronisation signal syn in the event that an external signal is not introduced on input 18. A synchronisation signal select circuit 24 determines whether an internal or external synchronisation signal is fed to the PC Considering now the first, internal board 12, it includes edge connections (not shown) providing an interface to the PC bus which is extended across the board by conductive paths shown schematically at 26. The PC data bus is connected to an analog to digital converter 27 in order to receive a digital conversion of the input error signal applied to input 17. The resulting digitised signal is fed to the data bus of the PC for processing in accordance with the aforesaid algorithm. As a result, digital cancellation signals are provided on the data bus which are fed to a dual digital to analog converter 28, which produces analog signals fed to the cancellation output 16 via filter 21. In the event that the PC is used to generate noise to be cancelled for demonstration purposes, the digital noise signals are generated by the processor under the control of appropriate software, and are fed to the converter 28 to provide analog signals at output 15 via filter 20. Interrupts from the PC bus are fed to a decoder 29 so as to provide synchronisation pulses at output 19 for controlling an oscilloscope. The synchronisation pulses are produced at a frequency corresponding to a multiple of the fundamental frequency of the input synchronisation pulses derived either from input 18 or from the internal clock 23. Thus, in operation, noise cancellation signals C are developed at output 16 in response to an input error signal E applied to input 17 under the control of a program executed by processor 8 in response to software embodying the algorithm, derived from disc drive 7. For demonstration purposes, synthesized noise signals may also be produced at output 15. The system may operate concurrently for a number of different harmonics of the fundamental frequency defined by the sync pulses. The harmonics may be selected by the user in accordance with a menu driven display shown on the video monitor 5. Whilst the system desirably operates with the algorithm discussed hereinbefore, it may also be used with other noise cancellation algorithms if desired. Many modifications and variations of the invention will be apparent to those skilled in the art. For example, whilst the algorithm described with reference to equation (11) operates in the frequency domain, it could also be used in a process which operates in the time domain. Also, whilst in equation (11) the sign of I 1 is considered only in terms of the signs of (+1 + [ til) the real and imaginary components could also be considered to have zero values as well as + values, so as to increase the range of phase angles considered in the algorithm. Also, the algorithm disclosed with reference to equation (11) can be used to cancel mechanical vibrations rather than acoustic noise as described with reference to Figures 1 and 2. For example, the system can be used to attenuate vibrations of a motor such as an electric motor in a domestic appliance. In such a system, a vibration pickup is utilised to sense unwanted motor vibration, and an actuator driven by the controller 3 applies cancelling vibrations to the motor. The system has particular application to a dishwasher. The algorithm can be run in a single channel as described hereinbefore, or multi-channel systems can be provided with separate algorithms being run in each channel. The system can thus be used for multi-input, multi-output operations. The various channels can be run independently or can be cross-coupled. Furthermore, in a modification, the syn pulse may be constituted by a single pulse for each motor revolution, and software or hardware may be utilised to produce an appropriate sampling pulse rate signal.

Claims: Claims 1. A method of cancelling primary vibrations with secondary vibrations from a source thereof, comprising utilising detecting means to produce an error signal as a function of the difference between the primary and secondary vibrations, sampling the error signal during successive sampling periods, and producing the secondary vibrations for a particular sampling period in dependence upon: (a) the secondary vibrations produced for a preceding sampling period, and (b) a term which is a function of the vector product of: (i) a vector signal which is a function of the error signal for a preceding period; and (ii) the sign of a vector signal which is a function of the transfer coefficient between the source and said detecting means. 2. A method according to claim 1 wherein the sign of said transfer coefficient vector signal is determined in dependence upon: (a) the difference between the secondary vibrations produced for successive preceding sampling periods; and (b) the difference between the error signals produced for successive preceding sampling periods. 3. A method according to claim 1 or 2 wherein said term is scaled by a factor μ where: 0 < μ < 1 4. A method according to claim 3, wherein the secondary vibrations C + , for a sampling period n+1 are determined as follows: where C represents the secondary vibrations produced during a preceding sampling period n; E represents the detected error signal for said preceding period n, and H represents said transfer coefficient. 5. A method according to claim 4 wherein the sign of said transfer coefficient vector signal is determined in accordance with the following: t fl SGNT 1 * 1= SGN wherein . denotes a sampling period preceding the period n. 6. A method according to claim 5 wherein the sign of said transfer coefficient vector signal is determined in accordance with the following: where C = (C n - C n _ 1 ) E = (En - En-l,) and* denotes the complex conjugate. 7. A method according to any preceding claim including producing a cyclic synchronisation signal having a frequency as a function of a repetitive aspect of the primary vibrations, and performing said sampling of the error signal at least one harmonic of said synchronisation signal. 8. An add-on unit for a personal computer (PC) to perform active noise cancellation wherein primary vibrations are at least in part cancelled by secondary vibrations produced by a secondary source and detecting means are utilised to prodcue error signals as a function of the residual difference between the primary and secondary vibrations, the unit comprising: circuit board means for connection to an expansion slot of the PC bus connection means on the board means, for forming an electrical connection with a bus of the PC analog to digital converter means coupled to the bus connection means for digitising the error signals from the detecting means and supplying the thereby digitised signals to the PC bus digital to analog converter means coupled to the bus connection for receiving digital cancellation signals from the PC bus and producing analog cancellation signals to be supplied to the secondary source to produce said secondary vibrations, whereby the PC can execute a program to produce said digital cancellation signals in response to said error signals. 9. A unit according to claim 8 including synchronisation input means coupled to said bus connection means, for supplying to the PC bus a cyclic synchronisation signal of a frequency which characterises a repetitive aspect of the primary vibrations. 10. A unit according to claim 8 or 9 including synchronisation signal generator means on said board means for locally producing a synchronisation signal to be fed to the bus connection means. 11. A unit according to any one of claims 8 to 10 wherein the circuit board means includes a first circuit card for insertion into the expansion slot, a second circuit card to be disposed externally of the PC, and cable means providing electrical connection between the cards. 12. A unit according to any one of claims 8 to 11 including a noise signal output, and digital to analog to converter means coupled to said bus connection means to supply noise signals to said noise signal output in response to digital signals representative of a simulated noise source generated by said PC. 13. A unit according to any one of claims 8 to 12 including means coupled to said bus connection means for deriving an output for synchronising an oscilloscope. 14. Apparatus configured to perform a cancellation method according to any one of claims 1 to 7. 15. Apparatus according to claim 14 including a motor, sensor means for deriving a signal having a periodicity as a function of the speed of the motor, detecting means for detecting said difference between the primary and secondary vibrations, controller means for producing signals representative of said secondary vibrations for the motor, and actuator means responsive to said signals to apply said secondary vibrations to the vicinity of the motor.

Inventors: NADIM MOHAMMED, NADIM, MOHAMMED
Applicants: ACTIVE NOISE & VIBRATION TECH, ACTIVE NOISE AND VIBRATION TECHNOLOGIES INC.
Application year: 1992
Main classification: G10K11
IPC codes: F16F15, G10K11