DIGITALLY CONTROLLED ANALOG CANCELLATION SYSTEM

Abstract: A digitally controlled analog cancellation system containing an analog noise cancellation circuit with a residual microphone (39) with a digital virtual earth controller (40) for optimizing variable parameters employed in the analog cancellation circuit.

Description: DIGITALLY CONTROLLED ANALOG CANCELLATION SYSTEM This invention relates to the use of a digital signal processor (DSP), or other microprocessor to control various adjustable parameters in an analog active cancellation system. The adjustment of these parameters at calibration time of the system permits the parameters of the analog cancellation system to be matched to the characteristics of the other components used in the system. This adjustment would be necessary when the cancellation electronics are packaged separately from the rest of the cancellation system (e.g. the speakers, microphones, and external gain devices). The example application, (used for illustrative purposes only), is a headset for emergency vehicles. However, this invention relates to any system that would use a digital means to control and adjust the system parameters of an analog cancellation system. In this particular example, the digital system consists of an active noise cancellation controller implementing the "Digital Virtual Earth" algorithm as described in U.S. Patent No. 5,105,377 and incorporated by reference herein. Alternatively, the digital syste consists of a general purpose microprocessor and associated input/output circuitry. Ti e analog cancellation electronics consist of a "NoiseBuster" circuit as described in a co-filed U.S. application on September 20, 1993, incorporated by reference herein. Setting of the parameters of the analog cancellation system could be accomplished manually in the factory by trained technical personnel using sophisticated instrumentation, but would not be possible for an average user. Further, preset factory values would preclude the separate packaging of the electronics and the rest of the system. Accordingly, it is an object of this invention to provide a system employing a digital microprocessor to control the parameters of an analog cancellation system in an automated fashion, thus providing superior results over systems with non-adjustable parameters. It is a further object of this invention to improve system flexibility by allowing the cancellation electronics to be packaged separately from the rest of the cancellation system. These and other objects will become apparent when reference is made to the accompanying drawings in which Figure 1 is a block diagram of a dig i tally controlled analog filter building block. Figure 2 is a block diagram of a digitally controlled analog filter. Figure 3 is a block diagram of a hybrid noise canceling system. Figure 4 is a block diagram of a hybrid noise cancellation system showing the automatic gain setting. Figure 5 is a block diagram of a hybrid noise cancellation system showing the automatic equalization setting. Digitally controlled analog filter building block One aspect of the present invention will be described with reference to the accompanying Figure 1. The basic building block of the present invention, a digitally controlled analog filter building block 10, is shown consisting of a 16-bit shift register 11 connected to the serial port of the microprocessor 12 in the digital system, the output of which gets stored in a 16-bit latch 13. The lower (least significant) bits of this latch are used to set the resistance value of the low pass portion of the filter. This value varies as the digital value sent to the 8-bit C/A 14 is varied. Similarly, the upper (most significant) bits of this latch are used to set the resistance value of the bandpass and highpass portion of the filter. These resistance values vary as the values sent to D/A 15 and D/A 16 vary. Digitally controlled analog filter A further aspect of the present invention will be described with reference to the accompanying Figure 2. A complete analog filter is shown utilizing the building block described above (and shown in Figure 1). The complete filter 20 consists of the digitally controlled analog filter building block 10, with the gain of the system being adjusted by the two 8-bit D/A's 21 and 22. Parameters to be adjusted The example system described contains two different mechanisms which require parametric adjustment to ensure system stability. First, adjustment of the loop gain determines the amount of cancellation achievable by the headset. If the gain setting is too low, there will be too little cancellation. If too high, the system could become unstable resulting in unpleasant or even damaging loud noise at the ear. Second, adjustable equalization of the system permits the transfer function to be "flattened" resulting in maximized stable cancellation. This optimization compensates for variations from unit to unit due to differences in microphones, speakers, and other electronic components. Additionally, variations resulting from components changing with age can be taken into account. Automatic loop gain Since the loop gain determines the overall cancellation effectiveness of the system, it is the primary parameter of interest. In the example system, the gain of the speaker can vary by as much as 2 dB between units, and the gain of the microphone up to 5 dB between units. The adjustment must therefore have a 10 dB range. If the desired cancellation effectiveness is 12 dB, a variation of 1 dB (20%) in the adjusted loop gain yields a variation of 3 dB in the cancellation effectiveness. By way of example this aspect of the present invention will be described with reference to the accompanying drawings. In Figure 3, the combination of the digital system is shown combined with the analog cancellation electronics. The system uses an analog cancellation system 30 with microphone preamplifier 31, cancellation gain 32, equalizers 33, 34, and 35, output amplifier 36, and audio gain 37. System 30 is connected to controller 40 having analog to digital converter (A/D) and filter 41, microprocessor 42, parameter setting digital to analog converter (D/A) 43, and output D/A a filter 44. During calibration of the system, predetermined output would be generated by the controller 40 and output through the D/A and filter 43 to the output amplifier 36 resulting in a calibration tone at the headset speaker 38. The resulting output f the residual microphone 39 due to the calibration signal would then be amplified by the microphone preamplifier 31, and the amplified signal would be used by the DVE controller to correctly adjust the cancellation gain 32. This cancellation gain 32 would be adjusted by the controller via the parameter setting D/A 43. In the more specific case, this invention could be implemented with the analog cancellation electronics controlled by a DVE controller consisting of a DVE cancellation engine, an A/D to acquire the input samples, and a D/A to generate the output samples. With this specific configuration, the necessary adjustment of the analog system parameters could easily be made, and the cancellation of the system would be improved even further. Automatic equalizer setting In an analog filter, the locations of the poles and zeroes are determined by the values of the resistors, capacitors, and inductors in the circuit. Since the maximum stable cancellation at any particular loop gain is determined by the flatness and delay in the equalized loop, the ability to vary the frequency and damping of poles and zeroes in the filters of the equalizer greatly increases the effectiveness of the active noise cancellation system. Again, by way of example this aspect of the present invention will be described with reference to the accompanying drawings. As described previously, and with reference to Figure 3, the digital system would produce a calibration signal to be used to adjust the system parameters of the analog cancellation system. During calibration of the system, predetermined output would be generated by the DVE controller 40 and output through the D/A and filter 44 to the output amplifier 36 resulting in a calibration tone at the headset speaker 38. In order to set the values of the adjustable equalizer, the digital system would first set the two EQ2 equalization stages 34 and 35 for a flat response (since these two stages are strictly used to remove the effects of the analog cancellation electronics and the audio in from the feedback to the digital processor). The processor would then iteratively adjust the EQl equalization 33 to obtain the desired level of attenuation in the active band. At the same time, it would avoid a setting which would cause instability. This dynamic adjustment of the analog electronics ensures that the cancellation provided by that subsystem is optimized without the need for manual adjustment, and without the need for servicing.

