WO2024016609A1 - Active noise reduction method and system, and related apparatus - Google Patents

Active noise reduction method and system, and related apparatus Download PDF

Info

Publication number
WO2024016609A1
WO2024016609A1 PCT/CN2022/144168 CN2022144168W WO2024016609A1 WO 2024016609 A1 WO2024016609 A1 WO 2024016609A1 CN 2022144168 W CN2022144168 W CN 2022144168W WO 2024016609 A1 WO2024016609 A1 WO 2024016609A1
Authority
WO
WIPO (PCT)
Prior art keywords
microphone
audio signal
signal
noise
noise reduction
Prior art date
Application number
PCT/CN2022/144168
Other languages
French (fr)
Chinese (zh)
Inventor
李龙晨
许震洪
陶然
马桂林
雷琴辉
刘俊峰
Original Assignee
科大讯飞(苏州)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 科大讯飞(苏州)科技有限公司 filed Critical 科大讯飞(苏州)科技有限公司
Publication of WO2024016609A1 publication Critical patent/WO2024016609A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Definitions

  • the present application relates to the technical field of active noise control, and in particular to an active noise reduction method, system and related devices.
  • the working principle is to use the noise reduction system to generate sound waves with equal amplitude and opposite phase to the external noise sound waves, thereby neutralizing the external noise and achieving the noise reduction effect.
  • the noise inside the car is often the superposition of two types of sounds, one is engine noise, road noise, wind noise, etc. that need to be removed, and the other is music, sound effects, etc. that need to be retained.
  • Existing in-car active noise reduction technology cannot distinguish the types of sounds in the car. During the noise reduction process, other sounds other than noise will be offset and attenuated, thus affecting the experience of drivers or passengers in the car.
  • the main technical problem solved by this application is to provide an active noise reduction method, system and related devices, which can improve the noise reduction effect and save noise reduction costs.
  • the active noise reduction method is applied to an environment to be noise reduced.
  • the environment to be noise reduced includes multiple speakers and at least one speaker.
  • the active noise reduction method includes: for each microphone in the at least one microphone, obtaining a first set of speakers corresponding to the microphone, the first set of speakers including at least part of the plurality of speakers Speaker, the transmission error between at least part of the speaker and the microphone is not greater than a threshold; obtain the current audio signal and mixed audio signal collected by the microphone; wherein the current audio signal is the audio signal received by the microphone All audio signals, the mixed audio signal is formed by transferring the original audio signal emitted by each speaker in the first speaker set to the microphone; an error audio signal is obtained based on the current audio signal of the microphone and the mixed audio signal; A noise-reduced audio signal is obtained based on the error audio signal.
  • an active noise reduction system including: a first acquisition module, for each microphone in at least one microphone, to acquire the noise corresponding to the microphone.
  • a first speaker set the first speaker set includes at least some speakers among the plurality of speakers, and the transmission error between at least some speakers and the microphone is not greater than a threshold;
  • a second acquisition module is used to obtain the The current audio signal and the mixed audio signal collected by the microphone; wherein the current audio signal is all the audio signals received by the microphone, and the mixed audio signal is the original audio signal emitted by each speaker in the first speaker set.
  • the audio signal is transmitted to the microphone; a third obtaining module is used to obtain an error audio signal based on the current audio signal of each microphone and the mixed audio signal; a fourth obtaining module is used to obtain an error audio signal based on the error audio signal Obtain a noise-reduced audio signal.
  • another technical solution adopted by this application is to provide an electronic device, including a memory and a processor coupled to each other, the memory stores program instructions, and the processor is used to execute the program. instructions to implement the active noise reduction method mentioned in the above technical solution.
  • another technical solution adopted by this application is to provide a storage device that stores program instructions that can be run by a processor.
  • the program instructions are used to implement the active noise reduction mentioned in the above technical solution. method.
  • another technical solution adopted by this application is to provide a vehicle including a plurality of speakers and at least one microphone, and the plurality of speakers and at least one microphone cooperate with each other to achieve the above mentioned technical solutions. Active noise reduction method.
  • the beneficial effects of this application are: different from the existing technology, the active noise reduction method proposed in this application can effectively retain the effective sounds in the vehicle while reducing the noise in the vehicle.
  • the noise reduction process can be effectively simplified and the efficiency of active noise reduction in the car can be improved.
  • Figure 1 is a schematic flow chart of an embodiment of the active noise reduction method of the present application
  • FIG. 2 is a schematic flowchart corresponding to step S101 in an embodiment
  • Figure 3 is a schematic structural diagram of an embodiment of the active noise reduction system of the present application.
  • Figure 4 is a schematic structural diagram of an embodiment of the electronic device of the present application.
  • FIG. 5 is a schematic structural diagram of an embodiment of the storage device proposed in this application.
  • Figure 1 is a schematic flowchart of an embodiment of the active noise reduction method of the present application.
  • the active noise reduction method is applied to an environment to be noise reduced.
  • the environment to be noise reduced includes multiple speakers and at least one microphone.
  • the environment to be noise-reduced may include vehicles or indoor environments.
  • the active noise reduction method includes:
  • S101 For each microphone in at least one microphone, obtain a first speaker set corresponding to the microphone.
  • the first speaker set includes at least some speakers among the plurality of speakers, and the transmission error between at least some speakers and the microphone is not greater than a threshold.
  • Figure 2 is a schematic flowchart corresponding to step S101 in an implementation manner.
  • the specific implementation process includes:
  • step S201 includes: in response to the vehicle being in a stationary state, that is, there is no engine noise, road noise, wind noise and other noises in the vehicle, and when all the speakers in the vehicle respectively emit the first noise signal, obtain each signal in the vehicle.
  • the second noise signal collected by the microphone.
  • a white noise signal of a predetermined frequency is set, and the white noise signal is subjected to low-pass filtering processing to obtain the first noise signal.
  • the signal frequency of the first noise signal is lower than the preset cutoff frequency.
  • the preset cutoff frequency is 500 Hz.
  • the preset cutoff frequency can also be set according to actual conditions.
  • the first noise signal is sent to all speakers in the car, and the first noise signal is emitted by one speaker at a time; at this time, for the speaker currently emitting the first noise signal, each microphone collects the first noise signal as the second noise signal. Since there are multiple microphones and multiple speakers in the car, each microphone collects a second noise signal for each speaker.
  • a transmission error between each speaker and each microphone is obtained based on the first noise signal and the second noise signal.
  • the transfer function between each speaker and each microphone is first obtained. Among them, obtaining the transfer function between the speaker and the microphone can be achieved through existing technology, and will not be elaborated here. Further, a convolution operation is performed on the above-mentioned transfer function and the first noise signal emitted by the speaker corresponding to the transfer function to obtain the third noise signal. After obtaining the third noise signal, a fourth noise signal is obtained according to the corresponding second noise signal and the third noise signal collected by the microphone corresponding to the above transfer function. The fourth noise signal is the part of the second noise signal that does not include the third noise signal. Finally, the ratio of the fourth noise signal to the second noise signal is used as the transmission error. Calculating the transmission error between each speaker and each microphone helps to screen out speaker and microphone combinations with greater low-frequency effects.
  • the step of obtaining the transmission error between the k-th speaker and the i-th microphone includes: controlling the k-th speaker to emit a first noise signal, and obtaining the second noise signal collected by the i-th microphone at this time.
  • the part of the second noise signal that does not include the third noise signal is taken as the fourth noise signal, and the ratio of the fourth noise signal to the second noise signal is taken as the transmission error between the k-th speaker and the i-th microphone.
  • the formula for calculating the transmission error ErrorH ik between the k-th loudspeaker and the i-th microphone at time n is as follows:
  • i is the number of microphones in the car
  • k is the number of speakers in the car
  • MicWhiteNosie i (n) represents the second noise signal collected by the i-th microphone
  • H ik (n) represents the k-th speaker corresponding to the The transfer function of i microphones
  • FilterWhiteNosie(n) represents the first noise signal
  • S202 Obtain a first speaker set based on filtering of all transmission errors related to the microphone.
  • step S202 includes: for each microphone, filtering and obtaining the first speaker set based on all transmission errors related to the microphone.
  • the transmission error of all speakers in the first speaker set relative to the current microphone is not greater than the threshold, that is, the speakers corresponding to the transmission error less than or equal to the threshold are regarded as the first speaker set; and, the greater the transmission error, the loudspeakers related to the transmission error The smaller the low-frequency impact on the corresponding microphone.
  • the value range of the above threshold value is between 0 and 1, and the specific value can be determined according to actual needs. Comparing the transmission error with the threshold helps to screen out the speakers that have a greater impact on the low frequency of the corresponding microphone, which can subsequently reduce the computational load of the DSP (Digital Signal Processing) chip and improve the efficiency of active noise reduction.
  • DSP Digital Signal Processing
  • the current audio signal is all the audio signals received by the microphone, and the mixed audio signal is formed by transmitting the original audio signals from each speaker in the first speaker set to the microphone.
  • step S102 includes: obtaining the current audio signal collected by each microphone, where the current audio signal includes all sound signals in the environment to be noise-reduced that can be collected by the current microphone. That is, in this embodiment, the current audio signal is all the sound signals in the car obtained by direct reception of the microphone.
  • the original audio signal emitted by each speaker in the first speaker set corresponding to each microphone is obtained and the mixed audio signal transmitted to the corresponding microphone is obtained.
  • the specific process includes: first obtaining a first transfer function set between each speaker and the corresponding microphone in the first speaker set corresponding to each microphone. Among them, obtaining the transfer function can be achieved through existing technology, and will not be elaborated here. Further, for each microphone, perform a convolution operation on the transfer function in the first transfer function set corresponding to the microphone and the original audio signal emitted by the corresponding speaker, and superimpose all the convolved results to obtain the audio signal collected by each microphone.
  • the corresponding mixed audio signal that is, in this embodiment, the current audio signal is directly collected by the microphone, and the mixed audio signal is obtained by calculation and processing based on the transfer function and the corresponding original audio signal.
  • the original audio signal emitted by the speaker includes a tuned audio signal obtained through an external device or network.
  • the original audio signal is an audio signal obtained through a mobile phone or other device that does not require active noise reduction processing; or, the original audio signal
  • the signal can also be music or other audio played by the user through the car networking function.
  • the formula for calculating the mixed audio signal MicSound i (n) at the i-th microphone at time n is as follows:
  • H ij (n) represents the transfer function between the j-th loudspeaker and the i-th microphone
  • SpkSound j (n) represents the original audio signal emitted by the j-th speaker
  • J is the total number of speakers in the first speaker set.
  • the current audio signal can be obtained first and then the mixed audio signal can be obtained, or the mixed audio signal can be obtained first and then the current audio signal can be obtained.
  • S103 Obtain an error audio signal based on the current audio signal of the microphone and the mixed audio signal.
  • step S103 includes: According to the above step S102, it can be known that the current audio signal of each microphone includes all sounds that can be collected in the car. Combined with the calculation method of the error audio signal in the feedforward FxLMS adaptive algorithm, the error audio signal can be obtained based on the current audio signal of each microphone and the mixed audio signal; that is, for each microphone, the current audio signal collected by the microphone does not include The part corresponding to the mixed audio signal is used as an error audio signal to help retain the sounds in the car that do not require noise reduction during the subsequent noise reduction process and further optimize the noise reduction effect.
  • the formula for calculating the error audio signal Error i (n) of the i-th microphone is as follows:
  • MicSum i (n) represents the current audio signal collected by the i-th microphone.
  • step S104 includes: after obtaining the error audio signal Error i (n) of each microphone, obtaining a target error audio signal based on the error audio signals corresponding to all microphones.
  • the target noise reduction signal corresponding to the environment to be noise reduction ie, inside the vehicle is determined based on the target error audio signal.
  • the target noise reduction signal includes a noise reduction wave with equal amplitude and opposite phase to the noise sound wave.
  • noise reduction audio signal is sent to the noise reduction module, so that the noise reduction module emits noise reduction waves to achieve active noise reduction.
  • the number and installation positions of noise reduction modules can be set according to actual conditions to achieve better noise reduction effects.
  • the noise reduction module may be a noise reduction speaker with a noise reduction function among the multiple speakers in the car, and sends the target noise reduction signal to at least some of the noise reduction speakers, so that at least some of the noise reduction speakers send out the target noise reduction signal.
  • the noise reduction speaker can be specially used for noise reduction, that is, it can only be used to send out the target noise reduction signal to reduce the noise in the car; or the noise reduction speaker can also be used to play the target noise reduction signal and the original audio signal at the same time.
  • the noise reduction speakers in the car are generally installed at the doors and trunk.
  • the active noise reduction method proposed in this application can effectively retain the effective sounds in the car while reducing the noise in the car.
  • the noise reduction process can be effectively simplified and the efficiency of active noise reduction in the car can be improved.
  • the current audio signal collected by the microphone in the car also includes the noise reduction audio signal sent by the noise reduction module. Therefore, in step S102, the i-th microphone in the car collects
  • the current audio signal MicSum i (n) obtained can be calculated by the following formula:
  • MicSum i (n) MicNoise i (n)+MicSound i (n)+MicAntuNoise i (n)
  • MicNoise i (n) represents the noise in the car collected by the i-th microphone
  • MicSound i (n) represents the mixed audio signal collected by the i-th microphone
  • MicAntiNoise i (n) represents the mixed audio signal collected by the i-th microphone. noise reduction audio signal.
  • the error audio signal Error i (n) after removing the mixed audio signal in step S103 can be obtained to help actively reduce the noise in the car. During the noise reduction process, some sounds that do not require noise reduction are retained.
  • some speakers and noise reduction modules in the car can emit noise reduction audio signals to achieve active noise reduction in the car.
  • the speakers in the car can be divided into first type speakers and second type speakers.
  • the first type of speakers can be used to emit original audio signals that have been tuned and processed
  • the second type of speakers can be used to emit the original audio signals and noise-reduced audio signals that have been tuned.
  • the noise reduction audio signal is sent to the second type speaker and/or noise reduction module, and the second type speaker and/or noise reduction module emits the noise reduction wave to achieve active noise reduction in the car. .
  • the MicSound i (n) formula for calculating the mixed audio signal at the i-th microphone at time n in step S102 is as follows:
  • P is the total number of first-type loudspeakers in the first loudspeaker set
  • Q is the total number of second-type loudspeakers in the first loudspeaker set
  • H ip represents the transfer function between the p-th first-type loudspeaker and the i-th microphone.
  • H iq represents the transfer function between the q-th second-class speaker and the i-th microphone
  • SpkSound p (n) represents the original audio signal emitted by the p-th first-class speaker
  • SpkSound q (n) represents the q-th second The original audio signal emitted by the speaker.
  • the calculation formula of the i-th microphone error audio signal Error i (n) is The formula of the error audio signal Error i (n) of i microphones is as follows:
  • FIG. 3 is a schematic structural diagram of an embodiment of the active noise reduction system of the present application.
  • the active noise reduction system proposed in this application includes: a first acquisition module 10 , a second acquisition module 20 , a third acquisition module 30 and a fourth acquisition module 40 .
  • the first obtaining module 10 is used to obtain, for each microphone in the at least one microphone, a first set of speakers corresponding to the microphone.
  • the first set of speakers includes at least some of the speakers among the plurality of speakers, and at least some of the speakers are connected to the microphone.
  • the transmission error is not greater than the threshold.
  • obtaining the first speaker set corresponding to the microphone includes: in response to the vehicle being in a stationary state and all speakers in the vehicle respectively emitting the first noise signal, obtaining the second noise signal collected by any microphone in the vehicle; based on The first noise signal and the second noise signal obtain the transmission error between each speaker and each microphone; for each microphone, the first speaker set is obtained based on all transmission errors related to the microphone; where, in the first speaker set The transmission error of all speakers relative to the current microphone is not greater than the threshold.
  • the signal frequency of the first noise signal is lower than the preset cutoff frequency.
  • obtaining the second noise signal collected by any microphone in the vehicle includes: sending the first noise signal to all speakers in the vehicle, and transmitting the first noise signal to each speaker one at a time.
  • a first noise signal is emitted; for the speaker currently emitting the first noise signal, the first noise signal collected by each microphone is used as the corresponding second noise signal.
  • obtaining the transfer error between each speaker and each microphone based on the first noise signal and the second noise signal includes: obtaining the transfer function between each speaker and each microphone; comparing the transfer function with the signal emitted by the corresponding speaker The first noise signal is subjected to a convolution operation to obtain the third noise signal; the fourth noise signal is obtained according to the corresponding second noise signal and the third noise signal collected by the corresponding microphone according to the transfer function; where the fourth noise signal is the second noise signal does not include the part of the third noise signal; the ratio of the fourth noise signal to the second noise signal is regarded as the transmission error.
  • the second obtaining module 20 is used to obtain the current audio signal and the mixed audio signal collected by the microphone; wherein the current audio signal is all the audio signals received by the microphone, and the mixed audio signal is the first speaker The original audio signal emitted by each loudspeaker in the set is passed to the microphone.
  • the step of obtaining the mixed audio signal collected by the microphone includes: obtaining a first transfer function set between each speaker and the corresponding microphone in the first set of speakers corresponding to each microphone; for each microphone, obtaining the first transfer function set corresponding to the microphone.
  • the transfer function in the function set is convolved with the original audio signal emitted by the corresponding speaker, and all the convolved results are superimposed to obtain the mixed audio signal corresponding to each microphone.
  • the original audio signal emitted by the speaker is an audio signal obtained through an external device or network.
  • the third obtaining module 30 is used to obtain an error audio signal based on the current audio signal of the microphone and the mixed audio signal. Specifically, for each microphone, the part of the current audio signal collected by the microphone that does not include the corresponding mixed audio signal is used as the error audio signal. Among them, the current audio signal includes all sounds that can be collected in the environment to be noise-reduced.
  • the fourth obtaining module 40 is used to obtain a noise-reduction audio signal based on the error audio signal. Specifically, based on the error audio signal corresponding to each microphone, the target error audio signal is obtained; based on the target error audio signal, the target noise reduction signal corresponding to the environment to be denoised is determined.
  • the step includes: sending the target noise reduction signal to at least some of the noise reduction speakers among the plurality of speakers, so that at least some of the noise reduction speakers emit the target noise reduction signal.
  • Figure 4 is a schematic structural diagram of an embodiment of an electronic device of the present application.
  • the electronic device includes a memory 50 and a processor 60 coupled to each other.
  • Program instructions are stored in the memory 50, and the processor 60 is used to execute the program instructions.
  • electronic devices include but are not limited to: desktop computers, laptop computers, tablet computers, servers, etc., which are not limited here.
  • the processor 60 may also be called a CPU (Center Processing Unit).
  • the processor 60 may be an integrated circuit chip with signal processing capabilities.
  • the processor 60 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA), or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the processor 60 may be implemented by an integrated circuit chip.
  • Figure 5 is a schematic structural diagram of an embodiment of a storage device proposed in this application.
  • the storage device 70 stores program instructions 80 that can be run by a processor.
  • the program instructions 80 are used to implement any of the above embodiments. Active noise reduction method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

