CN110430520B - Design method and design device of feedback filter and earphone - Google Patents

Design method and design device of feedback filter and earphone Download PDF

Info

Publication number
CN110430520B
CN110430520B CN201910738794.4A CN201910738794A CN110430520B CN 110430520 B CN110430520 B CN 110430520B CN 201910738794 A CN201910738794 A CN 201910738794A CN 110430520 B CN110430520 B CN 110430520B
Authority
CN
China
Prior art keywords
transfer function
determining
function
feedback filter
secondary channel
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.)
Active
Application number
CN201910738794.4A
Other languages
Chinese (zh)
Other versions
CN110430520A (en
Inventor
虞安波
颜学海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ht Acoustics Technology Beijing Co ltd
Original Assignee
Ht Acoustics Technology Beijing Co ltd
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 Ht Acoustics Technology Beijing Co ltd filed Critical Ht Acoustics Technology Beijing Co ltd
Priority to CN201910738794.4A priority Critical patent/CN110430520B/en
Publication of CN110430520A publication Critical patent/CN110430520A/en
Application granted granted Critical
Publication of CN110430520B publication Critical patent/CN110430520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R31/00Apparatus or processes specially adapted for the manufacture of transducers or diaphragms therefor

Abstract

The application provides a design method and a design device of a feedback filter and an earphone, and obtains a transfer function of a secondary channel of the earphone in at least one working state; determining a nominal system transfer function and a first weight function of the headset based on the transfer function of the secondary channel; determining a second weight function based on a noise reduction expectation of the headset; determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function. Compared with the design method of the feedback filter in the prior art, the method and the device have the advantages that the parameters of the feedback filter are determined through the transfer functions of the secondary channels in various working states, so that the earphone is kept stable in various working states, howling is reduced, and robustness is improved under the condition that noise is kept low.

Description

Design method and design device of feedback filter and earphone
Technical Field
The present application relates to the field of active noise reduction technologies, and in particular, to a design method and a design apparatus for a feedback filter, and an earphone.
Background
The noise reduction effect of the active noise reduction earphone mainly depends on the design of a filter in a noise reduction system, and the filter is divided into a feedforward filter and a feedback filter according to the topological structure of each device in the noise reduction system. The feedback filter has good noise reduction effect on low-frequency noise.
However, the feedback filter is designed based on the acoustic characteristics of a certain noise reduction earphone, and the noise reduction earphone is in a static stable state, when the feedback filter is used for batch production and application of the noise reduction earphone, the acoustic characteristics of the noise reduction earphone are poor in consistency due to a production process, and the acoustic characteristics of the noise reduction earphone are changed rapidly due to operations such as extrusion and the like in the use process of a user, and the noise reduction system adopting the same feedback filter is easy to have an unstable problem, so that howling is caused, noise cannot be eliminated, noise is enhanced, hearing of the user is damaged, and robustness is poor.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for designing a feedback filter, in which parameters of the feedback filter are determined according to transfer functions of secondary channels in multiple operating states, so that an earphone is stable in the multiple operating states, occurrence of howling is reduced, and robustness is enhanced while noise is kept low.
The embodiment of the application provides a design method of a feedback filter, which comprises the following steps:
obtaining a transfer function of a secondary channel of the earphone in at least one working state;
determining a nominal system transfer function and a first weight function of the headset based on the transfer function of the secondary channel;
determining a second weight function based on a noise reduction expectation of the headset;
determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function.
Further, the determining a nominal system transfer function and a first weight function of the headphone based on the transfer function of the secondary channel comprises:
determining a nominal system transfer function for the headset based on the transfer function of the secondary channel;
determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function.
Further, the determining a nominal system transfer function of the headset based on the transfer function of the secondary channel includes:
respectively determining a frequency response curve corresponding to each transfer function of the secondary channel aiming at each transfer function of the secondary channel;
determining an average frequency response curve for the secondary channel based on each of the frequency response curves;
determining the nominal system transfer function based on the average frequency response curve.
Further, the determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function includes:
calculating a difference value with the nominal system transfer function respectively aiming at the transfer function of each secondary channel;
determining a frequency response curve of the first weight function based on each of the difference values;
determining the first weight function based on a frequency response curve of the first weight function.
Further, the determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function includes:
determining a variation interval of the transfer function of the secondary channel based on the first weight function, the second weight function, and the nominal system transfer function;
and determining the parameters of the feedback filter based on the change interval of the transfer function.
The embodiment of the present application further provides a design apparatus for a feedback filter, where the design apparatus includes:
the acquisition module is used for acquiring a transfer function of a secondary channel of the earphone in at least one wearing state;
a first determining module for determining a nominal system transfer function and a first weight function of the headset based on the transfer function of each of the secondary channels;
a second determining module for determining a second weight function based on a noise reduction expectation of the headphone;
a design module to design the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function.
Further, the first determining module comprises:
a first determining unit for determining a nominal system transfer function of the headset based on the transfer function of the secondary channel;
a second determining unit for determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function.
Further, the first determining unit is specifically configured to:
respectively determining a frequency response curve corresponding to each transfer function of the secondary channel aiming at each transfer function of the secondary channel;
determining an average frequency response curve for the secondary channel based on each of the frequency response curves;
determining the nominal system transfer function based on the average frequency response curve.
Further, the second determining unit is specifically configured to:
calculating a difference value with the nominal system transfer function respectively aiming at the transfer function of each secondary channel;
determining a frequency response curve of the first weight function based on each of the difference values;
determining the first weight function based on a frequency response curve of the first weight function.
Further, the design module is specifically configured to:
determining a variation interval of the transfer function of the secondary channel based on the first weight function, the second weight function, and the nominal system transfer function;
and determining the parameters of the feedback filter based on the change interval of the transfer function.
The embodiment of the application also provides an earphone which comprises a feedback microphone, a loudspeaker and a feedback filter designed by using the design method of the feedback filter;
the feedback microphone is electrically connected with the feedback filter, and the feedback filter is electrically connected with the loudspeaker.
Further, the earphone further comprises:
a feedforward filter and a feedforward microphone;
the feedforward microphone is electrically connected with the feedforward filter; the feedforward filter is electrically connected with the loudspeaker.
An embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine readable instructions when executed by the processor performing the steps of the method of designing a feedback filter as described above.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method for designing a feedback filter as described above.
According to the design method and the design device of the feedback filter and the earphone, the transfer function of the secondary channel of the earphone in at least one working state is obtained; determining a nominal system transfer function and a first weight function of the headset based on the transfer function of the secondary channel; determining a second weight function based on a noise reduction expectation of the headset; determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function. Compared with the design method of the feedback filter in the prior art, the method and the device have the advantages that the parameters of the feedback filter are determined through the transfer functions of the secondary channels in various working states, so that the earphone is kept stable in various working states, howling is reduced, and robustness is improved under the condition that noise is kept low.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a method for designing a feedback filter according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating another method for designing a feedback filter according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram illustrating a device for designing a feedback recorder according to an embodiment of the present application;
fig. 4 shows a second schematic structural diagram of a design apparatus of a feedback filter according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
Research shows that before the application is provided, a feedback filter is designed based on the acoustic characteristics of a certain noise reduction earphone, the noise reduction earphone is in a static stable state, when the feedback filter is used for batch production and application of the noise reduction earphone, the acoustic characteristics of the noise reduction earphone are poor in consistency due to a production process, the acoustic characteristics of the noise reduction earphone are changed rapidly due to operations such as extrusion and the like in the use process of a user, and the noise reduction system adopting the same feedback filter is easy to have the problem of instability, so that squeaking is caused, and at the moment, noise cannot be eliminated, noise is enhanced, and the hearing of the user is damaged.
Based on this, the embodiment of the present application provides a method for designing a feedback filter, so as to determine parameters of the feedback filter through transfer functions of secondary channels in multiple operating states, so that an earphone is kept stable in multiple operating states, occurrence of howling is reduced, and robustness is enhanced under the condition of keeping noise low.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for designing a feedback filter according to an embodiment of the present disclosure. As shown in fig. 1, a method for designing a feedback filter provided in an embodiment of the present application, where the designed feedback filter is applied to a headphone, includes:
s101, obtaining a transfer function of a secondary channel of the earphone in at least one working state.
In this step, the transfer function of the secondary channel of the earphone in at least one working state may be obtained from the database, and the transfer function may also be determined and obtained through experiments.
The transfer function of the secondary channel is the system characteristic of the objective earphone transmission secondary channel, reflects the sound transmission characteristic of the secondary channel, and is a two-dimensional curve, the horizontal axis is frequency, the vertical axis is a complex frequency response value (with a real part and an imaginary part), and the curve can be represented by using limited discrete points.
Here, the secondary channel refers to a transfer path of a secondary sound source of the headphone, such as a speaker, a speaker. The transfer function of the secondary channel describes the relationship between the input signal to the horn and the output signal of the horn, and is a complex frequency response defined in the frequency domain.
Further, the working state may refer to a state that the earphone is in operation and receives external factors. Specifically, the earphone may be worn normally, squeezed, loosened from the wearer, removed from the wearer, or displaced from a predetermined wearing position. When the earphone is normally worn, the sound performance of the earphone is normal, but when the earphone is abnormally worn, problems such as howling may occur.
S102, determining a nominal system transfer function and a first weight function of the earphone based on the transfer function of the secondary channel.
In this step, transfer functions of the secondary channel in different working states may be fitted to a nominal system transfer function in the form of a transfer function model or the like, and then the first weight function may be determined based on the nominal system transfer function and the transfer function of the secondary channel.
Wherein, the nominal system transfer function can represent the average transfer performance of various states of the sound transmission of the earphone.
Therefore, the feedback filter is designed in consideration of various working states of the earphone, and the robustness of the earphone can be enhanced.
S103, determining a second weight function based on the noise reduction expectation of the earphone.
Since the noise reduction band of the feedback filter is mainly concentrated in the low band, the noise reduction expectation may preferably be set to: the noise reduction bandwidth is 20Hz-200Hz, and the noise reduction depth is 20 dB; the second weight function can be designed as a band pass filter with a gain of 20dB between 20Hz and 200 Hz.
Therefore, the noise reduction performance and the robust performance of the noise reduction system can be preset by adjusting the second weight function, the noise reduction performance and the robust performance are mutually restricted, and the better the noise reduction performance is, the worse the robust performance is; the better the robustness, the worse the noise reduction performance, and a good noise reduction system comprises a balanced robustness and noise reduction.
S104, determining parameters of the feedback filter based on the first weight function, the second weight function and the nominal system transfer function.
In this step, the first weight function affects the noise reduction performance of the feedback filter, the second weight function affects the robustness of the noise reduction system, and the first weight function reflects the uncertainty in the acoustic transmission characteristic of the feedback filter, and based on the above parameters, in combination with a predetermined model, the setting parameters of the feedback filter can be obtained, thereby completing the design of the feedback filter.
Therefore, when the feedback filter is designed, the noise reduction performance and robustness of the feedback filter are considered, and the robustness can be enhanced while the noise reduction performance is maintained at a certain level.
According to the design method of the feedback filter, a transfer function of a secondary channel of the earphone in at least one working state is obtained; determining a nominal system transfer function and a first weight function of the headset based on the transfer function of the secondary channel; determining a second weight function based on a noise reduction expectation of the headset; determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function. Compared with the design method of the feedback filter in the prior art, the method and the device have the advantages that the parameters of the feedback filter are determined through the transfer functions of the secondary channels in various working states, so that the earphone is kept stable in various working states, howling is reduced, and noise is further reduced.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for designing a feedback filter according to another embodiment of the present application. As shown in fig. 2, a method for designing a feedback filter provided in an embodiment of the present application includes:
s201, obtaining a transfer function of a secondary channel of the earphone in at least one working state.
S202, determining a nominal system transfer function of the earphone based on the transfer function of the secondary channel.
S203, determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function.
In steps S202 and S203, the transfer functions of the secondary channels in multiple working states may be a set of transfer functions of the same noise reduction earphone in various changes of sound transmission characteristics of the secondary channels occurring in a squeezing state or in a wearing process, or a set of transfer functions of the same noise reduction earphone in a change of sound transmission characteristics of the secondary channels of the earphone due to limitations of a production process in mass production.
Specifically, the nominal system transfer function may be determined by a transfer function model. The transfer function model can be expressed as the following formula:
G(s)=[1+Δ(s)W(s)]G0(s),∥Δ∥∞<1
where G (S) represents the set of transfer functions of the secondary channels, G0(S) represents the nominal system transfer function, Δ (S) is the standard deviation of the transfer function, w (S) is the first weight function, and S represents the differential operator.
Wherein the nominal system transfer function may be obtained by an average fit of the set of transfer functions of the secondary channel.
S204, determining a second weight function based on the noise reduction expectation of the earphone.
S205, determining parameters of the feedback filter based on the first weight function, the second weight function and the nominal system transfer function.
The descriptions of S201, S204 to S205 may refer to the descriptions of S101 to S103, and the same technical effects can be achieved, which are not described in detail.
Optionally, the determining a nominal system transfer function of the headset based on the transfer function of the secondary channel includes:
respectively determining a frequency response curve corresponding to each transfer function of the secondary channel aiming at each transfer function of the secondary channel;
determining an average frequency response curve for the secondary channel based on each of the frequency response curves;
determining the nominal system transfer function based on the average frequency response curve.
The frequency response refers to a phenomenon that when an audio signal output by constant voltage is connected with a system, sound pressure generated by a sound box is increased or attenuated along with the change of frequency, and the phase is changed along with the change of frequency, and the related change relationship between the sound pressure and the phase and the frequency is called frequency response. And the frequency response curve is the corresponding curve.
Specifically, g(s) ═ g1(s),g2(s)…gn(s)]Wherein g isnAnd(s) represents a transfer function of the secondary channel in n working states, wherein s is j omega, j is a complex operator, and omega is a frequency point. Specifically, g may be the frequency of each frequency pointn(s) each corresponding to a complex number, using the average of the two complex numbers with the largest and smallest amplitudesValue, response at that frequency as a nominal transfer function. Therefore, the frequency response of the nominal system transfer function at each frequency point can be determined, and the nominal system transfer function G can be determined by using a frequency domain fitting method based on the frequency response values at the whole frequency section0(s)。
Optionally, the sound transmission characteristic G of the feedback noise reduction point to the ear drum of the human ear can be determined1(s) determining a new nominal system transfer function G'0(s)=G1(s)×G0(s) due to G1The uncertainty of(s) is small and can be ignored here.
Optionally, the determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function includes:
calculating a difference value with the nominal system transfer function respectively aiming at the transfer function of each secondary channel;
determining a frequency response curve of the first weight function based on each of the difference values;
determining the first weight function based on a frequency response curve of the first weight function.
Specifically, all g in the set G(s) may be traversedn(s) let s be j ω, and find corresponding | G (j ω)/G0(j ω) -1|, the first weight function W(s) satisfies | W (j ω) | survival>|G(jω)/G0(jω)-1|。
Optionally, w(s) is a minimum phase system. When determining W, the transfer functions of the secondary channels in different states may be considered to be included in the set { G | G ═ 1+ W) G0In the method, if the feedback filter can be stable with the noise reduction system formed by any model in the set G, the feedback filter can ensure that the noise reduction earphone is stable in various states, and prevent the occurrence of howling. The method can be formed by combining a plurality of filters, can also traverse each frequency, takes the response with the maximum amplitude as the response of W under the frequency, and then carries out frequency response fitting, and can properly increase the gain because the condition that the amplitude after fitting is smaller than that before fitting may occur in low-order fitting.
Optionally, the determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function includes:
determining a variation interval of the transfer function of the secondary channel based on the first weight function, the second weight function, and the nominal system transfer function;
and determining the parameters of the feedback filter based on the change interval of the transfer function.
Specifically, in the noise reduction system, the earphone sound transmission system sends the received audio signal to the feedback filter, and the feedback filter processes the audio signal and sends the processed audio signal to the sound transmission system of the earphone, so as to reduce noise. The input-output relationship between the two can be:
Figure BDA0002163201460000111
wherein, P is the earphone sound transmission system, K is the feedback filter, z is the output vector for evaluating the noise reduction performance and the model perturbation (or model uncertainty), y is the input vector of the feedback filter, w is the input vector for evaluating the noise reduction performance and the model perturbation (or model uncertainty), and u is the output of the feedback filter.
Wherein the content of the first and second substances,
Figure BDA0002163201460000112
W2is a second weight function.
Partitioning P into blocks corresponding to the input signals w and u, i.e.:
Figure BDA0002163201460000113
closed loop transfer function matrix H from w to zzw(s) may be:
Hzw(s)=P11(s)+P12(s)K(s)[I-P22K(s)]-1P21(s)
thus, the feedback filter k(s) can be summarized as a solution to the following problem:
‖Hzw11<γ
where γ is a sufficiently small positive number, indicating tracking accuracy. The magnitude of γ directly affects the noise reduction performance, and the smaller the control system performance, the better, therefore, the value of γ should be minimized in design. The above-mentioned acquisition feedback filter k(s) can be solved by the Riccati equation. The method for solving the Riccati equation is prior art and is not described herein in detail.
According to the design method of the feedback filter, a transfer function of a secondary channel of the earphone in at least one working state is obtained; determining a nominal system transfer function for the headset based on the transfer function of the secondary channel; determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function; determining a second weight function based on a noise reduction expectation of the headset; determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function. Compared with the design method of the feedback filter in the prior art, the method and the device have the advantages that the parameters of the feedback filter are determined through the transfer functions of the secondary channels in various working states, so that the earphone is kept stable in various working states, howling is reduced, and noise is further reduced.
Referring to fig. 3 and 4, fig. 3 is a first schematic structural diagram of a design apparatus of a feedback filter provided in an embodiment of the present application, and fig. 4 is a second schematic structural diagram of the design apparatus of the feedback filter provided in the embodiment of the present application. As shown in fig. 3, the apparatus 300 for designing the feedback filter includes:
an obtaining module 310, configured to obtain a transfer function of a secondary channel of the headset in at least one wearing state;
a first determining module 320 for determining a nominal system transfer function and a first weight function of the headset based on the transfer function of each of the secondary channels;
a second determining module 330 for determining a second weight function based on the noise reduction expectation of the headphone;
a design module 340 configured to design the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function.
Further, the first determining module 320 includes, as shown in fig. 4:
a first determining unit 321 for determining a nominal system transfer function of the headphone based on the transfer function of the secondary channel;
a second determining unit 322, configured to determine the first weight function based on the transfer function of the secondary channel and the nominal system transfer function.
Further, the first determining unit 321 is specifically configured to:
respectively determining a frequency response curve corresponding to each transfer function of the secondary channel aiming at each transfer function of the secondary channel;
determining an average frequency response curve for the secondary channel based on each of the frequency response curves;
determining the nominal system transfer function based on the average frequency response curve.
Further, the second determining unit 322 is specifically configured to:
calculating a difference value with the nominal system transfer function respectively aiming at the transfer function of each secondary channel;
determining a frequency response curve of the first weight function based on each of the difference values;
determining the first weight function based on a frequency response curve of the first weight function.
Further, the design module 340 is specifically configured to:
determining a variation interval of the transfer function of the secondary channel based on the first weight function, the second weight function, and the nominal system transfer function;
and determining the parameters of the feedback filter based on the change interval of the transfer function.
According to the design device of the feedback filter, the transfer function of the secondary channel of the earphone in at least one working state is obtained; determining a nominal system transfer function and a first weight function of the headset based on the transfer function of the secondary channel; determining a second weight function based on a noise reduction expectation of the headset; determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function. Compared with the design device of the feedback filter in the prior art, the parameters of the feedback filter are determined through the transfer functions of the secondary channels in various working states, so that the earphone is kept stable in various working states, howling is reduced, and noise is reduced.
The embodiment of the application also provides an earphone which comprises a feedback microphone, a loudspeaker and a feedback filter designed by using the design method of the feedback filter;
the feedback microphone is electrically connected with the feedback filter, and the feedback filter is electrically connected with the loudspeaker.
Further, the earphone further comprises:
a feedforward filter and a feedforward microphone;
the feedforward microphone is electrically connected with the feedforward filter; the feedforward filter is electrically connected with the loudspeaker.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, and a bus 530.
The memory 520 stores machine-readable instructions executable by the processor 510, when the electronic device 500 runs, the processor 510 communicates with the memory 520 through the bus 530, and when the machine-readable instructions are executed by the processor 510, the steps of the method for designing a feedback filter in the method embodiments shown in fig. 1 and fig. 2 may be performed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for designing a feedback filter in the method embodiments shown in fig. 1 and fig. 2 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for designing a feedback filter, wherein the feedback filter is applied to a headphone, the method comprising:
obtaining a transfer function of a secondary channel of the earphone in at least one working state;
determining a nominal system transfer function and a first weight function of the headset based on the transfer function of the secondary channel; wherein the nominal system transfer function represents the average transfer performance of the earphone sound transmission in various states;
determining a second weight function based on a noise reduction expectation of the headset;
determining parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function.
2. The design method of claim 1, wherein determining the nominal system transfer function and the first weight function of the headset based on the transfer function of the secondary channel comprises:
determining a nominal system transfer function for the headset based on the transfer function of the secondary channel;
determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function.
3. The design method of claim 2, wherein determining the nominal system transfer function of the headset based on the transfer function of the secondary channel comprises:
respectively determining a frequency response curve corresponding to each transfer function of the secondary channel aiming at each transfer function of the secondary channel;
determining an average frequency response curve for the secondary channel based on each of the frequency response curves;
determining the nominal system transfer function based on the average frequency response curve.
4. The design method of claim 2, wherein determining the first weight function based on the transfer function of the secondary channel and the nominal system transfer function comprises:
calculating a difference value with the nominal system transfer function respectively aiming at the transfer function of each secondary channel;
determining a frequency response curve of the first weight function based on each of the difference values;
determining the first weight function based on a frequency response curve of the first weight function.
5. The design method of claim 1, wherein determining the parameters of the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function comprises:
determining a variation interval of the transfer function of the secondary channel based on the first weight function, the second weight function, and the nominal system transfer function;
and determining the parameters of the feedback filter based on the change interval of the transfer function.
6. An earphone, characterized in that the earphone comprises:
a feedback microphone, a speaker, and a feedback filter designed by the method of claim 1 to 5;
the feedback microphone is electrically connected with the feedback filter, and the feedback filter is electrically connected with the loudspeaker.
7. The headset of claim 6, further comprising:
a feedforward filter and a feedforward microphone;
the feedforward microphone is electrically connected with the feedforward filter; the feedforward filter is electrically connected with the loudspeaker.
8. An apparatus for designing a feedback filter, wherein the feedback filter is applied to a headphone, the apparatus comprising:
the acquisition module is used for acquiring a transfer function of a secondary channel of the earphone in at least one wearing state;
a first determining module for determining a nominal system transfer function and a first weight function of the headset based on the transfer function of each of the secondary channels; wherein the nominal system transfer function represents the average transfer performance of the earphone sound transmission in various states;
a second determining module for determining a second weight function based on a noise reduction expectation of the headphone;
a design module to design the feedback filter based on the first weight function, the second weight function, and the nominal system transfer function.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the method of designing a feedback filter according to any of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program for performing, when being executed by a processor, the steps of the method for designing a feedback filter according to any one of claims 1 to 5.
CN201910738794.4A 2019-08-12 2019-08-12 Design method and design device of feedback filter and earphone Active CN110430520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910738794.4A CN110430520B (en) 2019-08-12 2019-08-12 Design method and design device of feedback filter and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910738794.4A CN110430520B (en) 2019-08-12 2019-08-12 Design method and design device of feedback filter and earphone

