Noise reduction method, electronic device, and storage medium
By pre-constructing a set of compensation parameters and generating optimal compensation parameters for engine speed, the problem of unsatisfactory noise reduction effect in high dynamic range vehicles is solved, achieving faster and better noise reduction effect.
Patent Information
- Application Number
- PCT/CN2024/108997
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2026-02-05
AI Technical Summary
Existing vehicles do not perform well in high dynamic range noise reduction, and adaptive algorithms struggle to adapt to rapid changes in engine noise, resulting in limited noise reduction effectiveness.
By pre-constructing a set of compensation parameters, the optimal compensation parameters are generated for the current engine speed, including compensation for reference signals, filter coefficients, speaker signals, and microphone signals, thereby shortening the gap between the offset signal and the actual required signal and improving noise reduction efficiency.
It enables faster and better adaptation to rapidly changing environments, improves noise reduction performance, shortens the cancellation signal adjustment time, and enhances the speed and accuracy of noise reduction.
Smart Images

Figure CN2024108997_05022026_PF_FP_ABST
Abstract
Description
Noise reduction method, electronic device and storage medium TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of vehicle noise reduction technology, and in particular to a noise reduction method, an electronic device and a storage medium. BACKGROUND
[0002] With the development of technology and competition in the automotive industry, active noise reduction technology is increasingly used in various levels of automotive products. Engine noise cancellation technology is an important part of this technology. Whether it is a traditional fuel vehicle or a hybrid vehicle, active noise reduction can effectively reduce engine idle noise and certain acceleration noise in an environmentally friendly and low-carbon state, and is increasingly popular with OEMs and end customers.
[0003] However, the noise reduction effect of the current vehicle under high dynamics is not ideal. SUMMARY
[0004] Embodiments of the present application provide a noise reduction method, an electronic device and a storage medium, which at least help to improve the noise reduction effect.
[0005] According to some embodiments of the present application, the embodiments of the present application provide a noise reduction method, comprising: determining an optimal compensation parameter from a set of preset compensation parameters according to a current engine speed, the compensation parameter including a compensation for at least one of the following: a reference signal, a filter coefficient, a loudspeaker signal, and a microphone signal; and generating a cancellation signal according to the determined compensation parameter, the cancellation signal being used to cancel the current engine noise.
[0006] In some embodiments, before determining the optimal compensation parameter from the set of preset compensation parameters according to the current engine speed, the method further comprises: obtaining engine speeds and microphone signals of a real vehicle under different working conditions, the engine speeds being collected by a speed sensor deployed at the engine, and the microphone signals being signals collected by a microphone deployed on the real vehicle; generating order slices corresponding to the reference signals of different orders according to the engine speeds and the microphone signals; and determining the compensation parameters corresponding to the amplitudes of the reference signals of different orders for compensating the reference signals according to the order slices corresponding to the reference signals of different orders.
[0007] In some embodiments, before the step of determining the optimal compensation parameter from the preset compensation parameter set according to the current engine speed, the method further comprises: obtaining an impulse response between each loudspeaker and each microphone; generating an amplitude response between each loudspeaker and each microphone according to the impulse response between each loudspeaker and each microphone; and determining the compensation parameter for compensating the amplitude of each loudspeaker signal corresponding to different orders of the reference signal according to the amplitude response between each loudspeaker and each microphone.
[0008] In some embodiments, the step of determining the compensation parameter for compensating the amplitude of each loudspeaker signal corresponding to different orders of the reference signal according to the amplitude response between each loudspeaker and each microphone comprises: setting the amplitude response coefficient in the amplitude response between each loudspeaker and each microphone on an interval outside a target frequency interval to 1 to obtain an effective amplitude response between each loudspeaker and each microphone, the target frequency interval being the working frequency range of the engine; and determining the compensation parameter for compensating the amplitude of each loudspeaker signal corresponding to different orders of the reference signal according to the effective amplitude response between each loudspeaker and each microphone.
[0009] In some embodiments, before the step of determining the optimal compensation parameter from the preset compensation parameter set according to the current engine speed, the method further comprises: obtaining a microphone signal of a real vehicle under different working conditions; determining an order slice corresponding to different orders of the reference signal according to the microphone signal; and obtaining an optimal step factor and an optimal leakage factor corresponding to different orders of the reference signal by simulation according to the order slice corresponding to different orders of the reference signal, the optimal step factor and the optimal leakage factor being the compensation parameter for compensating the filter coefficient.
[0010] In some embodiments, before the step of determining the optimal compensation parameter from the preset compensation parameter set according to the current engine speed, the method further comprises: obtaining a noise reduction condition of a real vehicle, the noise reduction condition comprising at least one of the following conditions: a minimum noise reduction value of different seats, a minimum noise reduction value under different working conditions; and obtaining the compensation parameter for compensating the amplitude of each microphone signal corresponding to different orders of the reference signal by simulation according to the noise reduction condition.
[0011] In some embodiments, before the step of determining the optimal compensation parameter from the preset compensation parameter set according to the current engine speed, the method further comprises: simulating according to the current obtained compensation parameter and a preset noise reduction target to adjust the compensation parameter until a simulation stop condition is met, the simulation stop condition comprising: the noise reduction target is met, or a preset adjustment number of times is reached.
[0012] In some embodiments, the generating the cancellation signal according to the determined compensation parameter comprises: compensating the reference signal and the microphone signal according to the compensation parameter; generating current filter coefficients according to the compensated reference signal, the compensated microphone signal and the estimated secondary path; compensating the generated filter coefficients according to the compensation parameter; generating an initial cancellation signal according to the reference signal and the compensated filter coefficients; and compensating the initial cancellation signal according to the compensation parameter to obtain the cancellation signal.
[0013] According to some embodiments of the present application, another aspect of the embodiments of the present application further provides an electronic device, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the noise reduction method according to any of the embodiments of the present application.
[0014] According to some embodiments of the present application, another aspect of the embodiments of the present application further provides a computer readable storage medium storing a computer program, and the computer program is executed by a processor to implement the noise reduction method according to any of the embodiments of the present application.
[0015] The technical solutions provided by the embodiments of the present application have at least the following advantages:
[0016] By pre-constructing the compensation parameter set for compensating at least one of the reference signal, the filter coefficients, the loudspeaker signal and the microphone signal, when the cancellation signal is generated for the current engine speed, an optimal compensation parameter can be determined more efficiently, so that at least more optimal reference signal, filter coefficients, loudspeaker signal or microphone signal can be obtained, so that the cancellation signal generated based thereon will be closer to the actual engine noise required cancellation signal, i.e. the gap between the initially generated cancellation signal and the actual required cancellation signal is reduced, so that the time for adjusting the actual required cancellation signal will be shortened, and the noise reduction can be achieved faster and better, and the fast changing environment can be adapted. BRIEF DESCRIPTION OF DRAWINGS
[0017] One or more embodiments are illustrated by way of example in the drawings in which like reference numerals indicate like elements, and in which:
[0018] Fig. 1 is a schematic diagram of a noise reduction principle provided by the present application;
[0019] Fig. 2 is a structural schematic diagram of a noise reduction system provided in an embodiment of the present application;
[0020] Fig. 3 is a flow chart of a noise reduction method provided in an embodiment of the present application;
[0021] Fig. 4 is another flow chart of a noise reduction method provided in an embodiment of the present application;
[0022] Fig. 5 is another structural schematic diagram of a noise reduction system provided in an embodiment of the present application;
[0023] Fig. 6 is a flow chart of determination of a compensation parameter involved in a noise reduction method provided in an embodiment of the present application;
[0024] Fig. 7 is another flow chart of determination of a compensation parameter involved in a noise reduction method provided in an embodiment of the present application;
[0025] Fig. 8 is still another flow chart of determination of a compensation parameter involved in a noise reduction method provided in an embodiment of the present application;
[0026] Fig. 9 is yet another flow chart of determination of a compensation parameter involved in a noise reduction method provided in an embodiment of the present application;
[0027] Fig. 10 is a structural schematic diagram of an electronic device provided in an embodiment of the present application. Embodiments of the present application
[0028] As can be known from the background, the current vehicle noise reduction effect is not ideal, and there is an urgent need to provide a noise reduction method capable of improving the noise reduction effect.
[0029] It is found through analysis that the reason for the above problems at least lies in that, in the current engine noise elimination, an adaptive algorithm is mainly used to update and generate a reverse elimination signal. In actual use, due to the existence of a secondary path, there is attenuation and reverberation in the sound field of the automobile, and the phase and amplitude need to be matched into a corresponding cancellation signal through an adaptive algorithm. However, in order to adapt to the optimal coefficient, a period of time needs to be stabilized, and in the actual use process, especially in the acceleration and deceleration working conditions, the dynamic range is relatively large, and the system is always in a changing process, and it is often not adapted in time. Generally, we can obtain the optimal step factor µ in the steady state through prior testing, and set the optimal step factor µ at each speed as the step factor µ to be used at the corresponding speed, but when the vehicle environment changes rapidly, the effect is still very limited. At the same time, in order to ensure robustness, it is more conservative to be adjusted, resulting in a certain discount in the actual noise reduction effect.
[0030] Based on this, the embodiment of the present application provides a noise reduction method, an electronic device and a storage medium, by constructing a compensation parameter set for compensating at least one of a reference signal, a filter coefficient, a loudspeaker signal and a microphone signal in advance, so that when generating a cancellation signal for the current engine speed, an optimal compensation parameter can be determined more efficiently, so that at least a more optimal reference signal, filter coefficient, loudspeaker signal or microphone signal can be obtained, so that the cancellation signal generated based on this will be closer to the cancellation signal required by the actual engine noise, that is, the gap between the initially generated cancellation signal and the actually required cancellation signal is reduced, so that the time for generating the actually required cancellation signal is shortened, and the noise reduction can be achieved faster and better, and the rapidly changing environment can be adapted, and the noise reduction effect is improved.
[0031] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the drawings. However, those skilled in the art can understand that in the embodiments of the present application, many technical details are proposed in order to make the readers better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed by the present application can be implemented.
[0032] The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation mode of the present application, and the embodiments can be combined and referenced with each other under the premise of no contradiction.
[0033] In order to make the readers better understand the noise reduction method provided by the embodiments of the present application, the principle of the noise reduction algorithm will be described exemplarily below.
[0034] The core of the adaptive noise reduction algorithm is to generate a cancellation signal 1 as shown in FIG. 1, which has the same amplitude and opposite phase as the actual engine noise 2, so that after signal superposition, the engine noise 2 will be exactly cancelled out, thereby realizing the noise elimination in the signal.
[0035] And in order to generate a sound wave signal with the same amplitude and opposite phase as the noise, some embodiments of the present application provide an architecture as shown in FIG. 2 for calculation.
[0036] First, as shown in FIG. 2, the reference signal generation module needs to generate a reference signal based on the engine speed detected by the engine speed detection module. That is, the engine speed is tracked in real time, and according to the detected engine speed, a corresponding harmonic angular velocity signal is generated to obtain an angle signal by integrating the angular velocity, so as to obtain a corresponding harmonic sine signal. In some examples, the reference signal can be determined by the following expression:
[0037]
[0038] wherein, is a real-time detected engine speed signal, is an order value corresponding to the reference signal, is an amplitude value corresponding to the reference signal.
[0039] It should be noted that the tracking of the engine speed can be further realized by deploying a speed sensor at the engine, so that the accuracy and reliability of the obtained engine speed are guaranteed by actual measurement. Of course, in some cases, it can also be determined by monitoring the control signal of the engine, which will not be described here.
[0040] In this way, the reference signal constructed in the above manner will have a frequency opposite to the actual required engine noise. But it does not meet the requirement of the same amplitude.
[0041] Based on this, the secondary path is estimated based on the secondary path estimation module, wherein the secondary path refers to the path of the signal output by the loudspeaker on the vehicle to the microphone. And based on the filter coefficient update module, the reference signal is convolved based on the estimated secondary path, and the convolved signal and the corresponding error signal are multiplied and added to obtain the adaptive gradient. In some examples, the adaptive filter coefficient update is realized by the following expression:
[0042] wherein, is the filter coefficient at the next moment, is a corresponding adaptive step factor, is an adaptive leakage factor, is the microphone signal collected by the corresponding error microphone, is the signal after the reference signal is transmitted through the secondary path.
[0043] It should be noted that the error microphone can be any microphone provided on the vehicle, and there can be one or more. In some examples, multiple error microphones are provided, so that more comprehensive and accurate microphone signals reflecting the signal can be obtained.
[0044] In this way, the loudspeaker signal is collected by the microphone to realize feedback, so that the cancellation effect can be continuously tracked and offset, thereby facilitating better adjustment of the cancellation signal by adjusting the filter coefficient, and bringing better noise reduction effect.
[0045] Further, the cancellation signal generation module obtains the cancellation signal based on the determined reference signal and filter coefficient. That is, the reference signal and the adaptive filter update coefficient are convolved to obtain the cancellation signal and output through the loudspeaker. The convolution process is as follows:
[0046]
[0047] wherein, is the adaptive filter coefficient corresponding to the mth reference signal matched between the nth loudspeaker, is the mth reference signal, is the cancellation signal output through the nth loudspeaker.
[0048] It should be noted that the above is to set N loudspeakers and K microphones in order to achieve better noise reduction effect, in some cases, such as limited by vehicle configuration, one or more loudspeakers can also be set according to the demand, or one or more microphones, hereinafter will not be described one by one.
[0049] From the above, the generation and effect of the cancellation signal will be affected by the selection of the reference signal, the filter coefficient iteration, the internal structure of the loudspeaker and the microphone. For example, when the amplitude of the reference signal is greatly different from the actual engine noise, the amplitude of the filter adjustment will be larger, which will make the filter coefficient iteration more difficult; the initial value of the filter coefficient will affect the iteration of the filter coefficient; the loudspeaker and the microphone affect the effect of the cancellation signal by affecting the filter coefficient.
[0050] Based on this, the embodiment of the present application provides a noise reduction method, as shown in Figure 3, comprising the following steps:
[0051] Step 301, according to the current engine speed, determine the optimal compensation parameter from the preset compensation parameter set.
[0052] Step 302, according to the determined compensation parameter, generate a cancellation signal, which is used to cancel the current engine noise.
[0053] In this way, by pre-constructing the compensation parameter set, the corresponding optimal compensation parameter is provided for different engine speeds, and the optimization calculation of the related parameters is completed in advance, so that the optimal compensation parameter can be directly determined after the current engine speed is determined, and the subsequent adjustment is smaller, thereby the actual required cancellation signal can be determined more quickly, efficiently and accurately without wasting too much time for parameter iteration and optimization, and the noise reduction can be achieved more quickly and better, and the effect of noise reduction can be adapted to the rapidly changing environment, and the effect of noise reduction is improved.
[0054] In order to facilitate those skilled in the art to better understand the embodiment shown in Figure 3, the following will be described. It should be emphasized that the following description should not constitute a limitation on the embodiment shown in Figure 3, in other embodiments, other ways can also be used to achieve the same effect.
[0055] For step 301, the compensation parameter includes a parameter for compensating at least one of the following: the reference signal, the filter coefficient, the loudspeaker signal, the microphone signal. It should be noted that the embodiments of the present application do not limit the form of the compensation parameter, for example, the compensation parameter for compensating the filter coefficient can be the optimal filter coefficient directly, or other parameters capable of affecting the filter coefficient, such as the aforementioned leakage factor, etc., which will not be described one by one here.
[0056] In some examples, in the compensation parameter set, the optimal compensation parameter corresponding to the reference signal of different order and the order are associated, thus, after obtaining the engine speed, the optimal compensation parameter corresponding to the order corresponding to the engine speed can be matched. In this way, the determination efficiency of the optimal compensation parameter is higher, and thus the noise reduction efficiency is improved.
[0057] For step 302, in some embodiments, as shown in FIG. 4, it can be implemented by the following steps:
[0058] Step 3021, compensating the reference signal and the microphone signal according to the compensation parameter.
[0059] Step 3022, generating the current filter coefficient according to the compensated reference signal, the compensated microphone signal and the estimated secondary path.
[0060] Step 3023, compensating the generated filter coefficient according to the compensation parameter.
[0061] Step 3024, generating the initial cancellation signal according to the reference signal and the compensated filter coefficient.
[0062] Step 3025, compensating the initial cancellation signal according to the compensation parameter to obtain the cancellation signal.
[0063] Specifically, based on the noise reduction method provided in FIG. 4 and the structure of the noise reduction system shown in FIG. 5, it can be known that when the noise reduction method provided in the embodiment of the present application is applied to a vehicle, first, the compensation parameter set is deployed to the compensation equalization subsystem, so that when the engine speed detection module detects the real-time engine speed, the reference signal generation module generates an initial reference signal, which is processed by the secondary path estimated by the secondary path estimation module after the compensation of the corresponding compensation parameter provided by the compensation equalization subsystem, and is sent to the filter coefficient update module together with the compensated microphone signal and the parameter provided by the compensation equalization subsystem to iteratively output new filter coefficients, and on the other hand, the initial reference signal is also sent to the cancellation signal generation module to work with the updated filter coefficients to generate an initial cancellation signal, and finally, the initial cancellation signal is compensated by the compensation parameter provided by the compensation equalization subsystem to serve as the final cancellation signal and is sent to the loudspeaker to complete the cancellation of the engine noise. The compensation equalization subsystem also needs to obtain the real-time engine speed to determine the optimal compensation parameter output through the order corresponding to the real-time engine speed.
[0064] It can be found that the embodiment shown in FIG. 5 is a system embodiment corresponding to the method embodiment, and the system embodiment can be implemented in cooperation with the method embodiment. The related technical details mentioned in the method embodiment are still effective in the system embodiment, and in order to reduce repetition, they will not be described here. Correspondingly, the related technical details mentioned in the system embodiment can also be applied in the method embodiment.
[0065] It is worth mentioning that each module involved in the system embodiment is a logical module, which can be a physical unit, a part of a physical unit, or a combination of multiple physical units in actual application. In addition, in order to highlight the innovative part of the present application, units not closely related to solving the technical problems proposed in the present application are not introduced in the system embodiment, but this does not mean that there are no other units in the system embodiment.
[0066] Meanwhile, in order to facilitate those skilled in the art to better understand how the compensation parameters in the compensation parameter set are determined, the following will be described. It should be emphasized that the following description should not constitute a limitation on the compensation parameter set, and in other embodiments, other ways can also be used to achieve the same effect, such as directly obtaining the compensation parameter set through simulation experiments.
[0067] In some embodiments, as shown in FIG. 6, the compensation parameter for compensating the amplitude of the reference signal can be determined by the following steps:
[0068] Step 601: Obtain the engine speed and microphone signal of the real vehicle in different working states.
[0069] Step 602, generating order slices corresponding to reference signals of different orders according to the engine speed and the microphone signal.
[0070] Step 603, determining compensation parameters corresponding to the amplitude of the reference signals for compensating the reference signals according to the order slices corresponding to the reference signals of different orders.
[0071] The engine speed is collected by a speed sensor arranged at the engine, and the microphone signal is a signal collected by a microphone arranged on the real vehicle.
[0072] Suppose the relationship between the compensation parameters for compensating the amplitude of the reference signals and the order signals of the reference signals is maintained in a table, in some examples, first, a speed sensor is arranged at the engine of the real vehicle, and a microphone is arranged near the ears of the driver; then the real vehicle collects acceleration information at different gears, engine speed information collected by the speed sensor, microphone signals, etc.; then, the order slices corresponding to the reference signals in the engine speed and the microphone signal are extracted; then, the energy proportion in the order slices corresponding to the reference signals is normalized, so that a preliminary three-dimensional reference signal equalization table can be obtained: gear-(order index)-order frequency-reference signal gain value, that is, the compensation parameters corresponding to the reference signals of different orders for compensating the amplitude of the reference signals are determined, wherein the order index is used to mark different order frequencies, and has no other meaning, and in some reference signal equalization tables, the order index information can be included, and the meaning of the order index in the subsequent table is the same, which will not be described one by one.
[0073] In some embodiments, as shown in FIG. 7, the compensation parameters of the reference signals of different orders for compensating the amplitude of each loudspeaker signal can be determined by the following steps:
[0074] Step 701, obtaining the impulse responses between each loudspeaker and each microphone.
[0075] Step 702, generating the amplitude responses between each loudspeaker and each microphone according to the impulse responses between each loudspeaker and each microphone.
[0076] Step 703, determining the compensation parameters corresponding to the reference signals of different orders for compensating the amplitude of each loudspeaker signal according to the amplitude responses between each loudspeaker and each microphone.
[0077] In some examples, the compensation parameters for compensating the amplitudes of the individual loudspeaker signals are determined according to the amplitude responses between the individual loudspeakers and the individual microphones, which can be achieved by: setting the amplitude response coefficients of the amplitude responses between the individual loudspeakers and the individual microphones, which are located on the frequency intervals outside a target frequency interval, to 1 to obtain effective amplitude responses between the individual loudspeakers and the individual microphones, the target frequency interval being the working frequency range of the engine; and determining the compensation parameters for compensating the amplitudes of the individual loudspeaker signals corresponding to the reference signals of different orders according to the effective amplitude responses between the individual loudspeakers and the individual microphones. In this way, the influence of the non-engine working area can be excluded, so that the compensation parameters for compensating the amplitudes of the individual loudspeaker signals determined are more accurate. In some cases, the target frequency interval can be [20 Hz, 300 Hz].
[0078] Suppose the relationship between the compensation parameters for compensating the amplitudes of the individual loudspeaker signals and the order signals of the reference signals is maintained in the form of a table, in some examples, first, a plurality of groups of actual impulse responses between the loudspeakers and the microphones are obtained by a frequency sweeping method or a white noise adaptive method, and then corresponding amplitude responses are obtained through the impulse responses; then, the amplitude responses are transformed to the dB domain and normalized to calculate the difference values of the corresponding frequency response curves; then, the gains required by loudspeaker 1 to microphone 1, loudspeaker 1 to microphone 2, …, loudspeaker 1 to microphone K, …, loudspeaker 2 to microphone 1, loudspeaker 2 to microphone 2, …, loudspeaker 2 to microphone K, …, and loudspeaker N to microphone K are taken as expectations, wherein, since the working range of the engine noise reduction is generally within the range of 20 Hz-300 Hz, the corresponding values in other frequency ranges can be set to 1, so that the loudspeaker signal compensation values in the linear domain can be obtained, wherein, in combination with all working conditions, orders, and loudspeakers, an initial three-dimensional microphone compensation equalization table: (order index)-order frequency-loudspeaker index-loudspeaker gain value can be obtained, that is, the compensation parameters for compensating the amplitudes of the individual loudspeaker signals are determined.
[0079] In some embodiments, as shown in FIG. 8, the compensation parameters for compensating the filter coefficients can be determined by the following steps:
[0080] Step 801: Obtain the microphone signals of the real vehicle in different working states.
[0081] Step 802: Determine the order slices corresponding to the reference signals of different orders according to the microphone signals.
[0082] Step 803: Perform simulation according to the order slices corresponding to the reference signals of different orders to obtain the optimal step factors and the optimal leakage factors corresponding to the reference signals of different orders.
[0083] Among them, the optimal step factor μ and the optimal leakage factor leaky are compensation parameters for compensating the filter coefficients. Of course, in some cases, the optimal step factor μ or the optimal leakage factor leaky, etc. can be determined.
[0084] Assuming that the relationship between the compensation parameters for compensating the filter coefficients and the order signals of the reference signals is maintained in the form of a table, in some examples, first, the engine speed and the noise reduction microphone signal under the acceleration working condition and the constant speed working condition are collected; then the values in the real vehicle microphone order slice under the corresponding frequency and speed are extracted; then, the simulation model program is applied offline to automatically iterate to obtain the optimal step factor; then, according to the corresponding optimal step factor, the simulation model is applied under acceleration to adjust the leakage factor, and two two-dimensional tables can be obtained, which are the step factor: (order index) - order frequency - the gain value corresponding to the optimal step factor μ, and the leakage factor: order index - order frequency - the gain value corresponding to the optimal leakage factor leaky. Therefore, the compensation parameters for compensating the filter coefficients are determined.
[0085] In some embodiments, as shown in FIG. 9, the compensation parameters for compensating the amplitude of each microphone signal can be determined by the following steps:
[0086] Step 901, obtaining the noise reduction condition of the real vehicle.
[0087] Step 902, simulating according to the noise reduction condition to obtain the compensation parameters for compensating the amplitude of each microphone signal corresponding to the reference signals of different orders.
[0088] Among them, the noise reduction condition includes at least one of the following conditions: the lowest noise reduction value of different seats, and the lowest noise reduction value under different working conditions.
[0089] Assuming that the relationship between the compensation parameters for compensating the amplitude of each microphone signal and the order signals of the reference signals is maintained in the form of a table, in some examples, first, the lowest noise reduction value of the whole vehicle at different seats is set, and the specific lowest noise reduction value under the acceleration working condition, different speeds and different working conditions is set; then, the noise reduction amount between different microphones is balanced by loading the simulation program and the target, for example, the microphone at position 1 shows that the noise reduction amount under the current working condition meets the requirement and has redundancy, but the noise reduction amount at the position of microphone 2 is insufficient, and the weight of different microphones is automatically adjusted to balance the noise reduction amount at different points, so that the corresponding three-dimensional microphone balancing table: order index - order frequency - microphone index - microphone balancing factor value can be obtained. That is, the compensation parameters for compensating the amplitude of each microphone signal are determined.
[0090] Of course, it can also be understood that the above process is mainly from the real vehicle, and therefore, in order to further guarantee the accuracy of the compensation parameter set, the simulation experiment can also be used for verification and adjustment. That is, in some embodiments, after determining at least one set of compensation parameters through one or more of the above embodiments or examples, the noise reduction method further simulates according to the currently obtained compensation parameters and the preset noise reduction target to adjust the compensation parameters until the simulation stop condition is met. The simulation stop condition includes: reaching the noise reduction target, or reaching the preset adjustment times. In this way, the accuracy and reliability of the obtained compensation parameter set are guaranteed through real vehicle testing and simulation experiment, thereby improving the effect of noise reduction.
[0091] In some cases, the noise reduction target can be a specific target noise reduction value, a position difference, stability, etc. In particular, in some examples, after simulation verification, real vehicle testing can be further continued to fine-tune the parameters to obtain a final version.
[0092] The step division of the above various methods is only for the purpose of clear description, and in implementation, one step can be combined or some steps can be split and decomposed into multiple steps, as long as the same logical relationship is included, and all are within the protection scope of the present application. Irrelevant modifications or irrelevant designs are added to the algorithm or flow, but the core design of the algorithm and flow is not changed, and all are within the protection scope of the present application.
[0093] Another aspect of the embodiment of the present application also provides an electronic device, as shown in FIG. 10, comprising: at least one processor 1001; and a memory 1002 in communication connection with the at least one processor 1001; wherein the memory 1002 stores instructions executable by the at least one processor 1001, and the instructions are executed by the at least one processor 1001 to enable the at least one processor 1001 to perform the noise reduction method described in any of the above method embodiments.
[0094] The memory 1002 and the processor 1001 are connected in a bus manner, the bus can include any number of interconnected buses and bridges, and the bus connects one or more processors 1001 and various circuits of the memory 1002 together. The bus can also connect various other circuits such as peripheral devices, voltage stabilizers, and power management circuits together, which are well known in the art, and therefore, they will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements such as multiple receivers and transmitters, which provide a unit for communicating with various other devices on the transmission medium. The data processed by the processor 1001 is transmitted on the wireless medium through the antenna, and further, the antenna also receives data and transmits the data to the processor 1001.
[0095] The processor 1001 is responsible for managing the bus and general processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 1002 can be used to store data used by the processor 1001 when executing operations.
[0096] In another aspect, the present application also provides a computer readable storage medium storing a computer program. The computer program is executed by a processor to implement the method embodiments.
[0097] That is, a person skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by a program instructing related hardware, the program is stored in a storage medium, and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0098] A person skilled in the art can understand that the above-mentioned embodiments are specific embodiments for implementing the present application, and in actual applications, various changes can be made in form and details without departing from the spirit and scope of the present application.
Claims
1. A noise reduction method, comprising: Based on the current engine speed, the optimal compensation parameters are determined from a preset set of compensation parameters, which include parameters for compensating for at least one of the following: reference signal, filter coefficients, speaker signal, and microphone signal; Based on the determined compensation parameters, a cancellation signal is generated, which is used to cancel the current engine noise.
2. The noise reduction method according to claim 1, wherein, Before determining the optimal compensation parameters from a preset set of compensation parameters based on the current engine speed, the method further includes: The engine speed and microphone signal of the actual vehicle under different operating conditions are acquired. The engine speed is collected by a speed sensor deployed on the engine, and the microphone signal is the signal collected by the microphone deployed on the actual vehicle. Based on the engine speed and the microphone signal, order slices corresponding to the reference signals of different orders are generated; Based on the order slices corresponding to the reference signals of different orders, the compensation parameters for compensating the amplitude of the reference signals corresponding to the reference signals of different orders are determined.
3. The noise reduction method according to claim 1, wherein, Before determining the optimal compensation parameters from a preset set of compensation parameters based on the current engine speed, the method further includes: Acquire the impulse response between each speaker and each microphone; Based on the impulse response between each speaker and each microphone, the amplitude response between each speaker and each microphone is generated; Based on the amplitude response between each speaker and each microphone, compensation parameters for compensating the amplitude of each speaker signal are determined for reference signals of different orders.
4. The noise reduction method according to claim 3, wherein, The step of determining the compensation parameters for compensating the amplitude of each speaker signal based on the amplitude response between each speaker and each microphone, using reference signals of different orders, includes: Set the amplitude response coefficient of each speaker and each microphone in the interval outside the target frequency range to 1 to obtain the effective amplitude response between each speaker and each microphone. The target frequency range is the operating frequency range of the engine. Based on the effective amplitude response between each speaker and each microphone, compensation parameters for compensating the amplitude of each speaker signal are determined for the reference signals of different orders.
5. The noise reduction method according to claim 1, wherein, Before determining the optimal compensation parameters from a preset set of compensation parameters based on the current engine speed, the method further includes: Acquire microphone signals from the actual vehicle under different operating conditions; Based on the microphone signal, determine the order slices corresponding to the reference signals of different orders; Simulations are performed based on order slices corresponding to the reference signals of different orders to obtain the optimal step size factor and optimal leakage factor corresponding to the reference signals of different orders. The optimal step size factor and the optimal leakage factor are the compensation parameters used to compensate the filter coefficients.
6. The noise reduction method according to claim 1, wherein, Before determining the optimal compensation parameters from a preset set of compensation parameters based on the current engine speed, the method further includes: Obtain the noise reduction conditions of the actual vehicle, and the noise reduction conditions include at least one of the following conditions: the minimum noise reduction value of different seats, and the minimum noise reduction value under different working conditions; Simulations were performed based on the noise reduction conditions to obtain compensation parameters for compensating the amplitude of each microphone signal corresponding to the reference signals of different orders.
7. The noise reduction method according to any one of claims 2 to 6, wherein, Before determining the optimal compensation parameters from a preset set of compensation parameters based on the current engine speed, the method further includes: The simulation is performed based on the currently obtained compensation parameters and the preset noise reduction target to adjust the compensation parameters until the simulation stop condition is met. The simulation stop condition includes: reaching the noise reduction target, or reaching a preset number of adjustments.
8. The noise reduction method according to any one of claims 1 to 6, wherein, The step of generating a cancellation signal based on the determined compensation parameters includes: The reference signal and microphone signal are compensated according to the compensation parameters; The current filter coefficients are generated based on the compensated reference signal, the compensated microphone signal, and the estimated secondary path. The generated filter coefficients are compensated according to the compensation parameters; An initial cancellation signal is generated based on the reference signal and the compensated filter coefficients; The initial cancellation signal is compensated according to the compensation parameters to obtain the cancellation signal.
9. An electronic device, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the noise reduction method as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program that, when executed by a processor, implements the noise reduction method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Active noise control method and device, equipment and storage medium
CN116052629A
Active noise reduction method and system for automobile engine, automobile and storable medium
CN118038845A
Active noise control by adaptive noise filtering
US20170178617A1
Vehicle internal noise reduction system
US5493616A