Disclosed in the present application are an active noise reduction method and system, and a related apparatus. The method is applied in an environment to be subjected to noise reduction, and said environment includes a plurality of loudspeakers and at least one microphone. The method comprises: for each of at least one microphone, acquiring a first loudspeaker set corresponding to the microphone, wherein the first loudspeaker set includes at least some loudspeakers, and a transmission error between the at least some loudspeakers and the microphone is not greater than a threshold value; obtaining the current audio signals and a mixed audio signal, which are collected by the microphone, wherein the current audio signals are all audio signals that are received by the microphone, and the mixed audio signal is formed by means of original audio signals, which are sent by the loudspeakers in the first loudspeaker set and are transmitted to the microphone; obtaining an error audio signal on the basis of the current audio signals and the mixed audio signal of the microphone; and obtaining a noise reduction audio signal on the basis of the error audio signal. By means of the method in the present application, a noise reduction effect can be improved, and the noise reduction cost can be reduced.

Description

一种主动降噪方法、系统及相关装置An active noise reduction method, system and related devices
本申请要求于2022年07月20日提交的申请号为2022108548748,发明名称为“一种主动降噪方法、系统及相关装置”的中国专利申请的优先权,其通过引用方式全部并入本申请。This application claims the priority of the Chinese patent application with application number 2022108548748 submitted on July 20, 2022, and the invention title is "An active noise reduction method, system and related devices", which is fully incorporated into this application by reference. .
技术领域Technical field
本申请涉及主动噪声控制技术领域,特别是涉及一种主动降噪方法、系统及相关装置。The present application relates to the technical field of active noise control, and in particular to an active noise reduction method, system and related devices.
背景技术Background technique
随着汽车噪声控制领域的技术不断发展,越来越多的量产车型搭载了针对车内噪声的主动降噪技术。其中,工作原理是通过降噪系统产生与外界噪声声波幅值相等、相位相反声波,从而将外界噪声中和,实现降噪的效果。As technology in the field of automotive noise control continues to develop, more and more mass-produced models are equipped with active noise reduction technology for interior noise. Among them, the working principle is to use the noise reduction system to generate sound waves with equal amplitude and opposite phase to the external noise sound waves, thereby neutralizing the external noise and achieving the noise reduction effect.
然而,车内噪声往往是两种声音类型的叠加,一种为发动机噪声、路噪、风噪等需要去除的噪声,一种为音乐、音效声等需要保留的声音。现有的车内主动降噪技术无法区分车内的声音类型,在降噪过程中会抵消和衰减噪声之外的其他声音,从而影响车内驾驶人员或乘客的体验感。However, the noise inside the car is often the superposition of two types of sounds, one is engine noise, road noise, wind noise, etc. that need to be removed, and the other is music, sound effects, etc. that need to be retained. Existing in-car active noise reduction technology cannot distinguish the types of sounds in the car. During the noise reduction process, other sounds other than noise will be offset and attenuated, thus affecting the experience of drivers or passengers in the car.
发明内容Contents of the invention
本申请主要解决的技术问题是提供一种主动降噪方法、系统及相关装置,能够改善降噪效果,并节省降噪成本。The main technical problem solved by this application is to provide an active noise reduction method, system and related devices, which can improve the noise reduction effect and save noise reduction costs.
为解决上述技术问题,本申请采用的一个技术方案是:提供一种主动降噪方法,所述主动降噪方法应用于待降噪环境,所述待降噪环境中包含多个扬声器和至少一个麦克风,所述主动降噪方法包括:针对所述至少一个麦克风中的每个麦克风,获取与所述麦克风对应的第一扬声器集合,所述第一扬声器集合包含所述多个扬声器中的至少部分扬声器,所述至少部分扬声器与所述麦克风之间的传递误差不大于阈值;获得所述麦克风所采集到的当前音频信号和混合音频信号;其中,所述当前音频信号为所述麦克风接收到的所有音频信号,所述混合音频信号为所述第一扬声器集合中各个扬声器发出的原始音频信号传递至所述麦克风处形成的;基于所述麦克风的当前音频信号以及混合音频信号获 得误差音频信号;基于所述误差音频信号获得降噪音频信号。In order to solve the above technical problems, one technical solution adopted by this application is to provide an active noise reduction method. The active noise reduction method is applied to an environment to be noise reduced. The environment to be noise reduced includes multiple speakers and at least one speaker. Microphone, the active noise reduction method includes: for each microphone in the at least one microphone, obtaining a first set of speakers corresponding to the microphone, the first set of speakers including at least part of the plurality of speakers Speaker, the transmission error between at least part of the speaker and the microphone is not greater than a threshold; obtain the current audio signal and mixed audio signal collected by the microphone; wherein the current audio signal is the audio signal received by the microphone All audio signals, the mixed audio signal is formed by transferring the original audio signal emitted by each speaker in the first speaker set to the microphone; an error audio signal is obtained based on the current audio signal of the microphone and the mixed audio signal; A noise-reduced audio signal is obtained based on the error audio signal.
为解决上述技术问题,本申请采用的另一个技术方案是:提供一种主动降噪系统,包括:第一获得模块,用于针对至少一个麦克风中的每个麦克风,获取与所述麦克风对应的第一扬声器集合,所述第一扬声器集合包含所述多个扬声器中的至少部分扬声器,所述至少部分扬声器与所述麦克风之间的传递误差不大于阈值;第二获得模块,用于获得所述麦克风所采集到的当前音频信号和混合音频信号;其中,所述当前音频信号为所述麦克风接收到的所有音频信号,所述混合音频信号为所述第一扬声器集合中各个扬声器发出的原始音频信号传递至所述麦克风处形成的;第三获得模块,用于基于每个所述麦克风的当前音频信号以及混合音频信号获得误差音频信号;第四获得模块,用于基于所述误差音频信号获得降噪音频信号。In order to solve the above technical problem, another technical solution adopted by this application is to provide an active noise reduction system, including: a first acquisition module, for each microphone in at least one microphone, to acquire the noise corresponding to the microphone. A first speaker set, the first speaker set includes at least some speakers among the plurality of speakers, and the transmission error between at least some speakers and the microphone is not greater than a threshold; a second acquisition module is used to obtain the The current audio signal and the mixed audio signal collected by the microphone; wherein the current audio signal is all the audio signals received by the microphone, and the mixed audio signal is the original audio signal emitted by each speaker in the first speaker set. The audio signal is transmitted to the microphone; a third obtaining module is used to obtain an error audio signal based on the current audio signal of each microphone and the mixed audio signal; a fourth obtaining module is used to obtain an error audio signal based on the error audio signal Obtain a noise-reduced audio signal.
为解决上述技术问题,本申请采用的又一个技术方案是:提供一种电子设备,包括相互耦接的存储器和处理器,所述存储器中存储有程序指令,所述处理器用于执行所述程序指令以实现上述技术方案中提到的的主动降噪方法。In order to solve the above technical problems, another technical solution adopted by this application is to provide an electronic device, including a memory and a processor coupled to each other, the memory stores program instructions, and the processor is used to execute the program. instructions to implement the active noise reduction method mentioned in the above technical solution.
为解决上述技术问题,本申请采用的又一个技术方案是:提供一种存储装置,存储有能够被处理器运行的程序指令,所述程序指令用于实现上述技术方案中提到的主动降噪方法。In order to solve the above technical problems, another technical solution adopted by this application is to provide a storage device that stores program instructions that can be run by a processor. The program instructions are used to implement the active noise reduction mentioned in the above technical solution. method.
为解决上述技术问题,本申请采用的又一个技术方案是:提供一种车辆,包括多个扬声器和至少一个麦克风,多个扬声器和至少一个麦克风之间相互配合以实现上述技术方案中提到的主动降噪方法。In order to solve the above technical problems, another technical solution adopted by this application is to provide a vehicle including a plurality of speakers and at least one microphone, and the plurality of speakers and at least one microphone cooperate with each other to achieve the above mentioned technical solutions. Active noise reduction method.
本申请的有益效果是:区别于现有技术的情况,本申请提出的主动降噪方法在对车内噪声进行降噪的同时可以有效保留车内的有效声音。另外,通过对车内扬声器与麦克风的组合进行筛选以获得需要进行音频补偿的扬声器与麦克风组合,可以有效简化降噪过程,并提高车内主动降噪的效率。The beneficial effects of this application are: different from the existing technology, the active noise reduction method proposed in this application can effectively retain the effective sounds in the vehicle while reducing the noise in the vehicle. In addition, by screening the speaker and microphone combinations in the car to obtain the speaker and microphone combinations that require audio compensation, the noise reduction process can be effectively simplified and the efficiency of active noise reduction in the car can be improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,其中:In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts, among which:
图1是本申请主动降噪方法一实施方式的流程示意图;Figure 1 is a schematic flow chart of an embodiment of the active noise reduction method of the present application;
图2是步骤S101对应一实施方式的流程示意图;Figure 2 is a schematic flowchart corresponding to step S101 in an embodiment;
图3是本申请主动降噪系统一实施方式的结构示意图;Figure 3 is a schematic structural diagram of an embodiment of the active noise reduction system of the present application;
图4是本申请电子设备一实施方式的结构示意图;Figure 4 is a schematic structural diagram of an embodiment of the electronic device of the present application;
图5是本申请提出的存储装置一实施方式的结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of the storage device proposed in this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,均属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
请参阅图1,图1是本申请主动降噪方法一实施方式的流程示意图,该主动降噪方法应用于待降噪环境,该待降噪环境中包含多个扬声器和至少一个麦克风。其中,上述待降噪环境可以包括车辆或室内环境等。在本实施方式中,当待降噪环境为车辆时,该主动降噪方法包括:Please refer to Figure 1. Figure 1 is a schematic flowchart of an embodiment of the active noise reduction method of the present application. The active noise reduction method is applied to an environment to be noise reduced. The environment to be noise reduced includes multiple speakers and at least one microphone. The environment to be noise-reduced may include vehicles or indoor environments. In this implementation, when the environment to be noise reduced is a vehicle, the active noise reduction method includes:
S101:针对至少一个麦克风中的每个麦克风,获取与麦克风对应的第一扬声器集合,第一扬声器集合包含多个扬声器中的至少部分扬声器,至少部分扬声器与麦克风之间的传递误差不大于阈值。S101: For each microphone in at least one microphone, obtain a first speaker set corresponding to the microphone. The first speaker set includes at least some speakers among the plurality of speakers, and the transmission error between at least some speakers and the microphone is not greater than a threshold.
具体地,请参阅图2,图2为步骤S101对应一实施方式的流程示意图,具体实施过程包括:Specifically, please refer to Figure 2. Figure 2 is a schematic flowchart corresponding to step S101 in an implementation manner. The specific implementation process includes:
S201:获得车内每个扬声器与每个麦克风之间的传递误差。S201: Obtain the transmission error between each speaker and each microphone in the car.
具体地,步骤S201的实施过程包括:响应于车辆处于静止状态,即车内无发动机噪声、路噪、风噪等噪声,使车辆中的所有扬声器分别发出第一噪声信号时,获得车辆中每个麦克风所采集到的第二噪声信号。具体地,在所有扬声器分别发出第一噪声信号之前,设置预定频率的白噪声信号,对该白噪声信号进行低通滤波处理以获得第一噪声信号。其中,第一噪声信号的信号频率低于预设截止频率。在本实施方式中,预设截止频率为500Hz,当然在其他实施方式中,预设截止频率也可以根据实际情况而设置。进一步地,将第一噪声信号发送至车内的所有扬声器,并每次由一个扬声器发出第一噪声信号;此时,针对当前发出第一噪声信号的扬声器,将每个麦克风采集到第一噪声信号作为第二 噪声信号。基于车内设置有多个麦克风和多个扬声器,每个麦克风针对每个扬声器都会采集获得一个第二噪声信号。Specifically, the implementation process of step S201 includes: in response to the vehicle being in a stationary state, that is, there is no engine noise, road noise, wind noise and other noises in the vehicle, and when all the speakers in the vehicle respectively emit the first noise signal, obtain each signal in the vehicle. The second noise signal collected by the microphone. Specifically, before all the speakers respectively emit the first noise signal, a white noise signal of a predetermined frequency is set, and the white noise signal is subjected to low-pass filtering processing to obtain the first noise signal. Wherein, the signal frequency of the first noise signal is lower than the preset cutoff frequency. In this embodiment, the preset cutoff frequency is 500 Hz. Of course, in other embodiments, the preset cutoff frequency can also be set according to actual conditions. Further, the first noise signal is sent to all speakers in the car, and the first noise signal is emitted by one speaker at a time; at this time, for the speaker currently emitting the first noise signal, each microphone collects the first noise signal as the second noise signal. Since there are multiple microphones and multiple speakers in the car, each microphone collects a second noise signal for each speaker.
进一步地,基于第一噪声信号和第二噪声信号获得每个扬声器与每个麦克风之间的传递误差。具体地,首先获取每个扬声器与每个麦克风之间的传递函数。其中,获取扬声器与麦克风之间的传递函数可通过现有技术实现,在此不进行过多阐述。进一步地,将上述传递函数与该传递函数对应扬声器发出的第一噪声信号进行卷积运算以获得第三噪声信号。在获得第三噪声信号之后,根据上述传递函数对应的麦克风采集到的对应第二噪声信号和第三噪声信号获得第四噪声信号。其中,第四噪声信号为第二噪声信号中不包含第三噪声信号的部分。最终,将第四噪声信号与第二噪声信号的比值作为传递误差。通过计算每个扬声器与每个麦克风之间的传递误差有助于筛选出低频影响较大的扬声器与麦克风组合。Further, a transmission error between each speaker and each microphone is obtained based on the first noise signal and the second noise signal. Specifically, the transfer function between each speaker and each microphone is first obtained. Among them, obtaining the transfer function between the speaker and the microphone can be achieved through existing technology, and will not be elaborated here. Further, a convolution operation is performed on the above-mentioned transfer function and the first noise signal emitted by the speaker corresponding to the transfer function to obtain the third noise signal. After obtaining the third noise signal, a fourth noise signal is obtained according to the corresponding second noise signal and the third noise signal collected by the microphone corresponding to the above transfer function. The fourth noise signal is the part of the second noise signal that does not include the third noise signal. Finally, the ratio of the fourth noise signal to the second noise signal is used as the transmission error. Calculating the transmission error between each speaker and each microphone helps to screen out speaker and microphone combinations with greater low-frequency effects.
举例说明,获取第k个扬声器与第i个麦克风之间的传递误差的步骤包括:控制第k个扬声器发出第一噪声信号,并获取此时第i个麦克风采集到的第二噪声信号。获取第k个扬声器与第i个麦克风之间的传递函数,将该传递函数与第k个扬声器发出的第一噪声信号进行卷积以获得第三噪声信号。将第二噪声信号中不包含第三噪声信号的部分作为第四噪声信号,将第四噪声信号与第二噪声信号的比值作为第k个扬声器与第i个麦克风之间的传递误差。For example, the step of obtaining the transmission error between the k-th speaker and the i-th microphone includes: controlling the k-th speaker to emit a first noise signal, and obtaining the second noise signal collected by the i-th microphone at this time. Obtain the transfer function between the k-th speaker and the i-th microphone, and convolve the transfer function with the first noise signal emitted by the k-th speaker to obtain the third noise signal. The part of the second noise signal that does not include the third noise signal is taken as the fourth noise signal, and the ratio of the fourth noise signal to the second noise signal is taken as the transmission error between the k-th speaker and the i-th microphone.
在一实施方式中,计算n时刻第k个扬声器与第i个麦克风之间的传递误差ErrorH ik的公式如下: In one implementation, the formula for calculating the transmission error ErrorH ik between the k-th loudspeaker and the i-th microphone at time n is as follows:
Figure PCTCN2022144168-appb-000001
Figure PCTCN2022144168-appb-000001
上式中,i为车内麦克风的数量,k为车内扬声器的数量,MicWhiteNosie i(n)表示第i个麦克风采集到的第二噪声信号,H ik(n)表示第k个扬声器对应第i个麦克风的传递函数,
Figure PCTCN2022144168-appb-000002
表示卷积运算符号,FilterWhiteNosie(n)表示第一噪声信号,
Figure PCTCN2022144168-appb-000003
表示第三噪声信号。
In the above formula, i is the number of microphones in the car, k is the number of speakers in the car, MicWhiteNosie i (n) represents the second noise signal collected by the i-th microphone, H ik (n) represents the k-th speaker corresponding to the The transfer function of i microphones,
Figure PCTCN2022144168-appb-000002
Represents the convolution operation symbol, FilterWhiteNosie(n) represents the first noise signal,
Figure PCTCN2022144168-appb-000003
represents the third noise signal.
S202:基于与麦克风相关的所有传递误差筛选获得第一扬声器集合。S202: Obtain a first speaker set based on filtering of all transmission errors related to the microphone.
具体地,步骤S202的实施过程包括:针对每个麦克风,基于与麦克风相关的所有传递误差筛选获得第一扬声器集合。其中,第一扬声器集合中的所有扬声器相对当前麦克风的传递误差不大于阈值,即将小于或等于阈值的传递误差对应的扬声器作为第一扬声器集合;并且,传递误差越大,与传递误差相关的 扬声器对对应的麦克风的低频影响越小。在本实施方式中,上述阈值的取值范围在0到1之间,具体数值可以根据实际需求而定。通过将传递误差与阈值进行对比有助于筛选出对对应麦克风低频影响较大的扬声器,以助于后续降低DSP(Digital Signal Processing,数字信号处理)芯片的运算量,提高主动降噪的效率。Specifically, the implementation process of step S202 includes: for each microphone, filtering and obtaining the first speaker set based on all transmission errors related to the microphone. Among them, the transmission error of all speakers in the first speaker set relative to the current microphone is not greater than the threshold, that is, the speakers corresponding to the transmission error less than or equal to the threshold are regarded as the first speaker set; and, the greater the transmission error, the loudspeakers related to the transmission error The smaller the low-frequency impact on the corresponding microphone. In this implementation manner, the value range of the above threshold value is between 0 and 1, and the specific value can be determined according to actual needs. Comparing the transmission error with the threshold helps to screen out the speakers that have a greater impact on the low frequency of the corresponding microphone, which can subsequently reduce the computational load of the DSP (Digital Signal Processing) chip and improve the efficiency of active noise reduction.
需要说明的是,在整个主动降噪方法中,只需要进行一次筛选获得第一扬声器集合的步骤。It should be noted that in the entire active noise reduction method, only one screening step is required to obtain the first speaker set.
S102:获得麦克风所采集到的当前音频信号和混合音频信号。其中,当前音频信号为麦克风接收到的所有音频信号,混合音频信号为第一扬声器集合中各个扬声器发出的原始音频信号传递至麦克风处形成的。S102: Obtain the current audio signal and mixed audio signal collected by the microphone. The current audio signal is all the audio signals received by the microphone, and the mixed audio signal is formed by transmitting the original audio signals from each speaker in the first speaker set to the microphone.
具体地,步骤S102的具体实施过程包括:获得每个麦克风采集到的当前音频信号,该当前音频信号包括当前麦克风可采集到的待降噪环境中的所有声音信号。即在本实施方式中,当前音频信号为麦克风直接接收获得的车内的所有声音信号。Specifically, the specific implementation process of step S102 includes: obtaining the current audio signal collected by each microphone, where the current audio signal includes all sound signals in the environment to be noise-reduced that can be collected by the current microphone. That is, in this embodiment, the current audio signal is all the sound signals in the car obtained by direct reception of the microphone.
进一步地,获得每个麦克风对应的第一扬声器集合中各个扬声器所发出的原始音频信号传递至对应麦克风处的混合音频信号。具体过程包括:首先获得每个麦克风对应的第一扬声器集合中各个扬声器与对应麦克风之间的第一传递函数集合。其中,获取传递函数可通过现有技术实现,在此不进行过多阐述。进一步地,针对每个麦克风,将麦克风对应第一传递函数集合中的传递函数与对应的扬声器发出的原始音频信号进行卷积运算,将所有卷积后的结果进行叠加以获得每个麦克风采集到的对应的混合音频信号。即在本实施方式中,当前音频信号为麦克风直接采集获得的,而混合音频信号是基于传递函数与对应的原始音频信号进行计算处理获得的。Further, the original audio signal emitted by each speaker in the first speaker set corresponding to each microphone is obtained and the mixed audio signal transmitted to the corresponding microphone is obtained. The specific process includes: first obtaining a first transfer function set between each speaker and the corresponding microphone in the first speaker set corresponding to each microphone. Among them, obtaining the transfer function can be achieved through existing technology, and will not be elaborated here. Further, for each microphone, perform a convolution operation on the transfer function in the first transfer function set corresponding to the microphone and the original audio signal emitted by the corresponding speaker, and superimpose all the convolved results to obtain the audio signal collected by each microphone. The corresponding mixed audio signal. That is, in this embodiment, the current audio signal is directly collected by the microphone, and the mixed audio signal is obtained by calculation and processing based on the transfer function and the corresponding original audio signal.
其中,在本实施方式中,上述扬声器发出的原始音频信号包括通过外部设备或网络获得的经过调音处理的音频信号。例如,当用户通过蓝牙或数据线将车辆与手机等设备进行连接以播放音乐或其他音频时,原始音频信号为通过手机等设备获得的不需要进行主动降噪处理的音频信号;或者,原始音频信号也可以为用户通过车联网功能播放的音乐或其他音频。In this embodiment, the original audio signal emitted by the speaker includes a tuned audio signal obtained through an external device or network. For example, when a user connects a vehicle to a mobile phone or other device via Bluetooth or a data cable to play music or other audio, the original audio signal is an audio signal obtained through a mobile phone or other device that does not require active noise reduction processing; or, the original audio signal The signal can also be music or other audio played by the user through the car networking function.
在一实施方式中,计算n时刻第i个麦克风处的混合音频信号MicSound i(n)的公式如下: In one implementation, the formula for calculating the mixed audio signal MicSound i (n) at the i-th microphone at time n is as follows:
Figure PCTCN2022144168-appb-000004
Figure PCTCN2022144168-appb-000004
上式中,H ij(n)表示第j个扬声器与第i个麦克风的传递函数,
Figure PCTCN2022144168-appb-000005
是卷积运算符,SpkSound j(n)表示第j个扬声器发出的原始音频信号,J是第一扬声器集合中扬声器的总数。
In the above formula, H ij (n) represents the transfer function between the j-th loudspeaker and the i-th microphone,
Figure PCTCN2022144168-appb-000005
is the convolution operator, SpkSound j (n) represents the original audio signal emitted by the j-th speaker, and J is the total number of speakers in the first speaker set.
需要说明的是,在实际应用中,可以先获取当前音频信号再获取混合音频信号,也可以先获取混合音频信号再获取当前音频信号。It should be noted that in practical applications, the current audio signal can be obtained first and then the mixed audio signal can be obtained, or the mixed audio signal can be obtained first and then the current audio signal can be obtained.
S103:基于麦克风的当前音频信号以及混合音频信号获得误差音频信号。S103: Obtain an error audio signal based on the current audio signal of the microphone and the mixed audio signal.
步骤S103的实施过程包括:根据上述步骤S102可知,每个麦克风的当前音频信号包括车内可采集到所有声音。结合前馈FxLMS自适应算法中误差音频信号的计算方法,可以基于每个麦克风的当前音频信号以及混合音频信号获得误差音频信号;即针对每个麦克风,将麦克风采集到的当前音频信号中不包含对应混合音频信号的部分作为误差音频信号,以助于在后续的降噪过程中保留车内不需要进行降噪的声音,进一步优化降噪效果。The implementation process of step S103 includes: According to the above step S102, it can be known that the current audio signal of each microphone includes all sounds that can be collected in the car. Combined with the calculation method of the error audio signal in the feedforward FxLMS adaptive algorithm, the error audio signal can be obtained based on the current audio signal of each microphone and the mixed audio signal; that is, for each microphone, the current audio signal collected by the microphone does not include The part corresponding to the mixed audio signal is used as an error audio signal to help retain the sounds in the car that do not require noise reduction during the subsequent noise reduction process and further optimize the noise reduction effect.
在一实施方式中,结合步骤S102中混合音频信号MicSound i(n)的计算公式,计算第i个麦克风的误差音频信号Error i(n)的公式如下: In one embodiment, combined with the calculation formula of the mixed audio signal MicSound i (n) in step S102, the formula for calculating the error audio signal Error i (n) of the i-th microphone is as follows:
Figure PCTCN2022144168-appb-000006
Figure PCTCN2022144168-appb-000006
上式中,MicSum i(n)表示第i个麦克风采集到的当前音频信号。 In the above formula, MicSum i (n) represents the current audio signal collected by the i-th microphone.
S104:基于误差音频信号获得降噪音频信号。S104: Obtain the noise-reduction audio signal based on the error audio signal.
具体地,步骤S104的实施过程包括:在获得的每个麦克风的误差音频信号Error i(n)之后,基于所有麦克风对应的误差音频信号,获得目标误差音频信号。基于目标误差音频信号确定待降噪环境(即车辆内)对应的目标降噪信号。其中,该目标降噪信号包括与噪声声波幅值相等、相位相反的降噪声波。 Specifically, the implementation process of step S104 includes: after obtaining the error audio signal Error i (n) of each microphone, obtaining a target error audio signal based on the error audio signals corresponding to all microphones. The target noise reduction signal corresponding to the environment to be noise reduction (ie, inside the vehicle) is determined based on the target error audio signal. Wherein, the target noise reduction signal includes a noise reduction wave with equal amplitude and opposite phase to the noise sound wave.
进一步地,将该降噪音频信号发送至降噪模块,以使降噪模块发出降噪声波从而实现主动降噪。降噪模块的数目以及安装位置可以根据实际情况而设置,以达到更好的降噪效果。Further, the noise reduction audio signal is sent to the noise reduction module, so that the noise reduction module emits noise reduction waves to achieve active noise reduction. The number and installation positions of noise reduction modules can be set according to actual conditions to achieve better noise reduction effects.
在一具体实施方式中,将获取的所有麦克风的误差音频信号Error i(n)代入前馈FxLMS自适应算法中,以获得目标误差音频信号,并利用目标误差音频信号计算目标降噪音频信号,具体过程不作详细阐述。响应于降噪模块可以为车内 多个扬声器中具备降噪功能的降噪扬声器,将目标降噪信号发送至至少部分降噪扬声器,以使至少部分降噪扬声器发出目标降噪信号。其中,降噪扬声器可以专门用于降噪,即仅用于发出目标降噪信号以降低车内噪声;或者,降噪扬声器也可以用于同时播放目标降噪信号以及原始音频信号。 In a specific implementation, the obtained error audio signals Error i (n) of all microphones are substituted into the feedforward FxLMS adaptive algorithm to obtain the target error audio signal, and the target error audio signal is used to calculate the target noise reduction audio signal, The specific process will not be elaborated. In response, the noise reduction module may be a noise reduction speaker with a noise reduction function among the multiple speakers in the car, and sends the target noise reduction signal to at least some of the noise reduction speakers, so that at least some of the noise reduction speakers send out the target noise reduction signal. Among them, the noise reduction speaker can be specially used for noise reduction, that is, it can only be used to send out the target noise reduction signal to reduce the noise in the car; or the noise reduction speaker can also be used to play the target noise reduction signal and the original audio signal at the same time.
另外,在实际应用中,为了使得降噪效果更佳,车内的降噪扬声器一般设置在车门以及后备箱处。In addition, in practical applications, in order to achieve better noise reduction effect, the noise reduction speakers in the car are generally installed at the doors and trunk.
本申请提出的主动降噪方法在对车内噪声进行降噪的同时可以有效保留车内的有效声音。另外,通过对车内扬声器与麦克风的组合进行筛选以获得需要进行音频补偿的扬声器与麦克风组合,可以有效简化降噪过程,并提高车内主动降噪的效率。The active noise reduction method proposed in this application can effectively retain the effective sounds in the car while reducing the noise in the car. In addition, by screening the speaker and microphone combinations in the car to obtain the speaker and microphone combinations that require audio compensation, the noise reduction process can be effectively simplified and the efficiency of active noise reduction in the car can be improved.
在一实施方式中,在实际对车内进行主动降噪过程中,车内麦克风采集到的当前音频信号还包括降噪模块发出的降噪音频信号,因此步骤S102中车内第i个麦克风采集到的当前音频信号MicSum i(n)可由如下公式计算得到: In one embodiment, during the actual active noise reduction process in the car, the current audio signal collected by the microphone in the car also includes the noise reduction audio signal sent by the noise reduction module. Therefore, in step S102, the i-th microphone in the car collects The current audio signal MicSum i (n) obtained can be calculated by the following formula:
MicSum i(n)=MicNoise i(n)+MicSound i(n)+MicAntuNoise i(n) MicSum i (n)=MicNoise i (n)+MicSound i (n)+MicAntuNoise i (n)
上式中,MicNoise i(n)表示第i个麦克风采集到的车内噪声,MicSound i(n)表示第i个麦克风采集到的混合音频信号,MicAntiNoise i(n)表示第i个麦克风采集到的降噪音频信号。 In the above formula, MicNoise i (n) represents the noise in the car collected by the i-th microphone, MicSound i (n) represents the mixed audio signal collected by the i-th microphone, and MicAntiNoise i (n) represents the mixed audio signal collected by the i-th microphone. noise reduction audio signal.
进一步地,前馈FxLMS自适应算法中,误差音频信号Error i(n)的计算公式如下所示: Furthermore, in the feedforward FxLMS adaptive algorithm, the calculation formula of the error audio signal Error i (n) is as follows:
Error i(n)=MicNoise i(n)+MicAntiNoise i(n) Error i (n)=MicNoise i (n)+MicAntiNoise i (n)
结合上述公式以及步骤S102中混合音频信号的MicSound i(n)计算公式即可获得步骤S103中去除混合音频信号后的误差音频信号Error i(n),以助于在对车内噪声进行主动降噪的过程中,保留部分无需进行降噪的声音。 Combining the above formula and the MicSound i (n) calculation formula of the mixed audio signal in step S102, the error audio signal Error i (n) after removing the mixed audio signal in step S103 can be obtained to help actively reduce the noise in the car. During the noise reduction process, some sounds that do not require noise reduction are retained.
在又一实施方式中,在初始时刻对车内噪声进行降噪时,通过将车内麦克风可以采集到的所有声音作为误差音频信号,并基于前馈FxLMS自适应算法获得初始降噪音频信号,由车内的降噪模块发出初始降噪音频信号。然后执行上述实施例中的步骤S103-S104,以对初始降噪音频信号进行实时更新,并改善降噪效果。In yet another embodiment, when reducing noise in the car at the initial moment, all the sounds that can be collected by the microphone in the car are used as error audio signals, and the initial noise reduction audio signal is obtained based on the feedforward FxLMS adaptive algorithm. The noise reduction module in the car sends an initial noise reduction audio signal. Then steps S103-S104 in the above embodiment are performed to update the initial noise reduction audio signal in real time and improve the noise reduction effect.
在又一实施方式中,车内的部分扬声器和降噪模块都可以发出降噪音频信号,以实现对车内的主动降噪。具体地,车内的扬声器可分为第一类扬声器和 第二类扬声器。其中,第一类扬声器可用于发出经过调音处理后的原始音频信号,第二类扬声器可用于发出经过调音处理后原始音频信号和降噪音频信号。当获得降噪音频信号后,将降噪音频信号发送至第二类扬声器和/或降噪模块,由第二类扬声器和/或降噪模块发出降噪声波,以实现车内的主动降噪。In yet another embodiment, some speakers and noise reduction modules in the car can emit noise reduction audio signals to achieve active noise reduction in the car. Specifically, the speakers in the car can be divided into first type speakers and second type speakers. Among them, the first type of speakers can be used to emit original audio signals that have been tuned and processed, and the second type of speakers can be used to emit the original audio signals and noise-reduced audio signals that have been tuned. After obtaining the noise reduction audio signal, the noise reduction audio signal is sent to the second type speaker and/or noise reduction module, and the second type speaker and/or noise reduction module emits the noise reduction wave to achieve active noise reduction in the car. .
当车内扬声器分为第一类扬声器和第二类扬声器时,步骤S102中计算n时刻第i个麦克风处的混合音频信号的MicSound i(n)公式则如下: When the speakers in the car are divided into the first type of speakers and the second type of speakers, the MicSound i (n) formula for calculating the mixed audio signal at the i-th microphone at time n in step S102 is as follows:
Figure PCTCN2022144168-appb-000007
Figure PCTCN2022144168-appb-000007
上式中,P为第一扬声器集合中第一类扬声器的总数,Q为第一扬声器集合中第二类扬声器的总数,H ip表示第p个第一类扬声器与第i个麦克风的传递函数,H iq表示第q个第二类扬声器与第i个麦克风的传递函数,SpkSound p(n)表示第p个第一类扬声器发出的原始音频信号,SpkSound q(n)表示第q个第二类扬声器发出的原始音频信号。 In the above formula, P is the total number of first-type loudspeakers in the first loudspeaker set, Q is the total number of second-type loudspeakers in the first loudspeaker set, and H ip represents the transfer function between the p-th first-type loudspeaker and the i-th microphone. , H iq represents the transfer function between the q-th second-class speaker and the i-th microphone, SpkSound p (n) represents the original audio signal emitted by the p-th first-class speaker, SpkSound q (n) represents the q-th second The original audio signal emitted by the speaker.
进一步地,结合步骤S103中第i个麦克风的误差音频信号Error i(n)的计算公式,响应于车内扬声器分为第一类扬声器和第二类扬声器,那么在本实施方式中,计算第i个麦克风的误差音频信号Error i(n)的公式如下: Further, combined with the calculation formula of the error audio signal Error i (n) of the i-th microphone in step S103, in response to the fact that the speakers in the car are divided into the first type of speakers and the second type of speakers, then in this embodiment, the calculation formula of the i-th microphone error audio signal Error i (n) is The formula of the error audio signal Error i (n) of i microphones is as follows:
Figure PCTCN2022144168-appb-000008
Figure PCTCN2022144168-appb-000008
本发明还提出一种主动降噪系统,具体请参阅图3,图3为本申请主动降噪系统一实施方式的结构示意图。本申请提出的主动降噪系统包括:第一获得模块10、第二获得模块20、第三获得模块30和第四获得模块40。其中,第一获得模块10用于针对至少一个麦克风中的每个麦克风,获取与麦克风对应的第一扬声器集合,第一扬声器集合包含多个扬声器中的至少部分扬声器,至少部分扬声器与麦克风之间的传递误差不大于阈值。The present invention also proposes an active noise reduction system. Please refer to FIG. 3 for details. FIG. 3 is a schematic structural diagram of an embodiment of the active noise reduction system of the present application. The active noise reduction system proposed in this application includes: a first acquisition module 10 , a second acquisition module 20 , a third acquisition module 30 and a fourth acquisition module 40 . Wherein, the first obtaining module 10 is used to obtain, for each microphone in the at least one microphone, a first set of speakers corresponding to the microphone. The first set of speakers includes at least some of the speakers among the plurality of speakers, and at least some of the speakers are connected to the microphone. The transmission error is not greater than the threshold.
其中,获取与麦克风对应的第一扬声器集合,包括:响应于车辆处于静止状态,车辆中的所有扬声器分别发出第一噪声信号时,获得车辆中任一麦克风所采集到的第二噪声信号;基于第一噪声信号和第二噪声信号获得每个扬声器与每个麦克风之间的传递误差;针对每个麦克风,基于与麦克风相关的所有传递误差筛选获得第一扬声器集合;其中,第一扬声器集合中的所有扬声器相对当前麦克风的传递误差不大于所述阈值。Wherein, obtaining the first speaker set corresponding to the microphone includes: in response to the vehicle being in a stationary state and all speakers in the vehicle respectively emitting the first noise signal, obtaining the second noise signal collected by any microphone in the vehicle; based on The first noise signal and the second noise signal obtain the transmission error between each speaker and each microphone; for each microphone, the first speaker set is obtained based on all transmission errors related to the microphone; where, in the first speaker set The transmission error of all speakers relative to the current microphone is not greater than the threshold.
其中,第一噪声信号的信号频率低于预设截止频率。Wherein, the signal frequency of the first noise signal is lower than the preset cutoff frequency.
其中,车辆中的所有扬声器分别发出第一噪声信号时,获得车辆中任一麦克风采集到的第二噪声信号,包括:将第一噪声信号发送至车内的所有扬声器,并每次由一个扬声器发出第一噪声信号;针对当前发出第一噪声信号的扬声器,将每个麦克风采集到的第一噪声信号作为对应的第二噪声信号。Among them, when all the speakers in the vehicle respectively emit the first noise signal, obtaining the second noise signal collected by any microphone in the vehicle includes: sending the first noise signal to all speakers in the vehicle, and transmitting the first noise signal to each speaker one at a time. A first noise signal is emitted; for the speaker currently emitting the first noise signal, the first noise signal collected by each microphone is used as the corresponding second noise signal.
其中,基于第一噪声信号和第二噪声信号获得每个扬声器与每个麦克风之间的传递误差,包括:获取每个扬声器与每个麦克风之间的传递函数;将传递函数与对应扬声器发出的第一噪声信号进行卷积运算以获得第三噪声信号;根据传递函数对应麦克风采集到的对应第二噪声信号和第三噪声信号获得第四噪声信号;其中,第四噪声信号为第二噪声信号中不包含第三噪声信号的部分;将第四噪声信号与第二噪声信号的比值作为传递误差。Wherein, obtaining the transfer error between each speaker and each microphone based on the first noise signal and the second noise signal includes: obtaining the transfer function between each speaker and each microphone; comparing the transfer function with the signal emitted by the corresponding speaker The first noise signal is subjected to a convolution operation to obtain the third noise signal; the fourth noise signal is obtained according to the corresponding second noise signal and the third noise signal collected by the corresponding microphone according to the transfer function; where the fourth noise signal is the second noise signal does not include the part of the third noise signal; the ratio of the fourth noise signal to the second noise signal is regarded as the transmission error.
第二获得模块20用于获得麦克风所采集到的当前音频信号和混合音频信号;其中,所述当前音频信号为所述麦克风接收到的所有音频信号,所述混合音频信号为所述第一扬声器集合中各个扬声器发出的原始音频信号传递至所述麦克风处形成的。The second obtaining module 20 is used to obtain the current audio signal and the mixed audio signal collected by the microphone; wherein the current audio signal is all the audio signals received by the microphone, and the mixed audio signal is the first speaker The original audio signal emitted by each loudspeaker in the set is passed to the microphone.
其中,获得麦克风采集到的混合音频信号的步骤包括:获得每个麦克风对应的第一扬声器集合中各个扬声器与对应麦克风之间的第一传递函数集合;针对每个麦克风,将麦克风对应第一传递函数集合中的传递函数与对应的扬声器发出的原始音频信号进行卷积运算,将所有卷积后的结果进行叠加以获得每个麦克风对应的混合音频信号。Wherein, the step of obtaining the mixed audio signal collected by the microphone includes: obtaining a first transfer function set between each speaker and the corresponding microphone in the first set of speakers corresponding to each microphone; for each microphone, obtaining the first transfer function set corresponding to the microphone. The transfer function in the function set is convolved with the original audio signal emitted by the corresponding speaker, and all the convolved results are superimposed to obtain the mixed audio signal corresponding to each microphone.
其中,扬声器发出的原始音频信号为通过外部设备或网络获得的音频信号。Among them, the original audio signal emitted by the speaker is an audio signal obtained through an external device or network.
第三获得模块30用于基于麦克风的当前音频信号以及混合音频信号获得误差音频信号。具体地,针对每个麦克风,将麦克风采集到的当前音频信号中不包含对应混合音频信号的部分作为误差音频信号。其中,当前音频信号包括待降噪环境中可采集到的所有声音。The third obtaining module 30 is used to obtain an error audio signal based on the current audio signal of the microphone and the mixed audio signal. Specifically, for each microphone, the part of the current audio signal collected by the microphone that does not include the corresponding mixed audio signal is used as the error audio signal. Among them, the current audio signal includes all sounds that can be collected in the environment to be noise-reduced.
第四获得模块40用于基于误差音频信号获得降噪音频信号。具体地,基于每个麦克风对应的误差音频信号,获得目标误差音频信号;基于目标误差音频信号确定待降噪环境对应的目标降噪信号。The fourth obtaining module 40 is used to obtain a noise-reduction audio signal based on the error audio signal. Specifically, based on the error audio signal corresponding to each microphone, the target error audio signal is obtained; based on the target error audio signal, the target noise reduction signal corresponding to the environment to be denoised is determined.
其中,基于目标误差音频信号确定目标降噪信号的步骤之后,包括:将目标降噪信号发送至多个扬声器中的至少部分降噪扬声器,以使至少部分降噪扬 声器发出目标降噪信号。Wherein, after the step of determining the target noise reduction signal based on the target error audio signal, the step includes: sending the target noise reduction signal to at least some of the noise reduction speakers among the plurality of speakers, so that at least some of the noise reduction speakers emit the target noise reduction signal.
请参阅图4,图4为本申请电子设备一实施方式的结构示意图,该电子设备包括相互耦接的存储器50和处理器60,存储器50中存储有程序指令,处理器60用于执行程序指令以实现上述实施方式中的主动降噪方法的步骤。具体地,电子设备包括但不限于:台式电脑、笔记本电脑、平板电脑、服务器等,在此不做限定。此外,处理器60还可以称为CPU(Center Processing Unit,中央处理单元)。处理器60可能是一种集成电路芯片,具有信号处理能力。处理器60还可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA),或者其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。另外,处理器60可以由集成电路芯片共同实现。Please refer to Figure 4. Figure 4 is a schematic structural diagram of an embodiment of an electronic device of the present application. The electronic device includes a memory 50 and a processor 60 coupled to each other. Program instructions are stored in the memory 50, and the processor 60 is used to execute the program instructions. To implement the steps of the active noise reduction method in the above embodiment. Specifically, electronic devices include but are not limited to: desktop computers, laptop computers, tablet computers, servers, etc., which are not limited here. In addition, the processor 60 may also be called a CPU (Center Processing Unit). The processor 60 may be an integrated circuit chip with signal processing capabilities. The processor 60 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA), or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. In addition, the processor 60 may be implemented by an integrated circuit chip.
请参阅图5,图5为本申请提出的存储装置一实施方式的结构示意图,该存储装置70存储有能够被处理器运行的程序指令80,程序指令80用于实现上述任一实施方式中的主动降噪方法。Please refer to Figure 5. Figure 5 is a schematic structural diagram of an embodiment of a storage device proposed in this application. The storage device 70 stores program instructions 80 that can be run by a processor. The program instructions 80 are used to implement any of the above embodiments. Active noise reduction method.
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above descriptions are only embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the present application, or directly or indirectly applied to other related technologies fields are equally included in the scope of patent protection of this application.

