Noise cancellation with improved frequency resolution
Patent Information
- Application Number
- SA522431378
- Authority / Receiving Office
- SA · SA
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-01-16
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2040-07-17
AI Technical Summary
Existing noise cancellation technologies struggle with achieving satisfactory results for rapidly changing dynamic sounds and higher frequencies due to poor frequency resolution and the challenge of processing noise before it disappears between the input microphone and the noise canceling amplifier in small setups like headphones or earphones.
A noise cancellation technique that improves frequency resolution by appending zero-valued samples to the data, calculating a frequency domain representation, shifting it in time, and converting back to the time domain, while considering propagation times and system delays, to generate an anti-noise signal for effective cancellation.
Enhances noise cancellation performance for frequencies above 2,000 Hz without requiring acoustic isolation, enabling lighter and less expensive products, and facilitates efficient deployment in earbud form factors.
Abstract
Description
<h2 style=";text-align:left;direction:ltr">Noise cancellation with improved frequency resolution<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This disclosure generally relates to electronic and automatic noise cancellation technologies.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Scientists and engineers have been working on the problem of electronic, automatic noise cancellation (ANC) for decades. The basic physics of wave propagation suggests that it is possible to create an "anti-noise" wave that is 180 degrees out of phase with the noise signal and completely cancel the noise through destructive interference. This works well for simple, repetitive, low-frequency sounds. However, it does not work well for rapidly changing dynamic sounds or those with higher frequencies.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Frequency resolution during Fourier analysis significantly affects the accuracy of the antinoise in an active noise cancellation algorithm. This is because the frequency responses of microphones and speakers are not completely uniform across the spectrum, and the amount of in-air attenuation is not uniform for all frequencies. Also, accurate calculation of the antinoise depends on how accurately the main noise is estimated. To obtain a good estimate of the main noise, good frequency resolution is essential. Therefore, along with good frequency resolution, it is also necessary to divide the total spectrum into small bands and tune the suppression factors and phase correction for each band separately.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Good frequency resolution refers to a short gap between consecutive frequencies in the spectrum. In the Fourier transform, there is a tradeoff between time resolution and frequency resolution. If the time resolution is good, the frequency resolution becomes poor, and vice versa. It is difficult to find the best tradeoff between these two variables. Mathematically, frequency resolution (ΔF) is the ratio of the sampling rate (Fs) and the number of samples in a chunk (N). Thus, there are two ways to increase frequency resolution: 1) reduce the sampling rate, and 2) increase the chunk size.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A basic requirement for active noise cancellation is that complete processing—including noise acquisition in the microphone, mathematical analyses, anti-noise preparation, and anti-noise emanation—must occur in the earphone before the noise is transmitted from the input microphone to the anti-noise earphone. If this doesn't happen, the noise will disappear before the anti-noise effect can be applied.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In a small setup such as a headset or earphone, the distance between the input microphone and the noise canceling amplifier is so small that it takes a very short time for the noise to travel the interim distance. This makes it impossible to collect enough samples to achieve good frequency resolution. If the ANC system waits long enough to collect a reasonable number of samples, the noise canceling generation will be too late to synchronize with the main noise. Therefore, in a small setup, frequency resolution becomes too poor to achieve satisfactory results.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This section provides background information relating to the present disclosure which is not necessarily prior art.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A noise cancellation technique with improved frequency resolution is presented. The method comprises: obtaining a digitized noise signal from an environment in which there is an audio signal stream; receiving a data sample from the digitized noise signal; appending one or more additional samples to the data sample to form a series of samples, wherein the magnitude of each of the additional samples is substantially zero; calculating a frequency domain representation of the series of samples in the frequency domain; shifting the frequency domain representation of the series of samples in time using a digital processor circuit, resulting in a shifted frequency domain representation of the series of samples; converting the shifted frequency domain representation of the series of samples into the time domain to form part of an anti-noise signal; and outputting the anti-noise signal into the audio signal stream to attenuate noise through destructive interference. The number of additional samples appended to the data sample depends on the desired frequency resolution of the anti-noise signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one aspect, the frequency domain representation is calculated using the fast Fourier transform method. After the frequency domain representation of the sample series is transformed into time, the transformed frequency domain representation of the sample series is transformed back into the time domain using the inverse fast Fourier transform method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one embodiment, the frequency domain representation is shifted by an amount of time that depends on a specific frequency in the frequency domain representation and takes into account both the propagation time associated with the noise signal and the system propagation time associated with the actual throughput bandwidth of the digital processor circuitry and any associated equipment. In some embodiments, the time shift takes into account the frequency responses of the physical components of the system (e.g., a microphone and speakers). In addition, the amplitude of the frequency domain representation may be changed before converting the shifted frequency domain representation of the sample series to the time domain.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some embodiments, one or more noise segments in the frequency domain representation are individually shifted. In most cases, the frequency domain representation comprises a large number of noise segments, which can be grouped into frequency bands such that each noise segment in the group of noise segments grouped into a given band has an additional time or amplitude shift applied to the group or band.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In another aspect, we calculate a single-volume variable impulse response and multiply the size of each noise data sample by the variable impulse response to save time and computational overhead. Preferably, the impulse response is calculated and stored before obtaining the digital noise signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Other areas of application will become apparent from the description provided here. The description and specific examples in this summary are for illustrative purposes only and are not intended to limit the scope of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This application has priority based on U.S. provisional patent application No. 16 / 929504 filed on July 15, 2020, and U.S. provisional patent application No. 16 / 514465 filed on July 17, 2019. U.S. patent application No. 16 / 929504 is a continuation of U.S. patent application No. 16 / 514465. The full disclosure of the above applications is incorporated by reference.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The drawings described herein are for illustrative purposes only of selected embodiments and not all possible applications, and are not intended to limit the scope of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a schematic of the first model of a silencer, which is useful for reducing or canceling noise in an airborne system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a block diagram of a second embodiment of a silencer device, useful for providing noise reduction or noise cancellation in a communications microphone, communications headset, or headphone / earphone system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a block diagram of a third model of a silencer device, which is useful for noise reduction or noise cancellation in a signal processing system;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4 is a block diagram of a fourth model of a silencer device, which is useful for encrypting and decrypting covert communications.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a block diagram of a fifth embodiment of a silencer device, a useful noise suppressor for electromagnetic transmission, and in separating the signatures or communications of certain equipment from the background noise of power lines (e.g., for use in Power Line communications and smart grid applications).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 is a block diagram showing how to program a digital processor circuit to perform the basic drive algorithm used in the muffler device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 is a schematic diagram showing how to program a digital processor circuit to perform the basic drive algorithm used in the muffler device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 is a signal processing diagram illustrating the processing techniques implemented by the basic engine algorithm in Figure 6.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 is a signal processing diagram showing the calibration method used in relation to the basic engine algorithm.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is a diagram of the basic engine operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 11 is a low-power, single-unit, in-air silencer system configured as a desktop personal quiet zone system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 12 is a low-energy, single-unit, air-cooled silencer system configured as a window-mounted unit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 13 is a typical low-power, single-unit, in-air silencer system configured as a portable air collection package.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 14 is a typical high-power, multi-unit, in-air muffler system configured to reduce highway noise.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 15 is a typical high-energy, multi-unit, in-air silencer system configured for vehicle noise attenuation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 16 is a typical high-power, multi-unit, in-air silencer system configured to create a silent cone to protect a private conversation from being overheard by others.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 17 is an illustrative example of smartphone integration.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 18 is an illustrative model of noise-canceling headphones.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 19 is another illustration of noise-canceling headphones.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 20 shows an illustrative implementation of the processor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 21 shows an illustrative model of decryption and encryption.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 22 illustrates an illustrative concept of signature detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 23 is a flowchart illustrating a technique for improving frequency resolution while mitigating active noise.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24a shows a portion of a noise signal in the time domain.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24b shows a unit pulse padded with zeros.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24c is a table showing the time shift of the padded unit pulse.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 24d shows an example of an impulse response unit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 25 is a table showing how to calculate the anti-noise signal using the unit impulse response.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Corresponding reference numbers refer to corresponding parts in all drawing views.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The illustrative embodiments will now be fully described with reference to the accompanying drawings. The silencer can be deployed in a variety of different applications. For illustrative purposes, five illustrative embodiments will be discussed in detail here. It is understood that these examples provide an understanding of some of the different uses for which the silencer can be employed. Other uses and applications are also possible within the scope of the attached protective elements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 1, the first illustrative embodiment of a silencer device is shown. This embodiment is designed to provide noise cancellation for an over-the-air system, where incoming environmental noise is sensed and a noise cancellation signal is generated and broadcast into the surrounding area. As illustrated, this embodiment includes a digital signal processor (DSP) circuit 10 with an associated memory 12 in which configuration data, referred to here as application presets, is stored. In one illustrative embodiment, the DSP circuit 10 is implemented using a commercially available multimedia processor integrated circuit, such as a Broadcom BCM2837 quad-core ARM Cortex A53 processor, or the like. Programming details for the DSP circuit are provided below. In another illustrative embodiment, the DSP circuit 10 can be implemented using a Raspberry Pi computer, such as a Raspberry Pi 3 Model B, or better. This device includes the DSP circuit 10, along with a VideoCore IV GPU, onboard SDRAM, Wi-Fi, Bluetooth transceiver circuitry, 802.11n wireless LAN, and Bluetooth 4.1 connectivity support.<h2 style=";text-align:left;direction:ltr">Twenty-six GPIO ports are provided, in addition to four USB 2 ports, a 100Base-T Ethernet port, a DSI and CSI port, a 4-pole composite video / audio port, and an HDMI 1.4 port. These ports can be used to provide input and output connectivity for the signal processor circuit 10, as shown in the block diagrams in Figures 1-4. Similarly, the FPGA can be programmed to implement the necessary functions, supported by analog-to-digital and digital-to-analog converters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The over-the-air noise cancellation system shown in Figure 1 comprises one or more input microphones 14 positioned in a physical location where they can sense the noise source to be canceled. Each of the microphones 14 is coupled to an audio-to-digital converter (ADC) 16 that converts the analog signal waveform from the coupled microphone into digital data, such as by sampling. While various sampling rates can be used to suit the task, the embodiment shown uses 48 kHz as the sampling rate. The sampling rate is chosen based on the frequency range occupied by the majority of the noise sound energy, the distance between the input and feedback microphones, and other factors related to the specific application and objectives.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Coupled between the ADC 16 and the digital signal processor (DSP) circuit 10 is an optional gate circuit 18 that passes noise energy above a predetermined threshold and blocks energy below that threshold. The gate circuit 18 can be implemented using software running on the processor or using a standalone noise gate integrated circuit. The purpose of the gate circuit is to distinguish between an ambient background noise level that is not considered objectionable and a higher noise level associated with objectionable noise. For example, if an overhead noise cancellation system were deployed to mitigate intermittent road noise from a nearby highway, the gate threshold would be configured to open when the acoustic energy of vehicle traffic was detected and to close when only the rustling of leaves from nearby trees was detected. In this way, the gate helps reduce the load on the DSP 10 and prevents unwanted pumping.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The optional gate circuit 18 can be user-configurable, allowing the user to set a noise threshold such that only sounds above this threshold are treated as noise. For example, in a quiet office, the ambient noise level might be around 50 dB SPL. In such an environment, the user might set the noise threshold to operate only on signals above 60 dB SPL.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A digital-to-analog converter (DAC) 20 is coupled to the output of the digital signal processor (DSP) circuit 10. The DAC 20 serves as a complement to the ADC 16, converting the output of the digital signal processor (DSP) circuit 10 into an analog signal. The analog signal represents a noise-canceling signal specifically designed to cancel the noise detected by the input microphone(s) 14. A suitable amplifier 22 and a loudspeaker or converter system 24 transmit this noise-canceling signal into the air, where it mixes with the noise source as heard from a monitoring point within the effective transmission area of the loudspeaker or converter system 24. Essentially, the loudspeaker system 24 is positioned between the noise source and the listener or receiver point, such that the listener / receiver can receive a signal arriving at their location, except that the signals from the noise source are canceled by the noise-canceling signal from the loudspeaker or converter system 24.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">If necessary, the circuit may also include a white or pink noise source fed to the amplifier 22, which essentially mixes a predetermined amount of white or pink noise with the analog signal from the digital signal processing circuit 10 (via DAC 20). This noise source is useful for mitigating the effect of the noise-canceling signal by masking audible transitions that can occur when the noise-canceling signal combines with the noise source signal downstream of the amplifier.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The feedback microphone 26 is positioned in front of (input direction) the loudspeaker system 24. The feedback microphone is used to sample the signal stream after the noise canceler has been introduced into the stream. This microphone provides a reference signal for the digital signal processor (DSP) circuit 10, which is used to adapt the algorithm that controls how the DSP circuit generates the appropriate noise canceling signal. Although not shown in Figure 1, the output of the feedback microphone can be processed by appropriate amplification and / or analog to digital converter circuitry to provide the feedback signal used by the noise cancellation algorithm. In some applications where only the amplitude of the noise canceling signal is used, the output of the feedback microphone can be processed in the analog domain to derive an amplitude voltage signal, which can be processed by averaging or other means, if necessary. In other applications, where a more accurate evaluation of the noise canceling signal versus the noise is desired, a phase comparison of the input microphone signal can also be performed.<h2 style=";text-align:left;direction:ltr">In most applications of this system, both the phase and amplitude of the discrete portions of the feedback signal will be analyzed compared to the microphone input signal, or the desired outcome of the application (the generation and processing of discrete portions is discussed later in this document). The output of the feedback microphone can be sampled and converted to the digital domain using an analog-to-digital converter. The feedback microphone may be connected to either a microphone input or a line input coupled to the video / audio port of the digital signal processor circuit. For additional examples of the noise reduction system in Figure 1, see the section titled "Different Use Case Models" below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The second embodiment of the noise-cancelling device is illustrated in Figure 2. As will be explained, this embodies the features of two signal paths: the received audio signal path, which attenuates noise in the user's earphones, headphones, or speakers 24A; and the transmitted audio signal path, where the sounds picked up by the telephone microphone 34 are processed to attenuate ambient noise also picked up by the telephone microphone 34. The received audio signal path is thus used to enhance what the user hears in their own or purchased earphones, headphones, or speakers to reduce or eliminate ambient sounds within the environment. This makes listening to music or listening to a telephone conversation easier. The transmitted audio signal path is used to partially or completely cancel ambient sounds, such as wind noise, and the entry of the user's telephone microphone 34. Of course, the same noise-cancelling techniques can be used with other systems, not just telephones, including live recording microphones, broadcast microphones, and the like.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">With reference to Figure 2, the illustrative embodiment shown has been adapted for use with a headphone system and shares some of the same components as the embodiment of Figure 1. In this embodiment, the input microphone is implemented using one or more noise-sensing microphones 14a positioned on the outside of the headphone or headphone / earphone. Analog-to-digital circuitry associated with or integrated with each noise-sensing microphone converts ambient noise into digital signals that are fed to the digital signal processing circuitry 10. The feedback microphone 26 is positioned within the headphone / earphone, in acoustic coupling with the headphone amplifier 24a, or the feedback microphone may be positioned entirely, as this represents a tightly controlled physical embodiment.<h2 style=";text-align:left;direction:ltr">In systems that include a feedback microphone, the feedback microphone data includes composite signal components that may include desired entertainment content (e.g., music or audio / video) and / or audio signal, as well as noise and anti-noise, which can be compared to the noise and anti-noise signal, or a composite of the input and desired signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note that this system differs significantly from conventional systems because its ability to effectively cancel sounds with frequency components above 2,000 Hz reduces the need for acoustic isolation methods prevalent in conventional noise-canceling headphones. This enables lighter, less expensive products and facilitates efficient deployment in the "earbud" form factor.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In this model, the noise processing of the silencer device can be implemented independently for each earpiece. For low-cost headphones / earbuds / headphones, the processing can be implemented jointly for both earpieces in a stereo system, or it can be handled by an external processor in a smartphone or other device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Another important difference in this model is that the calibration mode will also be used to calculate the appropriate amplitude and phase adjustments required for each frequency band range to compensate for the effect of the physical properties of the headphone or earphone construction on ambient / unwanted noise before it reaches the ear (calibration mode and frequency band ranges are discussed later in this document).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Similarly, the noise canceling system in this model is mixed with the desired music or audio signal via a mixer 30 (the desired music or audio signal is provided by a phone 30, a music player, a communications device, etc.), and the two are often output together via a common speaker. In this use case, the feedback microphone will only operate during calibration mode and can be omitted from the production modules under certain conditions. Alternatively, the feedback microphone can operate continuously in some multi-speaker applications of this model (in virtual reality and gaming headsets, for example).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In headphone systems that incorporate a vocal microphone, the output of the digital signal processor (DSP) circuit 10 may be fed to the vocal microphone circuit as well as to the headphone amplifier circuit, as shown above. This is illustrated in Figure 2, where the first output signal from the DSP circuit 10 is fed to a first mixer 30 that supplies the audio playback system (amp 22 and headphone amplifier 24a). A second output signal from the DSP circuit 10 is fed to a second mixer 32 that supplies the telephone 34 or other audio processing circuit. Since the ambient noise signal is sampled at a location(s) distant from the position of the communications / voice microphone, the desired audio signal is not canceled. This alternative noise-cancelling signal may or may not have a frequency bandwidth amplitude and is adjusted during calibration as described above, depending on the application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For critical communications applications, such as media broadcasting or military communications, it may be desirable to use a separate signal processing circuit to cancel microphone noise. This would allow for precise cancellation of known noise signatures, provide the ability to never cancel certain critical information frequency bands, and facilitate other customizations for these mission-critical applications via user configuration or presets. For additional examples of the noise reduction system in Figure 2, see the section titled "Different Use Case Models" below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A third, more general model is shown in Figure 3. In this model, the input signal can be derived from any source, and the output signal can be coupled to a circuit or device (not shown) that normally processes the input signal. Thus, the model of Figure 3 is designed to be interleaved within a signal processing device, transmitted, or in-line. In this model, feedback is typically not used. Known noise characteristics can be compensated for by system parameters (adjusted using settings called "presets" 12). If these characteristics are unknown, the system can be calibrated to cancel noise by processing a section of material that contains noise but no signal (for example, the system can be calibrated to the noise signature using a "rollback" portion of a video clip). Applications of this model include removing noise from event recordings or audio monitoring, or removing it in a "live" mode with an appropriate amount of "broadcast delay," such as the "7-second" delay currently used to enable profanity censorship during live broadcasts.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">While a stand-alone digital signal processor (DSP) circuit 10 is illustrated in the examples above, it will be appreciated that the processor within a portable device, such as a smartphone, could be used to perform signal processing algorithms; or the core engine could be implemented as a "plug-in" to a software suite, or could be integrated into another signal processing system. Thus, the description herein should also use the term core engine to refer to signal processing algorithms, as described more fully below, that run on a processor, such as a stand-alone DSP circuit or one embedded in a smartphone or other device. As exemplified in Figure 3, the core engine can be used for noise processing in an offline mode or in signal processing applications where an input microphone, output amplifiers, and feedback microphone may not be required.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For additional examples of the noise reduction system in Figure 3, see the section titled “Different Use Case Models” below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A fourth embodiment is shown in Figure 4. In this embodiment, two parties wish to share information with each other via files, broadcasts, signal transmissions, or other means; and restrict access to that information. This embodiment requires both an "encryption party" and a "decryption party" to access the equipment containing this invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An encryption / decryption key is the recipe for the frequency band settings used to encrypt information. The encryption and decryption "key" settings will be created taking into account the characteristics of the noise or other signal into which the information will be embedded, and these frequency band settings include frequency and amplitude information. This allows the encrypted signals to be embedded in a very narrow segment(s) of a transmission that appears to be a harmless, broadband transmission of some other material or a "white noise" signal, for example. In an example involving an intelligence transmission in what appears to be white noise, the encryption would require a white noise recording of a length appropriate to carry the complete message.<h2 style=";text-align:left;direction:ltr">The white noise recording processed by this invention will be for a very narrow frequency range or set of ranges (e.g., a very narrow slice(s) of the noise will be "carved out" by the primary driver), with frequencies within this specific set of ranges not being passed through the system unchanged (the default amplitude will be set to 1 for frequencies not included in the frequency range definitions on the encoder side); the amplitude of the frequency range(s) that will contain the intelligence can be adjusted to facilitate masking within the noise. The information to be shared can optionally be encoded into a "carrier signal" within the narrow frequency range(s) using frequency modulation or other techniques (providing an additional layer of encoding), which can be blended with the system output (the noise with the "carved out" slices). This will effectively embed the information in what appears to be a random white noise signal, in this example (or another type of broadband or signal transmission, as desired).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">On the "decode" side, the frequency and amplitude settings for the frequency band(s) that describe where the information is recorded must be known, to serve as the "decode key." On the decode side, the default amplitude for frequencies not included in the frequency band definition must be set to 0. This means that the system will not produce any output for those frequencies not included in the frequency band definition, so that only the desired signal is output for decoding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The ability to specify the virtual amplitude for frequencies not included in the specified frequency band ranges is one of the defining features of this model.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The security of information transmission is greatly improved if the encryption / decryption "key" is shared between the parties by alternative means, but it could conceivably be included in the "calibration header" of the transmission or file, calculated based on the timestamp or other settings, etc. For additional examples of the noise reduction system in Figure 4, see the section titled "Different Use Case Models" below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The fifth embodiment is illustrated in Figure 5. In this embodiment, the invention is deployed to assist in identifying, detecting, or receiving transmissions or device signatures in a noisy field, such as the noise fields found in dense electromagnetic fields in major cities and other areas inherent in power transmission lines, etc. These embodiments have applications in physical security (such as detecting known types of electromagnetic field disturbances) as well as non-security applications such as monitoring energy usage.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The detected suppressor device can be used to assist in the detection, recognition, or reception of signals in such noise by creating preset frequency band settings designed to pass only the target signal. These frequency band settings include frequency and amplitude information required to identify the "fingerprints" or "signatures" of the target signals against the characteristics of the background noise, as identified in the previous analysis. This setting can be achieved by excluding the frequency components of the target signal from the frequency band settings and using a default amplitude of 0 for frequencies not included in the band settings, effectively passing only the target signals through the system; and adjusting the amplitude and frequency of adjacent frequencies or harmonics appropriately to further boost the target signal. This should aid in the detection of faint signals that might otherwise go unnoticed in the noise field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, when an air conditioning system's compressor is turned on, a unique impulse is transmitted to the grid. A power company's substation might deploy this invention in a system to help it anticipate peak loads by calculating the impulses from different products. In power line communications applications, "normal" noise and fluctuation characteristics can be reduced and desired communication signals can be optimized by deploying presets designed for this task. Presets can also be designed to detect or enhance distant or fading electromagnetic communications. Similarly, presets can be designed to detect disturbances in the noise field defined by certain types of objects or other potential threats.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In this model, multiple instances of the underlying engine can be deployed on a server (or other multi-core or multiplex device) to facilitate the recognition, discovery, or reception of a variety of signals or signature types at a single node.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For additional examples of the noise reduction system in Figure 5, see the section titled “Different Use Case Models” below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Overview of the basic noise cancellation engine algorithm<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The core of a basic engine noise cancellation algorithm is to generate an optimal antinoise for many small, discrete segments or samples comprising the noise signal. A digital signal processing circuit (either implemented as a standalone circuit or using the processor of another device, such as a smartphone) is programmed to perform a signal processing algorithm that precisely generates a customized set of noise cancellation signals individually for each frequency component comprising the target noise signal, or parts thereof. In the simplest embodiment, a frequency-domain representation of the noise signal is calculated and then shifted over time. For example, the frequency-domain representation of the noise signal is shifted by the precise amount required to induce a 180-degree phase shift of that frequency component.<h2 style=";text-align:left;direction:ltr">In addition, the frequency domain representation of the noise signal is shifted by the overall system shift time, which is defined as the difference between the propagation time in the air for a signal traveling from the location of the input microphone 14 to the feedback microphone 26 in Figure 1 and the system propagation time, defined as the time required for the signal picked up by the input microphone 14 to traverse the circuits shown in Figure 1, be output by the amplifier 24, and be received by the feedback microphone 26.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In other embodiments, the frequency-domain representation of the noise signal comprises a set of noise segments, each of which is time-shifted separately, with each noise segment associated with a different frequency range. Similarly, each noise segment is shifted by the precise amount required to produce a 180-degree phase shift for that frequency component and by the overall system offset time. Amplitude and phase adjustments are also applied to each of the separate noise segments to account for the frequency responses of the physical components. In this and other embodiments, an overall system gain or scaling factor may be applied to the output signal. This processed signal is then converted back to an analog time-domain signal and output via the amplifier 26. For signal processing applications that do not require over-the-air transmission, the difference between the respective signal path delays is used to calculate the appropriate system offset time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 6 illustrates the basic concept of the preferred embodiment of a basic engine noise cancellation algorithm. As illustrated, the frequency components of the acquired noise signal sample 40 can be divided into different frequency band segments. In a currently preferred embodiment, the width of these band segments, an amplitude scaling factor applied to the frequencies in the band, and an additional band-specific phase correction can be set differently for each of the different frequency bands 42. These parameters for the frequency bands can be set via a user interface, presets, or based on dynamic parameters in various embodiments. Each frequency band is then divided into frequency band segments of the specified width. Then, for each frequency band segment, the digital signal processing circuitry shifts the phase of that segment by an amount that depends on the selected frequency of the segmented noise signal. For example, the selected frequency could be the center frequency of the band segment. Thus, if a given band segment spans from 100 Hz to 200 Hz, the selected center frequency could be 150 Hz.<h2 style=";text-align:left;direction:ltr">In many applications, each frequency within each band will be shifted individually, and also modified by the overall system shift time, overall system gain, and band-specific phase and amplitude parameters. Band-specific parameters can be used to enable specific applications, correct system component defects, etc.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By dividing the incoming noise signal into a set of different frequency segments, the digital signal processing circuit is able to adapt the noise cancellation algorithm to the specific requirements of a particular application. This is accomplished by selectively controlling the size of each segment to suit the particular application. For example, each segment across the entire frequency range of the incoming noise signal could be very small (e.g., 1 Hz). Alternatively, different parts of the frequency range could be divided into larger or smaller segments, using smaller segments (higher resolution) where the most important information content is present or short wavelengths require it; and using larger segments (lower resolution) at frequencies that carry less information or have longer wavelengths. In some embodiments, the processor not only divides the entire frequency range into segments but can also process amplitude and / or phase separately within a given segment based on the settings in the bandwidth bands.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When extremely high noise cancellation accuracy is desired, the noise signal is divided into small segments (e.g., 1 Hz or other size segments) across the entire spectrum, or across the entire spectrum of the noise signal, as appropriate. This precise segmentation requires significant processing power. Therefore, in applications requiring a low-cost, low-power processor, the core engine noise cancellation algorithm is configured to divide the signal into bands or frequency bands. The number of frequency bands in the core engine program code can be adjusted to suit the needs of the application. If necessary, the digital processor can be programmed to divide the acquired noise signal by applying wavelet decomposition to divide the acquired noise signal into different frequency band segments, thus generating a large number of divided noise signals.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For each application, the segment size and how / if the size will vary across the spectrum is an initial state of the system, determined by specifying parameters for different frequency bands. These parameters can be adjusted through a user interface and then stored in memory 12 (Figure 7) as presets for each application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Once the noise signal has been segmented according to the segmentation scheme established by the digital signal processing circuit (automatically and / or based on user configuration), phase correction is selectively applied to each segment to produce a segmented waveform that significantly negates the noise signal within that segment's frequency range through destructive interference. Specifically, the processing circuit calculates and applies a frequency-dependent delay time 46, taking into account the segment frequency and accounting for any system spread or delay time. The digital signal processing circuit can also apply any adjustments required for a given frequency range due to the phase response of the equipment or environment. Because this frequency-dependent delay time is calculated and applied individually to each segment, the processing circuit 10 calculates and applies these phase correction values in parallel or very quickly in series. The segmented, corrected (phase-shifted) noise signals are then combined at 48 to produce a composite anti-noise signal 50, which is then output to the signal stream to mitigate noise through destructive interference.<h2 style=";text-align:left;direction:ltr">As shown in Figure 6, the anti-noise signal can be introduced into the signal stream via an amplifier system or other power converter 24. Alternatively, in some applications, the anti-noise signal can be introduced into the signal stream using a suitable digital device or analog mixing circuit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some embodiments, noise reduction can be further enhanced by using a feedback signal. Thus, as shown in Figure 6, the feedback microphone 26 can be positioned within the signal flow, downstream of where the anti-noise signal is introduced. In this way, the feedback microphone senses the results of destructive interference between the noise signal and the anti-noise signal. A feedback signal derived from the feedback microphone is then provided to the processing circuit 10 for use in adjusting the amplitude and / or phase of the anti-noise signal. This feedback processing is generally illustrated 52 in Figure 6. The feedback processing 52 comprises converting the feedback microphone signal to a suitable digital signal, via analog-to-digital conversion, and then adjusting the amplitude and / or phase of the anti-noise signal for maximum noise reduction, using the feedback microphone signal as a reference.<h2 style=";text-align:left;direction:ltr">When the anti-noise signal and the noise signal interfere destructively in the optimal way, the feedback microphone signal will detect a null value because the noise energy and anti-noise energy optimally cancel each other out.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one embodiment, the amplitude of the integrated anti-noise signal 50 may be adjusted based on the feedback microphone signal. Alternatively, the amplitude and / or phase of each frequency band segment may be adjusted individually. This may be done by comparing the amplitude and phase of the signal flow at the feedback point to the input signal and adjusting the anti-noise parameters and / or frequency band. Alternatively, the frequency content and amplitude of the feedback signal itself may be examined to indicate what adjustments to the anti-noise parameters are required to improve results by making fine adjustments to the frequency-dependent delay time 46 and amplitude of each segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Determine the frequency-dependent delay time<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The signal processing circuit calculates the frequency-dependent time delay for each segment, taking into account several factors. One of these factors is the calculated 180-degree phase shift time, which is related to the predetermined frequency (e.g., the segment center frequency) of each individual signal segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This calculation can be performed in calibration mode and stored in a table in memory 12, or continuously recalculated in real time, depending on the application and available processing power. The precise time delay required to generate the appropriate antinoise for each frequency "f" is calculated using the formula: (1 / f) / 2, where:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where f is the pre-selected frequency (e.g., the center frequency) of that segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Another factor used by the signal processing circuit is the system displacement time, which in turn depends on two factors, the propagation time in the air and the system propagation time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The third factor is the imperfect frequency response of the physical components of the system that can be compensated for.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To generate accurate noise cancellation signals, the processing circuit relies on prior knowledge of the sound propagation rate through the air, measured as the time it takes for the signal to travel from the input microphone to the feedback microphone. As used herein, this transit time is referred to as the air propagation time. The processing circuit also relies on prior knowledge of the time it takes the processor 10 and its associated input and output components (e.g., 14, 16, 18, 20, 22, 24) to generate the noise cancellation signal, referred to herein as the system propagation time. This data is used to ensure that the noise cancellation signal accurately matches the noise signal so that the cancellation results are optimal. The noise signal propagation rate through the air depends on a variety of physical factors, such as air temperature, pressure, density, and humidity. The processor computation time and circuit transfer time depend on the processor speed, the speed of the bus accessing the memory 12, and the signal delay across the input / output circuits associated with the processor 10 in various embodiments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the preferred embodiment, these air diffusion and system diffusion times are measured and stored in memory 12 during calibration mode. The user can manually initiate calibration mode via the user interface, or the processor 10 can be programmed to automatically calibrate periodically or in response to measured air temperature, pressure, density, and humidity conditions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Thus, the preferred embodiment measures the propagation time in the air from the time the noise signal is detected at the input microphone 14 until it is subsequently detected at the feedback microphone 26. Depending on the application, these two microphones may be placed at a permanently fixed separation distance (as in the headphone embodiment of Figure 2), or they may be placed at a separation distance that depends on where the microphones are positioned in the field. The time delay attributable to the time taken to process the input signal and output it to the speaker system 24 (24a) and the receiver at the feedback microphone 26 corresponds to the system propagation time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Once the air and system propagation times have been measured and stored in calibration mode, the signal processing circuitry 10 calculates the system offset time as the arithmetic difference between the air propagation time and the system propagation time. This difference calculation can also be calculated in real time or stored in memory 12. In some static applications, such as headphones, there may be no need for an on-board calibration, as the calibration can be performed on the production line or generated based on a known fixed headphone geometry. The system offset time can be stored as a constant (or calculated dynamically in some applications) for use in the noise reduction calculations described here.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To process each discrete frequency segment, the anti-noise signal is generated by delaying the processed signal by a time equal to the absolute value of the 180° phase shift time for that discrete frequency segment minus the system shift time. This value is referred to here as the applied time delay. The applied time delay for each frequency segment can be either stored in a table or calculated continuously in different implementations of the algorithm. For models using frequency bands, additional phase correction and appropriate amplitude scaling will also be applied for each frequency band.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 illustrates in more detail how the signal processing circuit can be programmed to implement the basic motor noise cancellation algorithm. The programmed process begins with a series of steps that populate a set of data structures 59 within memory 12, where the parameters used by the algorithm are stored for access as needed. Further details of the basic motor operation are also discussed below in relation to Figure 10.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to Figure 7, a register containing the selected chunk size is first stored in data structure 59. The chunk size is the length of the time slice to be processed in each iteration by the core engine, represented by the number of samples to be processed as a set or "chunk" of data. The chunk size depends primarily on the application (frequency range to be processed and desired resolution), system propagation time, and the input-output transition time for noise signals transmitted over the air or otherwise (processing must be complete and the antinoise injected into the signal stream before the original signal exceeds the antinoise output point). A "chunk" can also be a single sample in some embodiments, applications, or signal processing schemes.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, for an in-air system processing the entire audio spectrum, the distance between input and output microphones is 5.0 inches, the sampling rate is 48 kHz, and the system propagation time is 0.2 ms; a chunk size of 16 would be appropriate (at a sampling rate of 48 kHz, 16 samples equate to ~0.3333 ms in time; at standard temperature and pressure, sound travels approximately 4.5 inches in the air during that time period). Processor operation can be optimized to efficiently process the required chunk size by limiting system and state changes to one per chunk.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This chunk size register is typically stored initially when the noise canceler is configured for a specific application. In most cases, it is neither necessary nor desirable to change the chunk size register while the underlying engine noise cancellation algorithm is running. The size can also be specified indirectly by selecting a target frequency resolution for the system at a specified sampling rate.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The frequency band ranges, segment sizes within each frequency band, and the output scaling factor for each frequency band are set as initial conditions depending on the application and are stored in data structure 59. These parameters can be set in a user interface, listed as presets in the system, or calculated dynamically.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The processing circuit at 62 then measures and stores in data structure 59 the system propagation time, corresponding to the time it takes the processing circuit and its associated input and output circuits to perform noise mitigation operations. This is accomplished by operating the processing circuit in calibration mode, described below, where a noise signal is supplied to the processing circuit, which the processing circuit operates on to generate an anti-noise signal and output. The time elapsed between the input of the noise signal and the output of the anti-noise signal represents the system propagation time. This value is stored in data structure 59.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition, the processing circuit is at 64 scales and stores the air propagation time in data structure 59. This process is also performed by the processing circuit in the calibration mode shown below. In this case, the processing circuit is switched to a mode where it generates no outputs. The time elapsed between signal reception at the input microphone and signal reception at the feedback microphone is measured and stored as the air propagation time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The processing circuit at 66 then calculates and stores in data structure 59 the system displacement time, defined as the propagation time in the air minus the system propagation time. This value is required later when the processing circuit calculates the applied delay time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">With the previous calibration parameters calculated and stored, the underlying engine noise cancellation algorithm can now perform segment-specific pre-calculations (alternatively, these calculations can be performed in real time provided sufficient processing power is available). In some embodiments, frequency band settings (bandwidth, in-band segment size, band-specific phase correction, and band-specific amplitude scaling) are also stored in memory 12.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> As shown, step 68 and subsequent steps 70 and 72 are executed in parallel (or sequentially at speed) for each segment, depending on the frequency band settings. If there are 1,000 segments for a given application, steps 68-70 are executed 1,000 times, preferably in parallel, and the data is stored in data structure 59.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In Step 70, the 180-degree phase shift time is then adjusted by subtracting the previously stored system shift time for each segment. The processor circuitry calculates and stores the absolute value of this value as the applied delay time—the applied delay time is a positive number, representing the amount of phase shift that will be applied to the corresponding segment. Note that if the frequency range requires additional adjustment (beyond accounting for propagation times in the air and system) due to the phase performance characteristics of the transducers (microphones, speakers, etc.), the environment, or other elements, this additional time and / or amplitude adjustments may also occur in Step 70.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The core engine uses this stored data to process frequency segments more quickly (by applying pre-calculated time shifts to all frequency segments in advance). The processor circuit in step 72 performs the phase shift of the segment noise signal by shifting the segment noise signal over time by the amount stored as the applied delay time for that segment. In addition, if amplitude modulation (or fine-tuning phase adjustment) is required according to the frequency band settings or feedback processing 52 (Fig. 6), this adjustment is also applied here (in some embodiments, phase modulation and amplitude modulation can be applied simultaneously by storing the information as a vector). All segments are processed in parallel, or at sequential speed, depending on the system architecture.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Once all the segments for a particular piece have been appropriately modified, the processing circuit at 74 reassembles all the processed segments to generate the anti-noise waveform for output in the signal stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To further understand the operation of the processing circuit, refer to Figure 8, which gives a more physical representation of how the noise signal is processed. Starting at step 80, the noise signal 82 is obtained. In Figure 8, the noise signal is plotted as a time-varying signal containing many different frequency components, or harmonics.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In step 84, a portion of the noise signal spectrum is divided into segments 86 according to the parameters 59 discussed in relation to Figure 7. For illustrative purposes, Figure 7 assumes that the time-varying noise signal 82 was expressed in the frequency domain, with lower frequency components being allocated to the far left side of the spectrum plot 86, while higher frequency components, or harmonics, are distributed to the right side of the spectrum plot. For example, the spectrum plot 86 might extend from 20 Hz to 20,000 Hz, covering the entire range generally accepted for human hearing. Of course, the spectrum can be allocated differently depending on the application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should be recognized that although the noise signal is represented in the frequency domain in the spectrum, the noise signal is inherently a time-varying signal. Therefore, the amount of energy in each frequency domain segment will fluctuate over time. To illustrate this fluctuation, a waterfall diagram has also been drawn, showing how the energy within each frequency segment may change as time flows along the vertical axis.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The frequency-dependent phase shift (i.e., the applied delay time) is applied separately to each segment, as in step 90. To illustrate, waveform 92 represents the noise frequency within the segment before the shift. Waveform 94 represents the same noise frequency after the system offset time has been applied. Finally, waveform 96 represents the resulting noise frequency after the 180° phase shift time has been applied (note that this is for illustrative purposes only—in actual processing, only the applied delay time, which is the absolute value of the 180° phase shift time minus the system offset time, and any required domain-specific phase correction, are used). For this illustration, it is also assumed that no amplitude measurement is required for the segments being processed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By combining the time-shifted components from each segment in step 98, the anti-noise signal 100 is generated. When this anti-noise signal is output into the signal stream, as in step 102, the anti-noise signal 100 is mixed with the original noise signal 104, causing the two to interfere destructively, effectively canceling or attenuating the noise signal. What remains is any information-carrying signal 108 that can be retrieved in step 106.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Calibration mode<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 illustrates how the processing circuit 10, input microphone 14, preamplifier 24, and feedback microphone 26 can be used to perform calibration, by selectively enabling and disabling the underlying engine algorithm when making measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In a currently preferred embodiment, the propagation time in the air is calculated with the primary anti-noise driver system and the output disabled. In this case, the propagation time in the air is calculated as the difference in time between the pickup time of the input noise at the input microphone 14 and the pickup time of the noise at the feedback microphone 26. The system propagation time is measured with the primary anti-noise driver system enabled. The same input is fed back to the input microphone 14. This time, it is processed by the primary driver and output via an amplifier (such as a loudspeaker system 24, a loudspeaker, or other suitable calibration transformer) placed before the feedback microphone 26. During the processing of the input signal in the primary driver, its frequency may be altered so that the output pulse is distinguished from the input pulse noise (or the timing / phase of the two signals may be used to distinguish the system output from the original noise). Both the in-air and system signals will arrive at the feedback microphone.<h2 style=";text-align:left;direction:ltr">The system propagation time can then be calculated from the time for the input pulse signal to reach the feedback microphone and the time for the output signal to reach the feedback microphone.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note that this calibration mode can virtually eliminate the significant amount of engineering time required to "tune" the system to account for subtle differences between microphones used in or the physical geometry of noise-canceling systems or earbuds. This can result in significant cost savings in product development. Calibration mode also eliminates the physical challenges of tuning individual assemblies on a production line due to variances in the production of individual components and variations (especially in microphones), by providing an automated method for initial tuning. This is another significant cost savings in production.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Using the system offset time, the processor calculates a specific segment time delay that will be applied to each segment to create the precise noise impedance required for the segment. To calculate the precise segment time delay, the processor ascertains the time required to produce a 180° phase shift in the center frequency of a given frequency segment and adjusts this by the system offset time. Specifically, the segment time delay is calculated as the absolute value of the 180° phase shift time minus the system offset time. Any domain-specific phase corrections will also be applied in this step.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> After all the time delays in the anti-noise segment are calculated, the digital signals for each segment are then delayed by the amount of time calculated for that segment, and all the anti-noise segments thus created are then combined into a single anti-noise signal which is then output (e.g., a speaker system).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In models using a feedback microphone, or another feedback signal source, the processor compares the feedback microphone input signal to the input microphone signal in both phase and amplitude. The processor uses phase comparison to adjust the applied delay time and uses the anti-noise capacitance to adjust the amplitude of the generated noise-cancelling signal. In amplitude adjustment, the processor can individually manipulate the amplitude of each segment within a frequency band (thus effectively controlling the amplitude for each segment). Alternatively, the combination of frequency and amplitude of the feedback signal itself can be used to determine the necessary adjustments to the amplitude and phase of each segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Basic engine operation details<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring now to Figure 10, a detailed explanation of how the signal processing circuit 10 implements the basic drive operation is given. Figure 10 specifically illustrates the software architecture implemented by the signal processing circuit in a preferred embodiment. The user can interact with the processor running the basic drive operation in several ways. If necessary, the user can engage the configuration mode of the suppressor device as in Figure 120. By doing so, the user can also configure the frequency bands and corresponding segment widths, the band-specific phase, the amplitude correction, and the noise floor as a gate parameter (part of data structure 59; see also Figure 7). The segment size can also be set as a user interface parameter.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Alternatively, the user can simply start the silencer device as in 132. The user can then command the basic engine process to calibrate the device as in 134. The calibration process causes the basic engine program 124 to affect the calibration process by invoking the calibration engine 126, which is part of the basic engine program 124 and runs on the signal processing circuit, to perform the calibration process detailed above, thereby populating data structure 59 with the air propagation time, system propagation time, and other calculated parameters. These stored parameters are then used by the anti-noise generation engine 128, which is also part of the basic engine program 124. As shown, the anti-noise engine 128 provides signals to the amplifier, which then introduces an anti-noise signal into the signal stream at 130.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Whether required as part of the calibration process or as part of the in-use noise mitigation process, the primary driver inputs signals from the input microphone and the feedback microphone as in 136. To reduce in-use noise, the user commands the device to suppress noise via the user interface as shown in 138. As shown, this causes an anti-noise signal to be introduced into the signal stream (e.g., in the air 140). If white noise or pink noise is used, it may also be introduced into the signal stream at 142.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To illustrate how the signal processing circuit that powers the core engine algorithm operates on typical input data, refer to the table below (for simplicity, this table assumes no frequency-domain-specific correction is required). The table below indicates typical user-specified frequency ranges. As can be seen, the applied time delay can be represented as a floating-point number corresponding to the delay time in seconds. As the data shows, typical applied time delays can be very small, yet each applied time delay is precisely calculated for each specific frequency segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Sample width (Hz) Center frequency (Hz) Delay time for 180 Phase shift (= period / 2) In air Propagation time System propagation time Offset value Applied time delay = | 180 time - Offset value Example of user defined frequency range<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 32 16 0.03125 0.00088811 0.00000001 0.0008881 0.0303619 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 32 48 0.010416667 0.00088811 0.00000001 0.0008881 0.009528567 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 32 80 0.00625 0.00088811 0.00000001 0.0008881 0.0053619 1<h2 style=";text-align:left;direction:ltr"> 32 112 0.004464286 0.00088811 0.00000001 0.0008881 0.003576186 1 32 144 0.003472222 0.00088811 0.00000001 0.0008881 0.002584122 1 32 176 0.002840909 0.00088811 0.00000001 0.0008881 0.001952809 1 32 208 0.002403846 0.00088811 0.00000001 0.0008881 0.001515746 1 32 240 0.002083333 0.00088811 0.00000001 0.0008881 0.001195233 1 32 272 0.001838235 0.00088811 0.00000001 0.0008881 0.000950135 1 32 304 0.001644737 0.00088811 0.00000001 0.0008881 0.000756637 1 32 336 0.001488095 0.00088811 0.00000001 0.0008881 0.000599995 1 32 368 0.001358696 0.00088811 0.00000001 0.0008881 0.000470596 1 32 400 0.00125 0.00088811 0.00000001 0.0008881 0.0003619 1 16 416 0.001201923 0.00088811 0.00000001 0.0008881 0.000313823 2 16 432 0.001157407 0.00088811 0.00000001 0.0008881 0.000269307 2 16 448 0.001116071 0.00088811 0.00000001 0.0008881 0.000227971 2<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 464 0.001077586 0.00088811 0.00000001 0.0008881 0.000189486 2<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 480 0.001041667 0.00088811 0.00000001 0.0008881 0.000153567 2<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 496 0.001008065 0.00088811 0.00000001 0.0008881 0.000119965 2<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 512 0.000976563 0.00088811 0.00000001 0.0008881 8.84625E-05 2<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,448 5.91856E-05 0.00088811 0.00000001 0.0008881 0.000828914 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,456 5.91296E-05 0.00088811 0.00000001 0.0008881 0.00082897 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,464 5.90737E-05 0.00088811 0.00000001 0.0008881 0.000829026 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,472 5.90179E-05 0.00088811 0.00000001 0.0008881 0.000829082 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,480 5.89623E-05 0.00088811 0.00000001 0.0008881 0.000829138 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,488 5.89067E-05 0.00088811 0.00000001 0.0008881 0.000829193 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,496 5.88512E-05 0.00088811 0.00000001 0.0008881 0.000829249 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,504 5.87959E-05 0.00088811 0.00000001 0.0008881 0.000829304 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">8 8,512 5.87406E-05 0.00088811 0.00000001 0.0008881 0.000829359 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 8 8,520 5.86854E-05 0.00088811 0.00000001 0.0008881 0.000829415 5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 8,536 5.85754E-05 0.00088811 0.00000001 0.0008881 0.000829525 6<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 8,552 5.84659E-05 0.00088811 0.00000001 0.0008881 0.000829634 6<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 8,568 5.83567E-05 0.00088811 0.00000001 0.0008881 0.000829743 6<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 8,584 5.82479E-05 0.00088811 0.00000001 0.0008881 0.000829852 6<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 16 8,600 5.81395E-05 0.00088811 0.00000001 0.0008881 0.00082996 6<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In contrast to conventional noise cancellation technologies, the core engine noise cancellation algorithm enables exceptional results for frequencies above 2000 Hz, facilitating good results across the entire audio spectrum (up to 20,000 Hz) and beyond (provided sufficient processing speed). Conventional technologies currently deployed are only reasonably effective up to approximately 2000 Hz and are essentially ineffective above 3000 Hz.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Improve frequency accuracy<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Zero-padding is a technique for improving frequency resolution by appending zeros to signals. However, this approach creates noise because the signal becomes severely distorted. Another aspect of this discovery proposes applying zero-padding to each data sample of a noise signal, thus achieving better frequency resolution while maintaining proper time-domain accuracy. This technique is generally described in relation to Figure 23.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A digital noise signal is first acquired at 201 from an environment where an audio signal stream is present. Each data sample of the digital noise signal is processed to improve frequency resolution. Specifically, one or more additional samples at 203 are appended to a given data sample to form a sequence of samples, where each one or more samples is substantially zero in size. Frequency resolution is further increased as more zeros are added to the data sample. For a noise signal sampled at 48 kHz, adding 15 zeros to a data sample achieves a frequency resolution of 3000 Hz; whereas adding 159 zeros to a data sample results in a frequency resolution of 300 Hz. In this way, the number of appended zeros depends on the desired frequency resolution. It is understood that the number of zeros added to a given data sample can vary depending on the application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The remainder of the noise reduction method proceeds as described above. That is, a frequency-domain representation of the sample series is calculated in the frequency domain at 204. In one example, the sample series at 205 is transformed into the frequency domain using a fast Fourier transform, although other methods are contemplated by this disclosure. In the frequency domain, the frequency-domain representation of the sample series is shifted in time at 206. The frequency-domain representation is shifted by an amount of time that takes into account the propagation time associated with the noise signal and the system propagation time associated with the throughput of the digital processor circuit and any associated equipment. In one embodiment, the frequency-domain representation is shifted by the same amount of time across all frequencies. In another embodiment, the frequency-domain representation is segmented into a set of noise segments, each of which is associated with a different range of frequencies, and one or more noise segments are shifted individually. In this case, the amount of time a noise segment is shifted can vary among the set of noise segments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The converted frequency domain representation at 206 is then converted to the time domain, thus forming a composite anti-noise signal. The composite anti-noise signal at 207 is then output into the audio signal stream for noise attenuation through destructive interference.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figures 24a-24c also illustrate an example of a noise attenuation method with improved frequency resolution. A portion of a time-domain noise signal is shown in Figure 24a. This approach reduces computation time and computational overhead by calculating and storing the unit pulse response of the system. The unit pulse (i.e., the impulse response of a single magnitude) is padded with a predetermined number of zeros. As noted above, the number of appended zeros depends on the desired frequency resolution. For illustrative purposes, the unit pulse is padded with 15 zeros to form a sequence of samples as shown in Figure 24b.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Next, a Fourier transform is performed on the impulse response, and all the global and frequency-domain parameter settings of the base driver are applied, effectively transforming each frequency component represented by the impulse response based on the base driver parameters. The inverse Fourier transform is then applied to the impulse response, creating a series of amplitude values representing the zero-padded, shifted impulse response. This allows us to calculate the antinoise for any sample by multiplying the amplitude of each sample by each value of the transformed impulse response and adding them, as shown below, rather than applying a fast Fourier transform to each sample of the target noise signal (which is computationally intensive and time-consuming).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To illustrate this technique, a numerical example is shown below. The unit pulse is padded with 15 zeros as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 1 0 0 0 0 0 0 0 0 0<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following result is obtained by applying the Fourier transform to the padded unit pulse.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j 1+0j<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the table above, each sine has an amplitude of 1 and an initial phase of 0. Assuming a sampling rate of 48 kHz, the frequencies of the sine waves in kHz are shown in the following table:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 0 3 6 9 12 15 18 21 24 21 18 15 12 9 6 3<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For each frequency component, an applicable time shift is then performed. A numerical example is illustrated in the table in Figure 24c. In this example, the various frequency components are shown in column 1. The suppression factor (SF) is measured in calibration mode or set by the user for each individual frequency band to address the uneven frequency response of air, microphones, loudspeakers, and other devices. Column 2 of the table shows the suppression factor values for each specific frequency measured during the calibration process. The total phase shift required for each frequency component consists of four components. First, the system-offset time (SOT) is constant for all sinusoids; 10 microseconds in this example. Second, the phase shift for each particular sinusoid varies due to the corresponding frequency. This shift is called the system-offset phase (SOP), as shown in column 4, which can be expressed in radians as follows: SOP = 2 x PI x frequency x (SOT / 1000000).<h2 style=";text-align:left;direction:ltr">Third, devices such as microphones, sound cards, speakers, and wiring have their own phase responses to different frequencies obtained from the Bode plot. In addition to the standard operating procedure, frequency-specific phase corrections (PC) are required for each frequency. PC values are determined during the calibration process or set experimentally. Fourth, a half-wavelength shift, equal to 180 degrees or Pi radians for any frequency, is used to invert the noise signal. The total phase shift for each frequency is shown in column 7. The antinoise sinusoid can be obtained by adding the amplitude and phase shift of the noise signal to the values shown in column 8.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To return to the time domain, an inverse Fourier transform is applied to the values in column 8 of the table in Figure 24c. This time domain signal is known as the unit impulse response of the system, with an example shown in Figure 24d. The numerical values of the unit impulse response are shown in the table below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">These values are for illustrative purposes only. The system's unit impulse response is stored for later use in active noise cancellation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> During active noise cancellation, the stored unit impulse response can be used to generate an anti-noise signal without performing a computationally expensive conversion to and from the frequency domain. In this illustrative model, each data sample from the noise signal is multiplied by the stored unit impulse response. Continuing the example above, the numerical values of the data samples are provided in the table below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 0 0 0 -0.5 -0.19 -0.2 0.1 0.38 0.2 0.4 0.49 0.5<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Multiplying the first value (0.5 in this example) by the unit impulse response gives the following result:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> -0.3 0.225 -0.16 0.05 -0.01 -0.1 0.025 -0.09 0.035 -0.115 0.07 -0.1 0.02 -0.08 0.045 -0.04<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Similarly, multiplying the second value (which is 0.49 in this example) by the unit impulse response yields the following result:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> -0.29 0.221 -0.16 0.049 -0.01 -0.1 0.025 -0.08 0.034 -0.1127 0.069 -0.09 0.02 -0.08 0.044 -0.03<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Continuing through each data sample results in a table as shown in Figure 25. The values in each row are summed with the sum shown in the corresponding column of the bottom row. Thus, the bottom row of the table represents the anti-noise signal in the digital domain. In this example, each data sample is padded with fifteen zeros, so the first fifteen results will be inaccurate. Starting with the sixteenth column in the table (i.e., the value 0.269), the sum forms the amplitude of each anti-noise signal sample, applying appropriate delay times and measuring the amplitude. The simple multiplication and addition of this approach is faster than converting each sample to and from the frequency domain.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> While the zero-filling technique is described in the context of noise cancellation, it is understood that this technique is applicable to other signal processing methods that require increased frequency resolution while maintaining accuracy in the time domain. The signal can then be converted back to the time domain and output as described previously to attenuate the original noise signal.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Different use case models<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The underlying technology revealed above can be used for a variety of different purposes. Some of these use cases are described below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Air Silencer System Models (Acoustic)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The over-the-air silencer system can be implemented as shown in Figure 1 and described above. Several different embodiments are possible. This includes a low-power, single-unit system optimized for providing a personal quiet zone. As shown in Figure 11, the components shown in Figure 1 are mounted in a desktop or tabletop enclosure containing an amplified loudspeaker, directed at the user. Note that the feedback microphone 26 is positioned within the sound field of the speaker. This can be in a fixed configuration, or it can deploy a detachable extension arm that also serves as a microphone stand to allow the user to position the feedback microphone closer to where the user is located. Another possible embodiment is for the silencer system to be coded into a smartphone or added as a smartphone app. In this embodiment, the phone's built-in microphones and speakers, along with a microphone from a headset, can be used to create the system.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 12 illustrates an alternative embodiment in which the components of Figure 1 are deployed within a fitting frame to fit a room window, the window frame being shown in W. In this embodiment, the input microphone 14 captures sound from outside the window, and the amplifying speaker 24 provides the noise-cancelling sound in the room. The feedback microphone can be placed on an extension arm or conveniently positioned close to the user. If desired, the feedback microphone can communicate wirelessly with the processing circuit 10 using Bluetooth or another wireless protocol. In this embodiment, amplitude adjustments for the various frequency ranges defined in the calibration model are likely to be significant (as in the headphone model) due to the way walls and windows affect the original noise.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 13 illustrates another embodiment in which the components of Figure 1 are deployed in a complete installation package adapted to fit within the ductwork of an HVAC system, or within the ductwork of a fan system (e.g., a bathroom ceiling fan, kitchen ventilation fan, industrial ventilation fan, or the like). In this embodiment, sounds generated by the HVAC system or fan system are sampled by the input microphone 14, and the noise-reducing signal is injected into the ductwork system. In this embodiment, if necessary, multiple speaker systems may be deployed in ventilation registers throughout the home or building, such that HVAC or fan system noise is reduced at each location. This multi-speaker embodiment may use individual feedback microphones 26 within each room, such as each adjacent register. The processing circuit 10 may supply an amplifier volume control signal individually to each amplified speaker, to adapt the sound pressure level of the noise-reducing signal to each room. Rooms closer to a noise-producing blower may require higher amplification of the noise-reducing signal than rooms further away.<h2 style=";text-align:left;direction:ltr">Alternatively, a single device can be installed in individual registers to provide site-specific control.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The second category of air deadening devices consists of high-power, multi-unit systems designed to mitigate noise from high-energy sources. These include systems for reducing noise generated at construction sites, noise generated along busy streets or highways, and noise generated by nearby airports. These high-power multi-unit systems can also be adapted to school environments and reduce noise. Additionally, high-power multi-unit systems can be used to mitigate road noise in vehicle cabins (such as cars, trucks, military tanks, boats, aircraft, etc.).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 14 shows an exemplary high-power, multi-unit system used to mitigate highway noise. The individual silencers, each implemented as shown in Figure 1, are positioned to intercept the highway noise using their respective input microphones 14 and inject counter-noise acoustic energy into the environment so that the highway noise is canceled out by destructive interference in the partition located at a distance. Alternatively, the silencer can be placed directly in a home's yard to provide more direct coverage.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the highway noise reduction model, individual silencers are preferably mounted on vertical stands or other suitable structures, such that the speakers are above the heads of anyone standing nearby. Feedback microphones 26 can be placed at a significant distance from the silencer, using a WiFi connection or other wireless communication protocol to send feedback information to the processing circuit.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Also, if necessary, individual mufflers may be wirelessly interconnected in a network, such as a mesh network or local area network, allowing the mufflers to share information about the local audio input and feedback signals acquired by each muffler unit. In the case of highway noise, loud noise sources can be tracked by the input microphones of the respective mufflers. Thus, like a semi-truck airbraking or a motorcycle with inefficient muffler engines on a noise-protected stretch of highway, the collective system of mufflers can communicate with each other and adapt their anti-noise signals to amplify what would otherwise be possible using individual input and feedback microphones. This implements a form of diverse noise cancellation made possible by the fact that two different, mathematically orthogonal information sources are used: (a) the feedback microphone sources and (b) the collective input microphones shared across the mesh network or local area network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 15 illustrates how a high-powered multi-unit system can be deployed in a vehicle, such as an automated vehicle. Multiple input microphones are placed at noise input locations within the cabin. This input data is processed individually, either using the summation cores of a 10-core processor or using the 10 summation processors shown as an icon on the vehicle's infotainment screen. This represents the state where the system has been factory-installed and integrated into the vehicle's electronics. Because each input signal is processed individually, it is not necessary to segment each signal in the same way. In fact, each different type of noise signal will typically have its own noise signature (tire noise is very different from muffler noise, for example), and so each input signal is segmented in a way that matches the frequency spectrum and sound pressure levels at each different noise location to deliver the desired results at each passenger location.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">While dedicated noise canceling speakers can be used inside the vehicle's cabin, it is also possible to use the vehicle's existing audio system. Thus, in the embodiment illustrated, Processing Circuit 10 provides a stereo or alternatively a surround sound signal mixed with the audio coming from the in-cabin entertainment system. Mixing can be performed in either the digital or audio domain. However, in both cases, Processing Circuit 10 receives a data signal that provides the processing circuit with information about the user-selected volume level for the entertainment system. The processor uses this information to adjust the volume of the noise canceling signal so that it adequately counteracts noise sources regardless of the user-selected volume level for the entertainment system. Thus, when the user increases the entertainment volume, Processing Circuit 10 reduces the noise canceling signal injected into the mixer to compensate. The processor is programmed to ensure that adequate sound pressure levels are generated within the cabin, regardless of how the user adjusts the entertainment volume.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Another class of overhead silencer systems provides an inverse overhead function. In this type of system, the silencer is configured in reverse, creating a "silencer cone" that allows a private conversation to take place in public, without others being able to clearly hear what is being said. As illustrated in Figure 16, the silencer is deployed with one or more outward-facing speakers. Input microphones are placed in the middle of the speaker arrangement, thus placing the people having a private conversation on the "noise input" side of the audio stream. In this model, feedback microphones 26 are deployed in locations where outside listeners (uninvited listeners) cannot easily shut these microphones off, thus altering the anti-noise signal being generated to cancel that conversation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Communications microphone, communications headset, and personal headphones / earphones (audio)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The communications / headset system can be implemented as shown in Figure 2 and described above. Several different models are possible.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">One such model, illustrated in Figure 17, is a mobile smartphone application. The input microphone is located on the back of the smartphone, the speaker is the smartphone's receiving speaker, the core engine is implemented using the smartphone's processor, and the feedback microphone is not used (due to the fixed geometry). In this model, the same noise suppressor can be added to transmit the microphone. A variant of this model includes a passive headphone plugged into the microphone / headphone jack, a connector, etc. For this variant to be effective, the phone's microphone must be exposed to ambient noise, not in a pocket, purse, or backpack.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Another consumer-level embodiment is a noise-canceling headphone, earphone, or in-ear headset with Core Engine processing performed using a processor and microphone(s) input included as part of the headphone, earphone, or in-ear headset as shown in Figure 18. In this embodiment (as described previously), a common processor can be used for the entire stereo system for lower cost / performance products, and individual processors for each ear can be used for higher cost / performance products.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Commercial and military products will likely use faster processors, separate processing for each earcup, and a separate processor for microphone noise cancellation. For more critical applications, additional input microphone(s) will be used to capture extreme ambient noise (due to stadium crowds, wind, vehicles, munitions, etc.), and the Core Engine processor will be located close to the actual transmission microphone, as shown in Figure 19. For example, Navy Seals on the F470 Combat Rubber Raiding Craft could dispense with the throat microphones they currently use and benefit from better communication using this type of system. Similarly, sportscasters will enjoy smaller, lighter, less obtrusive, and more "on-camera" headset designs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Offline signal processing (audio)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The signal processing system can be implemented offline, as shown in Figure 3 and described above. In this embodiment, known noise features can be reduced or removed from recordings, or in a live setting, with an appropriate delay between the action and the actual broadcast. In this embodiment, the primary engine may serve as a "plug-in" to another editing or processing software system, integrated into another signal processor, or as a standalone device, as shown in Figure 20. If the noise features to be removed (or alternatively, for a signal to be passed in an unknown noise environment: excluding those frequencies from the frequency band definitions and setting the amplitude scaling factor to 1 for frequencies not included in the frequency band definitions would enable only those frequencies to pass), the system parameters can be adjusted manually (or via presets) to effectively remove the noise and pass the target signal. Alternatively, a calibration mode can be used to analyze the noise of the "pre-play" portion to determine appropriate anti-noise settings.<h2 style=";text-align:left;direction:ltr">Use cases for this model include removing noise from old recordings, reducing noise in “live” situations without negatively affecting the quality of the voiceover, removing noise from a surveillance recording, enhancing the sound in a surveillance recording, etc.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Encoding / Decoding (audio range or beyond)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The encryption / decryption scheme can be implemented as shown in Figure 4 and described above. The basic use case here is to transmit private information by surreptitiously encoding it into narrow segments of a broadband transmission or noise signal in a way that effectively does not affect the broadband signal. Another use case for this model is to include additional data or information about the broadband transmission. As shown in Figure 21, the encryption "key" might include frequency and amplitude information to "carve out" separate "channels" in the broadband signal that will not materially affect the broadband content (e.g., white noise). The encrypted signal is placed on "carriers" of appropriate frequencies by modulation, so that when the carriers are added to the broadband content, they appear "normal" to observers. The decryption "key" would describe the amplitude and frequency settings for the bandwidth bands that would result in the cancellation of all information except for those "carriers," which can then be demodulated and decrypted.<h2 style=";text-align:left;direction:ltr">This is most often achieved by excluding the "carrier" frequencies from the frequency band definitions, and obtaining the default amplitude from the excluded frequencies set to 0. Preservation of the "carrier" signals can be further enhanced by appropriately measuring the amplitude of the antinoise formed directly adjacent to the "carrier" frequencies as part of the "decoding key" definition.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an alternative embodiment, the encoder / decoder system may dispense with the step of "trimming" separate channels into the wideband signal. Instead, these separate channels are simply selected by the processor, based on prior knowledge of which parts of the frequency spectrum to select. Such knowledge of these selected channels is stored in memory, accessible by the processor, and is also known to the intended message receiver by hidden or proprietary means. The message to be transmitted is then modulated onto a suitable carrier that places the message in these separate channels, but is mixed with the otherwise existing noise signal. The entire wideband signal (including the separate noise-masked channels) is then transmitted. Upon receipt of the wideband signal, it is processed on the decoder side using a processor programmed to divide the wideband signal into segments, identify the separate channels carrying the message (based on prior knowledge of the channel frequencies), and perform noise reduction on the message-carrying channels.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Identify, detect, or improve signal signature (audio band and beyond)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Signal signature recognition, detection, or reception enhancement can be implemented as shown in Figure 5 and described above. This embodiment facilitates the core engine to recognize, detect, or enhance specific types of transmissions or device signatures in a noise domain. Figure 22 illustrates the ability to recognize or detect a variety of signatures in a single noise or data transmission domain by deploying multiple core engine instances to scan that domain. Unlike other embodiments where a microphone is used to capture the incoming noise signal, in this embodiment, the noise generated by a specific device is captured over a predetermined period of time. The captured data is then processed by moving average calculations or other statistical smoothing manipulations to develop a noise signature for that device. Depending on the nature of the device, this noise signature may be an audio frequency signature (e.g., representing the sound of a blower motor fan) or an electromagnetic frequency signature (e.g., representing radio frequency interference generated by a replacement motor or an electronically commutated motor).<h2 style=";text-align:left;direction:ltr">The noise signature of this device is then used to generate an anti-noise signal. The noise signatures developed in this way can be stored in memory (or within a database for access by other systems) and accessed by signal processing circuitry, as needed, to mitigate the noise of specific devices or classes of devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition to being useful for noise reduction for specific devices, a database of stored noise signatures can also be useful for identifying devices based on their noise signatures, by tuning the underlying engine to pass only those signatures. One use case is enabling energy companies to detect the activation of non-smart grid products to help predict grid loads generated by older products (heating, ventilation, and air conditioning systems, refrigerators, etc.). Another use case is to detect or enhance a distant or weak electromagnetic connection with known characteristics. Alternatively, the frequency and amplitude parameters of the bandwidths can be adjusted to detect disturbances in the transmission field or noise associated with specific events, such as: electromagnetic interference, which may be caused by a drone or other object traversing the transmission or noise field; activation of surveillance or counter-surveillance equipment; tampering with transmission or field sources; celestial or terrestrial events; etc.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The foregoing description of embodiments is provided for illustrative and descriptive purposes. It is not intended to be exhaustive or limit the disclosure. Individual elements or features of a particular embodiment are generally not limited to that particular embodiment but, where applicable, are interchangeable and may be used in a particular embodiment, even if not specifically illustrated or described. The same may also be varied in a variety of ways. Such variations should not be considered a departure from the disclosure, and all such modifications are intended to be included within the scope of the disclosure.
Claims
Protection Elements 1. A method for reducing noise within an audio signal stream containing an unwanted signal referred to as a noise signal, comprising: obtaining a digitized noise signal from an environment in which there is an audio signal stream, wherein the digitized noise signal comprises a plurality of data samples; receiving the digital noise signal by a digital processor circuit; for each data sample in the plurality of data samples, appending, by the digital processor circuit, one or more data to each data sample to form a plurality of data, wherein each one or more data is of zero size; computing, by the digital processor circuit, a frequency domain representation of the data set into the frequency domain; converting the frequency domain representation of the data set in time using the processor circuitdigital processor circuit, producing a shifted frequency domain representation of the data set; converting the shifted frequency domain representation of the data set to the time domain to form part of an anti-noise signal; and outputting the anti-noise signal into the audio signal stream to attenuate noise through destructive interference.
2. The method according to claim 1 wherein the one or more datums appended to the data sample depend on the required frequency resolution of the anti-noise signal.
3. The method according to claim 1 wherein shifting the frequency domain representation of the data set and shifted frequency domain representation further comprising computing a Fourier transform of a single-size impulse, and shifting the impulse response in the frequency domaindomain, calculating the inverse Fourier transform of the shifted impulse response, and multiplying the data sample size by the size of the shifted impulse response in the time domain.
4. The method according to claim 3 further comprising appending zeroes to the impulse before computing the Fourier transform.
5. The method according to claim 3 further comprising shifting the impulse response by an amount of time that takes into account both the propagation time associated with the noise signal and the system propagation time associated with the throughput of the digital processor circuit and any associated equipment.
6. The method according to claim 3 further comprising calculating and storing the impulse response before obtaining a digitized noise signal.
7. The method according to claim 1 further comprising computing the frequency domain representation using a fast Fourier transformtransform method; and transforming the shifted frequency domain representation of the data set to the time domain using an inverse fast Fourier transform method.
8. The method according to claim 1 further comprising shifting the frequency domain representation by an amount of time that takes into account both the propagation time associated with the noise signal and the system propagation time associated with the bandwidth of the digital processor circuit and any associated equipment.
9. The method according to claim 8 further comprising shifting the frequency domain representation by an amount corresponding to a phase shift time calculated as one-half the inverse of the selected frequency.
10. The method according to claim 1 further comprising amplitude scaling of the shifted frequency domain representation of the data set to the time domain.
11. The method according to claim 1 further comprises individually converting one or more noise segments into a frequency domain representation, wherein the frequency domain representation comprises a plurality of noise segments and each noise segment in the plurality of noise segments is associated with a different frequency range.
12. The method according to claim 1 further comprises converting the anti-noise signal to an analog signal and outputting the anti-noise signal into the audio signal stream by mixing it with the original noise within the audio signal stream.
13. The method according to claim 12 further comprises mixing the anti-noise signal with the original noise within the audio signal stream using an amplified loudspeaker or other transducer disposed within the signal stream.
14. The method according to claim 1 further comprises capturing the noise signal within the audio signal stream using at least one microphone coupled to an analog-to-digital converter to produce an acquired digital noise signal.
15. The method according to claim 1 further comprising: obtaining a feedback signal by sampling the audio signal stream after outputting the anti-noise signal in the signal stream; and processing the feedback signal using a digital processor circuit to adjust the amplitude or phase of the anti-noise signal to enhance the attenuation of the noise signal.
16. A method for reducing noise within an audio signal stream containing an unwanted signal referred to as a noise signal, comprising: obtaining a digital noise signal from an environment in which the audio signal stream is present, wherein the digital noise signal comprises a plurality of data samples; receiving the digital noise signal by a digital processor circuit; for each data sample in the plurality of data samples, appending, by the digital processor circuit, one or more data to each data sample to form a plurality of data, wherein each of the one or more data is of size zero; computing, byA digital processor circuit, a frequency-domain representation of a data set in the frequency domain, wherein the frequency-domain representation includes a plurality of noise segments, each noise segment in the plurality of noise segments being associated with a different frequency range; individually transforming one or more noise segments in time using a digital processor circuit; combining the plurality of noise segments to form a composite anti-noise signal; and outputting the composite anti-noise signal into the audio signal stream to attenuate noise through destructive interference.
17. The method according to claim 16, wherein a number of one or more data samples appended to the data sample depends on the desired frequency resolution of the anti-noise signal.
18. The method according to claim 16, wherein the frequency-domain representation of the data set and the individual transformation of one or more noise segments are computed, further comprising the Fourier transform of a single-sized impulse, the transformation of the impulse response in the frequency domain, the inverse Fourier transform of the variable impulse response, and multiplying the data sample size by the size of the transformed impulse response in the time domain.
19. The method according to claim 18 further comprising the appendingzeros per impulse before calculating the Fourier transform.
20. The method according to claim 18 further comprising shifting the impulse response by an amount of time that takes into account both the propagation time associated with the noise signal and the system propagation time associated with the bandwidth of the digital processor circuit and any associated equipment.
21. The method according to claim 18 further comprising computing and storing the impulse response before acquiring the digitized noise signal.
22. The method according to claim 16 further comprising shifting the frequency domain representation by an amount of time that takes into account both the propagation time associated with the noise signal and the system propagation time associated with the bandwidth of the digital processor circuit and any associated equipment.
23. The method according to claim 16 further comprising shifting the frequency domain representation by an amount corresponding to the computed phase shift timecalculated as half the inverse of the selected frequency.
24. The method according to claim 16 further comprising amplitude scaling to represent the frequency domain.
25. The method according to claim 16 further comprising converting the anti-noise signal to an analog signal and outputting the anti-noise signal to the audio signal stream by mixing it with the original noise within the audio signal stream.
26. The method according to claim 16 further comprising mixing the anti-noise signal with the original noise within the audio signal stream using an amplified loudspeaker or other transducer disposed within the signal stream.
27. The method according to claim 16 further comprising capturing the noise signal within the audio signal stream using one microphone on28. The method according to claim 16 comprising: obtaining a feedback signal by sampling the audio signal stream after outputting the anti-noise signal in the signal stream; and processing the feedback signal using a digital processor circuit to adjust the amplitude or phase of the anti-noise signal to enhance the attenuation of the noise signal.
29. A noise reduction system in an audio signal stream containing a noise signal, comprising: a microphone configured to acquire a noise signal from an environment in which there is an audio signal stream; an analog-to-digital converter configured to receive the noise signal from the microphone and converting the noise signalconvert the noise signal to a digitized noise signal; a digital signal processor configured to receive the digitized noise signal from the analog-to-digital converter, and for each data sample in the digitized noise signal, process a given data sample by appending one or more references to the given data sample to form a set of data, where the size of each or more references is substantially zero, compute a frequency domain representation of the data set in the frequency domain, shift the frequency domain representation of the data set in time, thereby producing a shifted frequency domain representation of the data set, and convert the shifted frequency domain representation of the data set into the time domain to form a portion of the anti-noise signalof an anti-noise signal; and a digital-to-analog converter configured to receive an anti-noise signal from a digital signal processor and convert the anti-noise signal to an analog anti-noise signal.
30. The system according to claim 29 further comprising a mixer configured to receive the audio signal stream and the analog anti-noise signal and combine the audio signal stream with the analog anti-noise signal.
31. The system according to claim 29 further comprising a speaker configured to receive an audio signal stream and an analog anti-noise signal.
32. The system according to claim 29 wherein the digital signal processor computes a frequency domain representation using a methodThe fast Fourier transform method converts the shifted frequency domain representation of the data set into the time domain using the inverse fast Fourier transform method.
33. The system according to claim 29, wherein the digital signal processor shifts the frequency domain representation by an amount corresponding to the phase shift time calculated at half the inverse of the selected frequency.
34. The system according to claim 33, wherein the digital signal processor shifts the frequency domain representation by an amount of time dependent on a selected frequency into the frequency domain representation and takes into account both the propagation time associated with the noise signal and the system propagation time associated with the throughput speed of the digital processor circuit.digital processor circuit and any associated equipment.
35. The system according to claim 29, wherein the digital signal processor amplitude scales the frequency domain representation before shifting the shifted frequency domain representation of the set of data to time domain.
36. The system according to claim 29, wherein the digital signal processor shifts one or more noise segments into a frequency domain representation, wherein the frequency domain representation comprises a plurality of noise segments, and each noise segment in the plurality of noise segments is associated with a different frequency band.
37. The system according to claim 31 further comprising a feedback microphone proximate to the speaker and configured to receive the audio signal stream output.stream by the speaker, wherein the digital signal processor is connected to the feedback microphone.
38. The system according to claim 29, wherein the digital signal processor shifts the frequency domain representation of the set of data and converts the shifted frequency domain representation by computing the Fourier transform of a single-size impulse, shifting the impulse response in the frequency domain, computing an inverse Fourier transform of the shifted impulse response, and multiplying the data sample size by the shifted impulse response in the time domain.
39. The system according to claim 38, wherein zeros are appended to the impulse before computing the Fourier transform.
40. The system according to claim 39, whereinThe impulse response is measured and stored before obtaining the digitized noise signal.