Publications (2)

Publication Number Publication Date
CN110430520A CN110430520A (en) 2019-11-08
CN110430520B true CN110430520B (en) 2021-07-13

Family

ID=68415418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910738794.4A Active CN110430520B (en) 2019-08-12 2019-08-12 Design method and design device of feedback filter and earphone

Country Status (1)

Country Link
CN (1) CN110430520B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111081214B (en) * 2019-12-12 2022-08-16 西安讯飞超脑信息科技有限公司 Active noise reduction method and optimization method of feedback filter of active noise reduction device
CN113676804B (en) * 2020-05-14 2023-07-18 华为技术有限公司 Active noise reduction method and device
CN112929807B (en) * 2021-01-25 2022-09-13 深圳市卓翼科技股份有限公司 Method, system, test terminal and storage medium for automatically correcting filter coefficients
CN114040284B (en) * 2021-09-26 2024-02-06 北京小米移动软件有限公司 Noise processing method, noise processing device, terminal and storage medium
CN113763917A (en) * 2021-09-30 2021-12-07 展讯通信(上海)有限公司 Filter processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632009A (en) * 2013-12-13 2014-03-12 南京大学 Analogue feedback design method for active noise-canceling headphone
US9578432B1 (en) * 2013-04-24 2017-02-21 Cirrus Logic, Inc. Metric and tool to evaluate secondary path design in adaptive noise cancellation systems
CN108701449A (en) * 2016-01-12 2018-10-23 伯斯有限公司 The system and method for active noise reduction in earphone
CN108847209A (en) * 2018-06-01 2018-11-20 会听声学科技(北京)有限公司 A kind of denoising device and noise-reduction method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9613613B2 (en) * 2013-02-13 2017-04-04 Ixblue Method for active narrow-band acoustic control with variable transfer function(s), and corresponding system
DE102014215165A1 (en) * 2014-08-01 2016-02-18 Sivantos Pte. Ltd. Method and apparatus for feedback suppression

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9578432B1 (en) * 2013-04-24 2017-02-21 Cirrus Logic, Inc. Metric and tool to evaluate secondary path design in adaptive noise cancellation systems
CN103632009A (en) * 2013-12-13 2014-03-12 南京大学 Analogue feedback design method for active noise-canceling headphone
CN108701449A (en) * 2016-01-12 2018-10-23 伯斯有限公司 The system and method for active noise reduction in earphone
CN108847209A (en) * 2018-06-01 2018-11-20 会听声学科技(北京)有限公司 A kind of denoising device and noise-reduction method