Claims: Claims 1. A noise cancellation system for canceling unwanted noise, said system comprising a first noise canceling electronic means adapted to cancel low frequency noise, and a second electronic means, said first and second electronic means being connected and implemented in such a way that the second electronic means can optimize the variable parameters employed in the first noise canceling means. 2. A hybrid noise cancellation system for canceling unwanted noise, said system comprising a first noise canceling electronic means adapted to cancel low frequency noise, and a second noise canceling electronic means adapted to cancel periodic noise, said first and second noise canceling means being connected and implemented in such a way that the second noise canceling means can optimize the variable parameters employed in the first noise canceling means. 3. A system as in claim 2 wherein the first noise canceling means is an analog system means. 4. A system as in claim 3 wherein the analog system contains a digitally controlled analog filter building block comprising a means to acquire a digital input value, a means to latch such acquired digital input value, and a means to adjust the parameters of said analog filter building block. 5. A system as in claim 4 wherein said analog system means is a feedback control system. 6. A system as in claim 4 wherein said analog system means is a feedforward system. 7. A system as in claim 3 wherein said second noise canceling electronic means comprises a digital virtual earth system. 8. A system as in claim 4 wherein said second noise canceling electronic means comprises a digital virtual earth system. 9. A system as in claim 5 wherein said second noise canceling electronic means comprises a digital virtual earth system. 10. A system as in claim 6 wherein said second noise canceling electronic means comprises a digital virtual earth system.

Inventors: DENENBERG JEFFREY N, SABETT RANDY V, DENENBERG, JEFFREY, N., SABETT, RANDY, V.
Applicants: NOISE CANCELLATION TECH, NOISE CANCELLATION TECHNOLOGIES, INC.
Application year: 1994
Main classification: H04R25
IPC codes: H04R3, H04R25, H04R27