Claims (15)

  1. 一种主动降噪方法,其特征在于,所述主动降噪方法应用于待降噪环境,所述待降噪环境中包含多个扬声器和至少一个麦克风,所述主动降噪方法包括:An active noise reduction method, characterized in that the active noise reduction method is applied to an environment to be noise reduced, the environment to be noise reduced contains multiple speakers and at least one microphone, the active noise reduction method includes:
    针对所述至少一个麦克风中的每个麦克风,获取与所述麦克风对应的第一扬声器集合,所述第一扬声器集合包含所述多个扬声器中的至少部分扬声器,所述至少部分扬声器与所述麦克风之间的传递误差不大于阈值;For each microphone in the at least one microphone, a first set of speakers corresponding to the microphone is obtained, the first set of speakers includes at least part of the speakers in the plurality of speakers, and the at least part of the speakers is related to the The transmission error between microphones is not greater than the threshold;
    获得所述麦克风所采集到的当前音频信号和混合音频信号;其中,所述当前音频信号为所述麦克风接收到的所有音频信号,所述混合音频信号为所述第一扬声器集合中各个扬声器发出的原始音频信号传递至所述麦克风处形成的;Obtain the current audio signal and mixed audio signal collected by the microphone; wherein the current audio signal is all audio signals received by the microphone, and the mixed audio signal is emitted by each speaker in the first speaker set The original audio signal is transmitted to the microphone to form;
    基于所述麦克风的当前音频信号以及混合音频信号获得误差音频信号;Obtain an error audio signal based on the current audio signal of the microphone and the mixed audio signal;
    基于所述误差音频信号获得降噪音频信号。A noise-reduced audio signal is obtained based on the error audio signal.
  2. 根据权利要求1所述的主动降噪方法,其特征在于,响应于所述待降噪环境为车辆,所述获取与所述麦克风对应的第一扬声器集合,包括:The active noise reduction method according to claim 1, characterized in that, in response to the environment to be noise reduction being a vehicle, the obtaining the first speaker set corresponding to the microphone includes:
    响应于车辆处于静止状态,所述车辆中的所有扬声器分别发出第一噪声信号时,获得所述车辆中任一麦克风所采集到的第二噪声信号;基于所述第一噪声信号和所述第二噪声信号获得每个所述扬声器与每个所述麦克风之间的传递误差;In response to the vehicle being in a stationary state, when all the speakers in the vehicle respectively emit the first noise signal, a second noise signal collected by any microphone in the vehicle is obtained; based on the first noise signal and the third 2. noise signal to obtain the transmission error between each of the speakers and each of the microphones;
    针对每个所述麦克风,基于与所述麦克风相关的所有所述传递误差筛选获得第一扬声器集合;其中,所述第一扬声器集合中的所有所述扬声器相对当前所述麦克风的所述传递误差不大于所述阈值。For each of the microphones, a first speaker set is obtained based on all the transmission errors associated with the microphone; wherein the transmission errors of all the speakers in the first speaker set relative to the current microphone are no greater than the stated threshold.
  3. 根据权利要求2所述的主动降噪方法,其特征在于,所述车辆中的所有扬声器分别发出第一噪声信号时,获得所述车辆中任一麦克风所采集到的第二噪声信号的步骤,包括:The active noise reduction method according to claim 2, characterized in that when all the speakers in the vehicle respectively emit the first noise signals, the step of obtaining the second noise signal collected by any microphone in the vehicle, include:
    将所述第一噪声信号发送至车内的所有所述扬声器,并每次由一个所述扬声器发出所述第一噪声信号;sending the first noise signal to all the speakers in the vehicle, and emitting the first noise signal from one of the speakers at a time;
    针对当前发出所述第一噪声信号的所述扬声器,将每个所述麦克风采集到的第一噪声信号作为对应的所述第二噪声信号。For the speaker currently emitting the first noise signal, the first noise signal collected by each microphone is used as the corresponding second noise signal.
  4. 根据权利要求2所述的主动降噪方法,其特征在于,所述基于所述第一噪声信号和所述第二噪声信号获得每个所述扬声器与每个所述麦克风之间的传 递误差的步骤,包括:The active noise reduction method according to claim 2, wherein the method of obtaining the transmission error between each of the speakers and each of the microphones based on the first noise signal and the second noise signal is steps, including:
    获取每个所述扬声器与每个所述麦克风之间的传递函数;Obtain a transfer function between each of the speakers and each of the microphones;
    将所述传递函数与对应所述扬声器发出的第一噪声信号进行卷积运算以获得第三噪声信号;Perform a convolution operation on the transfer function and the first noise signal emitted by the corresponding speaker to obtain a third noise signal;
    根据所述传递函数对应所述麦克风采集到的对应所述第二噪声信号和所述第三噪声信号获得第四噪声信号;其中,所述第四噪声信号为所述第二噪声信号中不包含所述第三噪声信号的部分;A fourth noise signal is obtained according to the transfer function corresponding to the second noise signal and the third noise signal collected by the microphone; wherein the fourth noise signal is a signal not included in the second noise signal. part of the third noise signal;
    将所述第四噪声信号与所述第二噪声信号的比值作为传递误差。The ratio of the fourth noise signal to the second noise signal is used as the transmission error.
  5. 根据权利要求2所述的主动降噪方法,其特征在于,The active noise reduction method according to claim 2, characterized in that:
    所述第一噪声信号的信号频率低于预设截止频率。The signal frequency of the first noise signal is lower than the preset cutoff frequency.
  6. 根据权利要求1所述的主动降噪方法,其特征在于,获得所述麦克风采集到的混合音频信号的步骤,包括:The active noise reduction method according to claim 1, wherein the step of obtaining the mixed audio signal collected by the microphone includes:
    获得每个所述麦克风对应的第一扬声器集合中各个扬声器与对应所述麦克风之间的第一传递函数集合;Obtain a first transfer function set between each speaker in the first speaker set corresponding to each microphone and the corresponding microphone;
    针对每个所述麦克风,将所述麦克风对应所述第一传递函数集合中的所述传递函数与对应的所述扬声器发出的所述原始音频信号进行卷积运算,将所有卷积后的结果进行叠加以获得每个所述麦克风对应的所述混合音频信号。For each microphone, perform a convolution operation on the transfer function in the first transfer function set corresponding to the microphone and the original audio signal emitted by the corresponding speaker, and combine all the convolved results Superposition is performed to obtain the mixed audio signal corresponding to each microphone.
  7. 根据权利要求6所述的主动降噪方法,其特征在于,所述扬声器发出的所述原始音频信号包括通过外部设备或网络获得的音频信号。The active noise reduction method according to claim 6, wherein the original audio signal emitted by the speaker includes an audio signal obtained through an external device or network.
  8. 根据权利要求1所述的主动降噪方法,其特征在于,所述基于所述麦克风的当前音频信号以及混合音频信号获得误差音频信号的步骤,包括:The active noise reduction method according to claim 1, wherein the step of obtaining an error audio signal based on the current audio signal and the mixed audio signal of the microphone includes:
    针对每个所述麦克风,将所述麦克风采集到的所述当前音频信号中不包含对应所述混合音频信号的部分作为所述误差音频信号。For each microphone, the part of the current audio signal collected by the microphone that does not include the corresponding mixed audio signal is used as the error audio signal.
  9. 根据权利要求8所述的主动降噪方法,其特征在于,所述当前音频信号包括所述待降噪环境中可采集到的所有声音。The active noise reduction method according to claim 8, wherein the current audio signal includes all sounds that can be collected in the environment to be noise reduced.
  10. 根据权利要求1所述的主动降噪方法,其特征在于,所述基于所述误差音频信号获得降噪音频信号的步骤,包括:The active noise reduction method according to claim 1, wherein the step of obtaining the noise reduction audio signal based on the error audio signal includes:
    基于所有所述麦克风对应的所述误差音频信号,获得目标误差音频信号;Based on the error audio signals corresponding to all the microphones, obtain a target error audio signal;
    基于所述目标误差音频信号确定所述待降噪环境对应的目标降噪信号。A target noise reduction signal corresponding to the environment to be noise reduction is determined based on the target error audio signal.
  11. 根据权利要求10所述的主动降噪方法,其特征在于,所述基于所述目 标误差音频信号确定所述待降噪环境对应的目标降噪信号的步骤之后,包括:The active noise reduction method according to claim 10, characterized in that, after the step of determining the target noise reduction signal corresponding to the environment to be noise reduction based on the target error audio signal, the method includes:
    将所述目标降噪信号发送至所述多个扬声器中的至少部分降噪扬声器,以使所述至少部分降噪扬声器发出所述目标降噪信号。The target noise reduction signal is sent to at least some of the noise reduction speakers among the plurality of speakers, so that the at least some of the noise reduction speakers emit the target noise reduction signal.
  12. 一种主动降噪系统,其特征在于,包括:An active noise reduction system, characterized by including:
    第一获得模块,用于针对至少一个麦克风中的每个麦克风,获取与所述麦克风对应的第一扬声器集合,所述第一扬声器集合包含所述多个扬声器中的至少部分扬声器,所述至少部分扬声器与所述麦克风之间的传递误差不大于阈值;A first obtaining module configured to obtain, for each microphone in at least one microphone, a first set of speakers corresponding to the microphone, the first set of speakers including at least some of the plurality of speakers, and the at least The transmission error between some speakers and the microphone is not greater than the threshold;
    第二获得模块,用于获得所述麦克风所采集到的当前音频信号和混合音频信号;其中,所述当前音频信号为所述麦克风接收到的所有音频信号,所述混合音频信号为所述第一扬声器集合中各个扬声器发出的原始音频信号传递至所述麦克风处形成的;The second acquisition module is used to obtain the current audio signal and the mixed audio signal collected by the microphone; wherein the current audio signal is all the audio signals received by the microphone, and the mixed audio signal is the third audio signal. The original audio signal emitted by each speaker in a set of speakers is transmitted to the microphone;
    第三获得模块,用于基于每个所述麦克风的当前音频信号以及混合音频信号获得误差音频信号;a third obtaining module, configured to obtain an error audio signal based on the current audio signal of each of the microphones and the mixed audio signal;
    第四获得模块,用于基于所述误差音频信号获得降噪音频信号。A fourth obtaining module is used to obtain a noise-reduction audio signal based on the error audio signal.
  13. 一种电子设备,其特征在于,包括相互耦接的存储器和处理器,所述存储器中存储有程序指令,所述处理器用于执行所述程序指令以实现权利要求1-11中任一项所述的主动降噪方法。An electronic device, characterized in that it includes a memory and a processor coupled to each other, program instructions are stored in the memory, and the processor is used to execute the program instructions to implement any one of claims 1-11. The active noise reduction method described above.
  14. 一种存储装置,其特征在于,存储有能够被处理器运行的程序指令,所述程序指令用于实现权利要求1-11中任一项所述的主动降噪方法。A storage device, characterized in that it stores program instructions that can be run by a processor, and the program instructions are used to implement the active noise reduction method according to any one of claims 1-11.
  15. 一种车辆,其特征在于,包括多个扬声器和至少一个麦克风,多个所述扬声器和所述至少一个麦克风之间相互配合以实现上述权利要求1-11中任一项所述的主动降噪方法。A vehicle, characterized in that it includes a plurality of speakers and at least one microphone, and the plurality of speakers and the at least one microphone cooperate with each other to achieve the active noise reduction described in any one of claims 1-11. method.
