The disclosure relates to the field of active noise control (ANC) in audio systems, and, more particularly, to ANC in audio systems in motor vehicles.
Currently, convergence factors for ANC are determined by experimentation. ANC systems are based on adaptive filter technology. The adaptive filter algorithm normally used for ANC is gradient search Least Mean Squared (LMS). A key point to the stability of an LMS system is the choice of the convergence factor (or step size μ). For an automotive application, the engine hum or boom is cancelled with an ANC system. Since the engine boom changes frequency as the engine Revolutions per Minute (RPM) changes, a unique convergence factor must be considered for each discrete frequency allowed in the ANC system. For an ANC system with M microphones and K speakers, the number of unique frequency responses required is M*K. If the ANC system has an operating frequency range of 20-250 Hz, there are 230 unique frequencies with a frequency resolution of 1 Hz. This could require 230*K unique convergence factors. These convergence factors are currently determined by experimentation. The task of creating tables of convergence factors for an ANC Systems becomes very costly and time consuming.
While many advances have been made to improve automotive ANC algorithms, each method has its own set of problems. Each method has to be custom tuned for each targeted enclosure. A large part of this tuning is coming up with stable values for μ. If there were only one value this would not be an issue. Given the specifications for a typical ANC system:
The present invention may provide a method to calculate convergence factors as a function of frequency for Active Noise Control (ANC). The invention may also provide a new and innovative method for calculating stable values for these convergence factors in a timely manner.
In one embodiment, the invention comprises a method of operating an audio system in a vehicle, including providing m number of microphones disposed within a passenger compartment of the vehicle. The microphones produce a plurality of microphone signals. Within the passenger compartment of the vehicle, k number of loudspeakers are provided. A plurality of convergence factors μ for use in performing active noise control are estimated. The estimating includes calculating an Eigen value λ(ω) of an autocorrelation matrix of a passenger compartment transfer function as
wherein Ak(ω) is the frequency response of the passenger compartment transfer function. A frequency ωmin of a local minimum of λ(ω) is determined. A largest stable value for μMax(ωmin) is found by experimentation, wherein a rotational speed of an engine of the vehicle, expressed in revolutions per minute, frpm=2πωmin. A calibration factor is calculated as L=λ(ωmin)μMax(ωmin). All values of μMax(ω) are estimated as
A plurality of active noise controlled audio signals are transmitted to the loudspeaker. The active noise controlled audio signals are dependent upon the microphone signals and the estimated convergence factors.
In another embodiment, the invention comprises a method of operating an audio system in a vehicle, including providing a plurality of microphones in association with a passenger compartment of the vehicle. The microphones produce a plurality of microphone signals. A plurality of loudspeakers are provided in association with the passenger compartment of the vehicle. A plurality of convergence factors are estimated for use in performing active noise control. The estimating includes calculating an Eigen value of an autocorrelation matrix of a passenger compartment transfer function. The Eigen value is a function of a rotational speed of an engine of the vehicle. An engine rotational speed associated with a local minimum of the Eigen value is determined. A largest stable value for one of the convergence factors at a minimum engine speed is found by experimentation. A calibration factor is calculated dependent upon the largest stable value for one of the convergence factors at a minimum engine speed. All values of the convergence factor within a range of engine speeds are estimated. The estimating is dependent upon the calibration factor and the Eigen values within the range of engine speeds. A plurality of active noise controlled audio signals are transmitted to the loudspeaker. The active noise controlled audio signals are dependent upon the microphone signals and the estimated convergence factor values.
In yet another embodiment, the invention comprises a method of operating an audio system in a vehicle, including providing at least one microphone associated with a passenger compartment of the vehicle. The microphone produces a plurality of microphone signals. At least one loudspeaker associated with the passenger compartment of the vehicle is provided. A plurality of convergence factors for use in performing active noise control are estimated. The estimating includes calculating an Eigen value of an autocorrelation matrix of a passenger compartment transfer function. A calibration factor is calculated dependent upon a largest stable value for one of the convergence factors at a minimum engine speed. All values of the one convergence factor within a range of engine speeds are estimated. The estimating is dependent upon the calibration factor and a plurality of Eigen values within the range of engine speeds. A plurality of active noise controlled audio signals are transmitted to the loudspeaker. The active noise controlled audio signals are dependent upon the microphone signals and the estimated convergence factor values.
An advantage of the present invention is that it may decrease tuning time for ANC systems.
Another advantage of the present invention is that it may be used for hardware or software embodiments of ANC.
A better understanding of the present invention will be had upon reference to the following description in conjunction with the accompanying drawings.
x
c(n)=cos(2πf(n)nT) (0.1)
x
s(n)=sin(2πf(n)nT) (0.2)
Where T=sampling period.
Wck and Wsk represent the adaptive filter coefficients of the kth speaker. Wck and Wsk are adapted such that the outputs of the microphones, em(n) are minimized in a least squares sense.
Narrow band ANC may use an LMS update algorithm called Filtered X (FXLMS). The room transfer function, Smk(z), can be compensated for by filtering the reference input X by an estimate of Smk(z). The realization of this estimate can be simplified by recognizing that at any instant in time the adaptive filter is concerned with only one frequency, f(n). Therefore, an FIR filter can be replaced with a simple complex multiplication:
C
mk(f(n))=Smk(e(i2πf(n))) (0.3)
x′
mk(n)=x(n)Cmk(f(n)) (0.4)
x′mk(n) can then be used to update the filter weights of the FXLMS adaptive filter.
Where e(m) is the output of microphone m. This process is shown in
The stability of an FXLMS adaptive filter may be determined by the convergence factor μ. The bounds for stability are defined below. Referring to equations (0.1) and (0.2), the complex reference signal can be expressed as:
x(n)=xc(n)+ixs(n) (0.6)
Each bin of the frequency response of Smk(z) can be written as,
Since x and Cmk are complex sinusoids, the autocorrelation matrix R is 2×2 as shown in equation (0.9):
The Eigen value of Rk is
The range of stability of μ for each speaker and frequency is defined as:
0<μk(ω)<1/λk(ω) (0.11)
Stable and unique values may be calculated for μ. Assume that there is one speaker and one microphone. Let μMax(ω) represent the maximum stable value μ for all values of ω. Using the method stated above, λ(ω) and μMax(ω) are calculated as follows:
The constant L may be used as a calibration factor. In real world applications, factors such as microphone gains, pre-amp settings, digital-to-analog converts, analog-to-digital converters, imperfect enclosures causing acoustical modes and nodes, and interactions with multiple speakers and microphones, call for L to be tuned for each system.
The constant L may be estimated. Let ωmin represent the frequency of a local minima of λ(ω). The largest stable value for μMax(ωmin) may be found by experimentation, frpm=2πωmin. After μMax(ωmin) has been determined, L may be calculated:
L=λ(ωmin)μMax(ωmin) (0.16)
Once L is known, equation (0.15) may be used to calculate all values of μMax(ω). Thus, by determining one value for μ, all values can be calculated.
For the example case of M=1 and K=1, the impulse response (IR) from speaker to microphone is shown in
If there are multiple microphones and speakers, then the same techniques used for a 1×1 system can be used for an M×K system where M and K are >1:
There may be a unique constant L for each speaker, Lk. The same calibration techniques described above may be used for each speaker. λk(ω) is defined in equation (0.10).
The inventive calibration technique may decrease the time and effort required to experimentally obtain stable values of μ for Narrow Band FXLMS Adaptive ANC systems. This technique still requires some experimentation to determine at least one value of μ for each speaker, but the overall required calibration time is greatly reduced.
The foregoing description may refer to “motor vehicle”, “automobile”, “automotive”, or similar expressions. It is to be understood that these terms are not intended to limit the invention to any particular type of transportation vehicle. Rather, the invention may be applied to any type of transportation vehicle whether traveling by air, water, or ground, such as airplanes, boats, etc.
The foregoing detailed description is given primarily for clearness of understanding and no unnecessary limitations are to be understood therefrom for modifications can be made by those skilled in the art upon reading this disclosure and may be made without departing from the spirit of the invention.
This application claims benefit of U.S. Provisional Application No. 62/262,678 filed on Dec. 3, 2015, which the disclosure of which is hereby incorporated by reference in its entirety for all purposes.
Number | Date | Country | |
---|---|---|---|
62262678 | Dec 2015 | US |