LOW COST CONTROLLER

Abstract: A simple, low cost active noise cancellation system employing a delay and actuator estimator (35), a gain determination (34), a gain (33) and speaker (36) that cancels stationary random noise such as that encountered on a rangehood fan.

Description: LOW COST CONTROLLER c This invention relates to a low cost active noise cancellation system. It was designed by the need for very low cost electronics in using active noise cancellation for quieting small fans, refrigerators and other extremely cost sensitive applications. The instant invention has the ability to cancel stationary random noise such as that encountered on a rangehood fan or tonal noise. The "plant" of the operation, i.e., the speakers, enclosure, microphone and the configuration itself has to be of a certain design so as to minimize delays which interfere with the plants ability to produce a cancellation signal. These delays are the result of the response of the loudspeaker, its cabinet and the transit time between speaker and microphone. While repetitive compensating techniques can be used in repetitive noise, they don't work with random noise. This invention contemplates employing strict design criteria in designing the "plant" and using equalizing filters. The equalization filter allows for a relaxation of the strict time delay requirements. A filter is used to produce an estimate of the noise by subtracting the predicted effects of the cancellation signal from the residual signal. For tonal cancellation the equalization filter is used to add additional delays at frequencies where needed, for instance where the plant delay is too long to meet the requirements for random cancellation, in order to meet an earlier cycle of the tonal noise. For random cancellation the equalization filter minimizes the mean-square error resulting from twin delays in the system. The DNE (digital virtual earth) system disclosed in U.S. Patent No. 5,105,377 can, with a dozen or so taps, cancel band limited random noise if plant delays are small enough. This has been done by canceling random noise limited between 150Hz to 450 Hz shown in the charts of Figs. 12 and 13 herein. The adaptive FIR filter of DNE can be replaced by a single inverting amplifier with adjustable gain under appropriate plant criteria. Thus a small, low cost canceller consists of a single filter to predict the effects of the cancellation signal on the residual signal enabling the feedback to be electronically subtracted. An inverting amplifier with adjustable gain is used and, L possibly, an equalization circuit is used to compensate for delays in the plant that are too long for random cancellation when applying the device to tonal cancellation. The DNE feedback filter can be replaced with a simple delay resulting in a cancellation system including equalization that requires only a single filter. Accordingly it is an object of this invention to provide an active noise cancellation plant system that can cancel band limited random noise. Another object of this invention is to provide a low cost active noise cancellation system. A further object of this invention is to provide an active noise cancellation system that can cancel tonal noise. These and other objects will become apparent when reference is had to the accompanying description and drawings in which Fig. 1 shows a circuit diagram of a basic standard controller set. Fig. 2 shows a circuit of a basic controller simplified per this invention. Fig. 3 is a circuit diagram showing a basic/weight optimum filter circuit. Fig. 4 is a circuit diagram showing a weight optimum filter with an equalizer. Fig. 5 is illustrative of a circuit showing equalizer training position. Fig. 6 is a diagram showing an alternate equalizer position. Fig. 7 shows a canceller with plant equalization. Fig. 8 shows a diagram of a basic low cost canceller. Fig. 9 shows a single filter low cost canceller with equalization. Fig. 10 shows a plot of random noise cancellation in a SAAB twin prop. Fig. 11 shows the plot of random noise cancellation in a Grumman Tiger single prop. Figs. 12 and 13 show the results of fan noise cancellation with DNE cancellation On and Off. Figs. 14 and 15 shows the amount of cancellation without equalization plotted for various frequencies and time delays. Fig. 16 shows the value of Aopt withct equalization for various frequencies and time delays. Fig. 17 shows the plot of solving for maximum plant delay at various frequencies, and Fig. 18 shows the required phase response for three different levels of cancellation. Plant delays prevent an active cancellation system from using perfect knowledge of the noise to produce the cancellation signal. Plant delays in acoustic systems often result from the response of the loudspeaker, its cabinet and the transit time between the speaker and microphone. These delays can be compensated for when canceling repetitive noise. However, these repetitive compensating techniques do not work with random noise. Insight into the effects of plant delays on random noise cancellation and the resulting optimum plant design can be obtained from an analysis of a simple active canceller in which the noise is known and is sinusoidal but use is not made of sinusoidal compensation techniques. The Active Canceller Model When the noise is known a simple active canceller can be used consisting of an inverting amplifier with adjustable gain. If the noise is n(t) = sin (ω t), Eq. (1) where ω is the frequency in radians per second, then the optimum cancellation signal is c(t) = - A I H I sin (ω t - w t Eq. (2) where A is the gain, | H | is the magnitude of the plant response at frequency ω and t< j is the plant delay, in seconds, at frequency ω. The residual signal is r(t) = sin (ω t) - A |H I sin (ω t - ω ) Eq. (3) and the average power of the residual is given by P = 0.5 [1 - 2 A I H I cos ( ω t d ) + A 2 I H I 2 ] Eq. (4) Plant Design Requirements Taking the partial derivative of equation 4 with respect to A and solving; the optimal value of A is A A op ,t -- cos | ( H ω | t " > E *α ~ - (5) ) Note that the optimal gain depends on the frequency, the amount of delay and the magnitude of the frequency response. In order for A 0 p t to be independent of frequency the right hand side of equation 5 must be constant. If the plant has a flat frequency response the product ω t d must be constant. This implies that the phase decreases proportionately to the log of the frequency. The amount of cancellation is computed by dividing by the power of the original signal (0.5) giving dB = 10 log [1 - 2 A I H I cos (ω t d ) + A 2 I H I 2 ] Eq. (6) or dB opt = 10 log sin 2 (ω t d ) Eq. (7) with a flat frequency response In figures 14 and 15 the amount of cancellation is plotted for various frequencies and time delays. The plots are, of course, the same with frequency and delay interchanged since the amount of cancellation depends on the product of the two. Note that complete cancellation of the sinusoidal noise is obtained whenever the product of the frequency, in Hz, and the delay, in seconds, is an integer multiple of 0.5 cycles. The value of A 0 p t is shown for various frequencies and time delays in figure 16. Again, the values of frequency and time delay can be interchanged. When either the frequency or time delay is low, e.g., 100 Hz or 100 μsecs, the optimal gain is relatively independent of the other variable. However, when both increase the optimal gain can swing from +1 to -1. A feel for the implications of these results can be obtained by solving for the maximum plant delay at various frequencies for selected amounts of cancellation. These are listed in table 1 and shown in figure 17 using optimal gain. Maximum Delay fμsecs ancellation 6 dB Cancellation 12 dB Cancellation Table 1 . Maximum Delay vs Frequency and Minimum Cancellation A specification for the plant design can be obtained by the use of equations 5 and 7. In order to have constant gain with a flat frequency response the product ω t d must be constant; call it K. K = ω t d Eq. (8). The value of K can be determined by selecting a desired amount of cancellation and applying equation 7 as follows: ΛT = sin- 1 [ log- 1 [ ^ ] ] Eq. (9) Table 2 show the values of K and the resulting gains for 3 dB, 6 dB and 12 dB of cancellation. Cancellation K A 3 dB 0.787 0.71 6 dB 0.525 0.87 12 dB 0.254 0.97 Table 2. K and A vs Desired Cancellation Applying equation 8 gives the required delay at each frequency. Solving the equation d td = Eq. (10) dω for phase provides the required phase response θ = -K In (ω) Eq. (l l) Figure 18 shows the required phase response for three different levels of cancellation. The phase response for the required amount of cancellation and flat magnitude frequency response provide the specification for the optimum plant. This analysis applies a random cancellation technique to sinusoidal noise in order to assess the effects of time delays in the plant. Relationships are derived that determine the optimal gain and the amount of cancellation for various combinations of frequency and plant delay. The maximum plant delay allowable in order to achieve certain cancellation goals is tabulated. Design rules are presented to determine the optimum plant response. EQUALIZING FILTER The low-cost noise cancellation system consists of a microphone, a speaker and signal processing to minimize the noise at the microphone. The speaker is modeled as a discrete transfer function h(z) along with a discrete time delay z Λ -d of d samples. The basic system is as follows: 4, z Λ d h (z) - →∑- + — z Λ -d (est h (z)) ■ l -i The canceling signal appears at 1. This signal goes through the time delay and speaker to be mixed with the noise n. It also goes through an FIR estimate of the speaker h(z) with the appropriate time delay. This configuration results in the canceling signal being subtracted from the noise n before the inversion block. Thus, the noise n itself is inverted and outputs as the canceling signal. The problem with this configuration is the canceling signal phase shift caused by both the time delay d and the speaker h(z). For a low cost canceller it is counter productive to design in predictors to predict the noise d samples into the future. Rather it was initially thought to compensate the canceling signal at point 1. The form of this compensation would be one over the estimate of h(z). Nothing can be done about the delay other than increasing the sampling rate to minimize its effects. Here, two filters along with A D's and D/A's are needed. This invention contemplates a configuration that compensates for the phase shifts in the speaker but needs only one filter and associated hardware. The compensation here consists of the inverse estimate of the speaker. Here the canceling signal is sent to the speaker and the time delay feedback function. The signal is degraded by the speaker and then has noise added to it. This resultant signal is then compensated. This output is added to the negated, delayed only canceling signal. The result is n only going to the inverter as before. Many cancellation schemes have been developed such as that in Fig. 1 denoted as 10 which uses a reference microphone 12, a speaker actuator 14, controller 11 and an error microphone 13. A substantial amount of signal processing including adaptive filtering is done in the processor. A simplification to this scheme is seen in Fig. 2 at 20. Here, one error microphone 21 and actuator 22 along with controller 23 having the necessary signal processing duel adaptive filtering are required. However, even with pretraining two of the adaptive filters, one multiweight adaptive filter is constantly having its weight values updated which still involves a nontrivial amount of signal processing. I^ w Cost Controller Derivation The new system is a simplified solution of an optimum Weiner filter with a single gain inversion process that is calculated with a knowledge of the input noise statistics and the plant characteristics. This system is seen in Figure 3 as 30 with a feedback filter (an estimate of the delay and plant characteristic) to subtract out the effect of the canceling signal. It has Gain Determinator 34, actuator 36, input 31, summing module 32, the gain 33, delay and actuator estimate and actuator 35. Thus, the residual is simply the resultant noise following cancellation. Note that the feedback filter is dependent only on the delay and actuator and needs to be determined only once, such as with a white noise training signal. The feedback filter is the impulse response of the actual actuator with delay included and can be measured experimentally with an analyzer. The optimum filter is a realization of the well known projection theorem found in many stochastics processes texts. Note that this filter is possible only with the perfect subtraction of the canceling signal. It can be shown that the optimum gain is such a filter is gain opt = <u,n>/<u,u> Where n is the input noise to be canceled and u is that noise filtered through the delay and actuator. <> is expectation and the gain equation reduces to gain opt = cross correlation of n and filtered n at delay divided by the auto correlation of filtered n Therefore, the primary disadvantage to the low cost scheme is readily apparent - the transport delay can cause the optimum gain to be so low as to effect no cancellation of n. However, given a reasonable delay, say 2 sample periods, cancellation can be effected if the cross correlation at 2 is not too small. So, white noise cannot be canceled with this scheme but correlated signals, especially those whose frequency is much less than the digital sampling frequency can be significantly reduced. Equalization of Plant An improvement to the new system is realized with an equalizer placed after the gain block as in Figure 4 as 40 having modules input 41, summer 42, gain 43, equalizer 46, delay and actuator estimator 44 and actuator 45. The equalizer 46 is determined analytically or adaptively (such as with a white noise training signal). A conventional equalizer would be trained so that the convolution of the equalizer and actuator is an impulse. However, for this control system application, the resulting delay is unacceptable. So, given an impulse response of interest, the equalizer is trained to produce the correct phase shift at frequencies of interest. As with a feedback filter, the equalizer is dependent only on the actuator and need be determined only once for a given plant. Thus the signal processing is reduced to two filters only with no filter weight adaption processing necessary during operation. This unique equalizer is trained as in Fig. 5. The input is the set of frequencies to be corrected. The frequency response of the plant will give the phase shift and magnitude response through the plant. Then determine the frequencies to be equalized (from a knowledge of the noise to be canceled) and construct the input to the training process. Additional emphasis may be given to the specific frequencies of interest by increasing their relative magnitude going into the equalizer. Note also that frequencies that should not be canceled such as voice or alarms may have their phases shifted so as to add constructively at the microphone and ensure their being heard. This scheme in Fig. 4 works well but requires two sets of A/D's and D/A's to support the two digital filters. An alternative scheme was devised to further reduce the hardware requirements in this low cost canceling approach. Single Filter Equalization A further improvement in the way of hardware reduction is seen in Fig. 6 as 60 with modules input 61, summer 63, equalizer 62, gain 64, delay only 65 and actuator 66. Here, the equalizer 62 is placed after the microphone and before the subtraction of the canceling signal. The feedback filter is reduced to a delay only; the equalizer 62 produces the corrected version of the canceling signal still incorporating the delay at the feedback cancellation point. Therefore, only one digital filter with a simple delay feedback filter is needed in this low-cost implementation. Training the equalizer is identical to the two filter canceller above and the equalizing filter produced is identical. Note that the residual before the gain inverter is now not the noise itself but an equalized version of the noise. The residual still has the canceling signal subtracted from it though. The feedback delay can be adjusted to give the best cancellation when the plant delay is uncertain. Obtaining the impulse response with the analyzer in the lab usually give a good indication of the delay - the time of the first peak corresponds to the delay. The two filter configuration is much less sensitive to the equalizer than the single filter equalizer due to a good noise sample always being present just before the inversion process. In the one filter case, an equalized version of the noise was present at the inverter. This example was with plant of 100 weights and an equalizer of 32 and then 100 weights. A different plant with a more over damped step response, shorter transport delay, longer equalizer or noise with different statistics may make the one filter case practical. A sample low cost canceller with plant equalizations shown in Fig. 7 as 70 with microphone 77, amplifier 71, summer 72, filter 73, equalizer 74 and adjustable gain amplifier 75. Fig. 8 shows basic low cost canceller 80 with microphone 86, amplifier 81, summation 82, filter 84 and amplifier 83. The use of a single filter low cost canceller with equalization is shown as 90 with equalization feedback cancellation 91, summer 92, delay 93, amplifier 94, actuator 95 and microphone 96. Fig. 10 shows the plot for a prop plane noise where the gain was adjusted for optimum performance once the feedback filter was loaded. The peak reduction was 10 dB for the lowest harmonic and approximately 5 dB for the next lowest. Fig. 11 shows the plot for a single engine having a broader spectrum without high peaks at low frequency. The reduction was 3 - 5 dB across the spectrum.