PCT/CN2022/144168 2022-07-20 2022-12-30 Active noise reduction method and system, and related apparatus WO2024016609A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210854874.8A CN114937460B (en) 2022-07-20 2022-07-20 Active noise reduction method, system and related device
CN202210854874.8 2022-07-20

Publications (1)

Publication Number Publication Date
WO2024016609A1 true WO2024016609A1 (en) 2024-01-25

Family

ID=82867879

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/144168 WO2024016609A1 (en) 2022-07-20 2022-12-30 Active noise reduction method and system, and related apparatus

Country Status (2)

Country Link
CN (1) CN114937460B (en)
WO (1) WO2024016609A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114937460B (en) * 2022-07-20 2022-11-18 科大讯飞(苏州)科技有限公司 Active noise reduction method, system and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106089361A (en) * 2016-06-30 2016-11-09 重庆长安汽车股份有限公司 A kind of car intrinsic motivation active noise reduction system and method
CN108810746A (en) * 2018-07-27 2018-11-13 歌尔科技有限公司 A kind of sound quality optimization method, feedback noise reduction system, earphone and storage medium
CN113421540A (en) * 2021-07-26 2021-09-21 北京安声浩朗科技有限公司 Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
WO2022027208A1 (en) * 2020-08-04 2022-02-10 华为技术有限公司 Active noise cancellation method, active noise cancellation apparatus, and active noise cancellation system
CN114937460A (en) * 2022-07-20 2022-08-23 科大讯飞(苏州)科技有限公司 Active noise reduction method, system and related device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3612734B2 (en) * 1994-05-17 2005-01-19 マツダ株式会社 Vehicle noise reduction device and control signal setting method
US9454952B2 (en) * 2014-11-11 2016-09-27 GM Global Technology Operations LLC Systems and methods for controlling noise in a vehicle
CN112037751A (en) * 2020-08-05 2020-12-04 上海蔚来汽车有限公司 Vehicle and active noise reduction control system, method, memory and control device thereof
KR20220091152A (en) * 2020-12-23 2022-06-30 현대자동차주식회사 Active noise control apparatus and method of controlling the same
CN114743532A (en) * 2021-01-07 2022-07-12 广州汽车集团股份有限公司 Pedestrian prompt tone-based in-vehicle noise reduction method and device and vehicle
CN113409754B (en) * 2021-07-26 2023-11-07 北京安声浩朗科技有限公司 Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
CN113707121A (en) * 2021-08-02 2021-11-26 杭州萤石软件有限公司 Active noise reduction system, method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106089361A (en) * 2016-06-30 2016-11-09 重庆长安汽车股份有限公司 A kind of car intrinsic motivation active noise reduction system and method
CN108810746A (en) * 2018-07-27 2018-11-13 歌尔科技有限公司 A kind of sound quality optimization method, feedback noise reduction system, earphone and storage medium
WO2022027208A1 (en) * 2020-08-04 2022-02-10 华为技术有限公司 Active noise cancellation method, active noise cancellation apparatus, and active noise cancellation system
CN113421540A (en) * 2021-07-26 2021-09-21 北京安声浩朗科技有限公司 Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
CN114937460A (en) * 2022-07-20 2022-08-23 科大讯飞(苏州)科技有限公司 Active noise reduction method, system and related device

