CN108495227A - Active denoising method, active noise reduction system and earphone - Google Patents
Active denoising method, active noise reduction system and earphone Download PDFInfo
- Publication number
- CN108495227A CN108495227A CN201810520167.9A CN201810520167A CN108495227A CN 108495227 A CN108495227 A CN 108495227A CN 201810520167 A CN201810520167 A CN 201810520167A CN 108495227 A CN108495227 A CN 108495227A
- Authority
- CN
- China
- Prior art keywords
- circuit
- filter
- sound transmission
- electrically connected
- ear canal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1083—Reduction of ambient noise
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/04—Circuits for transducers, loudspeakers or microphones for correcting frequency response
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
本发明提出一种主动降噪方法、主动降噪系统及耳机,涉及主动降噪领域,该主动降噪方法包括:获取耳机次级通道传声特性模型;根据用户的耳道传声特性,对预先设置的所述滤波器进行修正处理,得到修正后的滤波器;其中,所述滤波器为基于所述耳机次级通道传声特性模型生成的。该方法通过离线设计与在线修正相结合的方式,实现了基于不同耳机佩戴者的耳道传声特性的降噪性能优化。与现有的自适应主动降噪方法相比,该方法在线计算量小,计算时间短,有效解决了计算时间长导致的相位偏差大的问题,且该方法简单,易于工程实现。
The present invention proposes an active noise reduction method, an active noise reduction system, and earphones, and relates to the field of active noise reduction. The active noise reduction method includes: obtaining a sound transmission characteristic model of the secondary channel of the earphone; The preset filter is corrected to obtain a corrected filter; wherein, the filter is generated based on a sound transmission characteristic model of the earphone secondary channel. Through the combination of offline design and online correction, this method realizes the optimization of noise reduction performance based on the sound transmission characteristics of the ear canal of different earphone wearers. Compared with the existing adaptive active noise reduction method, this method has a small amount of online calculation and short calculation time, which effectively solves the problem of large phase deviation caused by long calculation time, and the method is simple and easy to implement in engineering.
Description
技术领域technical field
本发明涉及主动降噪领域,具体而言,涉及一种主动降噪方法、主动降噪系统和耳机。The invention relates to the field of active noise reduction, in particular to an active noise reduction method, an active noise reduction system and earphones.
背景技术Background technique
主动降噪耳机是一种有效降低环境噪声的装置,通过次级声源发出与环境噪声幅值相等,相位相反的消噪声波,实现噪声的消除,消噪声波的相位特性会直接影响降噪效果。在耳机、耳廓以及耳道形成的狭窄封闭空间内,人耳的个体差异会引起相位的偏差。对于基于噪声在耳机封闭空间内的传声特性而设计的参数固定的滤波器,上述偏差一方面会导致降噪性能的一致性下降;另一方面,可能导致反相降噪声波变成同相降噪声波而出现噪声增强的情况。Active noise reduction earphones are a device that effectively reduces environmental noise. The secondary sound source emits a noise cancellation wave that is equal in amplitude and opposite in phase to the ambient noise to eliminate noise. The phase characteristics of the noise cancellation wave will directly affect the noise reduction. Effect. In the narrow enclosed space formed by the earphone, pinna, and ear canal, individual differences in human ears will cause phase deviations. For a filter with fixed parameters designed based on the sound transmission characteristics of the noise in the enclosed space of the earphone, the above deviation will lead to a decrease in the consistency of the noise reduction performance on the one hand; Noise enhancement occurs due to noise waves.
为克服上述参数固定的滤波器带来的问题,现有技术采用自适应滤波器实现最优降噪效果。专利一种有源降噪的方法和系统(201510629511.4),提出一种自适应降噪方法,使得有源降噪可以自适应扬声器至观测点的物理响应。对于主动降噪耳机,扬声器至反馈麦克风的物理响应可反映噪声在耳机内的传播特性,理论上,专利201510629511.4能够克服上述的相位偏差问题,但是由于自适应降噪方法是一种在线设计方法,需采用数字滤波器,巨大的计算量会导致较长的时间延迟,再加上数字滤波器本身的电路延迟,总时间延迟带来的滤波器的相位偏差量同样不容忽视。In order to overcome the above-mentioned problems caused by the filter with fixed parameters, the prior art uses an adaptive filter to achieve an optimal noise reduction effect. Patented a method and system for active noise reduction (201510629511.4), which proposes an adaptive noise reduction method that enables active noise reduction to adapt to the physical response from the speaker to the observation point. For active noise reduction headphones, the physical response from the speaker to the feedback microphone can reflect the propagation characteristics of the noise in the headphones. In theory, patent 201510629511.4 can overcome the above-mentioned phase deviation problem, but since the adaptive noise reduction method is an online design method, A digital filter is required, and the huge amount of calculation will lead to a long time delay. In addition to the circuit delay of the digital filter itself, the phase deviation of the filter caused by the total time delay cannot be ignored.
发明内容Contents of the invention
针对上述问题,本发明提出一种主动降噪方法、主动降噪系统及耳机,以解决在线计算时间长导致的相位差,进而出现的降噪性能恶化的问题。In view of the above problems, the present invention proposes an active noise reduction method, an active noise reduction system and earphones to solve the problem of deteriorating noise reduction performance due to phase difference caused by long online calculation time.
第一方面,本申请实施例提供了一种主动降噪方法,包括:In the first aspect, the embodiment of the present application provides an active noise reduction method, including:
获取耳机次级通道传声特性模型;Obtain the sound transmission characteristic model of the earphone secondary channel;
根据用户的耳道传声特性,对预先设置的滤波器进行修正处理,得到修正后的滤波器;其中,所述滤波器为基于所述耳机次级通道传声特性模型生成的。According to the sound transmission characteristics of the user's ear canal, the pre-set filter is modified to obtain a modified filter; wherein, the filter is generated based on the sound transmission characteristic model of the earphone secondary channel.
可选地,所述获取耳机次级通道传声特性模型G0,包括:Optionally, said acquiring the earphone secondary channel sound transmission characteristic model G0 includes:
基于耳机次级通道的输入数据和输出数据,建立耳机次级通道传声特性模型。Based on the input data and output data of the secondary channel of the earphone, a sound transmission characteristic model of the secondary channel of the earphone is established.
可选地,所述滤波器包括前馈滤波器、反馈滤波器和前馈与反馈复合式滤波器中的任意一种。Optionally, the filter includes any one of a feedforward filter, a feedback filter, and a composite feedforward and feedback filter.
可选地,根据用户的耳道传声特性,对预先设置的所述滤波器进行修正处理,得到修正后的滤波器,包括:Optionally, according to the sound transmission characteristics of the user's ear canal, the pre-set filter is modified to obtain a modified filter, including:
确定用户的耳道传声特性模型和耳道传声特性模型库;Determine the user's ear canal sound transmission characteristic model and ear canal sound transmission characteristic model library;
利用相似度算法计算所述用户的耳道传声特性模型和所述耳道传声特性模型库中任一模型的相似度,获取相似度最高的所述耳道传声特性模型库中的模型;Using a similarity algorithm to calculate the similarity between the user's ear canal sound transmission characteristic model and any model in the ear canal sound transmission characteristic model library, and obtain the model in the ear canal sound transmission characteristic model library with the highest similarity ;
基于所述模型,确定修正滤波器,基于滤波器以及修正滤波器,得到修正后的滤波器。Based on the model, a modified filter is determined, and based on the filter and the modified filter, a modified filter is obtained.
可选地,所述相似度算法包括:Optionally, the similarity algorithm includes:
对所述用户的耳道传声特性模型对应的频响曲线和所述耳道传声特性模型库对应的频响曲线族中的一曲线进行对齐处理,得到对齐后的曲线;performing alignment processing on the frequency response curve corresponding to the user's ear canal sound transmission characteristic model and a curve in the frequency response curve family corresponding to the ear canal sound transmission characteristic model library, to obtain the aligned curve;
计算所述对齐后的曲线与所述频响曲线族中的该曲线的相似度。calculating the similarity between the aligned curve and the curve in the frequency response curve family.
可选地,所述对所述用户的耳道传声特性模型对应的频响曲线和所述耳道传声特性模型库对应的频响曲线族中的一曲线进行对齐处理,包括:Optionally, the aligning the frequency response curve corresponding to the ear canal sound transmission characteristic model of the user with a curve in the frequency response curve family corresponding to the ear canal sound transmission characteristic model library includes:
确定参数k,使得||li-k*l||2最小;Determine the parameter k so that ||li-k*l|| 2 is the smallest;
其中,耳道传声特性模型库{Gi’}对应的频响曲线族中,进行相似度算法处理的曲线,l为耳道传声特性模型对应的频响曲线,k为实数。Among them, in the frequency response curve family corresponding to the ear canal sound transmission characteristic model library {G i '}, the curves processed by the similarity algorithm, l is the frequency response curve corresponding to the ear canal sound transmission characteristic model, and k is a real number.
可选地,所述相似度为Sn=||li-k*l||2;Optionally, the similarity is Sn=||li-k*l|| 2 ;
其中,Sn为对齐后的曲线l’与频响曲线族中的曲线li的相似度。Among them, Sn is the similarity between the aligned curve l' and the curve li in the frequency response curve family.
可选地,所述基于所述模型,确定修正滤波器,基于滤波器以及修正滤波器,得到修正后的滤波器,包括:Optionally, the determining a modified filter based on the model, and obtaining a modified filter based on the filter and the modified filter include:
针对所述耳道传声特性模型库,建立相应的修正滤波器库;Establishing a corresponding correction filter library for the ear canal sound transmission characteristic model library;
根据所述用户的耳道传声特性模型在所述耳道传声特性模型库中对应的模型,确定相应的所述修改滤波器库中的修正滤波器。According to the corresponding model of the ear canal sound transmission characteristic model of the user in the ear canal sound transmission characteristic model library, a corresponding modification filter in the modification filter library is determined.
第二方面,本申请实施例提供了一种主动降噪系统,包括:噪声测量装置、传声装置、滤波电路、修正电路;In the second aspect, the embodiment of the present application provides an active noise reduction system, including: a noise measurement device, a sound transmission device, a filter circuit, and a correction circuit;
所述噪声测量装置包括:第一输入端、第一输出端及第二输出端;The noise measurement device includes: a first input terminal, a first output terminal and a second output terminal;
所述滤波电路包括:第一输入端、第二输入端和第一输出端;The filter circuit includes: a first input terminal, a second input terminal and a first output terminal;
所述传声装置包括:第一输入端、第二输入端、第一输出端和第二输出端;The sound transmission device includes: a first input terminal, a second input terminal, a first output terminal and a second output terminal;
所述修正电路包括:第一输入端、第二输入端、第一输出端和第二输出端;The correction circuit includes: a first input terminal, a second input terminal, a first output terminal and a second output terminal;
所述噪声测量装置的第一输出端与所述滤波电路的第一输入端电性连接,所述噪声测量装置的所述第二输出端与所述修正电路的第一输入端电性连接;The first output end of the noise measurement device is electrically connected to the first input end of the filter circuit, and the second output end of the noise measurement device is electrically connected to the first input end of the correction circuit;
所述滤波电路的所述第一输入端与所述噪声测量装置的第一输出端电性连接,所述滤波电路的所述第二输入端与所述修正电路的第一输出端电性连接,所述滤波电路的所述第一输出端与所述传声装置的所述第一输入端电性连接;The first input end of the filter circuit is electrically connected to the first output end of the noise measuring device, and the second input end of the filter circuit is electrically connected to the first output end of the correction circuit , the first output end of the filter circuit is electrically connected to the first input end of the sound transmission device;
所述传声装置的第一输入端与所述滤波电路的第一输出端电性连接,所述传声装置的所述第二输入端与所述修正电路的第二输出端电性连接,所述传声装置的所述第二输出端与所述修正电路的第二输入端电性连接;The first input end of the sound transmission device is electrically connected to the first output end of the filter circuit, the second input end of the sound transmission device is electrically connected to the second output end of the correction circuit, The second output end of the sound transmission device is electrically connected to the second input end of the correction circuit;
所述修正电路的第一输入端与所述噪声测量装置的第二输出端电性连接,所述修正电路的所述第二输入端与所述传声装置的第二输出端电性连接,所述修正电路的所述第一输出端与所述滤波电路的第二输入端电性连接,所述修正电路的所述第二输出端与所述传声装置的第二输入端电性连接;The first input end of the correction circuit is electrically connected to the second output end of the noise measuring device, the second input end of the correction circuit is electrically connected to the second output end of the sound transmission device, The first output end of the correction circuit is electrically connected to the second input end of the filter circuit, and the second output end of the correction circuit is electrically connected to the second input end of the sound transmission device ;
所述噪声测量装置,用于检测噪声信号;The noise measurement device is used to detect noise signals;
所述滤波电路,用于产生消噪信号;The filter circuit is used to generate a noise cancellation signal;
所述传声装置,用于将电信号转换成声信号;The acoustic transmission device is used to convert electrical signals into acoustic signals;
所述修正电路,用于修正滤波电路的滤波器。The correction circuit is used to modify the filter of the filter circuit.
可选地,所述滤波电路包括模数转换电路、滤波器和数模转换电路,所述滤波器分别与所述模数转换电路、所述数模转换电路电性连接。Optionally, the filter circuit includes an analog-to-digital conversion circuit, a filter, and a digital-to-analog conversion circuit, and the filter is electrically connected to the analog-to-digital conversion circuit and the digital-to-analog conversion circuit, respectively.
可选地,所述滤波器为前馈滤波器、反馈滤波器和前馈与反馈复合式滤波器中的任意一种。Optionally, the filter is any one of a feedforward filter, a feedback filter, and a feedforward and feedback composite filter.
可选地,所述修正电路包括触发电路、存储电路、计算电路以及分析电路;Optionally, the correction circuit includes a trigger circuit, a storage circuit, a calculation circuit and an analysis circuit;
所述触发电路包括第一输出端、第二输出端及第三输出端;The trigger circuit includes a first output terminal, a second output terminal and a third output terminal;
所述计算电路包括第一输入端、第二输入端、第三输入端及第一输出端;The calculation circuit includes a first input terminal, a second input terminal, a third input terminal and a first output terminal;
所述分析电路包括第一输入端、第二输入端及第一输出端;The analysis circuit includes a first input terminal, a second input terminal and a first output terminal;
所述触发电路的第一输出端与所述传声装置的第二输入端连接,所述触发电路的所述第二输出端与所述存储电路的输入端电性连接,所述触发电路的所述第三输出端与所述计算电路的第一输入端电性连接;The first output end of the trigger circuit is connected to the second input end of the sound transmission device, the second output end of the trigger circuit is electrically connected to the input end of the storage circuit, and the trigger circuit The third output end is electrically connected to the first input end of the calculation circuit;
所述计算电路的第一输入端与所述触发电路第的三输出端电性连接,所述计算电路的所述第二输入端与所述噪声测量装置的第二输出端电性连接,所述计算电路的所述第三输入端与所述传声装置的第二输出端电性连接;The first input end of the calculation circuit is electrically connected to the third output end of the trigger circuit, the second input end of the calculation circuit is electrically connected to the second output end of the noise measurement device, and the The third input end of the calculation circuit is electrically connected to the second output end of the sound transmission device;
所述存储电路的输入端与所述触发电路的第二输出端电性连接,所述存储电路的输出端与所述分析电路的第一输入端电性连接;The input end of the storage circuit is electrically connected to the second output end of the trigger circuit, and the output end of the storage circuit is electrically connected to the first input end of the analysis circuit;
所述分析电路的第一输入端与所述存储电路的输出端电性连接,所述分析电路的所述第二输入端与所述计算电路的第一输出端电性连接,所述分析电路的所述第一输出端与所述滤波电路的第二输入端电性连接;The first input end of the analysis circuit is electrically connected to the output end of the storage circuit, the second input end of the analysis circuit is electrically connected to the first output end of the calculation circuit, and the analysis circuit The first output end of the filter circuit is electrically connected with the second input end of the filter circuit;
所述触发电路,用于触发所述传声装置发出声信号,并同时触发所述计算电路与所述存储电路;The trigger circuit is used to trigger the sound transmission device to emit an acoustic signal, and simultaneously trigger the calculation circuit and the storage circuit;
所述计算电路,用于计算出当前用户的耳道传声特性;The calculation circuit is used to calculate the current user's ear canal sound transmission characteristics;
所述存储电路,用于存储多种耳道传声特性数据及对应的滤波器参数数据;The storage circuit is used to store various ear canal sound transmission characteristic data and corresponding filter parameter data;
所述分析电路,用于分析出适用于当前用户的耳道传声特性的滤波器参数。The analysis circuit is used to analyze the filter parameters suitable for the current user's ear canal sound transmission characteristics.
第三方面,本申请实施例提供了一种耳机,包括触发开关,用于触发触发电路。In a third aspect, an embodiment of the present application provides an earphone, including a trigger switch for triggering a trigger circuit.
本发明提出一种主动降噪方法、主动降噪系统及耳机,涉及主动降噪领域,该主动降噪方法包括:获取耳机次级通道传声特性模型;根据用户的耳道传声特性,对预先设置的所述滤波器进行修正处理,得到修正后的滤波器;其中,所述滤波器为基于所述耳机次级通道传声特性模型生成的。该方法通过离线设计与在线修正相结合的方式,实现了基于不同耳机佩戴者的耳道传声特性的降噪性能优化。与现有的自适应主动降噪方法相比,该方法在线计算量小,计算时间短,有效解决了计算时间长导致的相位偏差大的问题,且该方法简单,易于工程实现。The present invention proposes an active noise reduction method, an active noise reduction system, and earphones, and relates to the field of active noise reduction. The active noise reduction method includes: obtaining a sound transmission characteristic model of the secondary channel of the earphone; The preset filter is corrected to obtain a corrected filter; wherein, the filter is generated based on a sound transmission characteristic model of the earphone secondary channel. Through the combination of offline design and online correction, this method realizes the optimization of noise reduction performance based on the sound transmission characteristics of the ear canal of different earphone wearers. Compared with the existing adaptive active noise reduction method, this method has a small amount of online calculation and short calculation time, which effectively solves the problem of large phase deviation caused by long calculation time, and the method is simple and easy to implement in engineering.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图1示出了本发明实施例1提供的一种主动降噪方法流程图;FIG. 1 shows a flowchart of an active noise reduction method provided by Embodiment 1 of the present invention;
图2示出了本发明实施例2提供的一种主动降噪系统结构示意图;FIG. 2 shows a schematic structural diagram of an active noise reduction system provided by Embodiment 2 of the present invention;
图3示出了本发明实施例2提供的一种滤波电路结构示意图;FIG. 3 shows a schematic structural diagram of a filter circuit provided by Embodiment 2 of the present invention;
图4示出了本发明实施例2提供的一种修正电路结构示意图。FIG. 4 shows a schematic structural diagram of a correction circuit provided by Embodiment 2 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的技术方案进行清楚、完整的描述。显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
在本发明的描述中,需要说明的是,术语“第一”、“第二”及“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。除非另有明确的规定和限定,术语“连接”、“相连”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "first", "second" and "third" are used for description purposes only, and should not be understood as indicating or implying relative importance. Unless otherwise clearly specified and limited, the terms "connected" and "connected" should be interpreted in a broad sense, for example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection. Connection; it can be a direct connection or an indirect connection through an intermediary, and it can be an internal connection between two elements. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.
实施例1Example 1
如图1所示的主动降噪方法流程图,本发明提出一种主动降噪方法,包括如下步骤:The flow chart of the active noise reduction method shown in Figure 1, the present invention proposes an active noise reduction method, including the following steps:
S10:获取耳机次级通道传声特性模型G0;S10: Obtain the sound transmission characteristic model G0 of the secondary channel of the earphone;
S20:根据用户的耳道传声特性G0,对预先设置的滤波器H0进行修正处理,得到修正后的滤波器H1;其中,所述滤波器H0为基于所述耳机次级通道传声特性模型G0生成的。S20: According to the sound transmission characteristic G0 of the user's ear canal, modify the preset filter H0 to obtain the corrected filter H1; wherein, the filter H0 is based on the sound transmission characteristic model of the earphone secondary channel Generated by G0.
上述主动降噪方法,获取耳机次级通道传声特性模型的方法在现有技术中已有详细的介绍,此处不再进行过多说明;步骤S10和步骤S20是离线建立和离线设计,步骤S20是在线实现的,这是一种离线与在线结合的主动降噪方法,比起全部在线的自适应设计方法,计算量明显减小,计算时间缩短,相位偏差也有效减小。The above-mentioned active noise reduction method and the method of obtaining the sound transmission characteristic model of the earphone secondary channel have been introduced in detail in the prior art, and will not be described too much here; step S10 and step S20 are offline establishment and offline design, step S20 is implemented online, which is an active noise reduction method combining offline and online. Compared with all online adaptive design methods, the calculation amount is significantly reduced, the calculation time is shortened, and the phase deviation is also effectively reduced.
上述步骤S10包括:基于次级通道的输入数据和输出数据,建立耳机次级通道传声特性模型,并用传递函数式G0表示。优选地,分别测量获取次级通道的输入时域数据和输出时域数据,建立耳机次级通道传声特性模型,并用传递函数时G0表示,G0(s)=B1(s)/A1(s),其中,B1(s)表征输出数据的拉普拉斯变换,为代数式G0(s)的分子、A1(s)表征输入数据的拉普拉斯变换,为代数式G0(s)的分母多项式,s表示微分算子,利用最小二乘类方法确定B1(s)、A1(s)的阶次与参数。The above step S10 includes: based on the input data and output data of the secondary channel, establishing a sound transmission characteristic model of the secondary channel of the earphone, and expressing it with a transfer function formula G0. Preferably, the input time-domain data and output time-domain data of the secondary channel are measured and obtained respectively, and the sound transmission characteristic model of the secondary channel of the earphone is established, and the transfer function is expressed by G0, G0(s)=B 1 (s)/A 1 (s), where B 1 (s) represents the Laplace transform of the output data, which is the numerator of the algebraic formula G0(s), and A 1 (s) represents the Laplace transform of the input data, which is the algebraic formula G0(s ) denominator polynomial, s represents the differential operator, and the order and parameters of B 1 (s) and A 1 (s) are determined by the method of least squares.
上述步骤S20中,滤波器包括前馈滤波器、反馈滤波器和前馈与反馈复合式滤波器中的任意一种。对于前馈滤波器H0FF,可通过求解如下问题确定:即使得‖G1-G0×H0FF‖2最小的H0FF。其中,G1为主通道传声特性模型的传递函数表达式,通过测量主通道得输入时域数据、输出时域数据,利用最小二乘类方法获取。对于反馈滤波器H0FB,可通过求解如下问题确定:即使得‖1/(1-G0×H0FB)‖2最小的反馈滤波器H0FB。对于前馈与反馈复合式滤波器,可分别求取前馈滤波器与反馈滤波器,求解方法与上述单独的前馈滤波器与反馈滤波器相同。In the above step S20, the filter includes any one of a feedforward filter, a feedback filter, and a composite feedforward and feedback filter. For the feedforward filter H0 FF , it can be determined by solving the following problem: H0 FF that makes ‖G1-G0×H0 FF ‖ 2 the smallest. Among them, G1 is the transfer function expression of the sound transmission characteristic model of the main channel, which is obtained by measuring the input time domain data and output time domain data of the main channel, and using the method of least squares. For the feedback filter H0 FB , it can be determined by solving the following problem: the feedback filter H0 FB that minimizes ∥1/(1-G0×H0 FB )∥ 2 . For feed-forward and feedback composite filters, the feed-forward filter and the feedback filter can be obtained respectively, and the solution method is the same as the above-mentioned separate feed-forward filter and feedback filter.
上述步骤S20包括如下步骤S201至步骤S203:The above step S20 includes the following steps S201 to S203:
S201:确定用户的耳道传声特性模型G’和耳道传声特性模型库{Gi’},其中i=1,2…n为大于等于1的正整数,为n个用户的耳道传声特性模型的集合;S201: Determine the user's ear canal sound transmission characteristic model G' and the ear canal sound transmission characteristic model library {G i '}, where i=1, 2...n is a positive integer greater than or equal to 1, and is the ear canal of n users A collection of sound transmission characteristic models;
S202:利用相似度算法计算所述用户的耳道传声特性模型G’和所述耳道传声特性模型库{Gi’}中任一模型的相似度,获取相似度最高的所述耳道传声特性模型库{Gi’}中的模型Gi’;S202: Use a similarity algorithm to calculate the similarity between the user's ear canal sound transmission characteristic model G' and any model in the ear canal sound transmission characteristic model library {G i '}, and obtain the ear canal with the highest similarity. The model G i ' in the channel sound transmission characteristic model library {G i '};
S203:基于获取的模型Gi’,确定修正滤波器H’,基于滤波器H0以及修正滤波器H’,得到修正后的滤波器H1=H0×H’。S203: Based on the acquired model Gi', determine a modified filter H', and obtain a modified filter H1=H0×H' based on the filter H0 and the modified filter H'.
上述步骤S201中,耳机使用者耳道传声特性模型G’为在线确定的,耳道传声特性模型库{Gi’}为离线设计的,在线确定和离线设计在现有技术已有详细的介绍,此处不再进行过多说明。In the above step S201, the ear canal sound transmission characteristic model G' of the ear canal user is determined online, and the ear canal sound transmission characteristic model library {Gi'} is designed offline. The online determination and offline design have been detailed in the prior art. Introduction, no more explanation here.
优选地,基于耳机在当前用户佩戴过程中,建立基于该用户耳道传声特性的次级通道传声特性模型G1(s),同时基于上述耳机次级通道传声特性模型G0(s),则该用户的耳道传声特性模型G’可表示为G’=G1(s)/G0(s);对于耳道传声特性模型库{Gi’},分别基于不同耳道特性的耳机佩戴者,获取每个耳机佩戴者的次级通道传声特性模型Gi(s),基于耳机次级通道传声特性模型G0(s),即可获得耳道传声特性模型库{Gi’}={Gi(s)/G0(s)}。其中,s表示微分算子。Preferably, based on the headphones being worn by the current user, a secondary channel sound transmission characteristic model G1(s) based on the user's ear canal sound transmission characteristics is established, and based on the above-mentioned earphone secondary channel sound transmission characteristic model G0(s), Then the user's ear canal sound transmission characteristic model G' can be expressed as G'=G1(s)/G0(s); for the ear canal sound transmission characteristic model library {Gi'}, earphones wearing Or, obtain the secondary channel sound transmission characteristic model G i (s) of each earphone wearer, based on the earphone secondary channel sound transmission characteristic model G0(s), the ear canal sound transmission characteristic model library {Gi'} can be obtained ={G i (s)/G0 (s)}. Among them, s represents the differential operator.
上述步骤S202中,基于用户的耳道传声特性模型G’和耳道传声特性模型库{Gi’},利用相似度算法,计算用户的耳道传声特性模型G’对应的频响曲线l和所述耳道传声特性模型库{Gi’}对应的频响曲线族{li’}中任一频响曲线的相似度,获取相似度最高的所述耳道传声特性模型库{Gi’}中的频响曲线对应的模型Gi’。In the above step S202, based on the user's ear canal sound transmission characteristic model G' and the ear canal sound transmission characteristic model library {Gi'}, use the similarity algorithm to calculate the frequency response curve corresponding to the user's ear canal sound transmission characteristic model G' The similarity between l and any frequency response curve in the frequency response curve family {li'} corresponding to the ear canal sound transmission characteristic model library {Gi'}, to obtain the ear canal sound transmission characteristic model library {Gi'} with the highest similarity The frequency response curve in Gi'} corresponds to the model Gi'.
上述步骤S202中的相似度算法包括如下步骤S2021和步骤S2022:The similarity algorithm in the above step S202 includes the following steps S2021 and S2022:
S2021:对所述用户的耳道传声特性模型G’对应的频响曲线l与耳道传声特性模型库{Gi’}对应的频响曲线族中的一曲线li进行对齐处理,得到对齐后的曲线l’;S2021: Align the frequency response curve l corresponding to the user's ear canal sound transmission characteristic model G' with a curve li in the frequency response curve family corresponding to the ear canal sound transmission characteristic model library {Gi'}, to obtain the alignment After the curve l';
S2022:计算所述对齐后的曲线l’与频响曲线族中的该曲线li的相似度。S2022: Calculate the similarity between the aligned curve l' and the curve li in the frequency response curve family.
其中,对齐包括确定参数k,使得||li-k*l||2最小。Wherein, the alignment includes determining a parameter k such that ||li-k*l|| 2 is the smallest.
其中,li为耳道传声特性模型库{Gi’}对应的频响曲线族中,进行相似度算法处理的曲线,l为耳道传声特性模型G’对应的频响曲线,k为实数。Among them, li is the curve of the frequency response curve corresponding to the ear canal sound transmission characteristic model library {G i '}, which is processed by the similarity algorithm, l is the frequency response curve corresponding to the ear canal sound transmission characteristic model G', and k is real number.
上述相似度为Sn=||li-k*l||2。The above similarity is Sn=||li-k*l|| 2 .
其中,Sn为对齐后的曲线l’与频响曲线族中的曲线li的相似度。Among them, Sn is the similarity between the aligned curve l' and the curve li in the frequency response curve family.
通过将当前用户的耳道传声特性频响曲线l与耳道传声特性模型库{Gi’}对应的频响曲线族中的所有频响曲线li对齐后,计算对齐后的曲线l’与频响曲线族中的曲线li的相似度,由相似度Sn的公式可知,Sn越小,相似程度越高。即选择最小的值对应的频响曲线,该频响曲线对应的耳道传声特性模型即为该耳机当前使用者的耳道传声特性模型。模型库{Gi’}中的模型个数越多,据其确定的当前耳机使用者耳道传声特性模型越准确,但计算量也会因此增加,降噪系统延迟也会增加。模型库中的模型个数值需根据实际情况和工程实践难度及效果确定。After aligning the current user's ear canal sound transmission characteristic frequency response curve l with all frequency response curves li in the frequency response curve family corresponding to the ear canal sound transmission characteristic model library {Gi'}, calculate the aligned curve l' and The similarity of the curve li in the frequency response curve family can be seen from the formula of the similarity Sn, the smaller the Sn is, the higher the similarity is. That is, the frequency response curve corresponding to the smallest value is selected, and the ear canal sound transmission characteristic model corresponding to the frequency response curve is the ear canal sound transmission characteristic model of the current user of the earphone. The more models there are in the model library {Gi’}, the more accurate the ear canal sound transmission characteristic model of the current earphone user determined according to them is, but the amount of calculation will also increase, and the delay of the noise reduction system will also increase. The values of the models in the model library need to be determined according to the actual situation and the difficulty and effect of engineering practice.
上述步骤S203包括如下步骤S2031和S2032:The above step S203 includes the following steps S2031 and S2032:
S2031:针对所述耳道传声特性模型库{Gi’},建立相应的修正滤波器库{Hi’},每一耳道传声特性模型对应一修正滤波器;S2031: For the ear canal sound transmission characteristic model library {Gi'}, establish a corresponding correction filter library {Hi'}, and each ear canal sound transmission characteristic model corresponds to a correction filter;
S2032:根据所述用户的耳道传声特性模型G’在所述耳道传声特性模型库{Gi’}中对应的模型Gi’,确定相应的所述修正滤波器库{Hi’}中的修正滤波器H’。S2032: According to the user's ear canal sound transmission characteristic model G' corresponding to the model Gi' in the ear canal sound transmission characteristic model library {Gi'}, determine the corresponding correction filter library {Hi'} The modified filter H'.
在上述步骤S2031中,滤波器类型与步骤S20中的滤波器类型保持一致。针对模型库{Gi’}中的每一个模型Gi’,设计滤波器。对于前馈滤波器Hi’FF,可通过求解如下问题确定:即使得‖G1-Gi’×H0FF‖2最小的Hi’FF。其中,G1为主通道传声特性模型的传递函数表达式,通过测量主通道得输入时域数据和输出时域数据,利用最小二乘类方法获取。对于反馈滤波器Hi’FB,可通过求解如下问题确定:即使得‖1/(1-Gi’×Hi’FB)‖2最小的Hi’FB。对于前馈与反馈复合式滤波器,可分别求取前馈滤波器与反馈滤波器,求解方法与上述单独的前馈滤波器与反馈滤波器相同。In the above step S2031, the filter type is consistent with the filter type in step S20. Design a filter for each model Gi' in the model library {Gi'}. For the feedforward filter Hi' FF , it can be determined by solving the following problem: that is, the Hi' FF that makes ‖G1-Gi'×H0 FF ‖ 2 the smallest. Among them, G1 is the transfer function expression of the sound transmission characteristic model of the main channel, which is obtained by measuring the input time domain data and output time domain data of the main channel, and using the method of least squares. For the feedback filter Hi' FB , it can be determined by solving the following problem: that is, Hi' FB that makes ‖1/(1-Gi'×Hi' FB )‖ 2 the smallest. For feed-forward and feedback composite filters, the feed-forward filter and the feedback filter can be obtained respectively, and the solution method is the same as the above-mentioned separate feed-forward filter and feedback filter.
在步骤S2032中,模型库{Gi’}中的模型Gi’与滤波库{Hi’}中的滤波器Hi’是一一对应的,一旦模型库{Gi’}中的模型Gi’被确定,则模型Gi’对应的滤波器Hi’也被确定。修正滤波器为H’=Hi’/H0。通过该修正滤波器H’,将原滤波器H0修正为Hi’,实现了基于不同用户的耳道传声特性在线适配不同的滤波器。In step S2032, there is a one-to-one correspondence between the model Gi' in the model library {Gi'} and the filter Hi' in the filter library {Hi'}, once the model Gi' in the model library {Gi'} is determined, Then the filter Hi' corresponding to the model Gi' is also determined. The correction filter is H'=Hi'/H0. Through the modified filter H', the original filter H0 is modified to Hi', which realizes online adaptation of different filters based on the sound transmission characteristics of different users' ear canals.
实施例2Example 2
如图2所示的主动降噪系统结构示意图,本发明提出一种主动降噪系统,可用于实现实施例1中提出的主动降噪方法,包括噪声测量装置100、滤波电路200、传声装置300、修正电路400。The structure diagram of the active noise reduction system shown in Figure 2, the present invention proposes an active noise reduction system, which can be used to implement the active noise reduction method proposed in Embodiment 1, including a noise measurement device 100, a filter circuit 200, and a sound transmission device 300. Correction circuit 400.
噪声测量装置100包括第一输入端、第一输出端及第二输出端。The noise measuring device 100 includes a first input terminal, a first output terminal and a second output terminal.
滤波电路200包括第一输入端、第二输入端和第一输出端。The filtering circuit 200 includes a first input terminal, a second input terminal and a first output terminal.
传声装置300包括第一输入端、第二输入端、第一输出端和第二输出端。The sound transmission device 300 includes a first input terminal, a second input terminal, a first output terminal and a second output terminal.
修正电路400包括第一输入端、第二输入端、第一输出端和第二输出端。The modification circuit 400 includes a first input terminal, a second input terminal, a first output terminal and a second output terminal.
噪声测量装置100的第一输出端与滤波电路200的第一输入端电性连接,噪声测量装置100第二输出端与修正电路400的第一输入端电性连接。The first output end of the noise measurement device 100 is electrically connected to the first input end of the filter circuit 200 , and the second output end of the noise measurement device 100 is electrically connected to the first input end of the correction circuit 400 .
滤波电路200的第一输入端与噪声测量装置100的第一输出端电性连接,滤波电路200的第二输入端与修正电路400的第一输出端电性连接,滤波电路200的第一输出端与传声装置300的第一输入端电性连接。The first input end of the filter circuit 200 is electrically connected to the first output end of the noise measurement device 100, the second input end of the filter circuit 200 is electrically connected to the first output end of the correction circuit 400, and the first output end of the filter circuit 200 The terminal is electrically connected to the first input terminal of the sound transmission device 300 .
传声装置300的第一输入端与滤波电路200的第一输出端电性连接,传声装置300的第二输入端与修正电路400的第二输出端电性连接,传声装置300的第二输出端与修正电路400的第二输入端电性连接。The first input end of the sound transmission device 300 is electrically connected to the first output end of the filter circuit 200, the second input end of the sound transmission device 300 is electrically connected to the second output end of the correction circuit 400, and the second output end of the sound transmission device 300 The two output terminals are electrically connected to the second input terminal of the correction circuit 400 .
修正电路400的第一输入端与噪声测量装置100的第二输出端电性连接,修正电路400的第二输入端与传声装置300的第二输出端电性连接,修正电路400的第一输出端与滤波电路200的第二输入端电性连接,修正电路400的第二输出端与传声装置300的第二输入端电性连接。The first input end of the correction circuit 400 is electrically connected to the second output end of the noise measurement device 100, the second input end of the correction circuit 400 is electrically connected to the second output end of the sound transmission device 300, and the first input end of the correction circuit 400 The output end is electrically connected to the second input end of the filter circuit 200 , and the second output end of the correction circuit 400 is electrically connected to the second input end of the sound transmission device 300 .
噪声测量装置100用于检测噪声信号。The noise measurement device 100 is used to detect noise signals.
滤波电路200用于产生消噪信号。The filtering circuit 200 is used to generate a noise-canceling signal.
传声装置300用于将电信号转换成声信号;The acoustic transmission device 300 is used to convert electrical signals into acoustic signals;
修正电路400用于修正滤波电路的滤波器。The modification circuit 400 is used for modifying the filter of the filter circuit.
在一个实施方式中,上述主动降噪系统包括修正模式和降噪模式;修正模式为耳机佩戴初期,对滤波器进行修正;降噪模式为滤波器修正后,对环境噪声进行降噪处理。对于修正模式,修正电路400发出触发信号,该触发信号触发传声装置300发出声信号,噪声检测装置100检测上述声信号,并将该声信号转化为电信号,该电信号与传声装置300的输入电信号均传输至修正电路,修正电路计算并输出修正滤波器,用该修正滤波器修正当前滤波器。对于降噪模式,噪声检测装置100将检测的噪声信号传输至滤波电路200,经过滤波电路200处理后输出消噪信号,该消噪信号传输至传声装置300,经传声装置300转化成声信号后播出,得到消噪声波。In one embodiment, the above-mentioned active noise reduction system includes a correction mode and a noise reduction mode; the correction mode is to correct the filter at the initial stage of earphone wearing; the noise reduction mode is to perform noise reduction processing on the environmental noise after the filter is corrected. For the correction mode, the correction circuit 400 sends a trigger signal, and the trigger signal triggers the sound transmission device 300 to emit an acoustic signal, and the noise detection device 100 detects the above-mentioned acoustic signal, and converts the acoustic signal into an electrical signal, and the electric signal is connected with the sound transmission device 300. The input electrical signals are all transmitted to the correction circuit, and the correction circuit calculates and outputs the correction filter, and uses the correction filter to modify the current filter. For the noise reduction mode, the noise detection device 100 transmits the detected noise signal to the filter circuit 200, and outputs a noise reduction signal after being processed by the filter circuit 200. After broadcasting, get the denoised wave.
在一个实施方式中,如图3所示的滤波器结构示意图,滤波电路200包括模数转换电路210、滤波器220和数模转换电路230。所述滤波器220分别与所述模数转换电路210、所述数模转换电路230电性连接,该滤波电路200是数字滤波电路,方便滤波器参数可以在线修改。In one embodiment, as shown in FIG. 3 , the filter circuit 200 includes an analog-to-digital conversion circuit 210 , a filter 220 and a digital-to-analog conversion circuit 230 . The filter 220 is electrically connected to the analog-to-digital conversion circuit 210 and the digital-to-analog conversion circuit 230 respectively. The filter circuit 200 is a digital filter circuit, so that filter parameters can be modified online.
在一个实施方式中,继续参考图3,上述滤波器为前馈滤波器222、反馈滤波器221以及前馈与反馈复合式滤波器中的任意一种。前馈滤波器与反馈滤波器可分别设计。In one embodiment, referring to FIG. 3 , the above-mentioned filter is any one of the feedforward filter 222 , the feedback filter 221 , and the composite feedforward and feedback filter. Feedforward filter and feedback filter can be designed separately.
在一个实施方式中,如图4所示的修正电路结构示意图,包括触发电路410、存储电路420、计算电路430以及分析电路440。In one embodiment, the structural diagram of the correction circuit shown in FIG. 4 includes a trigger circuit 410 , a storage circuit 420 , a calculation circuit 430 and an analysis circuit 440 .
触发电路410包括第一输出端in1、第二输出端in2及第三输出端in3。The trigger circuit 410 includes a first output terminal in1 , a second output terminal in2 and a third output terminal in3 .
计算电路430包括第一输入端in1、第二输入端in2、第三输入端in3及第一输出端out1。The calculation circuit 430 includes a first input terminal in1 , a second input terminal in2 , a third input terminal in3 and a first output terminal out1 .
分析电路440包括第一输入端in1、第二输入端in2及第一输出端out1。The analysis circuit 440 includes a first input terminal in1 , a second input terminal in2 and a first output terminal out1 .
触发电路410的第一输出端out1与传声装置300的第二输入端in2电性连接,触发电路410的第二输出端out2与存储电路420的输入端电性连接,触发电路410的第三输出端out3与计算电路430的第一输入端in1电性连接。The first output terminal out1 of the trigger circuit 410 is electrically connected to the second input terminal in2 of the sound transmission device 300, the second output terminal out2 of the trigger circuit 410 is electrically connected to the input terminal of the storage circuit 420, and the third output terminal of the trigger circuit 410 The output terminal out3 is electrically connected to the first input terminal in1 of the calculation circuit 430 .
计算电路430的第一输入端in1与触发电路410的第三输出端out3电性连接,计算电路430的第二输入端in2与噪声测量装置100的第二输出端out2电性连接,计算电路430的第三输入端in3与传声装置300的第二输出端out2电性连接。The first input terminal in1 of the calculation circuit 430 is electrically connected to the third output terminal out3 of the trigger circuit 410, the second input terminal in2 of the calculation circuit 430 is electrically connected to the second output terminal out2 of the noise measurement device 100, and the calculation circuit 430 The third input terminal in3 is electrically connected to the second output terminal out2 of the sound transmission device 300 .
存储电路420的输入端与触发电路410的第二输出端out2电性连接,存储电路420的输出端与分析电路440第一输入端in1电性连接。The input end of the storage circuit 420 is electrically connected to the second output end out2 of the trigger circuit 410 , and the output end of the storage circuit 420 is electrically connected to the first input end in1 of the analysis circuit 440 .
分析电路440的第一输入端in1与存储电路420的输出端电性连接,分析电路440的第二输入端in2与计算电路430第一输出端out1电性连接,分析电路440的第一输出端与滤波电路200第二输入端in2电性连接。The first input terminal in1 of the analysis circuit 440 is electrically connected to the output terminal of the storage circuit 420, the second input terminal in2 of the analysis circuit 440 is electrically connected to the first output terminal out1 of the calculation circuit 430, and the first output terminal of the analysis circuit 440 It is electrically connected with the second input terminal in2 of the filter circuit 200 .
触发电路410用于触发传声装置300发出声信号,并同时触发计算电路430与存储电路420。触发电路410触发传声装置300接入电信号,将该电信号转换为声信号发送出去;同时触发计算电路430和存储电路420,计算电路430和存储电路420上电后,启动并准备工作。The trigger circuit 410 is used for triggering the sound transmission device 300 to emit an acoustic signal, and simultaneously triggering the calculation circuit 430 and the storage circuit 420 . The trigger circuit 410 triggers the sound transmitting device 300 to receive an electrical signal, converts the electrical signal into an acoustic signal and sends it out; at the same time triggers the calculation circuit 430 and the storage circuit 420, and after the calculation circuit 430 and the storage circuit 420 are powered on, they are started and ready to work.
计算电路430用于计算出当前用户的耳道传声特性。计算电路430接收传声装置300的输入电信号,以及噪声检测装置100检测到传声装置300发出的声信号的电信号,根据上述传声装置的输入电信号和噪声监测装置检测到的电信号,计算并输出当前用户的耳道传声特性模型数据至分析电路。The calculation circuit 430 is used to calculate the sound transmission characteristics of the current user's ear canal. The calculation circuit 430 receives the input electrical signal of the acoustic transmission device 300, and the electrical signal of the acoustic signal emitted by the acoustic transmission device 300 detected by the noise detection device 100, and according to the input electrical signal of the above-mentioned acoustic transmission device and the electrical signal detected by the noise monitoring device , calculate and output the current user's ear canal sound transmission characteristic model data to the analysis circuit.
存储电路420用于存储多种耳道传声特性数据及对应的滤波参数。存储电路420被触发后,将存储的数据传输至分析电路440。优选地,为节省分析电路440的存储空间,存储电路420可一组一组的向分析电路440发送数据。The storage circuit 420 is used for storing various kinds of acoustic transmission characteristic data of the ear canal and corresponding filtering parameters. After the storage circuit 420 is triggered, the stored data is transmitted to the analysis circuit 440 . Preferably, in order to save the storage space of the analysis circuit 440 , the storage circuit 420 may send data to the analysis circuit 440 in groups.
分析电路440用于分析出适用于当前用户的耳道传声特性的修正滤波器参数。根据来自计算电路430的当前用户的耳道传声特性模型数据以及来自存储电路420的模型库和滤波器库数据,可以得出修正滤波器参数,并将该滤波器参数输出至滤波电路200。优选地,分析电路440基于当前用户的耳道传声特性模型数据与来自存储电路420当前一组的模型数据和相应的滤波器数据,分析得出计算结果并记录该分析结果,当存储电路420中的各分组数据均已输出至分析电路440,可在所有分析结果中挑选最优结果对应的修正滤波器参数作为分析电路440的输出。The analysis circuit 440 is used to analyze the modified filter parameters suitable for the current user's ear canal sound transmission characteristics. According to the current user's ear canal sound transmission characteristic model data from the calculation circuit 430 and the model library and filter library data from the storage circuit 420 , corrected filter parameters can be obtained, and the filter parameters are output to the filter circuit 200 . Preferably, the analysis circuit 440 analyzes the calculation results based on the current user's ear canal sound transmission characteristic model data and the current set of model data and corresponding filter data from the storage circuit 420 and records the analysis results, when the storage circuit 420 All the grouped data in have been output to the analysis circuit 440 , and the corrected filter parameters corresponding to the optimal result can be selected from all the analysis results as the output of the analysis circuit 440 .
本发明提出一种主动降噪方法、主动降噪系统及耳机,该方法通过离线设计与在线修正相结合的方式,实现了基于不同耳机佩戴者的耳道传声特性的降噪性能优化。与现有的自适应主动降噪方法相比,该方法在线计算量小,计算时间短,有效解决了计算时间长导致的相位偏差大的问题,且该方法简单,易于工程实现。The invention proposes an active noise reduction method, an active noise reduction system, and an earphone. The method realizes the optimization of noise reduction performance based on the sound transmission characteristics of ear canals of different earphone wearers through the combination of offline design and online correction. Compared with the existing adaptive active noise reduction method, this method has a small amount of online calculation and short calculation time, which effectively solves the problem of large phase deviation caused by long calculation time, and the method is simple and easy to implement in engineering.
实施例3Example 3
本发明还提出一种耳机,包括实施例2中的主动降噪系统,还包括触发开关,用于触发触发电路。该出发开关的开启可以是手动模式或自动模式。当为手动模式时,用户手动开启触发开关,触发电路410开始工作,启动修正模式;当为自动模式时,耳机检测到有佩戴者正佩戴该耳机并佩戴完成,则自动开启触发开关,触发电路410开始工作,启动修正模式。具有实施例2中提出的主动降噪系统的耳机,能够根据用户的耳道传声特性在线修改滤波器参数,对用户的耳道传声特性具有良好的自适应性,且比使用自适应算法的主动降噪耳机计算量小,计算时常短,能够保证良好的降噪性能。The present invention also proposes an earphone, which includes the active noise reduction system in Embodiment 2, and also includes a trigger switch for triggering the trigger circuit. The starting switch can be turned on in a manual mode or an automatic mode. When it is in manual mode, the user manually turns on the trigger switch, trigger circuit 410 starts to work, and starts the correction mode; when it is in automatic mode, the earphone detects that a wearer is wearing the earphone and wears it, then automatically turns on the trigger switch, and triggers the circuit 410 starts to work and starts the correction mode. The earphone with the active noise reduction system proposed in Embodiment 2 can modify the filter parameters online according to the user's ear canal sound transmission characteristics, and has good adaptability to the user's ear canal sound transmission characteristics, and is better than using an adaptive algorithm The active noise reduction earphones have a small calculation amount and a very short calculation time, which can ensure good noise reduction performance.
显然,所属领域的技术人员可以清楚地了解到,上述设计方法的各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Apparently, those skilled in the art can clearly understand that each step of the above-mentioned design method can be implemented by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices , alternatively, they can be implemented with executable program codes of the computing device, thus, they can be stored in the storage device and executed by the computing device, or they can be made into individual integrated circuit modules respectively, or the Multiple modules or steps are implemented as a single integrated circuit module. As such, the present invention is not limited to any specific combination of hardware and software.
除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对步骤、数字表达式和数值并不限制本发明的范围。Relative steps, numerical expressions and numerical values of components and steps set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
本发明实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principles and technical effects of the device provided by the embodiment of the present invention are the same as those of the foregoing method embodiment. For brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the foregoing method embodiment.
在这里示出和描述的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制,因此,示例性实施例的其他示例可以具有不同的值。In all examples shown and described herein, any specific values should be construed as merely exemplary and not limiting, and thus other examples of the exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810520167.9A CN108495227A (en) | 2018-05-25 | 2018-05-25 | Active denoising method, active noise reduction system and earphone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810520167.9A CN108495227A (en) | 2018-05-25 | 2018-05-25 | Active denoising method, active noise reduction system and earphone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108495227A true CN108495227A (en) | 2018-09-04 |
Family
ID=63351813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810520167.9A Pending CN108495227A (en) | 2018-05-25 | 2018-05-25 | Active denoising method, active noise reduction system and earphone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108495227A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290442A (en) * | 2019-07-17 | 2019-09-27 | 北京市劳动保护科学研究所 | Active Noise Canceling Headphones and Design Method |
CN110996210A (en) * | 2019-12-13 | 2020-04-10 | 恒玄科技(上海)股份有限公司 | Method for sound field equalization and earphone |
CN111462723A (en) * | 2020-03-31 | 2020-07-28 | 上海联影医疗科技有限公司 | Active noise reduction method and device |
CN111885459A (en) * | 2020-07-24 | 2020-11-03 | 歌尔科技有限公司 | Audio processing method, audio processing device and intelligent earphone |
CN112788482A (en) * | 2021-03-01 | 2021-05-11 | 北京电信易通信息技术股份有限公司 | Microphone array positioning and holder linkage method and device |
WO2021227696A1 (en) * | 2020-05-14 | 2021-11-18 | 华为技术有限公司 | Method and apparatus for active noise reduction |
CN113676804A (en) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | Active noise reduction method and device |
US12198669B2 (en) | 2019-12-30 | 2025-01-14 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for reducing noise in imaging system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102973277A (en) * | 2012-10-30 | 2013-03-20 | 清华大学 | Frequency following response signal test system |
US20130243214A1 (en) * | 2012-03-16 | 2013-09-19 | Wolfson Microelectronics Plc | Active noise cancellation system |
US20140044275A1 (en) * | 2012-08-13 | 2014-02-13 | Apple Inc. | Active noise control with compensation for error sensing at the eardrum |
US20150365761A1 (en) * | 2014-06-13 | 2015-12-17 | Cirrus Logic, Inc. | Systems and methods for selectively enabling and disabling adaptation of an adaptive noise cancellation system |
CN106210962A (en) * | 2016-09-22 | 2016-12-07 | 会听声学科技(北京)有限公司 | A kind of ear stricture of vagina acoustic characteristic ONLINE RECOGNITION method and system being applicable to noise cancelling headphone design |
US20170110106A1 (en) * | 2015-10-16 | 2017-04-20 | Avnera Corporation | Calibration and stabilization of an active notice cancelation system |
CN106782487A (en) * | 2016-12-20 | 2017-05-31 | 歌尔科技有限公司 | The noise reduction emulation mode and system of reaction type active noise reduction earphone |
US20170200444A1 (en) * | 2016-01-12 | 2017-07-13 | Bose Corporation | Systems and methods of active noise reduction in headphones |
CN107808657A (en) * | 2017-11-30 | 2018-03-16 | 会听声学科技(北京)有限公司 | The design system and method for active noise reduction earphone |
CN107920297A (en) * | 2017-12-21 | 2018-04-17 | 歌尔科技有限公司 | A kind of feedback-type noise cancelling headphone method of adjustment and equipment |
-
2018
- 2018-05-25 CN CN201810520167.9A patent/CN108495227A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130243214A1 (en) * | 2012-03-16 | 2013-09-19 | Wolfson Microelectronics Plc | Active noise cancellation system |
US20140044275A1 (en) * | 2012-08-13 | 2014-02-13 | Apple Inc. | Active noise control with compensation for error sensing at the eardrum |
CN102973277A (en) * | 2012-10-30 | 2013-03-20 | 清华大学 | Frequency following response signal test system |
US20150365761A1 (en) * | 2014-06-13 | 2015-12-17 | Cirrus Logic, Inc. | Systems and methods for selectively enabling and disabling adaptation of an adaptive noise cancellation system |
US20170110106A1 (en) * | 2015-10-16 | 2017-04-20 | Avnera Corporation | Calibration and stabilization of an active notice cancelation system |
US20170200444A1 (en) * | 2016-01-12 | 2017-07-13 | Bose Corporation | Systems and methods of active noise reduction in headphones |
CN106210962A (en) * | 2016-09-22 | 2016-12-07 | 会听声学科技(北京)有限公司 | A kind of ear stricture of vagina acoustic characteristic ONLINE RECOGNITION method and system being applicable to noise cancelling headphone design |
CN106782487A (en) * | 2016-12-20 | 2017-05-31 | 歌尔科技有限公司 | The noise reduction emulation mode and system of reaction type active noise reduction earphone |
CN107808657A (en) * | 2017-11-30 | 2018-03-16 | 会听声学科技(北京)有限公司 | The design system and method for active noise reduction earphone |
CN107920297A (en) * | 2017-12-21 | 2018-04-17 | 歌尔科技有限公司 | A kind of feedback-type noise cancelling headphone method of adjustment and equipment |
Non-Patent Citations (3)
Title |
---|
佚名: "单芯片主动降噪(ANC)解决方案", 《今日电子》 * |
张亚东: "前馈式降噪耳机设计", 《电声技术》 * |
郇战;戴永惠;王振海;陶亚辉;: "基于FxLMS算法和预测滤波器的数字耳机降噪研究", 常州大学学报(自然科学版), no. 02 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290442A (en) * | 2019-07-17 | 2019-09-27 | 北京市劳动保护科学研究所 | Active Noise Canceling Headphones and Design Method |
CN110996210B (en) * | 2019-12-13 | 2021-11-23 | 恒玄科技(上海)股份有限公司 | Method for sound field equalization and earphone |
CN110996210A (en) * | 2019-12-13 | 2020-04-10 | 恒玄科技(上海)股份有限公司 | Method for sound field equalization and earphone |
US12198669B2 (en) | 2019-12-30 | 2025-01-14 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for reducing noise in imaging system |
CN111462723A (en) * | 2020-03-31 | 2020-07-28 | 上海联影医疗科技有限公司 | Active noise reduction method and device |
CN111462723B (en) * | 2020-03-31 | 2023-09-26 | 上海联影医疗科技股份有限公司 | Active noise reduction method and device |
CN113676804B (en) * | 2020-05-14 | 2023-07-18 | 华为技术有限公司 | Active noise reduction method and device |
CN113676804A (en) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | Active noise reduction method and device |
WO2021227696A1 (en) * | 2020-05-14 | 2021-11-18 | 华为技术有限公司 | Method and apparatus for active noise reduction |
US12262184B2 (en) | 2020-05-14 | 2025-03-25 | Huawei Technologies Co., Ltd. | Active noise cancellation method and apparatus |
CN111885459A (en) * | 2020-07-24 | 2020-11-03 | 歌尔科技有限公司 | Audio processing method, audio processing device and intelligent earphone |
CN112788482B (en) * | 2021-03-01 | 2021-07-30 | 北京电信易通信息技术股份有限公司 | Microphone array positioning and holder linkage method and device |
CN112788482A (en) * | 2021-03-01 | 2021-05-11 | 北京电信易通信息技术股份有限公司 | Microphone array positioning and holder linkage method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495227A (en) | Active denoising method, active noise reduction system and earphone | |
CN109195045B (en) | Method and device for detecting wearing state of earphone and earphone | |
JP6096993B1 (en) | Earphone sound effect compensation method, apparatus, and earphone | |
CN110475178B (en) | Wireless earphone noise reduction method and device, wireless earphone and storage medium | |
US9516407B2 (en) | Active noise control with compensation for error sensing at the eardrum | |
US9872116B2 (en) | Apparatus and method for detecting earphone removal and insertion | |
CN108174320B (en) | Adaptive auditory canal active noise reduction earphone and adaptive auditory canal active noise reduction method | |
CN106657507B (en) | Acoustic echo cancellation method and device | |
JP2017163531A (en) | Head-wearable hearing device | |
CN101292570A (en) | System and method for adapting hearing aid | |
CN104519212A (en) | An echo cancellation method and apparatus | |
CN109314814B (en) | Active noise reduction method and earphone | |
CN108156551A (en) | Active noise reduction system, active noise reduction earphone and active denoising method | |
TWI729404B (en) | Method, electronic device and recording medium for compensating in-ear audio signal | |
CN113132846B (en) | Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone | |
CN113115157B (en) | Active noise reduction method and device for earphone and semi-in-ear active noise reduction earphone | |
CN111464930B (en) | Howling detection method, detection device and storage medium of earphone | |
CN113542966A (en) | Earphone and control method thereof | |
CN105430586B (en) | Method and apparatus for feedback inhibition | |
CN117221783A (en) | Noise reduction method of Bluetooth headset noise reduction system and storage medium | |
CN110740413A (en) | environmental sound monitoring parameter calibration system and method | |
CN113132847B (en) | Noise reduction parameter determining method and device of active noise reduction earphone and active noise reduction method | |
US20180254056A1 (en) | Sounding device, audio transmission system, and audio analysis method thereof | |
JP2018538764A (en) | Hearing device with improved digital feedback suppression circuit initialization | |
KR20230057287A (en) | Method for generating active noise reduction filter, storage medium and earphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20250221 |
|
AD01 | Patent right deemed abandoned |