Noise reduction method, device and system, electronic equipment, vehicle and storage medium
By updating the secondary channel transfer function in real time within the vehicle and using speaker and microphone signals to determine changing parameters, the problem of reduced noise reduction effect caused by device aging and system changes is solved, achieving more efficient active noise control.
Patent Information
- Application Number
- CN202411237622.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2026-03-10
AI Technical Summary
During vehicle use, due to component aging or changes in the vehicle system version, the secondary channels may change, leading to a reduction in the active noise cancellation effect or even abnormal noises.
By determining the changing parameters of the secondary channel based on the speaker excitation signal and the microphone detection signal, the noise reduction parameters are updated to match the actual channel. An adaptive filtering algorithm and delay estimation technique are used to adjust the transfer function of the secondary channel in real time.
It improves the active noise reduction effect, ensures that the noise reduction parameters match the actual channel, avoids abnormal noise, and enhances the noise control capability of the vehicle cabin.
Smart Images

Figure CN121640978A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of active noise reduction technology, and particularly relates to a noise reduction method, device, system, electronic device, vehicle and storage medium. BACKGROUND
[0002] With the rapid popularization of automobiles, users have higher and higher requirements for driving comfort. During driving, noise is inevitably generated in the vehicle cabin due to the operation of the engine, affecting the driving experience of the user.
[0003] In the related art, active noise cancellation (ANC) is usually used to eliminate noise in the vehicle cabin. Specifically, when the vehicle is delivered, the secondary channel is identified based on various parameters in the vehicle cabin, and a transfer function for noise reduction is measured and set in the vehicle hardware, thereby eliminating noise in the vehicle cabin.
[0004] However, during use of the vehicle, the secondary channel of the vehicle may change due to aging of the device or change of the vehicle system version, resulting in mismatch between the transfer function measured at the time of delivery and the current secondary channel, and thus reducing the noise reduction effect on the current vehicle cabin noise or even causing abnormal noise. SUMMARY
[0005] The present application aims to provide a noise reduction method, device, system, electronic device, vehicle and storage medium, and aims to solve the problem of reduced actual noise reduction effect or even abnormal noise caused by changes in the secondary channel.
[0006] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a noise reduction method, which comprises: determining a change parameter of a secondary channel based on a loudspeaker excitation signal and a microphone detection signal, and determining a noise reduction parameter according to the change parameter and performing noise reduction control.
[0008] The noise reduction method provided by the present application can affect the active noise reduction effect due to the matching degree of the parameters of the secondary channel and the noise reduction parameter. Therefore, the present application determines the change parameter of the secondary channel in the actual vehicle cabin according to the loudspeaker excitation signal and the microphone detection signal in the actual vehicle cabin, determines the noise reduction parameter according to the change parameter, so that the updated noise reduction parameter matches the actual secondary channel, and thus the noise reduction control according to the updated noise reduction parameter can improve the noise reduction effect.
[0009] In some embodiments, the determining the noise reduction parameter according to the change parameter and performing the noise reduction control comprises: updating a secondary path transfer function between the loudspeaker and the microphone according to the change parameter, updating the noise reduction parameter based on the updated secondary path transfer function, and performing the noise reduction control based on the updated noise reduction parameter.
[0010] Based on this, since the secondary path transfer function can reflect the actual parameter of the secondary path, the application updates the secondary path transfer function by the determined change parameter of the secondary path, so that the updated secondary path transfer function is closer to the actual secondary path, thereby improving the noise reduction parameter updated according to the updated secondary path transfer function, and further improving the noise reduction effect of the noise reduction control according to the noise reduction parameter.
[0011] In some embodiments, the determining the change parameter of the secondary path based on the loudspeaker excitation signal and the microphone detection signal comprises: determining a period delay parameter and a phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal, the period delay parameter being used to represent the number of periods between the microphone detection signal and the loudspeaker excitation signal, and the phase delay parameter being used to represent the phase value between the microphone detection signal and the loudspeaker excitation signal.
[0012] Based on this, the application can determine the change parameter of the current secondary path by estimating the transmission delay duration of the signal in the current secondary path, so that the secondary path transfer function updated according to the change parameter matches the current secondary path, thereby improving the accuracy of the updated secondary path transfer function.
[0013] In some embodiments, the determining the period delay parameter and the phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal comprises: determining the period delay parameter according to the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or the frequency domain, and determining the phase delay parameter according to the phase difference value of the loudspeaker excitation signal and the microphone detection signal in the frequency domain.
[0014] Based on this, the application improves the accuracy of the obtained signal delay duration when estimating the transmission delay duration of the signal in the current secondary path by calculating the whole period delay duration and the phase delay duration within the period of the signal transmission in the current secondary path respectively.
[0015] In some embodiments, determining the period delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain includes: determining the period delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain when at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, the signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is greater than or equal to a first signal-to-noise ratio, and the frequency of the loudspeaker excitation signal is less than or equal to a preset frequency.
[0016] Based on this, this application can also determine the update conditions before updating the secondary channel transfer function, further improving the accuracy of the updated secondary channel transfer function.
[0017] In some embodiments, updating the secondary channel transfer function between the speaker and the microphone based on the changing parameters includes: determining the signal delay duration between the microphone detection signal and the speaker excitation signal based on the periodic delay parameter and the phase delay parameter, and updating the secondary channel transfer function between the speaker and the microphone based on the signal delay duration.
[0018] Based on this, this application uses the total cycle delay and the phase delay within the cycle transmitted in the current secondary channel as the overall signal delay to update the secondary channel transfer function more accurately.
[0019] In some embodiments, updating the secondary channel transfer function between the speaker and the microphone based on the signal delay duration includes: adjusting the signal delay duration of the secondary channel transfer function between the speaker and the microphone using the signal delay duration between the microphone detection signal and the speaker excitation signal, so as to update the secondary channel transfer function between the speaker and the microphone.
[0020] Based on this, since the signal delay duration actually represents the phase difference between two signals, this application can adjust the signal delay duration of the current secondary channel transfer function based on the signal delay duration, so that the updated secondary channel transfer function matches the current secondary channel, thereby improving the active noise reduction effect.
[0021] In some embodiments, the above-mentioned adjustment of the signal delay duration of the secondary channel transfer function between the speaker and the microphone using the signal delay duration between the microphone detection signal and the speaker excitation signal to update the secondary channel transfer function between the speaker and the microphone includes: upsampling the secondary channel transfer function between the speaker and the microphone, identifying the signal delay duration of the secondary channel transfer function between the speaker and the microphone, adjusting the signal delay duration of the secondary channel transfer function between the speaker and the microphone using the signal delay duration between the microphone detection signal and the speaker excitation signal, and downsampling the adjusted secondary channel transfer function between the speaker and the microphone to update the secondary channel transfer function between the speaker and the microphone.
[0022] Based on this, this application determines the signal delay duration of the current secondary channel transfer function through upsampling, and after adjusting the signal delay duration, restores the secondary channel transfer function through downsampling, thereby ensuring that the secondary channel transfer function before and after the update remains consistent in frequency.
[0023] In some embodiments, determining the period delay parameter and the phase delay parameter based on the speaker excitation signal and the microphone detection signal includes: determining the period delay parameter and the phase delay parameter in real time based on the speaker excitation signal and the microphone detection signal; or, determining the period delay parameter and the phase delay parameter according to a preset time interval based on the speaker excitation signal and the microphone detection signal.
[0024] Based on this, this application can perform delay estimation in real time or intermittently through software control, thereby improving the flexibility of updating the secondary channel transfer function.
[0025] In some embodiments, determining the variation parameters of the secondary channel based on the speaker excitation signal and the microphone detection signal includes: performing adaptive filtering processing on the speaker excitation signal and the microphone detection signal based on an adaptive filtering algorithm to obtain the filtering parameters.
[0026] Based on this, this application can use an adaptive filtering algorithm to simulate the secondary channel transfer function to process the speaker excitation signal and the microphone detection signal, so as to determine the changing parameters of the current secondary channel, so that the secondary channel transfer function updated according to the changing parameters matches the current secondary channel, thereby improving the accuracy of the secondary channel transfer function obtained from the update.
[0027] In some embodiments, the above-mentioned adaptive filtering processing of the loudspeaker excitation signal and the microphone detection signal based on the adaptive filtering algorithm to obtain filtering parameters includes: filtering the loudspeaker excitation signal using the adaptive filtering algorithm to obtain the analog microphone detection signal, determining the error signal between the analog microphone detection signal and the microphone detection signal, and determining the filtering parameters based on the loudspeaker excitation signal and the error signal.
[0028] Based on this, this application uses an adaptive filtering algorithm to simulate the scenario of the loudspeaker excitation signal passing through the secondary channel to obtain a simulated microphone detection signal, so as to make the determined filtering parameters more accurate.
[0029] In some embodiments, updating the secondary channel transfer function between the speaker and the microphone according to the changing parameters includes: updating the secondary channel transfer function between the speaker and the microphone according to the filtering parameters when the range of change of the filtering parameters in each consecutive preset number of times is less than or equal to a preset range of change.
[0030] Based on this, this application determines whether the transfer function of the secondary channel simulated by the adaptive filter matches the actual secondary channel by judging whether the filtering parameters of the adaptive filter have stabilized after multiple filtering processes, thus ensuring that the updated secondary channel transfer function matches the actual secondary channel.
[0031] In some embodiments, the above-mentioned adaptive filtering processing of the speaker excitation signal and microphone detection signal based on the adaptive filtering algorithm to obtain filtering parameters includes: performing adaptive filtering processing of the speaker excitation signal and microphone detection signal based on the adaptive filtering algorithm to obtain filtering parameters when at least one of the following conditions is met: there is no noise reduction signal in the speaker excitation signal, and the signal-to-noise ratio of the speaker excitation signal and microphone detection signal to the noise signal is greater than or equal to a second signal-to-noise ratio.
[0032] Based on this, this application can also determine the update conditions before updating the transfer function, which further improves the accuracy of the updated transfer function.
[0033] In some embodiments, the above-mentioned adaptive filtering processing of the speaker excitation signal and microphone detection signal based on the adaptive filtering algorithm to obtain filtering parameters includes: performing adaptive filtering processing of the speaker excitation signal and microphone detection signal online in real time based on the adaptive filtering algorithm to determine the filtering parameters.
[0034] Based on this, this application can update the secondary channel transfer function online in real time, ensuring the timeliness of the secondary channel transfer function.
[0035] In some embodiments, the noise reduction method provided in this application further includes: performing noise reduction control based on the loudspeaker excitation signal when at least one of the following conditions is met: the loudspeaker excitation signal contains a noise reduction signal, the signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is less than a first signal-to-noise ratio, and the frequency of the loudspeaker excitation signal is greater than a preset frequency.
[0036] In some embodiments, the noise reduction method provided in this application further includes: acquiring a noise reference signal in real time through a sensor, and acquiring a cabin audio source signal in real time, and generating a speaker excitation signal based on the noise reference signal and the cabin audio source signal.
[0037] In some embodiments, generating a loudspeaker excitation signal based on a noise reference signal and a cabin audio source signal includes: performing noise reduction processing on the noise reference signal to obtain a noise-reduced signal, and combining the noise-reduced signal and the cabin audio source signal into a loudspeaker excitation signal.
[0038] In some embodiments, the noise reduction method provided in this application further includes: acquiring sound signals in the cockpit in real time through a microphone to obtain a microphone detection signal.
[0039] Secondly, this application provides a noise reduction device, which includes a determining unit and a controlling unit, wherein: the determining unit is used to determine the changing parameters of the secondary channel based on the speaker excitation signal and the microphone detection signal; and the controlling unit is used to determine the noise reduction parameters according to the changing parameters and perform noise reduction control.
[0040] In some embodiments, the control unit is specifically configured to: update the secondary channel transfer function between the speaker and the microphone according to the changing parameters, update the noise reduction parameters based on the updated secondary channel transfer function, and perform noise reduction control based on the updated noise reduction parameters.
[0041] In some embodiments, the determining unit is specifically used to: determine a period delay parameter and a phase delay parameter based on the speaker excitation signal and the microphone detection signal, wherein the period delay parameter is used to characterize the number of periods that differ between the microphone detection signal and the speaker excitation signal, and the phase delay parameter is used to characterize the phase value that differs between the microphone detection signal and the speaker excitation signal.
[0042] In some embodiments, the determining unit is specifically used to: determine a period delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain, and determine a phase delay parameter based on the phase difference between the loudspeaker excitation signal and the microphone detection signal in the frequency domain.
[0043] In some embodiments, the determining unit is specifically configured to determine the periodic delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain when at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, the signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is greater than or equal to a first signal-to-noise ratio, and the frequency of the loudspeaker excitation signal is less than or equal to a preset frequency.
[0044] In some embodiments, the control unit is specifically configured to: determine the signal delay duration between the microphone detection signal and the speaker excitation signal based on the period delay parameter and the phase delay parameter, and update the secondary channel transfer function between the speaker and the microphone based on the signal delay duration.
[0045] In some embodiments, the control unit is specifically configured to adjust the signal delay duration of the secondary channel transfer function between the speaker and the microphone by using the signal delay duration between the microphone detection signal and the speaker excitation signal, so as to update the secondary channel transfer function between the speaker and the microphone.
[0046] In some embodiments, the control unit is specifically configured to: upsample the secondary channel transfer function between the speaker and the microphone, identify the signal delay duration of the secondary channel transfer function between the speaker and the microphone, use the signal delay duration between the microphone detection signal and the speaker excitation signal, adjust the signal delay duration of the secondary channel transfer function between the speaker and the microphone, and downsample the adjusted secondary channel transfer function between the speaker and the microphone to update the secondary channel transfer function between the speaker and the microphone.
[0047] In some embodiments, the determining unit is specifically used to: determine the period delay parameter and the phase delay parameter in real time based on the speaker excitation signal and the microphone detection signal; or, determine the period delay parameter and the phase delay parameter according to a preset time interval based on the speaker excitation signal and the microphone detection signal.
[0048] In some embodiments, the determining unit is specifically used to: perform adaptive filtering processing on the loudspeaker excitation signal and the microphone detection signal based on an adaptive filtering algorithm to obtain filtering parameters.
[0049] In some embodiments, the determining unit is specifically used to: filter the loudspeaker excitation signal using an adaptive filtering algorithm to obtain an analog microphone detection signal, determine the error signal between the analog microphone detection signal and the microphone detection signal, and determine filtering parameters based on the loudspeaker excitation signal and the error signal.
[0050] In some embodiments, the control unit is specifically configured to update the secondary channel transfer function between the speaker and the microphone based on the filter parameters when the variation range of the filter parameters is less than or equal to a preset variation range each time within a preset number of consecutive cycles.
[0051] In some embodiments, the determining unit is specifically used to perform adaptive filtering processing on the loudspeaker excitation signal and the microphone detection signal based on an adaptive filtering algorithm to obtain filtering parameters when at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, and the signal-to-noise ratio of the loudspeaker excitation signal and the microphone detection signal to the noise signal is greater than or equal to the second signal-to-noise ratio.
[0052] In some embodiments, the determining unit is specifically used to perform adaptive filtering processing on the loudspeaker excitation signal and the microphone detection signal in real time online based on an adaptive filtering algorithm to determine the filtering parameters.
[0053] In some embodiments, the control unit is further configured to perform noise reduction control based on the speaker excitation signal when at least one of the following conditions is met: the speaker excitation signal contains a noise reduction signal, the signal-to-noise ratio of the speaker excitation signal to the noise signal is less than a first signal-to-noise ratio, and the frequency of the speaker excitation signal is greater than a preset frequency.
[0054] In some embodiments, the noise reduction device provided in this application further includes: an acquisition unit and a generation unit, wherein the acquisition unit is configured to acquire a noise reference signal in real time through a sensor, and to acquire a cabin sound source signal in real time; the generation unit is configured to generate a speaker excitation signal based on the noise reference signal and the cabin sound source signal.
[0055] In some embodiments, the above-mentioned generating unit is specifically used to: perform noise reduction processing on the noise reference signal to obtain a noise-reduced signal, and synthesize the noise-reduced signal and the cockpit sound source signal into a speaker excitation signal.
[0056] In some embodiments, the acquisition unit is further configured to acquire sound signals inside the cabin in real time via a microphone to obtain a microphone detection signal.
[0057] Thirdly, this application provides a noise reduction system, including a reference signal acquisition module, a secondary channel filtering module, an active noise control module, a noise reduction signal generation module, an adaptive filter, a speaker, and a microphone, to achieve noise control functions.
[0058] In some embodiments, the reference signal acquisition module is used to acquire a noise reference signal; the secondary channel filtering module is used to filter the noise reference signal to obtain a filtered noise reference signal; the active noise control module is used to update the noise reduction parameters in the noise reduction signal generation module; the noise reduction signal generation module is used to perform noise reduction processing on the filtered noise reference signal according to the noise reduction parameters to generate an active noise reduction signal; the adaptive filter is used to filter the cockpit audio source signal to obtain a filtered cockpit audio source signal; the speaker is used to output a speaker excitation signal synthesized from the cockpit audio source signal and the active noise reduction signal; and the microphone is used to measure the cockpit sound signal to obtain a microphone detection signal.
[0059] In some embodiments, the noise reduction system provided in this application further includes a cockpit audio source module, a scene detection module, a delay estimation module, and a secondary channel delay matching module to realize the secondary channel delay estimation function.
[0060] In some embodiments, the cockpit audio source module is used to generate a cockpit audio source signal; the scene detection module is used to detect a speaker excitation signal; the delay estimation module is used to perform secondary channel delay estimation based on the speaker excitation signal and the microphone detection signal to obtain the secondary channel delay; and the secondary channel delay matching module is used to update the secondary channel transfer function based on the secondary channel delay.
[0061] In some embodiments, the reference signal acquisition module is connected to the secondary channel filtering module and the noise reduction signal generation module, respectively. The secondary channel filtering module is connected to the active noise control module, and the active noise control module is connected to the noise reduction signal generation module. The noise reduction signal generation module is connected to the scene detection module and the speaker, respectively. The cockpit sound source module is connected to the scene detection module, the adaptive filter, and the speaker, respectively. The scene detection module is connected to the delay estimation module, and the delay estimation module is connected to the secondary channel delay matching module. The adaptive filter is connected to the active noise control module and the secondary channel delay matching module, respectively. The microphone is connected to the active noise control module and the delay estimation module, respectively. The secondary channel delay matching module is connected to the secondary channel filtering module.
[0062] In some embodiments, the noise reduction system provided in this application further includes a cockpit sound source module, a signal detection module, and an online secondary channel estimation module to achieve online identification of the secondary channel.
[0063] In some embodiments, the cockpit audio source module is used to generate cockpit audio source signals; the signal detection module is used to detect loudspeaker excitation signals; and the online secondary channel estimation module is used to: perform adaptive filtering processing based on loudspeaker excitation signals and microphone detection signals to obtain filtering parameters, and update the secondary channel transfer function based on the filtering parameters.
[0064] In some embodiments, the reference signal acquisition module is connected to the secondary channel filtering module and the noise reduction signal generation module, respectively. The secondary channel filtering module is connected to the active noise control module. The active noise control module is connected to the noise reduction signal generation module. The noise reduction signal generation module is connected to the signal detection module and the speaker, respectively. The cockpit audio source module is connected to the signal detection module, the adaptive filter, and the speaker, respectively. The signal detection module is connected to the online secondary channel estimation module. The adaptive filter is connected to the active noise control module and the online secondary channel estimation module, respectively. The microphone is connected to the active noise control module and the online secondary channel estimation module, respectively. The online secondary channel estimation module is connected to the secondary channel filtering module.
[0065] Fourthly, this application provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the noise reduction method described above.
[0066] Fifthly, this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the noise reduction method described above.
[0067] In some embodiments, the vehicle provided in this application further includes an engine, a power amplifier, and the electronic devices described above, with the memory and processor integrated into the electronic devices and / or the power amplifier to reduce engine noise.
[0068] Sixthly, this application provides a computer-readable storage medium storing instructions that, when executed on a terminal, cause the terminal to perform the noise reduction method described above.
[0069] In a seventh aspect, this application provides a computer program product containing instructions that, when executed by a computer, cause the computer to perform the noise reduction method described above.
[0070] Eighthly, this application provides a chip including a processor and a communication interface, the communication interface and the processor being coupled together, the processor being used to run computer programs or instructions to implement the noise reduction method described above.
[0071] Specifically, the chip provided in this application embodiment also includes a memory for storing computer programs or instructions. Attached Figure Description
[0072] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0073] Figure 1 A structural diagram of a noise reduction system based on secondary channel delay estimation provided in an embodiment of this application;
[0074] Figure 2 A structural diagram of a noise reduction system based on online identification of secondary channels provided in this application embodiment;
[0075] Figure 3 This is one of the flowcharts of a noise reduction method provided in an embodiment of this application;
[0076] Figure 4 This is a second flowchart of a noise reduction method provided in an embodiment of this application;
[0077] Figure 5 A sampling diagram of a secondary channel transfer function provided in an embodiment of this application;
[0078] Figure 6 A complete flowchart of updating the secondary channel transfer function based on secondary channel delay estimation is provided for embodiments of this application;
[0079] Figure 7 This is the third flowchart of a noise reduction method provided in an embodiment of this application;
[0080] Figure 8 A complete flowchart of an embodiment of this application is provided, which describes an online identification and update of the secondary channel transfer function based on the secondary channel.
[0081] Figure 9 This is a structural diagram of a noise reduction device provided in an embodiment of this application;
[0082] Figure 10 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0083] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0084] In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "front," "rear," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or relative positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and for simplification, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Unless otherwise specified, the above-mentioned orientational descriptions can be flexibly set in practical applications, provided that the relative positional relationships shown in the accompanying drawings are satisfied.
[0085] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0086] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "communication" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a direct connection or an indirect connection through an intermediate medium, or a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0087] In some embodiments, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.
[0088] In some embodiments, the words "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0089] In the description of this specification, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0090] As market competition intensifies, users are demanding higher standards for engine noise levels within vehicle cabins. Currently, a large number of vehicles on the market are equipped with ANC (Autonomous Noise Control) technology to reduce cabin noise and improve overall vehicle noise, vibration, and harshness (NVH) performance.
[0091] Currently, ANC systems typically employ an adaptive filter algorithm (filtered-x least meansquares, FxLMS). The path from the excitation signal generated in the FxLMS algorithm, through the power amplifier, speaker, vehicle cabin environment, to the microphone measuring the signal, is called the secondary path. The secondary path transfer function is used to characterize this path in the FxLMS algorithm. The secondary path transfer function is one of the important parameters in an ANC system, directly affecting the noise reduction effect and stability of the ANC system.
[0092] Among related technologies, the most widely used technology in ANC systems is the automotive cockpit active noise control system based on secondary channel offline identification. Specifically, secondary channel identification is performed during the parameter calibration process of algorithm development, the secondary channel transfer function is measured, and then it is downloaded as a fixed parameter into the automotive hardware.
[0093] However, numerous factors can alter the secondary channel during vehicle use, such as user-replaced speakers, component aging due to vehicle use, changes in in-vehicle load, and updates to the vehicle's infotainment software. These alterations can lead to a difference between the actual secondary channel transfer function and the transfer function used in the FxLMS algorithm. This can result in a decrease in noise reduction effectiveness for the vehicle's cabin, and may even cause the ANC algorithm to diverge, resulting in unusual noises.
[0094] Against this backdrop, in order to address the problem of reduced noise reduction effect in vehicle cabin noise in related technologies, this application provides a noise reduction method, apparatus, system, electronic device, vehicle, and storage medium. The implementation methods of the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0095] like Figure 1 The diagram shown is a structural diagram of a noise reduction system based on secondary channel delay estimation provided in an embodiment of this application. The noise reduction system 100 includes a reference signal acquisition module 110, a secondary channel filtering module 120, an active noise control module 130, a noise reduction signal generation module 140, a cockpit sound source module 150, a scene detection module 160, a delay estimation module 170, and a secondary channel delay matching module 180.
[0096] The reference signal acquisition module 110 is connected to the secondary channel filtering module 120 and the noise reduction signal generation module 140, respectively. The secondary channel filtering module 120 is connected to the active noise control module 130, and the active noise control module 130 is connected to the noise reduction signal generation module 140. The noise reduction signal generation module 140 is connected to the scene detection module 160 and the speaker, respectively. The cockpit sound source module 150 is connected to the scene detection module 160, the adaptive filter, and the speaker, respectively. The scene detection module 160 is connected to the delay estimation module 170, and the delay estimation module 170 is connected to the secondary channel delay matching module 180. The adaptive filter is connected to the active noise control module 130 and the secondary channel delay matching module 180, respectively. The microphone is connected to the active noise control module 130 and the delay estimation module 170, respectively. The secondary channel delay matching module 180 is connected to the secondary channel filtering module 120.
[0097] In some embodiments, the reference signal acquisition module 110 is configured to acquire a reference signal x(t) (such as a sound signal or vibration signal) through in-vehicle sensors, the noise reduction signal generation module 140 is configured to perform noise reduction processing on the reference signal x(t) to generate an active noise reduction signal y(t), the cabin audio source module 150 is configured to generate a cabin audio source signal m(t) (such as a music signal or navigation signal), and the microphone is configured to measure the cabin sound signal to obtain a microphone detection signal e(t).
[0098] In one optional implementation, the active noise cancellation signal y(t) and the cabin audio source signal m(t) are input to a loudspeaker. The loudspeaker is configured to output a loudspeaker excitation signal s(t) synthesized from the cabin audio source signal m(t) and the active noise cancellation signal y(t), which cancels out the original cabin noise signal to achieve active noise cancellation. An adaptive filter is configured to filter the cabin audio source signal m(t) to obtain the filtered cabin audio source signal. The secondary channel filtering module 120 is configured to filter the reference signal x(t) to obtain the filtered reference signal. The active noise control module 130 is configured to control the cabin noise source signal based on the filtered cabin noise source signal. Microphone detection signal e(t) and filtered reference signal Update the noise reduction parameters in the noise reduction signal generation module 140.
[0099] In another optional implementation, the active noise cancellation signal y(t) and the cockpit audio source signal m(t) are input to the scene detection module 160. The scene detection module 160 is configured to detect the speaker excitation signal s(t) synthesized from the cockpit audio source signal m(t) and the active noise cancellation signal y(t). The delay estimation module 170 is configured to perform secondary channel delay estimation based on the speaker excitation signal s(t) and the microphone detection signal e(t) when the speaker excitation signal s(t) meets the delay estimation requirements, thereby obtaining the secondary channel delay. The secondary channel delay matching module 180 is configured to update the secondary channel transfer function in the secondary channel filtering module 120 based on the secondary channel delay.
[0100] Thus, this application obtains the speaker excitation signal and the microphone detection signal to update the current secondary channel transfer function based on delay estimation, thereby obtaining a secondary channel transfer function that matches the actual secondary channel. This improves the active noise reduction effect when active noise reduction control is performed based on the new secondary channel transfer function.
[0101] like Figure 2 The diagram shown is a structural diagram of a noise reduction system based on online secondary channel identification provided in an embodiment of this application. The noise reduction system 200 includes a reference signal acquisition module 210, a secondary channel filtering module 220, an active noise control module 230, a noise reduction signal generation module 240, a cockpit sound source module 250, a signal detection module 260, and an online secondary channel estimation module 270.
[0102] The reference signal acquisition module 210 is connected to the secondary channel filtering module 220 and the noise reduction signal generation module 240, respectively. The secondary channel filtering module 220 is connected to the active noise control module 230, and the active noise control module 230 is connected to the noise reduction signal generation module 240. The noise reduction signal generation module 240 is connected to the signal detection module 260 and the speaker, respectively. The cockpit sound source module 250 is connected to the signal detection module 260, the adaptive filter, and the speaker, respectively. The signal detection module 260 is connected to the online secondary channel estimation module 270, and the adaptive filter is connected to the active noise control module 230 and the online secondary channel estimation module 270, respectively. The microphone is connected to the active noise control module 230 and the online secondary channel estimation module 270, respectively. The online secondary channel estimation module 270 is connected to the secondary channel filtering module 220.
[0103] In some embodiments, the reference signal acquisition module 210 is configured to acquire a reference signal x(t) (such as a sound signal or vibration signal) through in-vehicle sensors, the noise reduction signal generation module 240 is configured to perform noise reduction processing on the reference signal x(t) to generate an active noise reduction signal y(t), the cabin audio source module 250 is configured to generate a cabin audio source signal m(t) (such as a music signal or navigation signal), and the microphone is configured to measure the cabin sound signal to obtain a microphone detection signal e(t).
[0104] In one optional implementation, the active noise cancellation signal y(t) and the cabin audio source signal m(t) are input to a loudspeaker. The loudspeaker is configured to output a loudspeaker excitation signal s(t) synthesized from the cabin audio source signal m(t) and the active noise cancellation signal y(t), which cancels out the original cabin noise signal to achieve active noise cancellation. An adaptive filter is configured to filter the cabin audio source signal m(t) to obtain the filtered cabin audio source signal. The secondary channel filtering module 220 is configured to filter the reference signal x(t) to obtain the filtered reference signal. The active noise control module 230 is configured to control the cabin noise source signal based on the filtered cabin noise source signal. Microphone detection signal e(t) and filtered reference signal Update the noise reduction parameters in the noise reduction signal generation module 240.
[0105] In another optional implementation, the active noise cancellation signal y(t) and the cockpit audio source signal m(t) are input to the signal detection module 260. The signal detection module 260 is configured to detect the speaker excitation signal s(t) synthesized from the cockpit audio source signal m(t) and the active noise cancellation signal y(t). The online secondary channel estimation module 270 is configured to perform adaptive filtering processing based on the speaker excitation signal s(t) and the microphone detection signal e(t) when the speaker excitation signal s(t) meets the online recognition requirements, obtain filtering parameters, and update the secondary channel transfer function in the secondary channel filtering module 220 based on the filtering parameters.
[0106] It should be noted that the above Figure 1 and Figure 2 The synthesis function described herein can be achieved through in-vehicle amplifiers (such as power amplifiers) and electronic devices (such as in-vehicle hosts).
[0107] Thus, this application obtains the speaker excitation signal and the microphone detection signal, and updates the current secondary channel transfer function by combining the adaptive filtering algorithm to obtain a secondary channel transfer function that matches the actual secondary channel. This allows for improved active noise reduction performance when active noise reduction control is performed based on the new secondary channel transfer function.
[0108] The following is combined with Figure 1 and Figure 2 Please refer to the following Figures 3 to 8 The noise reduction method provided in the embodiments of this application is described.
[0109] Figure 3 The flowchart of the noise reduction method provided in the embodiments of this application is shown. The subject executing the method can be a noise reduction system or various devices / modules in the noise reduction system, such as integrated circuits or chips. The embodiments of this application do not specifically limit this.
[0110] For example, such as Figure 3 As shown, the noise reduction method provided in this application embodiment may include the following S301 and S302:
[0111] S301. Determine the variation parameters of the secondary channel based on the speaker excitation signal and the microphone detection signal.
[0112] Optionally, a noise reference signal and a cockpit sound source signal can be acquired in real time through a sensor, and a speaker excitation signal can be generated based on the noise reference signal and the cockpit sound source signal.
[0113] In one alternative implementation, combined with Figure 1 When the vehicle engine is running, the speaker excitation signal can be obtained by combining the reference signal acquired by the reference signal acquisition module 110 with the media sound signal output by the cabin audio source module 150 after the reference signal is denoised by the noise reduction signal generation module 140.
[0114] In another alternative implementation, combined with Figure 1 When the engine is stopped, the speaker excitation signal can be obtained by processing the media sound signal output by the cockpit audio source module 150.
[0115] Furthermore, the above-mentioned generation of speaker excitation signal based on noise reference signal and cabin audio source signal may include: performing noise reduction processing on noise reference signal to obtain noise reduction signal, and then combining noise reduction signal and cabin audio source signal into speaker excitation signal.
[0116] In some embodiments, the speaker excitation signal may include at least one of the following: a noise-reduced signal and a cockpit audio source signal. The noise-reduced signal may include noise-reduced sound signals, vibration signals, etc.; the cockpit audio source signal may include music sound signals, navigation sound signals, etc.
[0117] Optionally, the sound signal inside the cockpit can be collected in real time using a microphone to obtain a microphone detection signal.
[0118] In some embodiments, the microphone detection signal can be all sound signals within the vehicle cabin. For example, the microphone detection signal may include at least one of the following: human voice signal, background noise signal, speaker excitation signal output by the speaker, etc.
[0119] In some embodiments, when the vehicle engine is stopped, the speaker excitation signal and microphone detection signal do not include engine noise signal.
[0120] In the embodiments of this application, the secondary channel refers to the signal transmission path from the start of speaker excitation signal processing by the speaker to the completion of microphone detection signal reception by the microphone.
[0121] In one alternative implementation, delay estimation and delay matching of the secondary channel can be performed based on the speaker excitation signal and the microphone detection signal to obtain the variation parameters, which include the signal delay duration.
[0122] In another alternative implementation, secondary channel online identification can be performed based on the speaker excitation signal and the microphone detection signal to obtain the changing parameters of the secondary channel, where the changing parameters include the filtering parameters.
[0123] S302. Determine the noise reduction parameters based on the changing parameters and perform noise reduction control.
[0124] In some embodiments, the secondary channel transfer function between the speaker and the microphone can be updated according to the changing parameters, the noise reduction parameters can be updated based on the updated secondary channel transfer function, and noise reduction control can be performed based on the updated noise reduction parameters.
[0125] The secondary channel transfer function is used to characterize the transmission path of the signal from the moment the loudspeaker excitation signal is processed by the loudspeaker until the microphone detection signal is received by the microphone.
[0126] In some embodiments, the transfer function at the current moment can be updated based on the speaker excitation signal and microphone detection signal acquired at the current moment to obtain the secondary channel transfer function at the current moment for use in the next moment.
[0127] For example, let's take the current time as n and the next time as n+1. If the obtained loudspeaker excitation signal is X... n The microphone detection signal is Y. n At this point, the secondary channel transfer function Z at time n can be considered. n The secondary channel transfer function Z is updated to obtain the updated transfer function Z. n+1 The updated secondary channel transfer function Z is used at time n+1. n+1 Perform active noise cancellation.
[0128] As described in S301, in an optional implementation, the signal delay duration can be determined based on the speaker excitation signal and the microphone detection signal, and then the secondary channel transfer function between the speaker and the microphone can be updated based on the signal delay duration.
[0129] As described in S301, in another optional implementation, secondary channel online identification can be performed based on the speaker excitation signal and the microphone detection signal to obtain the filtering parameters of the adaptive filtering algorithm, and then the secondary channel transfer function between the speaker and the microphone can be updated based on the filtering parameters.
[0130] In some embodiments, after obtaining the updated secondary channel transfer function, the engine noise signal can be filtered according to the updated secondary channel transfer function to obtain a filtered noise signal. Then, based on the filtered noise signal and the microphone detection signal, noise reduction parameters are determined. The engine noise signal is then processed to reduce noise according to the noise reduction parameters to generate a noise reduction signal, which is then output through a speaker.
[0131] The noise reduction signal is used to suppress the original cabin noise signal. The frequency of the noise reduction signal is the same as the frequency of the original cabin noise, and the phase of the noise reduction signal is opposite to the phase of the original cabin noise.
[0132] For example, taking an engine noise signal with a frequency of 100 Hz and a phase of 50 degrees as an example. After updating and obtaining new noise reduction parameters, the engine noise signal can be processed to obtain a noise-reduced signal with a frequency of 100 Hz and a phase of 230 degrees. Since the frequency of the engine noise signal is the same as the frequency of the noise-reduced signal, and the phase of the engine noise signal is 180 degrees different from the phase of the noise-reduced signal (i.e., the phases are opposite), the noise-reduced signal can cancel out the engine noise signal in the vehicle cabin.
[0133] In the noise reduction method provided in this application embodiment, the matching degree between the secondary channel parameters and the noise reduction parameters can affect the active noise reduction effect. Therefore, this application determines the changing parameters of the secondary channel in the current vehicle cabin based on the speaker excitation signal and microphone detection signal in the actual vehicle cabin, and determines the noise reduction parameters based on the changing parameters, so that the updated noise reduction parameters match the actual secondary channel. Thus, noise reduction control is performed based on the updated noise reduction parameters, which can improve the noise reduction effect.
[0134] As described in S302 above, in an optional implementation, the signal delay duration can be determined based on the speaker excitation signal and the microphone detection signal, and then the secondary channel transfer function between the speaker and the microphone can be updated based on the signal delay duration. The following will combine... Figure 4The illustrated embodiment provides a solution for updating the secondary channel transfer function between the speaker and the microphone based on the signal delay duration.
[0135] For example, such as Figure 4 As shown, the noise reduction method provided in this application embodiment may include the following S401 to S403:
[0136] S401. Determine the period delay parameter and phase delay parameter based on the speaker excitation signal and the microphone detection signal.
[0137] Among them, the period delay parameter is used to characterize the number of periods that differ between the microphone detection signal and the speaker excitation signal, and the phase delay parameter is used to characterize the phase difference between the microphone detection signal and the speaker excitation signal.
[0138] Optionally, the period delay parameter can be determined based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain.
[0139] Coherence is used to characterize the similarity between the loudspeaker excitation signal and the microphone detection signal in the time domain or frequency domain.
[0140] In some embodiments, the cross-correlation function of the loudspeaker excitation signal and the microphone detection signal can be calculated, and the number of periods of difference can be determined by determining the maximum point of the cross-correlation function.
[0141] Optionally, the phase delay parameter can be determined based on the phase difference between the loudspeaker excitation signal and the microphone detection signal in the frequency domain.
[0142] In some embodiments, the phase difference between the loudspeaker excitation signal and the microphone detection signal in the frequency domain can be accurately calculated using sound source localization to determine the phase delay parameter.
[0143] Optionally, before determining the periodic delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain, it can be determined whether at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, the signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is greater than or equal to a first signal-to-noise ratio, and the frequency of the loudspeaker excitation signal is less than or equal to a preset frequency.
[0144] In some embodiments, the first signal-to-noise ratio can be a manually set value that can be flexibly adjusted according to the actual scenario. For example, the first signal-to-noise ratio can be 30 dB.
[0145] It should be noted that the signal-to-noise ratio (SNR) characterizes the clarity of the speaker's excitation signal relative to the background noise. In other words, the higher the SNR, the clearer the speaker's excitation signal.
[0146] In some embodiments, the preset frequency can be a manually set value that can be flexibly adjusted according to the actual scenario. For example, the preset frequency can be 8000 Hz.
[0147] It should be noted that, in order to concentrate the energy of the loudspeaker excitation signal, a preset frequency (such as 8000 Hz) can be set so that the frequency of the loudspeaker excitation signal is below 8000 Hz, thereby making the secondary channel transfer function obtained by updating the loudspeaker excitation signal more accurate.
[0148] Thus, before updating the secondary channel transfer function, this application can also determine the update conditions, further improving the accuracy of the updated secondary channel transfer function.
[0149] In one alternative implementation, the period delay parameter and the phase delay parameter can be determined in real time based on the speaker excitation signal and the microphone detection signal.
[0150] In some embodiments, the period delay parameter and the phase delay parameter are determined after each acquisition of the speaker excitation signal and the microphone detection signal.
[0151] In another alternative implementation, the period delay parameter and the phase delay parameter can be determined based on the speaker excitation signal and the microphone detection signal according to a preset time interval.
[0152] In some embodiments, the speaker excitation signal and the microphone detection signal can be acquired first, and then, when the actual interval duration reaches a preset time interval, the period delay parameter and the phase delay parameter can be determined.
[0153] The preset time interval can be a manually set value that can be flexibly adjusted according to the actual scenario. For example, the preset time interval can be 5 days.
[0154] For example, taking a preset time interval of 5 days as an example. If the actual interval length reaches 5 days, then the period delay parameter and the phase delay parameter are determined.
[0155] S402. Based on the periodic delay parameter and the phase delay parameter, determine the signal delay duration between the microphone detection signal and the speaker excitation signal.
[0156] In some embodiments, since the period delay parameter is used to characterize the number of periods in the phase difference, the total period duration between the speaker excitation signal and the microphone detection signal can be calculated based on the period duration of the signal and the number of periods in the phase difference.
[0157] For example, if the signal period is 2 milliseconds, and the calculated number of periods is 4, then the total period between the speaker excitation signal and the microphone detection signal is 8 milliseconds.
[0158] In some embodiments, since the phase delay parameter is used to characterize the phase difference, the delay duration between the speaker excitation signal and the microphone detection signal within a period can be calculated based on the frequency of the signal.
[0159] For example, taking a signal frequency of 100 Hz as an example. If the calculated phase difference is 45 degrees, the delay between the speaker excitation signal and the microphone detection signal can be calculated to be 1.25 milliseconds according to Formula (I). Formula (I) is as follows:
[0160]
[0161] in, Δt represents the phase difference, and Δt represents the delay duration.
[0162] In some embodiments, the signal delay duration can be obtained by adding the integer period duration of the difference between the speaker excitation signal and the microphone detection signal and the delay duration within the period.
[0163] For example, if the total period between the speaker excitation signal and the microphone detection signal is 8 milliseconds, and the delay within the period is 1.25 milliseconds, then the signal delay can be calculated to be 8 + 1.25 = 9.25 milliseconds.
[0164] S403. Based on the signal delay duration, update the secondary channel transfer function between the speaker and the microphone.
[0165] Optionally, the signal delay time between the microphone detection signal and the speaker excitation signal can be used to adjust the signal delay time of the secondary channel transfer function between the speaker and the microphone, so as to update the secondary channel transfer function between the speaker and the microphone.
[0166] In some embodiments, the secondary channel transfer function between the speaker and the microphone can be upsampled first to identify the signal delay duration of the secondary channel transfer function between the speaker and the microphone. Then, the signal delay duration between the microphone detection signal and the speaker excitation signal is used to adjust the signal delay duration of the secondary channel transfer function between the speaker and the microphone. Finally, the adjusted secondary channel transfer function between the speaker and the microphone is downsampled to update the secondary channel transfer function between the speaker and the microphone.
[0167] In some embodiments, the number of sampling points corresponding to the signal delay duration of the secondary channel transfer function between the speaker and the microphone can be adjusted to adjust the signal delay duration.
[0168] For example, such as Figure 5 As shown in (a), the secondary channel transfer function can be upsampled to obtain, as shown in (a). Figure 5 The signal delay time in the secondary channel transfer function shown in (b) is such that if the calculated new signal delay time is less than the original signal delay time, then... Figure 5 As shown in (c), the number of sampling points with amplitudes close to 0 at the beginning is reduced to adjust the original signal delay to be the same as the new signal delay, and the number of sampling points with amplitudes close to 0 at the end is increased to ensure that the frequency of the transfer function is consistent. Then, as shown in (c), the sampling points with amplitudes close to 0 at the end are reduced to ensure that the frequency of the transfer function is consistent. Figure 5 As shown in (d), the adjusted secondary channel transfer function is downsampled to obtain the updated secondary channel transfer function.
[0169] It should be noted that, since no signal has been received within the signal delay period, therefore Figure 5 The portion of the first part with an amplitude close to 0 represents the signal delay time in the secondary channel transfer function.
[0170] Thus, by calculating the integer cycle delay and the phase delay within the cycle of the signal transmission in the current secondary channel, this application estimates the transmission delay of the signal in the current secondary channel, thereby improving the accuracy of the obtained signal delay. Furthermore, by updating the current secondary channel transfer function using the signal delay, the updated secondary channel transfer function is matched with the current secondary channel, thus improving the active noise reduction effect.
[0171] The following is an exemplary description of the overall implementation process of updating the secondary channel transfer function based on delay estimation provided in the embodiments of this application.
[0172] For example, such as Figure 6 As shown, the complete process of updating the secondary channel transfer function based on the secondary channel delay estimation provided in this application embodiment may include the following S601 to S609:
[0173] S601. Acquire the speaker excitation signal and the microphone detection signal. Perform at least one step from S602 to S604.
[0174] S602. Determine whether there is a noise reduction signal in the speaker excitation signal. If yes, proceed to S609; otherwise, proceed to S605.
[0175] S603. Determine whether the signal-to-noise ratio of the speaker excitation signal to the noise signal is greater than or equal to the first signal-to-noise ratio. If yes, proceed to S605; otherwise, proceed to S609.
[0176] S604. Determine whether the frequency of the speaker excitation signal is less than or equal to the preset frequency. If yes, proceed to S605; otherwise, proceed to S609.
[0177] S605. Calculate the coherence of the loudspeaker excitation signal and the microphone detection signal to obtain the period delay parameter.
[0178] S606. Calculate the phase difference between the loudspeaker excitation signal and the microphone detection signal to obtain the phase delay parameter.
[0179] S607. Based on the periodic delay parameter and the phase delay parameter, obtain the signal delay duration between the loudspeaker excitation signal and the microphone detection signal.
[0180] S608. Adjust the signal delay duration of the original secondary channel transfer function according to the signal delay duration to obtain the updated secondary channel transfer function.
[0181] S609, Enter the noise reduction control scene.
[0182] As described in S302 above, in another optional implementation, the speaker excitation signal and the microphone detection signal can be used to perform online identification of the secondary channel to obtain the filtering parameters of the adaptive filtering algorithm, and then the secondary channel transfer function between the speaker and the microphone can be updated based on the filtering parameters. The following will combine... Figure 7 The illustrated embodiment provides a solution for online identification and updating of the secondary channel transfer function based on an adaptive filtering algorithm.
[0183] In some embodiments, the loudspeaker excitation signal and the microphone detection signal can be adaptively filtered based on an adaptive filtering algorithm to obtain filtering parameters.
[0184] The adaptive filtering algorithm can be either LMS or recursive least squares (RLS).
[0185] Optionally, before performing adaptive filtering on the loudspeaker excitation signal and microphone detection signal based on the adaptive filtering algorithm to obtain the filtering parameters, it can be determined whether at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, and the signal-to-noise ratio of the loudspeaker excitation signal and the microphone detection signal to the noise signal is greater than or equal to the second signal-to-noise ratio.
[0186] In some embodiments, where the speaker excitation signal includes a noise reduction signal, the speaker excitation signal is output through the speaker to eliminate noise signals within the vehicle cabin.
[0187] In some embodiments, the second signal-to-noise ratio can be a manually set value that can be flexibly adjusted according to the actual scenario. For example, the second signal-to-noise ratio can be 40 dB.
[0188] It should be noted that the signal-to-noise ratio (SNR) characterizes the clarity of the speaker excitation signal and the microphone detection signal relative to background noise. In other words, the higher the SNR, the clearer the speaker excitation signal and the microphone detection signal.
[0189] Thus, before updating the secondary channel transfer function, this application can also determine the update conditions, further improving the accuracy of the updated secondary channel transfer function.
[0190] Optionally, the speaker excitation signal and microphone detection signal can be adaptively filtered online in real time based on an adaptive filtering algorithm to determine the filtering parameters.
[0191] In some embodiments, after each acquisition of the speaker excitation signal and microphone detection signal, an online real-time adaptive filtering process based on an adaptive filtering algorithm can be started on the speaker excitation signal and microphone detection signal.
[0192] In this way, by updating the secondary channel transfer function online in real time, the timeliness of the secondary channel transfer function can be ensured.
[0193] For example, such as Figure 7 As shown, the noise reduction method provided in this application embodiment may include the following S701 to S704:
[0194] S701. An adaptive filtering algorithm is used to filter the speaker excitation signal to obtain an analog microphone detection signal.
[0195] In some embodiments, combined with Figure 2 An adaptive filter can be used to simulate the secondary channel transfer function between the speaker and the microphone, and the speaker excitation signal can be filtered to obtain the simulated microphone detection signal.
[0196] For example, with the loudspeaker excitation signal X n The microphone detection signal is Y. n The initial filtering parameters of the adaptive filter are: For example, the speaker excitation signal X can be... n The initial input filter parameters are An adaptive filter is used to obtain the analog microphone detection signal X. 1 n .
[0197] S702. Determine the error signal between the analog microphone detection signal and the microphone detection signal.
[0198] For example, the analog microphone can detect the signal X. 1 n With the microphone detection signal being Y n The difference is used as the error signal E n .
[0199] S703. Determine the filtering parameters based on the loudspeaker excitation signal and error signal.
[0200] In some embodiments, stochastic gradient processing can be performed based on the loudspeaker excitation signal and the error signal to obtain the filtering parameters.
[0201] For example, the speaker excitation signal can be X. n and error signal E n Perform stochastic gradient processing to obtain the filter parameters.
[0202] Optionally, the filtering parameters for each processing step can be obtained through iterative processing. For example, the filtering parameters can be obtained... Filter parameters Filter parameters Filter parameters Filter parameters
[0203] S704. If the range of change of the filter parameter is less than or equal to the preset range of change in each consecutive preset number of times, update the secondary channel transfer function between the speaker and the microphone according to the filter parameter.
[0204] In some embodiments, the preset number of times can be a manually set value, which can be flexibly adjusted according to the actual scenario. For example, the preset number of times can be 20. Similarly, the preset range of variation can also be a manually set value. For example, the predicted range of variation can be 5%.
[0205] For example, consider a prediction run of 5 times with a prediction variation range of 5%. If the filter parameters obtained from the adaptive filter for the 5 consecutive predictions are as follows: Filter parameters (Variation range is 4.5%), Filtering parameters (Variation range is 4%), Filter parameters (Variation range is 3.5%), filter parameters (Variation range is 3%), Filter parameters (The variation range is 3%), since the variation range of the filter parameters for 5 consecutive iterations is less than 5%, it can be determined based on the filter parameters. The updated secondary channel transfer function is obtained.
[0206] Thus, this application determines whether the transfer function of the secondary channel simulated by the adaptive filter matches the actual secondary channel by judging whether the filtering parameters of the adaptive filter have stabilized after multiple filtering processes, thus ensuring that the updated secondary channel transfer function matches the actual secondary channel.
[0207] The following is an exemplary description of the overall implementation process of the secondary channel transfer function based on online identification and updating provided in the embodiments of this application.
[0208] For example, such as Figure 8 As shown, the complete process of online identification and updating of the secondary channel transfer function based on the secondary channel provided in this application embodiment may include the following S801 to S809.
[0209] S801. Acquire the speaker excitation signal and the microphone detection signal. Execute at least one step in S802 and S803.
[0210] S802. Determine whether there is a noise reduction signal in the speaker excitation signal. If yes, execute S809; otherwise, execute S804.
[0211] S803. Determine whether the signal-to-noise ratio of the speaker excitation signal and the microphone detection signal to the noise signal is greater than or equal to the second signal-to-noise ratio. If yes, proceed to S804; otherwise, proceed to S809.
[0212] S804. An adaptive filtering algorithm is used to filter the loudspeaker excitation signal to obtain an analog microphone detection signal.
[0213] S805. Determine the error signal between the analog microphone detection signal and the microphone detection signal.
[0214] S806. Determine the filtering parameters based on the loudspeaker excitation signal and error signal.
[0215] S807. Determine whether the range of change of the filter parameter within the preset number of iterations is less than or equal to the preset range of change. If yes, proceed to S808; otherwise, proceed to S804.
[0216] S808. Based on the filtering parameters, obtain the updated secondary channel transfer function.
[0217] S809, Enter the noise reduction control scene.
[0218] Optionally, noise reduction control can be performed based on the loudspeaker excitation signal if at least one of the following conditions is met: the loudspeaker excitation signal contains a noise reduction signal, the signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is less than a first signal-to-noise ratio, or the frequency of the loudspeaker excitation signal is greater than a preset frequency.
[0219] In some embodiments, where the loudspeaker excitation signal includes a noise reduction signal, the loudspeaker excitation signal is processed... Figure 1 The speaker output is used for noise reduction control to eliminate noise signals in the vehicle cabin.
[0220] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the noise reduction device or electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0221] This application embodiment can, according to the above method, exemplarily divide a noise reduction device or electronic device into functional modules. For example, the noise reduction device or electronic device may include functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.
[0222] Figure 9 This is a structural diagram of a noise reduction device provided in an embodiment of this application. The noise reduction device 900, as shown... Figure 9 As shown, the noise reduction device 900 includes a determination unit 901 and a control unit 902.
[0223] Wherein: the determining unit 901 is used to determine the changing parameters of the secondary channel based on the speaker excitation signal and the microphone detection signal; the control unit 902 is used to determine the noise reduction parameters according to the changing parameters and perform noise reduction control.
[0224] In some embodiments, the control unit 902 is specifically used to: update the secondary channel transfer function between the speaker and the microphone according to the changing parameters, update the noise reduction parameters based on the updated secondary channel transfer function, and perform noise reduction control based on the updated noise reduction parameters.
[0225] In some embodiments, the determining unit 901 is specifically used to: determine a period delay parameter and a phase delay parameter based on the speaker excitation signal and the microphone detection signal, wherein the period delay parameter is used to characterize the number of periods that differ between the microphone detection signal and the speaker excitation signal, and the phase delay parameter is used to characterize the phase value that differs between the microphone detection signal and the speaker excitation signal.
[0226] In some embodiments, the determining unit 901 is specifically configured to: determine a period delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain, and determine a phase delay parameter based on the phase difference between the loudspeaker excitation signal and the microphone detection signal in the frequency domain.
[0227] In some embodiments, the determining unit 901 is specifically used to determine the periodic delay parameter based on the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or frequency domain when at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, the signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is greater than or equal to a first signal-to-noise ratio, and the frequency of the loudspeaker excitation signal is less than or equal to a preset frequency.
[0228] In some embodiments, the control unit 902 is specifically configured to: determine the signal delay duration between the microphone detection signal and the speaker excitation signal based on the period delay parameter and the phase delay parameter, and update the secondary channel transfer function between the speaker and the microphone based on the signal delay duration.
[0229] In some embodiments, the control unit 902 is specifically used to adjust the signal delay duration of the secondary channel transfer function between the speaker and the microphone by using the signal delay duration between the microphone detection signal and the speaker excitation signal, so as to update the secondary channel transfer function between the speaker and the microphone.
[0230] In some embodiments, the control unit 902 is specifically configured to: upsample the secondary channel transfer function between the speaker and the microphone, identify the signal delay duration of the secondary channel transfer function between the speaker and the microphone, use the signal delay duration between the microphone detection signal and the speaker excitation signal, adjust the signal delay duration of the secondary channel transfer function between the speaker and the microphone, and downsample the adjusted secondary channel transfer function between the speaker and the microphone to update the secondary channel transfer function between the speaker and the microphone.
[0231] In some embodiments, the determining unit 901 is specifically used to: determine the period delay parameter and the phase delay parameter in real time based on the speaker excitation signal and the microphone detection signal; or, determine the period delay parameter and the phase delay parameter according to a preset time interval based on the speaker excitation signal and the microphone detection signal.
[0232] In some embodiments, the determining unit 901 is specifically used to: perform adaptive filtering processing on the speaker excitation signal and the microphone detection signal based on an adaptive filtering algorithm to obtain filtering parameters.
[0233] In some embodiments, the determining unit 901 is specifically used to: filter the loudspeaker excitation signal using an adaptive filtering algorithm to obtain an analog microphone detection signal, determine the error signal between the analog microphone detection signal and the microphone detection signal, and determine filtering parameters based on the loudspeaker excitation signal and the error signal.
[0234] In some embodiments, the control unit 902 is specifically used to update the secondary channel transfer function between the speaker and the microphone according to the filter parameters when the range of change of the filter parameters in each consecutive preset number of times is less than or equal to a preset range of change.
[0235] In some embodiments, the determining unit 901 is specifically used to perform adaptive filtering processing on the loudspeaker excitation signal and the microphone detection signal based on an adaptive filtering algorithm to obtain filtering parameters when at least one of the following conditions is met: there is no noise reduction signal in the loudspeaker excitation signal, and the signal-to-noise ratio of the loudspeaker excitation signal and the microphone detection signal to the noise signal is greater than or equal to the second signal-to-noise ratio.
[0236] In some embodiments, the determining unit 901 is specifically used to perform adaptive filtering processing on the speaker excitation signal and the microphone detection signal in real time online based on an adaptive filtering algorithm to determine the filtering parameters.
[0237] In some embodiments, the control unit 902 is further configured to perform noise reduction control based on the speaker excitation signal when at least one of the following conditions is met: the speaker excitation signal contains a noise reduction signal, the signal-to-noise ratio of the speaker excitation signal to the noise signal is less than a first signal-to-noise ratio, and the frequency of the speaker excitation signal is greater than a preset frequency.
[0238] In some embodiments, the noise reduction device 900 provided in this application further includes: an acquisition unit and a generation unit, wherein the acquisition unit is used to acquire a noise reference signal in real time through a sensor, and to acquire a cabin sound source signal in real time; the generation unit is used to generate a speaker excitation signal based on the noise reference signal and the cabin sound source signal.
[0239] In some embodiments, the above-mentioned generating unit is specifically used to: perform noise reduction processing on the noise reference signal to obtain a noise-reduced signal, and synthesize the noise-reduced signal and the cockpit sound source signal into a speaker excitation signal.
[0240] In some embodiments, the acquisition unit is further configured to acquire sound signals inside the cabin in real time via a microphone to obtain a microphone detection signal.
[0241] In the noise reduction device provided in this application embodiment, the matching degree between the secondary channel parameters and the noise reduction parameters can affect the active noise reduction effect. Therefore, this application determines the changing parameters of the secondary channel in the current vehicle cabin based on the speaker excitation signal and microphone detection signal in the actual vehicle cabin, and determines the noise reduction parameters based on the changing parameters, so that the updated noise reduction parameters match the actual secondary channel. Thus, noise reduction control is performed based on the updated noise reduction parameters, which can improve the noise reduction effect.
[0242] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0243] Figure 10 This is a structural diagram of an electronic device provided in an embodiment of this application. Figure 10 As shown, the electronic device 1000 includes, but is not limited to, a processor 1001 and a memory 1002.
[0244] The memory 1002 described above is used to store the executable instructions of the processor 1001. It is understood that the processor 1001 is configured to execute instructions to implement the noise reduction method in the above embodiments.
[0245] It should be noted that those skilled in the art will understand that Figure 10 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 10 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.
[0246] The processor 1001 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 1002, and by calling data stored in the memory 1002, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 1001 may include one or more processing units. Optionally, the processor 1001 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 1001.
[0247] The memory 1002 can be used to store software programs and various data. The memory 1002 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0248] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1002 including instructions, which can be executed by a processor 1001 of an electronic device 1000 to implement the noise reduction method in the above embodiments.
[0249] In actual implementation, Figure 9 The steps performed by the determining unit 901 and the control unit 902 can both be performed by... Figure 10 The processor 1001 calls the computer program stored in the memory 1002 to implement the process. The specific execution process can be found in the description of the method section in the previous embodiment, and will not be repeated here.
[0250] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0251] In an exemplary embodiment, a vehicle is also provided that includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to perform the noise reduction method described in the above embodiments.
[0252] In practice, the vehicle also includes an engine, electronic devices, and a power amplifier, with the memory and processor integrated into the electronic devices and / or power amplifier to reduce engine noise.
[0253] In an exemplary embodiment, a computer program product including one or more instructions is provided, which can be executed by a processor 1001 of an electronic device to perform the noise reduction method in the above embodiments.
[0254] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of an electronic device, they implement the various processes of the above method embodiments and achieve the same technical effect as the above method. To avoid repetition, they will not be described again here.
[0255] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0256] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0257] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the classified units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0258] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0259] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0260] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of noise reduction, characterized by, The method comprises: determining a change parameter of a secondary channel based on a loudspeaker excitation signal and a microphone detection signal; determining a noise reduction parameter and performing noise reduction control according to the change parameter.
2. The method of claim 1, wherein, The determining a noise reduction parameter and performing noise reduction control according to the change parameter comprises: updating a secondary channel transfer function between the loudspeaker and the microphone based on the change parameter; updating the noise reduction parameter based on the updated secondary channel transfer function; performing noise reduction control based on the updated noise reduction parameter.
3. The method of claim 2, wherein, The determining a change parameter of a secondary channel based on a loudspeaker excitation signal and a microphone detection signal comprises: determining a period delay parameter and a phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal, the period delay parameter being used to represent a period number of a phase difference between the microphone detection signal and the loudspeaker excitation signal, and the phase delay parameter being used to represent a phase value of the phase difference between the microphone detection signal and the loudspeaker excitation signal.
4. The method of claim 3, wherein, The determining a period delay parameter and a phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal comprises: determining the period delay parameter according to a coherence of the loudspeaker excitation signal and the microphone detection signal in a time domain and / or a frequency domain; determining the phase delay parameter according to a phase difference value of the loudspeaker excitation signal and the microphone detection signal in the frequency domain.
5. The method of claim 4, wherein, The determining the period delay parameter according to a coherence of the loudspeaker excitation signal and the microphone detection signal in a time domain and / or a frequency domain comprises: determining the period delay parameter according to the coherence of the loudspeaker excitation signal and the microphone detection signal in the time domain and / or the frequency domain, in a case where at least one of the following conditions is met: the noise reduction signal is not present in the loudspeaker excitation signal; a signal-to-noise ratio of the loudspeaker excitation signal and a noise signal is greater than or equal to a first signal-to-noise ratio; a frequency of the loudspeaker excitation signal is less than or equal to a preset frequency.
6. The method of claim 3, wherein, The updating a secondary channel transfer function between the loudspeaker and the microphone based on the change parameter comprises: determining a signal delay duration between the microphone detection signal and the loudspeaker excitation signal based on the period delay parameter and the phase delay parameter; updating the secondary channel transfer function between the loudspeaker and the microphone based on the signal delay duration.
7. The method of claim 6, wherein, The updating the secondary channel transfer function between the loudspeaker and the microphone based on the signal delay duration comprises: adjusting a signal delay duration of the secondary channel transfer function between the loudspeaker and the microphone by using the signal delay duration between the microphone detection signal and the loudspeaker excitation signal, to update the secondary channel transfer function between the loudspeaker and the microphone.
8. The method of claim 7, wherein, The adjusting a signal delay duration of the secondary channel transfer function between the loudspeaker and the microphone by using the signal delay duration between the microphone detection signal and the loudspeaker excitation signal, to update the secondary channel transfer function between the loudspeaker and the microphone, comprises: performing up-sampling on the secondary channel transfer function between the loudspeaker and the microphone to identify the signal delay duration of the secondary channel transfer function between the loudspeaker and the microphone; Adopt the signal delay time length between the microphone detection signal and the loudspeaker excitation signal, adjust the signal delay time length of the secondary channel transfer function between the loudspeaker and the microphone; Downsample the adjusted secondary channel transfer function between the loudspeaker and the microphone to update the secondary channel transfer function between the loudspeaker and the microphone.
9. The method according to any one of claims 3 to 8, characterized in that, The method further comprises: Determine the period delay parameter and the phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal, comprising: Determine the period delay parameter and the phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal in real time; or, 10. The method of claim 2, wherein, Determine the period delay parameter and the phase delay parameter based on the loudspeaker excitation signal and the microphone detection signal according to a preset time interval. The method further comprises:
11. The method of claim 10, wherein, Determine the change parameter of the secondary channel based on the loudspeaker excitation signal and the microphone detection signal, comprising: Adaptively filter the loudspeaker excitation signal and the microphone detection signal based on the adaptive filtering algorithm to obtain the filter parameter. The method further comprises: Adaptively filter the loudspeaker excitation signal based on the adaptive filtering algorithm to obtain the simulated microphone detection signal; 12. The method of claim 11, wherein, Determine the error signal between the simulated microphone detection signal and the microphone detection signal; Determine the filter parameter based on the loudspeaker excitation signal and the error signal.
13. The method of claim 10, wherein, The method further comprises: Update the secondary channel transfer function between the loudspeaker and the microphone according to the filter parameter in the case that the change range of the filter parameter is less than or equal to the preset change range within a continuous preset number of times. The method further comprises: Adaptively filter the loudspeaker excitation signal and the microphone detection signal based on the adaptive filtering algorithm to obtain the filter parameter, comprising:
14. The method according to any one of claims 10 to 13, characterized in that, Adaptively filter the loudspeaker excitation signal and the microphone detection signal based on the adaptive filtering algorithm to obtain the filter parameter in the case that at least one of the following conditions is met; There is no noise reduction signal in the loudspeaker excitation signal; 15. The method of claim 1, wherein, The signal-to-noise ratio of the loudspeaker excitation signal and the microphone detection signal to the noise signal is greater than or equal to a second signal-to-noise ratio. The method further comprises: Adaptively filter the loudspeaker excitation signal and the microphone detection signal based on the adaptive filtering algorithm to obtain the filter parameter, comprising: Adaptively filter the loudspeaker excitation signal and the microphone detection signal based on the adaptive filtering algorithm to determine the filter parameter in real time online. The method further comprises:
16. The method of claim 1, wherein, Perform noise reduction control based on the loudspeaker excitation signal in the case that at least one of the following conditions is met; There is a noise reduction signal in the loudspeaker excitation signal; The signal-to-noise ratio of the loudspeaker excitation signal to the noise signal is less than a first signal-to-noise ratio; The frequency of the loudspeaker excitation signal is greater than a preset frequency. The method further comprises: Obtain the noise reference signal in real time and the cabin sound source signal in real time through the sensor; generate the loudspeaker excitation signal based on the noise reference signal and the cabin sound source signal.
17. The method of claim 16, wherein, The generating the loudspeaker excitation signal based on the noise reference signal and the cabin sound source signal comprises: performing noise reduction processing on the noise reference signal to obtain a noise reduction signal; synthesizing the noise reduction signal and the cabin sound source signal into the loudspeaker excitation signal.
18. The method of claim 1, wherein, The method further comprises: collecting, in real time, a sound signal in the cabin through a microphone to obtain the microphone detection signal.
19. A noise reduction device, characterized by The device comprises a determination unit and a control unit, wherein: The determination unit is configured to determine a change parameter of a secondary channel based on the loudspeaker excitation signal and the microphone detection signal. The control unit is configured to determine a noise reduction parameter according to the change parameter and perform noise reduction control.
20. A noise reduction system characterized by, The noise reduction system comprises a reference signal acquisition module, a secondary channel filtering module, an active noise control module, a noise reduction signal generation module, an adaptive filter, a loudspeaker and a microphone to realize a noise control function.
21. The noise reduction system of claim 20, wherein: The reference signal acquisition module is configured to acquire a noise reference signal. The secondary channel filtering module is configured to filter the noise reference signal to obtain a filtered noise reference signal. The active noise control module is configured to update a noise reduction parameter in the noise reduction signal generation module. The noise reduction signal generation module is configured to perform noise reduction processing on the filtered noise reference signal according to the noise reduction parameter to generate an active noise reduction signal. The adaptive filter is configured to filter a cabin sound source signal to obtain a filtered cabin sound source signal. The loudspeaker is configured to output a loudspeaker excitation signal synthesized from the cabin sound source signal and the active noise reduction signal. The microphone is configured to measure a cabin sound signal to obtain a microphone detection signal.
22. The noise reduction system of claim 20 or 21, wherein, The noise reduction system further comprises a cabin sound source module, a scene detection module, a delay estimation module and a secondary channel delay matching module to realize a secondary channel delay estimation function.
23. The noise reduction system of claim 22, wherein: The cabin sound source module is configured to generate the cabin sound source signal. The scene detection module is configured to detect the loudspeaker excitation signal. The delay estimation module is configured to perform secondary channel delay estimation according to the loudspeaker excitation signal and the microphone detection signal to obtain a secondary channel delay. The secondary channel delay matching module is configured to update a secondary channel transfer function according to the secondary channel delay.
24. The noise reduction system of claim 20 or 21, wherein, The noise reduction system further comprises a cabin sound source module, a signal detection module and an online secondary channel estimation module to realize an online secondary channel identification function.
25. The noise reduction system of claim 24, wherein: The cabin sound source module is configured to generate the cabin sound source signal. The signal detection module is configured to detect the loudspeaker excitation signal. The online secondary channel estimation module is configured to: perform adaptive filtering processing according to the loudspeaker excitation signal and the microphone detection signal to obtain a filtering parameter; and update a secondary channel transfer function according to the filtering parameter.
26. An electronic device, comprising: comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method of any of claims 1-18.
27. A vehicle characterized by comprising: a memory, a processor, and a computer program stored on the memory and loadable on the processor, the processor executing the program to implement the method of any of claims 1-18.
28. The vehicle of claim 27, wherein, The vehicle further comprises an engine, a power amplifier, and the electronic device of claim 26, the memory and the processor being integrated in the electronic device and / or the power amplifier to reduce the noise of the engine.
29. A computer-readable storage medium having stored therein instructions, the computer-readable storage medium comprising: When a computer executes the instructions, the computer performs the method of any of claims 1-18.
30. A computer program product comprising instructions, characterized in that, When a computer executes the instructions, the computer performs the method of any of claims 1-18. When a computer executes the instructions, the computer performs the method of any of claims 1-18.