Also Published As

Publication number Publication date
CN114937460A (en) 2022-08-23
CN114937460B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
US10984815B1 (en) Techniques for removing non-linear echo in acoustic echo cancellers
JP4995276B2 (en) Engine speed determination active noise reduction
US9129587B2 (en) Method, device and system for eliminating noises with multi-microphone array
CN112236820B (en) Beamformer and Acoustic Echo Canceller (AEC) system
US9002027B2 (en) Space-time noise reduction system for use in a vehicle and method of forming same
KR100705988B1 (en) An echo canceler circuit and method
WO2024016609A1 (en) Active noise reduction method and system, and related apparatus
US10978086B2 (en) Echo cancellation using a subset of multiple microphones as reference channels
WO2016078369A1 (en) Mobile terminal conversation voice noise reduction method and apparatus and storage medium
TWI459381B (en) Speech enhancement method
CN112997249A (en) Voice processing method, device, storage medium and electronic equipment
CN112017680A (en) Dereverberation method and device
US10481831B2 (en) System and method for combined non-linear and late echo suppression
CN116052628A (en) Active noise reduction method for automobile engine
CN113205824B (en) Sound signal processing method, device, storage medium, chip and related equipment
US20220199100A1 (en) Spatial audio wind noise detection
JP2005037650A (en) Noise reducing apparatus
JPH05241582A (en) Noise canceler
CN113053408B (en) Sound source separation method and device
CN114882721B (en) Vehicle navigation information playing method and device, electronic equipment and storage medium
WO2024097568A1 (en) Multi-stream processing of single-stream data
CN112216299B (en) Dual-microphone array beam forming method, device and equipment
WO2021131346A1 (en) Sound pick-up device, sound pick-up method and sound pick-up program
CN114554346B (en) Adaptive adjustment method and device of ANC parameters and storage medium
US20240179451A1 (en) Apparatus, system, and method of acoustic feedback (afb) mitigation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22951864

Country of ref document: EP

Kind code of ref document: A1