ACTIVE NOISE CONTROL DEVICE, ACTIVE NOISE CONTROL METHOD, AND ACTIVE NOISE CONTROL PROGRAM
20240179463 ยท 2024-05-30
Inventors
Cpc classification
H04R2400/01
ELECTRICITY
International classification
Abstract
An active noise control device includes an adaptive filter that generates a control signal based on a vibration frequency generated by a vibration source and sequentially updating the adaptive filter, a reference signal generation device that generates a reference signal, an amplitude characteristic calculation device that acquires an acoustic characteristic including amplitude and phase information, the acoustic characteristic being an acoustic characteristic of a secondary path between a speaker and a microphone and calculating an amplitude characteristic of the secondary path, a smoothed signal generation device having a low-pass filter, a correction coefficient calculation device that calculates a correction coefficient according to a frequency, an adaptive filter update device that updates the adaptive filter by subtracting an update term including the correction coefficient from a first adaptive filter coefficient that is an immediately preceding adaptive filter coefficient, and a control signal generation device that generates the control signal.
Claims
1. An active noise control device comprising; a microphone and a speaker; an adaptive filter that generates a control signal by performing signal processing on a reference signal generated based on a vibration frequency generated by a vibration source, and sequentially updating the adaptive filter based on a signal input from the microphone when the control signal is output from the speaker; a reference signal generation unit that generates the reference signal; an amplitude characteristic calculation unit that acquires an acoustic characteristic including amplitude and phase information, the acoustic characteristic being an acoustic characteristic of a secondary path between the speaker and the microphone, and calculates an amplitude characteristic of the secondary path having a different value according to a frequency based on the acquired acoustic characteristic; a smoothed signal generation unit having a low-pass filter, that smooths the amplitude characteristic using the low-pass filter and generates a smoothed signal having a different value according to a frequency; a correction coefficient calculation unit that calculates a correction coefficient having a different value according to a frequency based on a result of dividing the amplitude characteristic by the smoothed signal; an adaptive filter update unit that updates the adaptive filter by subtracting an update term including the correction coefficient from a first adaptive filter coefficient that is an immediately preceding adaptive filter coefficient to obtain a second adaptive filter coefficient; and a control signal generation unit that generates the control signal by multiplying the reference signal by the second adaptive filter coefficient.
2. The active noise control device according to claim 1, wherein the adaptive filter update unit includes a threshold value set to approximately 0.5 to approximately 0.7; and the adaptive filter update unit sets the correction coefficient to 0 when the correction coefficient is less than or equal to the threshold.
3. The active noise control device according to claim 1, wherein the adaptive filter update unit subtracts the update term from a result obtained by multiplying the first adaptive filter coefficient by a coefficient of less than 1 to obtain the second adaptive filter coefficient.
4. The active noise control device according to claim 1, wherein the correction coefficient calculation unit sets a result of dividing the amplitude characteristic by the smoothed signal as the correction coefficient when the result is smaller than 1, and sets the correction coefficient to 1 when the result of dividing the amplitude characteristic by the smoothed signal is greater than or equal to 1.
5. An active noise control method comprising: preparing an adaptive filter that generates a control signal by performing signal processing on a reference signal generated based on a vibration frequency generated by a vibration source, and sequentially updating the adaptive filter based on a signal input from a microphone when the control signal is output from a speaker, the active noise control method comprising the steps of: acquiring an acoustic characteristic including amplitude and phase information, the acoustic characteristic being an acoustic characteristic of a secondary path between the speaker and the microphone, and calculating an amplitude characteristic of the secondary path having a different value according to a frequency based on the acquired acoustic characteristic; smoothing the amplitude characteristic using a low-pass filter and generating a smoothed signal having a different value according to a frequency; calculating a correction coefficient having a different value according to a frequency based on a result of dividing the amplitude characteristic by the smoothed signal; updating the adaptive filter by subtracting an update term including the correction coefficient from a first adaptive filter coefficient that is an immediately preceding adaptive filter coefficient to obtain a second adaptive filter coefficient; and generating the control signal by multiplying the reference signal by the second adaptive filter coefficient.
6. (canceled)
7. A non-transitory computer readable medium storing a program that causes a computer of an active noise control to control a noise using an adaptive filter that generates a control signal by performing signal processing on a reference signal generated based on a vibration frequency generated by a vibration source, and sequentially updating the adaptive filter based on a signal input from a microphone when the control signal is output from a speaker, the computer executing the steps of: acquiring an acoustic characteristic including amplitude and phase information, the acoustic characteristic being an acoustic characteristic of a secondary path between the speaker and the microphone, and calculating an amplitude characteristic of the secondary path having a different value according to a frequency based on the acquired acoustic characteristic; smoothing the amplitude characteristic using a low-pass filter and generating a smoothed signal having a different value according to a frequency; calculating a correction coefficient having a different value according to a frequency based on a result of dividing the amplitude characteristic by the smoothed signal; updating the adaptive filter by subtracting an update term including the correction coefficient from a first adaptive filter coefficient that is an immediately preceding adaptive filter coefficient to obtain a second adaptive filter coefficient; and generating the control signal by multiplying the reference signal by the second adaptive filter coefficient.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DESCRIPTION OF THE EMBODIMENTS
[0025] Hereinafter, an embodiment of an active noise control device according to the present invention will be described in detail with reference to the drawings. The active noise control device includes an adaptive filter that generates a control signal by performing signal processing on a reference signal generated based on a vibration frequency generated by a vibration source, and sequentially updates the adaptive filter based on a signal input from a microphone when a control signal is output from a speaker. Hereinafter, the present invention will be described using an example in which noise called booming noise generated by resonance of vibration of an engine of an automobile in a vehicle interior is suppressed, but the active noise control device of the present invention is not limited to a mode in which booming noise is suppressed.
[0026]
[0027] In
[0028] An active noise control device 1 acquires information on an engine speed from a CAN 25, generates a sine wave (reference signal) having the same frequencies as those of a booming noise, generates a control signal by multiplying the reference signal by an adaptive filter coefficient, and outputs the control signal from a speaker 22. As a result, the booming noise caused by the vibration source (engine) and the sound output from the speaker 22 are input to the microphone 21. Then, the active noise control device 1 adjusts the phase and the amplitude of the reference signal by the adaptive filter W so that the sound detected by the microphone 21 becomes small.
[0029] The active noise control device 1 may be constructed as, for example, a dedicated board mounted on a communication terminal or the like (e.g., an in-vehicle device) in the vehicle 100. Furthermore, for example, the active noise control device 1 may be mainly configured by a computer system including an arithmetic device such as a central processing unit (CPU) for executing information processing, and a storage device such as a random access memory (RAM) and a read only memory (ROM), and software (active noise control program). The active noise control program may be stored in advance in an SSD (Solid State Drive) serving as a storage medium built in a device such as a computer, a ROM in a microcomputer having a CPU, or the like, and installed in the computer from there. Furthermore, the active noise control program may be temporarily or permanently stored (stored) in a removable storage medium such as a semiconductor memory, a memory card, an optical disk, a magneto-optical disk, or a magnetic disk.
[0030]
[0031] The reference signal generation unit 11 is a functional unit that acquires information on the engine speed from the CAN 25 and generates a reference signal. Hereinafter, a method by which the reference signal generation unit 11 generates a reference signal will be described. The reference signal generation unit 11 performs the following calculation at each sampling time t=0, 1, 2, . . . .
[0032] First, the reference signal generation unit 11 acquires information regarding the engine speed and the number of cylinders from the CAN 25, and acquires the frequency f(t) of the booming noise by the following equations (1) to (3). Note that (t) means a time-dependent signal.
In the case of a four-cylinder engine:f(t)=engine speed(t)/30(1)
In the case of a six-cylinder engine:f(t)=engine speed(t)/20(2)
In the case of an 8-cylinder engine:f(t)=engine speed(t)/15(3)
[0033] Next, the reference signal generation unit 11 generates a sine wave (reference sine wave) having the same frequency as that of the booming noise as a reference signal by using the following equation (4).
[Equation 1]
X.sub.0(t)=cos ?(t),X.sub.1(t)=?sin ?(t)(4)
[0034] Note that ?(t) indicates the phase of the reference sine wave and is updated by the following equation (5). Here, f.sub.s is a sampling frequency.
[0035] The storage unit 12 is a functional unit that stores acoustic characteristics of the secondary path between the speaker 22 and the microphone 21. The acoustic characteristics of the secondary path are measured and calculated in advance before the active noise control device 1 performs processes, and the result is stored in the storage unit 12.
[0036] A method for obtaining the acoustic characteristics of the secondary path will now be described. The acoustic characteristic of the secondary path is obtained by an acoustic characteristic calculation unit (not shown). The acoustic characteristic calculation unit may be included in the active noise control device 1, or may be included in another information processing device connected to the active noise control device 1.
[0037] First, a sweep wave from 30 Hz to 200 Hz is sent from the speaker 22. The sweep wave y(t) at this time is expressed by the following equation (6).
[Equation 3]
y=X.sub.0(t)=cos ?(t)(6)
[0038] Assuming that the observation signal of the microphone is d(t), the prediction signal is predicted as in the following equation (7). Where a(f) and b(f) are the acoustic characteristics of the secondary path. The acoustic characteristics a(f) and b(f) of the secondary path are coefficients of cos and sin, respectively, and contain amplitude and phase information of the secondary path. Note that (f) means that the signal is a frequency-dependent signal.
[Equation 4]
Prediction signal{circumflex over (d)}(t)=?(f)x.sub.0(t)+b(f)x.sub.1(t)(7)
[0039] The acoustic characteristics a(f) and b(f) of the secondary path that minimize the prediction error are obtained by the LMS (Least mean squares) algorithm. The prediction error e(t) is obtained by the following equation (8), and the acoustic characteristics a(f) and b(f) of the secondary path are obtained by the following successive update equation (9).
[Equation 5]
e(t)=d(t)?{circumflex over (d)}(t)(8)
[Equation 6]
?(f)??(f)+?e(t)x.sub.0(t),b(f)?b(f)+?e(t)x.sub.1(t)(9)
[0040] The storage unit 12 stores the acoustic characteristics a(f) and b(f) of the secondary path obtained by equation (9). The acoustic characteristics a(f) and b(f) of the secondary path are held in a table with the frequency as an argument. Note that, in the present embodiment, the acoustic characteristics a(f) and b(f) of the secondary path are obtained by the LMS algorithm, but the method of obtaining the acoustic characteristics a(f) and b(f) of the secondary path is not limited thereto, and various known methods such as discrete Fourier transformation of an impulse response can be used.
[0041] The amplitude characteristic calculation unit 13 is a functional unit that acquires the acoustic characteristic stored in the storage unit 12 and calculates the amplitude characteristic of the secondary path based on the acoustic characteristic. The amplitude characteristic A(f) of the secondary path is obtained by the following equation (10).
[Equation 7]
A(f)=?{square root over (a(f).sup.2+b(f).sup.2)}(10)
[0042]
[0043] The vehicle interior is a closed space, and the amplitude characteristic A(f) of the secondary path is a standing wave having an antinode at which the sound pressure greatly changes and a node at which the sound pressure hardly changes. The amplitude characteristic A(f) of the secondary path becomes a dip (valley) at a position coinciding with a node of the standing wave. In
[0044] The description will now return to
[0045]
[0046] The description will now return to
[0047] As can be seen from equation (11), when the result obtained by dividing the amplitude characteristic A(f) of the secondary path by the smoothed signal A(f) is greater than or equal to 1, the correction coefficient ?(f) is set to 1.
[0048]
[0049] At the dip frequency, the active noise control becomes unstable due to reasons such as even if a loud sound is output from the speaker 22, it is not reflected in the input of the microphone 21, or a steep characteristic cannot be expressed by the adaptive filter, or the like, and in the worst case, the control signal output from the speaker 22 may become unlimitedly large and diverge. In the present embodiment, since the dip frequency can be reliably detected by using the result obtained by dividing the amplitude characteristic A(f) of the secondary path by the smoothed signal A(f), such a problem can be prevented.
[0050] The description will now return to
[0051] First, the adaptive filter update unit 16 obtains the filtered-x signals X.sub.0(t) and X.sub.1(t) using the acoustic characteristics a(f) and b(f) of the secondary path as shown in the following equation (12).
X.sub.0(t)=a(f)X.sub.0(t)+b(f)X.sub.1(t),X.sub.1(t)=a(f)X.sub.1(t)+b(f)X.sub.0(t)(12)
[0052] Next, the adaptive filter update unit 16 acquires the signal e(t) input to the microphone 21, and updates the adaptive filter coefficients w.sub.0 (t) and w.sub.1 (t) using the filtered-x signals X.sub.0 (t) and X.sub.1(t) and the signal e(t) input to the microphone 21, as shown in the following equations (13) and (14).
[0053] That is, the adaptive filter update unit 16 subtracts the update term including the correction coefficient (the second term in equations (13) and (14)) from the immediately preceding adaptive filter coefficients w.sub.0 (t?1) and w.sub.1 (t?1) (corresponds to the first adaptive filter coefficient of the present invention). e(t)/A (f) in the update term indicates how much the sound is canceled, and when the sound is canceled well, the update term becomes small. In addition, ? in the update term is a step size and adjusts the speed of the update. The step size ? is a value greater than or equal to 0.
[0054] The present embodiment is characterized in that the update term includes a correction coefficient ?(f). Since the correction coefficient ?(f) becomes small at the dip frequency, the update of the adaptive filter is suppressed at the dip frequency.
[0055] In equations (13) and (14), ? is a leakage coefficient. In equations (13) and (14), in the first term, the immediately preceding adaptive filter coefficients w.sub.0 (t?1), w.sub.1 (t?1) is multiplied by the leakage coefficient ?. The leakage coefficient ? is a positive number less than 1, and is desirably close to 1, and is for example, 0.9997. The adaptive filter coefficient is prevented from becoming too large by setting the leakage coefficient ? to a positive number close to 1. It is not essential to multiply the immediately preceding adaptive filter coefficients w.sub.0 (t?1) and w.sub.1 (t?1) by the leakage coefficient ?.
[0056] The control signal generation unit 17 is a functional unit that generates the control signal y (t) by multiplying the reference signals x.sub.0 (t) and x.sub.1 (t) generated by equation (4) by the adaptive filter coefficients w.sub.0 (t) and w.sub.1 (t) (corresponds to the second adaptive filter coefficients of the present invention) after the update by equations (13) and (14). The control signal y(t) is a signal to be output to the speaker in order to cancel out noise (here, booming noise of the engine). The control signal generation unit 17 generates the control signal y(t) using the following equation (15).
[Equation 11]
y(t)=w.sub.0(t)x.sub.0(t)+w.sub.1(t)x.sub.1.sup.(t)(15)
[0057] The control signal generation unit 17 outputs the generated control signal to the speaker amplifier 18. The speaker amplifier 18 amplifies the control signal and outputs the amplified control signal to the speaker 22. Note that the speaker amplifier 18 is not essential.
[0058]
Acoustic Characteristic Measurement Process
[0059] First, the reference signal generation unit 11 generates a reference signal (step SP11), and the acoustic characteristic calculation unit (not shown) updates the acoustic characteristics a(f) and b(f) based on the reference signal (step SP12). When step SP12 is performed for the first time, the acoustic characteristics a(f) and b(f) are generated, and when step SP12 is performed for the second time or later, the acoustic characteristics a(f) and b(f) are updated. Since the sweep wave is used in the acoustic characteristic measurement process, the frequencies of the reference signals in step SP11 change from moment to moment. Therefore, the acoustic characteristics in the case of various frequencies, that is, the acoustic characteristics a(f) and b(f) that depend on the frequencies can be obtained by repeatedly performing the processes of steps SP11 and SP12. The acoustic characteristics a(f) and b(f) obtained in step SP12 are stored in the storage unit 12.
Correction Coefficient Calculation Process
[0060] The amplitude characteristic calculation unit 13 calculates the amplitude characteristic A(f) of the secondary path based on the acoustic characteristic stored in the storage unit 12 (step SP13). Next, the smoothed signal generation unit 14 smooths the amplitude characteristic A(f) of the secondary path to generate a smoothed signal A(f) (step SP14). Then, the correction coefficient calculation unit 15 calculates the correction coefficient ?(f) based on the result obtained by dividing the amplitude characteristic A(f) of the secondary path by the smoothed signal A(f) (step SP15).
ANC Process
[0061] The reference signal generation unit 11 generates a reference signal based on the engine speed acquired from the CAN 25 (step SP16). Next, the adaptive filter update unit 16 acquires the signal e(t) input to the microphone 21, and updates the adaptive filter by subtracting the update term including the correction coefficient ?(f) from the immediately preceding adaptive filter coefficient (step SP17).
[0062] Next, the control signal generation unit 17 generates a control signal y(t) by multiplying the reference signal generated in step SP16 by the adaptive filter coefficient updated in step SP17, and outputs the control signal y(t) from the speaker 22 (step SP18).
[0063] After the process of step SP18 is finished, the active noise control device 1 returns the process to step SP16. That is, the adaptive filter update unit 16 acquires the signal e(t) input to the microphone 21 when the control signal y(t) generated in step SP18 is output from the speaker 22, updates the adaptive filter using the signal e(t) (step SP17), and the control signal generation unit 17 generates the control signal y(t) based on the updated adaptive filter (step SP18).
[0064] In the ANC process shown in steps SP16 to SP18, the process for generating a reference signal (step SP16) is performed each time. As a result, the control signal y(t) reflecting the information on the rotational speed of the engine at each time can be generated.
[0065] According to the present embodiment, the dip frequency can be accurately detected by dividing the amplitude characteristic A(f) of the secondary path by the smoothed signal A(f). In addition, by calculating the correction coefficient ?(f) using the result obtained by dividing the amplitude characteristic A(f) by the smoothed signal A(f) and updating the adaptive filter using the correction coefficient ?(f), the noise can be stably controlled even when the frequency of the noise matches the frequency of the dip.
[0066] Furthermore, according to the present embodiment, by setting the result of dividing the amplitude characteristic A(f) by the smoothed signal A(f) as the correction coefficient ?(f) when the result is smaller than 1, and setting the correction coefficient ? (f) as 1 when the result of dividing the amplitude characteristic A(f) by the smoothed signal A(f) is greater than or equal to 1, the adaptive filter coefficient can be prevented from greatly changing due to the update.
[0067] Furthermore, according to the present embodiment, in the equations (13) and (14) for updating the adaptive filter coefficient, the adaptive filter coefficient can be prevented from becoming too large by multiplying the immediately preceding adaptive filter coefficient by the leakage coefficient ?, which is a positive number close to 1.
[0068] Note that, in the present embodiment, the result of dividing the amplitude characteristic A(f) by the smoothed signal A(f) is set as the correction coefficient ?(f) when the result is smaller than 1, and the correction coefficient ? (f) is set as 1 when the result of dividing the amplitude characteristic A(f) by the smoothed signal A(f) is greater than or equal to 1, but the method of obtaining the correction coefficient ?(f) is not limited thereto. For example, the correction coefficient ?(f) may be set to 0 when the result obtained by dividing the amplitude characteristic A(f) by the smoothed signal A(f) is less than or equal to a threshold.
[0069] Hereinafter, a modified example will be described in which the correction coefficient ?(f) is set to 0 when the result obtained by dividing the amplitude characteristic A(f) by the smoothed signal A(f) is less than or equal to the threshold. Note that this modified example is different only in that the correction coefficient ?(f) is set to 0 when the result of dividing the amplitude characteristic A (f) by the smoothed signal A(f) is less than or equal to the threshold, and there is no change in other processes.
[0070]
[0071] The correction coefficient ?(f) is set to 0 at a frequency at which the difference between the amplitude characteristic A(f) and the smoothed signal A(f) is large in the dip frequency. In other respects, the correction coefficient ?(f) shown in
[0072] In the present embodiment, the threshold Th is set to approximately 0.5 to approximately 0.7. Hereinafter, the threshold Th will be described.
[0073]
[0074]
[0075] When the threshold Th is close to 0, the frequency at which the update of the adaptive filter is stopped decreases, and when the threshold Th is large, the frequency at which the update of the adaptive filter is stopped increases. For example, when the threshold is 1, about approximately 48% is determined to be a dip. As a result, the update of the adaptive filter is suppressed more than necessary.
[0076] When the correction coefficient ?(f) is extremely small, in order to stop the update of the adaptive filter for a frequency corresponding to a so-called outlier, the percentage of stopping the update of the adaptive filter is desirably set to about 5% to 10%. Referring to
[0077] For example, when the threshold Th is 0.7, the correction coefficient ?(f) becomes 0 at a frequency of approximately 10% from
[0078] As described above, in the present modified example, a process prioritizing stability can be performed by stopping the update of the adaptive filter at the dip frequency.
[0079] Furthermore, in the present modified example, the adaptive filter coefficient can be gradually reduced when the correction coefficient ?(f) becomes 0, and the adaptive filter coefficient can be ultimately set to 0 by multiplying the immediately preceding adaptive filter coefficient by the leakage coefficient ?, which is a positive number close to 1, in the equations (13) and (14) for updating the adaptive filter coefficient. If the adaptive filter coefficient is set to 0 at the same time that the correction coefficient ?(f) is set to 0, a discontinuous sound such as pop occurs or a sudden change in volume occurs, resulting in an unnatural sound. On the other hand, in the present modified example, the unnaturalness can be eliminated by multiplying the immediately preceding adaptive filter coefficient by the leakage coefficient ? to gradually reduce the adaptive filter coefficient.
[0080] The embodiments of the invention are described above in detail with reference to the drawings. However, specific configurations are not limited to the embodiments and also include changes in design or the like without departing from the gist of the invention.
REFERENCE SIGNS LIST
[0081] 1: active noise control device [0082] 11: reference signal generation unit [0083] 12: storage unit [0084] 13: amplitude characteristic calculation unit [0085] 14: smoothed signal generation unit [0086] 15: correction coefficient calculation unit [0087] 16: adaptive filter update unit [0088] 17: control signal generation unit [0089] 18: speaker amplifier [0090] 21: microphone [0091] 22: speaker [0092] 25: CAN [0093] 100: vehicle [0094] 101: vehicle interio