Also Published As

Publication number Publication date
CN110430520A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110430520B (en) Design method and design device of feedback filter and earphone
CN111081214B (en) Active noise reduction method and optimization method of feedback filter of active noise reduction device
JP6096993B1 (en) Earphone sound effect compensation method, apparatus, and earphone
CN110225429B (en) Active noise reduction method and device and earphone
CN110024025B (en) Dynamic stability control system based on coherence
US9577596B2 (en) System and method for personalization of an audio equalizer
US9264823B2 (en) Audio headset with automatic equalization
JP2009512375A (en) Hearing aid fitting method and system
CN111052226A (en) Noise canceling system, noise canceling headphone, and noise canceling method
CN111971975B (en) Active noise reduction method, system, electronic equipment and chip
CN108540895A (en) Intelligent equalization device design method and noise cancelling headphone with intelligent equalization device
WO2014061578A1 (en) Electronic device and acoustic reproduction method
CN112637724A (en) Earphone noise reduction method, system and storage medium
CN111935429A (en) Sound quality self-adaptive adjusting method, related system and equipment and storage medium
EP3276983A1 (en) Method for fitting an audio signal to a hearing device based on hearing-related parameter of the user
CA2776896A1 (en) Method for control of adaptation of feedback suppression in a hearing aid, and a hearing aid
CN113409754B (en) Active noise reduction method, active noise reduction device and semi-in-ear active noise reduction earphone
WO2022212012A1 (en) Gain-adaptive active noise reduction (anr) device
CN113115157A (en) Active noise reduction method and device of earphone and semi-in-ear active noise reduction earphone
CN114071309B (en) Earphone noise reduction method, device, equipment and computer readable storage medium
TWI746001B (en) Head-mounted apparatus and stereo effect controlling method thereof
CN106101925B (en) Control method and electronic equipment
CN113132847A (en) Noise reduction parameter determination method and device for active noise reduction earphone and active noise reduction method
JP5296247B1 (en) Sound processing apparatus and feedback cancellation method
CN113132846A (en) Active noise reduction method and device of earphone and semi-in-ear active noise reduction 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
GR01 Patent grant
GR01 Patent grant