Claims: CLAIMS 1. A low cost active noise system having plant equalization for canceling band limited random noise comprising, a reference noise sensing means adapted to generate a first signal an error noise sensing means adapted to generate a second residual signal a speaker means and a controller means operatively connected to all of said foregoing means and adapted to process signals from said reference noise sensing means and actuate said speaker means to generate anti-noise signals, said controller means further adapted to subtract said first signal from said second, residual signal to produce a corrected signal to effectively cancel random noise. 2. A system as in claim 1 wherein said controller means includes a single inverting filter means with an adjustable gain. 3. A system as in claim 1 wherein said controller means includes an equalization filter means. 4, A system as in claim 3 wherein said controller means also includes a single inverting filter means with adjustable gain, said filter and equalizing means adapted to compensate for delays that are too long for random cancellation. 5. A system as in claim 3 wherein both said reference noise sensing means and said error noise sensing means are microphones. 6. The method of canceling band limited random noise comprising sensing the random noise desired to be canceled and generating a first signal in response thereto predicting and generating an anti-noise signal in response to said noise signal and 180° out of phase sensing residual noise left over after said anti-noise signal has been applied and generating a signal in response thereto subtracting said residual signal from said anti-nose signal prediction to thereby generate a modified anti-noise signal to effectively cancel said random noise. 7. A method as in claim 6 wherein the step of predicting and generating an anti- noise signal involves filtering said signal and the subtraction involves factoring in an appropriate time delay. 8. A method as in claim 6 and including the step of estimating the time delay and plant characteristics of the system and factoring the result in the subtraction. 9. A method as in claim 6 where a gain determinator is used to compensate for delays. 10. A method as in claim 9 wherein the noise sensing is done with microphones and including the step of filtering said first signal to factor in appropriate time delays.

Inventors: MCLAUGHLIN MICHAEL, SMITH DEXTER, ZIEGLER ELDON, MCLAUGHLIN, MICHAEL, SMITH, DEXTER, ZIEGLER, ELDON
Applicants: MCLAUGHLIN MICHAEL, NOISE CANCELLATION TECH, SMITH DEXTER, ZIEGLER ELDON, NOISE CANCELLATION TECHNOLOGIES, INC.
Application year: 1992
Main classification: G05B13
IPC codes: G05B13, G10K11, H03G3