Method and device for determining parameters of active noise reduction filter
By determining the primary and secondary path transfer functions of the active noise reduction system and optimizing the active noise reduction filter parameters, the problem of insufficient active noise reduction capability in the existing technology is solved, and effective noise reduction in the spatial sound field and headphones is achieved.
Patent Information
- Application Number
- CN202210636792.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-07
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-06-07
AI Technical Summary
Existing active noise reduction technology in headphones and cars still needs to be improved, and it is difficult to effectively reduce noise pollution.
By determining the transfer functions of the primary and secondary paths in the active noise reduction system, the active noise reduction filter parameters are calculated, including obtaining the primary path matrix, secondary path matrix and sound field basis matrix, and optimizing the filter parameters to improve the noise reduction capability.
Significantly reduces noise levels in the spatial sound field and headphones, improves active noise reduction capabilities, and achieves optimal global or local noise reduction effects.
Smart Images

Figure CN115171637B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of active noise reduction, and in particular to a method and device for determining parameters of an active noise reduction filter. Background Art
[0002] With a growing population, increasing urbanization, and increasingly dense populations, most people are exposed to noise pollution, including industrial noise, urban vehicle noise, construction noise, and indoor noise. Although active noise cancellation technology is gradually being applied to headphones and cars, its performance still needs to be improved. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method and apparatus for determining active noise reduction filter parameters, which can improve active noise reduction capabilities.
[0004] According to a first aspect of an embodiment of the present invention, a method for determining parameters of an active noise reduction filter is provided, comprising: determining a transfer function of each primary path of at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter; determining a transfer function of each secondary path of at least one secondary path in the active noise reduction system; and determining the active noise reduction filter parameters based on the transfer function of the at least one primary path and the transfer function of the at least one secondary path.
[0005] In one embodiment of the present invention, the at least one primary path includes multiple primary paths, the at least one secondary path includes multiple secondary paths, the at least one reference microphone includes multiple reference microphones, and the at least one speaker includes multiple speakers, wherein the determining the transfer function of each primary path in the at least one primary path in the active noise reduction system includes: determining the transfer function of each primary path in the multiple primary paths in the spatial sound field where the active noise reduction system is located to obtain a primary path matrix; the determining the transfer function of each secondary path in the at least one secondary path in the active noise reduction system includes: determining the transfer function of each secondary path in the multiple secondary paths in the spatial sound field where the active noise reduction system is located to obtain a secondary path matrix; the determining the active noise reduction filter parameters based on the transfer function of at least one primary path and the transfer function of at least one secondary path includes: determining the active noise reduction filter parameters based on the primary path matrix and the secondary path matrix.
[0006] In one embodiment of the present invention, the above-mentioned determination of the transfer function of each primary path of multiple primary paths in the spatial sound field where the active noise reduction system is located to obtain the primary path matrix includes: respectively obtaining a first acoustic signal at each reference microphone among a plurality of reference microphones and a second acoustic signal at each observation point in the target area to be noise reduced; and determining the transfer function of the primary path between each reference microphone and each observation point based on the first acoustic signal and the second acoustic signal to obtain the primary path matrix.
[0007] In one embodiment of the present invention, the above-mentioned determination of the transfer function of each of the multiple secondary paths in the spatial sound field where the active noise reduction system is located to obtain the secondary path matrix includes: respectively obtaining the input signal of each speaker among the multiple speakers and the third sound signal at each observation point in the target area to be noise reduced as the input signal is transmitted; and determining the transfer function of the secondary path between each speaker and each observation point based on the input signal and the third sound signal to obtain the secondary path matrix.
[0008] In one embodiment of the present invention, the active noise reduction filter parameters are the inverse numbers of the elements in the product matrix of the generalized inverse matrix of the secondary path matrix and the primary path matrix.
[0009] In one embodiment of the present invention, the above method also includes: obtaining a first calibrated sound field basis matrix corresponding to multiple observation points in the target area to be reduced under the condition of external environmental noise; obtaining a second calibrated sound field basis matrix corresponding to multiple observation points in the target area to be reduced under the condition of a loudspeaker emitting sound; wherein, the above determination of the active noise reduction filter parameters based on the primary path matrix and the secondary path matrix includes: determining the active noise reduction filter parameters based on the primary path matrix, the secondary path matrix, the first calibrated sound field basis matrix and the second calibrated sound field basis matrix.
[0010] In one embodiment of the present invention, the active noise reduction filter parameters are the inverse numbers of each element in the product matrix of the generalized inverse matrix of the secondary path matrix, the second calibration sound field basis matrix, the generalized inverse matrix of the first calibration sound field basis matrix, and the primary path matrix.
[0011] In one embodiment of the present invention, the active noise reduction system includes an active noise reduction headset, which includes a reference microphone, a speaker, and an active noise reduction filter. The determining of the transfer function of each primary path of at least one primary path in the active noise reduction system includes: obtaining the transfer function of the primary path in the active noise reduction headset; the determining of the transfer function of each secondary path of at least one secondary path in the active noise reduction system includes: obtaining the transfer function of the secondary path in the active noise reduction headset; and the determining of the active noise reduction filter parameters based on the transfer function of at least one primary path and the transfer function of at least one secondary path includes: determining the active noise reduction filter parameters based on the transfer function of the primary path and the transfer function of the secondary path.
[0012] In one embodiment of the present invention, the above-mentioned obtaining of the transfer function of the primary path in the active noise reduction headset includes: respectively obtaining a first acoustic signal at a reference microphone and a second acoustic signal at a virtual position of an error microphone; and determining the transfer function of the primary path between the reference microphone and the virtual position of the error microphone based on the first acoustic signal and the second acoustic signal.
[0013] In one embodiment of the present invention, the above-mentioned obtaining of the transfer function of the secondary path in the active noise reduction headphones includes: respectively obtaining an input signal of the speaker and a third sound signal transmitted from the input signal to the virtual position of the error microphone; and determining the transfer function of the secondary path between the speaker and the virtual position of the error microphone based on the input signal and the third sound signal.
[0014] In one embodiment of the present invention, the active noise reduction filter parameter is the inverse of the ratio of the transfer function of the primary path to the transfer function of the secondary path.
[0015] In one embodiment of the present invention, the above method also includes: obtaining a first calibration sound field basis vector corresponding to the virtual position of the error microphone under conditions of external environmental noise; obtaining a second calibration sound field basis vector corresponding to the virtual position of the error microphone under conditions of a loudspeaker emitting sound; wherein, the above determination of the active noise reduction filter parameters based on the transfer function of the primary path and the transfer function of the secondary path includes: determining the active noise reduction filter parameters based on the transfer function of the primary path, the transfer function of the secondary path, the first calibration sound field basis vector and the second calibration sound field basis vector.
[0016] In one embodiment of the present invention, the above-mentioned active noise reduction filter parameters are the reciprocal of the product of the second calibration sound field basis vector, the inverse matrix of the tensor product of the transpose vector of the first calibration sound field basis vector and the first calibration sound field basis vector, the transpose vector of the first calibration sound field basis vector, and the ratio of the transfer function of the primary path to the transfer function of the secondary path.
[0017] According to a second aspect of an embodiment of the present invention, a device for determining parameters of an active noise reduction filter is provided, comprising: a first determination module for determining a transfer function of each primary path in at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter; a second determination module for determining a transfer function of each secondary path in at least one secondary path in the active noise reduction system; and a third determination module for determining the active noise reduction filter parameters based on the transfer function of the at least one primary path and the transfer function of the at least one secondary path.
[0018] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory, wherein the memory comprises computer instructions stored thereon, and when the computer instructions are executed by the processor, the processor executes the method described in the first aspect above.
[0019] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, comprising computer instructions stored thereon, wherein when the computer instructions are executed by a processor, the processor executes the method described in the first aspect above.
[0020] According to the technical solution provided by an embodiment of the present invention, the active noise reduction capability can be improved by determining the transfer function of each primary path in at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter; determining the transfer function of each secondary path in at least one secondary path in the active noise reduction system; and determining the active noise reduction filter parameters based on the transfer function of the at least one primary path and the transfer function of the at least one secondary path. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 The figure shows a schematic diagram of the active noise reduction principle.
[0023] Figure 2 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to an embodiment of the present invention.
[0024] Figure 3 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to another embodiment of the present invention.
[0025] Figure 4 FIG2 is a schematic structural diagram of an active noise reduction system provided by an embodiment of the present invention.
[0026] Figure 5 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to another embodiment of the present invention.
[0027] Figure 6 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to another embodiment of the present invention.
[0028] Figure 7 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to another embodiment of the present invention.
[0029] Figure 8 FIG2 is a block diagram of an apparatus for determining active noise reduction filter parameters according to an embodiment of the present invention.
[0030] Figure 9 FIG2 is a block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0032] To facilitate understanding of this application, the principle of active noise reduction is first briefly introduced.
[0033] Active noise reduction works by collecting noise signals through a microphone, filtering them with an active noise reduction filter to create a reduced-noise signal, and then playing the reduced-noise signal through a speaker. The reduced-noise signal reaching the target area has the same frequency and amplitude as the noise signal, but opposite phase, canceling out the noise signal, achieving noise reduction.
[0034] like Figure 1 As shown in Figure 1, the residual noise signal in the target area to be noise-reduced actually consists of two components: (1) the primary noise component P·x transmitted through the primary path; (2) the secondary noise reduction component GW·x calculated by the active noise reduction filter and transmitted through the secondary path. The residual noise signal in the target area to be noise-reduced is:
[0035] e=P·x+G·W·x(1)
[0036] Among them, the signal x collected by the microphone is the original noise signal in the environment, W is the active noise reduction filter parameter, G is the transfer function of the electroacoustic conversion of the speaker itself and the transfer function of the space between the diaphragm surface of the speaker and the target area to be noise reduced (called the "secondary path"), and P is the transfer function of the space between the microphone and the target area to be noise reduced (called the "primary path").
[0037] Figure 2 FIG. 1 is a flow chart of a method for determining active noise reduction filter parameters according to an embodiment of the present invention. The method may be executed by a computer device (eg, a server). Figure 2 As shown, the method includes the following contents.
[0038] S210: Determine a transfer function of each primary path of at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter.
[0039] It should be noted that the active noise reduction system may include multiple reference microphones, multiple speakers and active noise reduction filters (for example, located in a three-dimensional sound field space such as a car or a home appliance with a certain volume); it may also include a reference microphone, a speaker and an active noise reduction filter (for example, located in an approximately one-dimensional sound field space such as headphones). It should be understood that the present invention does not make specific limitations on this.
[0040] The transfer function of each primary path may be a transfer function of the space between each reference microphone and each observation point in the target area to be noise reduced.
[0041] S220: Determine a transfer function of each secondary path in at least one secondary path in the active noise reduction system.
[0042] The transfer function of each secondary path is the electroacoustic conversion transfer function of each loudspeaker itself and the transfer function of the space between the diaphragm surface of the loudspeaker and each observation point in the target area to be noise reduced.
[0043] S230: Determine active noise reduction filter parameters according to the transfer function of at least one primary path and the transfer function of at least one secondary path.
[0044] Specifically, the active noise reduction filter parameters can be determined using the above formula (1) based on the transfer function of at least one primary path and the transfer function of at least one secondary path. For example, the residual noise signal e in the above formula (1) can be minimized to thereby solve for the active noise reduction filter parameters at this time.
[0045] According to the technical solution provided by an embodiment of the present invention, by determining the transfer function of each primary path in at least one primary path in the active noise reduction system; determining the transfer function of each secondary path in at least one secondary path in the active noise reduction system; and determining active noise reduction filter parameters based on the transfer function of the at least one primary path and the transfer function of the at least one secondary path, it is possible to obtain optimal active noise reduction filter parameters, thereby improving active noise reduction capabilities.
[0046] Figure 3 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to another embodiment of the present invention. The active noise reduction filter parameters are applicable to active noise reduction systems in spaces such as automobiles and household appliances with a certain volume. The method can be executed by a computer device (e.g., a server). Figure 3 As shown, the method includes the following contents.
[0047] S310: Determine a transfer function of each primary path among a plurality of primary paths in a spatial sound field where the active noise reduction system is located, to obtain a primary path matrix.
[0048] In an embodiment of the present invention, the active noise reduction system may include multiple reference microphones (i.e., a microphone array), multiple speakers (i.e., a speaker array), and an active noise reduction filter. The active noise reduction system may be located inside a space such as a car or a household appliance with a certain volume.
[0049] Specifically, a first acoustic signal at each reference microphone among multiple reference microphones and a second acoustic signal at each observation point in the target area to be noise reduced can be obtained respectively; based on the first acoustic signal and the second acoustic signal, the transfer function of the primary path between each reference microphone and each observation point is determined to obtain a primary path matrix.
[0050] That is, during the primary path matrix determination phase, a first microphone can be placed at the location of each reference microphone in the microphone array, and a second microphone can be placed at the location of each observation point in the target area to be noise reduced. After playing a test signal, the first acoustic signal collected by each first microphone and the second acoustic signal collected by each second microphone are obtained. Based on each first acoustic signal and each second acoustic signal, the transfer function of the primary path between each reference microphone and each observation point is determined, thereby obtaining the primary path matrix.
[0051] like Figure 4 As shown, the microphone array may include m reference microphones, namely x1, x2...x m ; The speaker array may include j speakers, namely Spk1, Spk2...Spk j; The dotted box is the target area to be denoised, and multiple points located in the target area to be denoised are used to identify each observation point (for example, i observation points).
[0052] The transfer function of the space between each reference microphone and each observation point is the transfer function of the primary path. The transfer function of the space between the first reference microphone and the first observation point can be recorded as P 11 , the transfer function of the space between the first reference microphone and the second observation point can be recorded as P 21 , ..., the transfer function of the space between the first reference microphone and the i-th observation point can be recorded as P i1 By analogy, the transfer function of the space between the mth reference microphone and the first observation point can be recorded as P 1m The transfer function of the space between the mth reference microphone and the second observation point can be recorded as P 2m , ..., the spatial transfer function between the mth reference microphone and the i-th observation point can be recorded as P im .
[0053] According to the transfer functions of the above multiple primary paths, the primary path matrix [P(f)] can be obtained i×m , as shown below.
[0054]
[0055] S320: Determine a transfer function of each secondary path in a plurality of secondary paths in the spatial sound field where the active noise reduction system is located, to obtain a secondary path matrix.
[0056] Specifically, the input signal of each speaker among the multiple speakers and the third sound signal transmitted by the input signal to each observation point in the target area to be noise reduced can be obtained respectively; based on the input signal and the third sound signal, the transfer function of the secondary path between each speaker and each observation point is determined to obtain the secondary path matrix.
[0057] That is, during the secondary path matrix determination phase, a third microphone can be placed at each observation point in the target area to be noise reduced. For example, the third microphone can be the same microphone as the second microphone. By acquiring the input signal from each speaker in the speaker array and, after playing the input signal through the speaker, acquiring the third acoustic signal collected by the third microphone placed at each observation point, the transfer function of the secondary path between each speaker and each observation point can be determined based on the input signal and the third acoustic signal to obtain the secondary path matrix. The third acoustic signal is the acoustic signal transmitted from the input signal to each observation point in the target area to be noise reduced.
[0058] The transfer function between each loudspeaker and each observation point is the transfer function of the secondary path. The transfer function between the first loudspeaker and the first observation point can be denoted as G 11 , the transfer function between the first loudspeaker and the second observation point can be recorded as G 21 , ..., the transfer function between the first loudspeaker and the i-th observation point can be recorded as G i1 By analogy, the transfer function between the jth loudspeaker and the first observation point can be recorded as G 1j , the transfer function between the jth loudspeaker and the second observation point can be recorded as G 2j , ..., the transfer function between the jth loudspeaker and the i-th observation point can be recorded as G ij .
[0059] Based on the transfer functions of the above multiple secondary paths, the secondary path matrix can be obtained as shown below.
[0060]
[0061] S330: Determine active noise reduction filter parameters according to the primary path matrix and the secondary path matrix.
[0062] For example, according to the above primary path matrix [P(f)] i×m and the secondary path matrix [G(f)] i×j , the active noise reduction filter parameters [W(f)] are determined by the following formula j×m .
[0063]
[0064] Right now
[0065]
[0066] in, Represents the residual noise signal in the target area to be denoised; [P(f)] i×m represents the primary path matrix; represents the original noise signal in the environment; [G(f)] i×j represents the secondary path matrix; [W(f)] j×m Represents the active noise reduction filter parameters.
[0067] According to the technical solution provided by the embodiment of the present invention, the transfer function of each of the multiple primary paths in the spatial sound field where the active noise reduction system is located is determined to obtain a primary path matrix; the transfer function of each of the multiple secondary paths in the spatial sound field where the active noise reduction system is located is determined to obtain a secondary path matrix; and the active noise reduction filter parameters are determined based on the primary path matrix and the secondary path matrix. The active noise reduction filter parameters for the spatial sound field can be obtained, so that the residual noise signals of multiple observation points in the spatial sound field are greatly reduced, thereby improving the active noise reduction capability.
[0068] In another embodiment of the present invention, the active noise reduction filter parameters are the inverse numbers of the elements in the product matrix of the generalized inverse matrix of the secondary path matrix and the primary path matrix.
[0069] Specifically, when designing an active noise reduction filter for a spatial sound field, in order to achieve perfect noise reduction at each observation point in the target area to be noise reduced (assuming there are i observation points), the residual noise signal in the above formula (2) can be made close to 0, that is,
[0070]
[0071] That is, for any frequency, The optimal noise reduction parameters of the active noise reduction filter are: When i and j are not equal positive integers, that is, the number of selected observation points is not equal to the number of loudspeakers, is [G(f)] i×j In some embodiments, i and j are equal positive integers, that is, the number of selected observation points is equal to the number of speakers, That is [G(f)] i×j The inverse matrix of .
[0072] According to the technical solution provided by the embodiment of the present invention, the active noise reduction filter parameters are the inverse numbers of the elements in the product matrix of the generalized inverse matrix of the secondary path matrix and the primary path matrix. By calculating the primary path matrix [P(f)] i×m and the secondary path matrix [G(f)] i×j By accurately calibrating each element in, the optimal filter parameter matrix [W(f)] can be obtained. j×m , thereby improving the active noise reduction capability.
[0073] However, the above formula [W(f)] j×m = -[G(f)] D,j×i -1 [P(f)] i×mThe determined active noise reduction filter parameters are the "local" optimal solution, which is based on minimizing the noise level at i finite and discrete observation points. However, for space, i observation points cannot fully describe the three-dimensional sound field. Through the above active noise reduction filter parameters [W(f)] j×m = -[G(f)] D,j×i -1 [P(f)] i×m Only the noise energy at the i most interesting points can be minimized, but the remaining noise in a large range of space other than the i observation points in the spatial sound field may still be significant.
[0074] In view of this, if Figure 5 As shown, the present invention provides a method for determining the parameters of the spatial sound field active noise reduction filter that can achieve "global" optimization. Figure 3 The present invention is extended based on the embodiment shown Figure 5 The embodiment shown is described below in detail. Figure 5 The embodiment shown and Figure 3 The differences between the embodiments shown are omitted here for simplicity. Figure 5 As shown, the method includes:
[0075] S510: Determine a transfer function of each primary path among a plurality of primary paths in a spatial sound field where the active noise reduction system is located, to obtain a primary path matrix.
[0076] S520: Determine a transfer function of each secondary path in a plurality of secondary paths in the spatial sound field where the active noise reduction system is located, to obtain a secondary path matrix.
[0077] S530: Obtain a first calibration sound field basis matrix corresponding to a plurality of observation points in the target area to be de-noised under the condition of external environmental noise.
[0078] For example, the sound field basis matrix [E1(f)] of the target area to be de-noised can be pre-calibrated under the condition of only external environmental noise. i×N In the calibration [E1(f)] i×N During this process, the speakers in the active noise reduction system (i.e., the secondary sound source) are silent. Here, "external" refers to the outside of the active noise reduction system.
[0079] It should be noted that the first calibration sound field basis matrix can be determined based on the wave equation and the free sound field boundary conditions of the three-dimensional target area to be noise reduced, which will not be described in detail here. The sound field basis can be determined using a variety of different basis functions, such as sound radiation modes, cavity modes, and multipoles. Those skilled in the art can select the specific basis function type and modal order based on the application scenario.
[0080] S540: Obtain a second calibrated sound field basis matrix corresponding to a plurality of observation points in the target area to be noise reduced under the condition that the loudspeaker emits sound.
[0081] For example, the sound field basis matrix [E2(f)] of the target area to be noise-reduced can be pre-calibrated in a working condition where only the loudspeaker is emitting sound (i.e., in an anechoic room environment). i×N In the calibration [E2(f)] i×N During the process, primary noise sources other than the active noise reduction system are silenced.
[0082] It should be noted that the second calibration sound field basis matrix can be determined according to the wave equation and the forced sound field boundary conditions of the three-dimensional target area to be de-noised, which will not be described in detail here.
[0083] S550: Determine active noise reduction filter parameters according to the primary path matrix, the secondary path matrix, the first calibrated sound field basis matrix, and the second calibrated sound field basis matrix.
[0084] The following is a detailed description with reference to the formula.
[0085] For the primary noise component P·x, which is generated by the original primary noise source, for the target area, the signal component can be decomposed as follows:
[0086]
[0087] in, is the acoustic field basis matrix of the free field formed by the primary noise source (corresponding to frequency f);
[0088] d i,2 (f), ..., d i,N (f)] is the acoustic field basis vector of the free field at the coordinate of the i-th observation point (corresponding to frequency f), N is the modal order, N is much larger than i, and the acoustic field basis d of each order is dimensionless;
[0089] is the basis coefficient vector corresponding to the above free field (corresponding to frequency f).
[0090] The secondary noise reduction component GW x is generated by the secondary sound source (loudspeaker). For the target area, the signal component can be decomposed as follows:
[0091]
[0092] in, is the acoustic field basis matrix (corresponding to frequency f) of the forced field formed by the secondary sound source;
[0093] a i,2 (f), ..., ai,N (f)] is the acoustic field basis vector of the forced field at the coordinates of the i-th observation point (corresponding to frequency f), N is the modal order, N is much larger than i, and the acoustic field basis a of each order is dimensionless;
[0094] is the basis coefficient vector (corresponding to frequency f) corresponding to the above-mentioned forcing field.
[0095] It should be noted that the basis coefficient vector is also used to represent the sound pressure. and It covers the N-dimensional sound pressure obtained after the decomposition of the sound field. Each dimension of sound pressure is no longer related to any observation point. Instead, the N-dimensional sound pressure describes the three-dimensional sound field as a whole, which is much better than the i-dimensional sound pressure at a finite number of observation points in describing the global distribution of the three-dimensional sound field. Artificially increasing the number of observation points will increase the amount of calculation for determining the primary path and the secondary path by multiples, and no matter how many observation points are added, for a three-dimensional space, it is only a limited increase in local sound pressure. The embodiment of the present invention establishes a sound field base without increasing the observation points, but can obtain an extremely high-dimensional sound pressure distribution to describe the global sound field as a whole, rather than discretely describing multiple local sound fields.
[0096] According to the above formulas (3) and (4), we have
[0097]
[0098]
[0099] When designing active noise reduction filters for spatial sound fields, in order to achieve perfect noise reduction in the target area, you can use (It can be understood that the free field basis coordinate system E1 and the forced field basis coordinate system E2 are both established based on the origin of the target area sound field basis coordinate system, and the basis coefficient vectors representing the global noise and the global noise reduction are respectively decomposed into equal lengths, opposite directions, and collinear).
[0100]
[0101] Furthermore, since the primary noise source is unknown and the signal value is always changing, the optimal noise reduction parameters of the active noise reduction filter are:
[0102] [W(f)] j×m = -[G(f)] D,j×i -1 [E2(f)] i×N [E1(f)] D,N×i -1 [P(f)] i×m
[0103] That is, the active noise reduction filter parameters can be the inverse numbers of each element in the product matrix of the generalized inverse matrix of the secondary path matrix, the second calibration sound field basis matrix, the generalized inverse matrix of the first calibration sound field basis matrix and the primary path matrix.
[0104] According to the technical solution provided by the embodiment of the present invention, by i×m and the secondary path matrix [G(f)] i×j The precise calibration of each element in , and the pre-calibration of the sound field basis matrix of the target area to be de-noised under the condition of external environmental noise [E1(f)] i×N , pre-calibrate the sound field basis matrix [E2(f)] of the target area to be noise-reduced under the speaker sounding condition (i.e., anechoic room environment) i×N , we can get the optimal filter parameter matrix [W(f)] j×m , so that the global noise level can be minimized in the space of the entire target area, rather than just being satisfied with the minimum noise level at a limited number of points.
[0105] Figure 6 FIG2 is a flow chart of a method for determining active noise reduction filter parameters according to an embodiment of the present invention. The active noise reduction filter parameters can be used for active noise reduction headphones. The method can be executed by a computer device (eg, a server). Figure 6 As shown, the method includes the following contents.
[0106] S610: Obtain a transfer function of a primary path in the active noise reduction headset.
[0107] The active noise-cancelling headphones may include a reference microphone, a speaker, and an active noise-cancelling filter. The ear canal is the target area for noise reduction. In embodiments of the present invention, the virtual position of the error microphone can represent the ear canal. The "virtual position" indicates that the final product of the active noise-cancelling headphones of embodiments of the present invention does not include an error microphone for collecting residual noise signals in the ear.
[0108] The transfer function P of the primary path is the transfer function of the space between the virtual positions of the reference microphone and the error microphone.
[0109] Specifically, a first acoustic signal at the reference microphone and a second acoustic signal at the virtual position of the error microphone may be obtained respectively; and a transfer function of a primary path between the reference microphone and the virtual position of the error microphone may be determined based on the first acoustic signal and the second acoustic signal.
[0110] That is, during the primary path transfer function determination phase, a first microphone can be placed at the reference microphone's location, and a second microphone can be placed at the error microphone's virtual location. After playing a test signal, a first acoustic signal collected by the first microphone and a second acoustic signal collected by the second microphone are acquired. Based on the first and second acoustic signals, the transfer function of the primary path between the reference microphone and the error microphone's virtual location is determined.
[0111] S620: Obtain a transfer function of a secondary path in the active noise reduction headset.
[0112] The transfer function G of the secondary path is the transfer function of the electroacoustic conversion of the loudspeaker itself and the transfer function of the space between the diaphragm surface of the loudspeaker and the virtual position of the error microphone.
[0113] Specifically, the input signal of the loudspeaker and the third sound signal transmitted from the input signal to the virtual position of the error microphone can be obtained respectively; and the transfer function of the secondary path between the loudspeaker and the virtual position of the error microphone is determined according to the input signal and the third sound signal.
[0114] That is, during the secondary path transfer function determination phase, a third microphone can be placed at the virtual error microphone location. This third microphone can be, for example, the same microphone as the second microphone. By acquiring an input signal from the speaker and, after playing the input signal through the speaker, acquiring a third acoustic signal collected by the third microphone, the transfer function of the secondary path between the speaker and the virtual error microphone location can be determined based on the input signal and the third acoustic signal. The third acoustic signal is the acoustic signal transmitted from the input signal to the third microphone.
[0115] S630: Determine active noise reduction filter parameters according to the transfer function of the primary path and the transfer function of the secondary path.
[0116] Specifically, the active noise reduction filter parameters can be determined using the above formula (1) based on the transfer function of the primary path and the transfer function of the secondary path. This will be described in detail below.
[0117] According to the technical solution provided by the embodiment of the present invention, the active noise reduction capability of the active noise reduction headphones can be improved by obtaining the transfer function of the primary path in the active noise reduction headphones; obtaining the transfer function of the secondary path in the active noise reduction headphones; and determining the active noise reduction filter parameters based on the transfer function of the primary path and the transfer function of the secondary path.
[0118] In one embodiment of the present invention, the active noise reduction filter parameter is the inverse of the ratio of the transfer function of the primary path to the transfer function of the secondary path.
[0119] Specifically, when designing an active noise reduction filter for active noise reduction headphones, in order to achieve perfect noise reduction at the ear canal (one observation point - the ear canal is represented by the virtual position of the error microphone), the residual noise signal in the above (1) can be made close to 0, that is,
[0120] e→0=P·x+G·W·x
[0121] For any frequency, that is, P(f)x(f)+G(f)W(f)x(f)=0, the optimal noise reduction parameters of the noise reduction filter are:
[0122] According to the technical solution provided by an embodiment of the present invention, the active noise reduction filter parameter is the inverse of the ratio of the transfer function of the primary path to the transfer function of the secondary path. The active noise reduction filter parameter is a "local" optimal solution, which can minimize the noise level at the virtual position of the error microphone.
[0123] However, although the sound field in the ear canal is small in scale and is usually approximated by a one-dimensional model, it cannot be fully described by a single observation point (especially since the deepest position where the error microphone can be placed on the earphone is still a certain distance from the eardrum). Therefore, the above active noise reduction filter parameters are used to calculate the sound field in the ear canal. It is not possible to perform targeted noise reduction on the actual noise receiver (eardrum).
[0124] In view of this, if Figure 7 As shown, the present invention provides a method for determining the parameters of the active noise reduction filter of an active noise reduction headset that can achieve complete targeting of the eardrum. Figure 6 The present invention is extended based on the embodiment shown Figure 7 The embodiment shown is described below in detail. Figure 7 The embodiment shown and Figure 6 The differences between the embodiments shown are omitted here for simplicity. Figure 7 As shown, the method includes:
[0125] S710: Obtain a transfer function of a primary path in the active noise reduction headset.
[0126] S720: Obtain a transfer function of a secondary path in the active noise reduction headset.
[0127] S730: Obtain a first calibration sound field basis vector corresponding to the virtual position of the error microphone under the condition of external environmental noise.
[0128] For example, the sound field basis vectors of the ear canal can be pre-calibrated in the presence of only external ambient noise. In calibration During this process, the speakers (i.e., the secondary sound source) in the active noise canceling headphones are silent. Here, "external" refers to the outside of the active noise canceling headphones.
[0129] It should be noted that the first calibration sound field basis vector can be determined according to the wave equation and the free sound field boundary condition of the ear canal, which will not be described in detail here.
[0130] S740: Obtain a second calibration sound field basis vector corresponding to the virtual position of the error microphone under the condition that the loudspeaker is sounding.
[0131] For example, the sound field basis vectors of the ear canal can be pre-calibrated when only the speaker is sounding. In calibration During the test, the primary noise source other than the active noise reduction headphones is silenced, which can be carried out in an anechoic chamber.
[0132] It should be noted that the second calibration sound field basis vector can be determined according to the wave equation and the forced sound field boundary condition of the ear canal, which will not be described in detail here.
[0133] S750: Determine active noise reduction filter parameters according to the transfer function of the primary path, the transfer function of the secondary path, the first calibrated sound field basis vectors, and the second calibrated sound field basis vectors.
[0134] The following is a detailed description with reference to the formula.
[0135] First, for the primary noise component P·x, which is generated by the original primary noise source, for the ear canal, this signal component can be decomposed:
[0136]
[0137] in, d2(f),...,d N (f)] is the acoustic field basis vector of the free field formed by the primary noise source (corresponding to frequency f), N is the modal order, N is much greater than 1, and the acoustic field basis d of each order is dimensionless;
[0138] is the basis coefficient vector corresponding to the above free field (corresponding to frequency f).
[0139] Secondly, the secondary noise reduction component GW x is generated by the secondary sound source (speaker). For the ear canal, this signal component can be decomposed as follows:
[0140]
[0141] in, a2(f),...,a N(f)] is the acoustic field basis vector (corresponding to frequency f) of the forced field formed by the secondary sound source, N is the modal order, N is much greater than 1, and the acoustic field basis a of each order is dimensionless;
[0142] is the basis coefficient vector (corresponding to frequency f) corresponding to the above-mentioned forcing field.
[0143] Furthermore, there
[0144]
[0145]
[0146] It should be noted that the basis coefficient vector is also used to represent the sound pressure. and It covers the N-dimensional sound pressure obtained after the sound field is decomposed. The sound pressure in each dimension is no longer related to the error microphone. Instead, the N-dimensional sound pressure describes the entire ear canal sound field, which can better describe the actual noise at the eardrum than the sound pressure value at the virtual position of the error microphone.
[0147] When designing an active noise reduction filter for active noise reduction headphones, in order to achieve perfect noise reduction at the user's eardrum, it is necessary to (It can be understood that the free field basis coordinate system E1 and the forced field basis coordinate system E2 are both established based on the origin of the ear canal sound field basis coordinate system, and the basis coefficient vectors representing the ear canal noise and the ear canal noise reduction are respectively decomposed into equal lengths, opposite directions, and collinear). That is, it is always established
[0148]
[0149] Furthermore, since the primary noise source is unknown and the signal value is always changing, the optimal noise reduction parameters of the active noise reduction filter are:
[0150]
[0151] That is to say, the above-mentioned active noise reduction filter parameters can be the inverse of the product of the second calibrated sound field basis vector, the inverse matrix of the tensor product of the transpose vector of the first calibrated sound field basis vector and the first calibrated sound field basis vector, the transpose vector of the first calibrated sound field basis vector and the ratio of the transfer function of the primary path to the transfer function of the secondary path.
[0152] According to the technical solution provided by the embodiment of the present invention, by accurately calibrating the primary path P(f) and the secondary path G(f), and by pre-calibrating the sound field basis vectors of the ear canal in the presence of external environmental noise, Pre-calibrate the sound field basis vectors of the ear canal when the speaker is sounding The optimal filter parameter W(f) can be obtained to minimize the noise level at the eardrum of the headphone user, rather than just being satisfied with the lowest noise level at the error microphone (near the headphone sound outlet).
[0153] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present invention, and will not be described in detail here.
[0154] The following are embodiments of the apparatus of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the apparatus embodiments of the present invention, please refer to the method embodiments of the present invention.
[0155] Figure 8 FIG. 1 is a block diagram of an apparatus for determining active noise reduction filter parameters according to an embodiment of the present invention. Figure 8 As shown, the active noise reduction filter parameter determination device 800 includes:
[0156] The first determination module 810 is configured to determine a transfer function of each primary path of at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter.
[0157] The second determination module 820 is configured to determine a transfer function of each secondary path in the at least one secondary path in the active noise reduction system.
[0158] The third determination module 830 is configured to determine active noise reduction filter parameters according to the transfer function of at least one primary path and the transfer function of at least one secondary path.
[0159] According to the technical solution provided by an embodiment of the present invention, by determining the transfer function of each primary path in at least one primary path in the active noise reduction system; determining the transfer function of each secondary path in at least one secondary path in the active noise reduction system; and determining active noise reduction filter parameters based on the transfer function of the at least one primary path and the transfer function of the at least one secondary path, it is possible to obtain better active noise reduction filter parameters, thereby improving the active noise reduction capability.
[0160] In one embodiment of the present invention, the at least one primary path includes multiple primary paths, the at least one secondary path includes multiple secondary paths, the at least one reference microphone includes multiple reference microphones, and the at least one speaker includes multiple speakers, wherein the first determination module 810 is used to determine the transfer function of each of the multiple primary paths in the spatial sound field where the active noise reduction system is located to obtain a primary path matrix; the second determination module 820 is used to determine the transfer function of each of the multiple secondary paths in the spatial sound field where the active noise reduction system is located to obtain a secondary path matrix; the third determination module 830 is used to determine the active noise reduction filter parameters based on the primary path matrix and the secondary path matrix.
[0161] In one embodiment of the present invention, the above-mentioned first determination module 810 is used to respectively obtain the first acoustic signal at each reference microphone among multiple reference microphones and the second acoustic signal at each observation point in the target area to be noise reduced; based on the first acoustic signal and the second acoustic signal, determine the transfer function of the primary path between each reference microphone and each observation point to obtain a primary path matrix.
[0162] In one embodiment of the present invention, the above-mentioned second determination module 820 is used to respectively obtain the input signal of each speaker among the multiple speakers and the third sound signal transmitted by the input signal to each observation point in the target area to be noise reduced; based on the input signal and the third sound signal, determine the transfer function of the secondary path between each speaker and each observation point to obtain the secondary path matrix.
[0163] In one embodiment of the present invention, the active noise reduction filter parameters are the inverse numbers of the elements in the product matrix of the generalized inverse matrix of the secondary path matrix and the primary path matrix.
[0164] In one embodiment of the present invention, the above-mentioned device also includes an acquisition module 840, which is used to obtain a first calibrated sound field basis matrix corresponding to multiple observation points in the target area to be reduced under the condition of external environmental noise; and obtain a second calibrated sound field basis matrix corresponding to multiple observation points in the target area to be reduced under the condition of the speaker sounding; wherein the above-mentioned third determination module 830 is used to determine the active noise reduction filter parameters based on the primary path matrix, the secondary path matrix, the first calibrated sound field basis matrix and the second calibrated sound field basis matrix.
[0165] In one embodiment of the present invention, the active noise reduction filter parameters are the inverse numbers of each element in the product matrix of the generalized inverse matrix of the secondary path matrix, the second calibration sound field basis matrix, the generalized inverse matrix of the first calibration sound field basis matrix, and the primary path matrix.
[0166] In one embodiment of the present invention, the above-mentioned active noise reduction system includes an active noise reduction headset, which includes a reference microphone, a speaker and an active noise reduction filter, wherein the above-mentioned first determination module 810 is used to obtain the transfer function of the primary path in the active noise reduction headset; wherein the above-mentioned second determination module 820 is used to obtain the transfer function of the secondary path in the active noise reduction headset; and the above-mentioned third determination module 830 is used to determine the active noise reduction filter parameters based on the transfer function of the primary path and the transfer function of the secondary path.
[0167] In one embodiment of the present invention, the first determination module 810 is used to respectively obtain a first acoustic signal at the reference microphone and a second acoustic signal at the virtual position of the error microphone; and determine a transfer function of a primary path between the reference microphone and the virtual position of the error microphone based on the first acoustic signal and the second acoustic signal.
[0168] In one embodiment of the present invention, the second determination module 830 is used to respectively obtain the input signal of the speaker and the third sound signal transmitted from the input signal to the virtual position of the error microphone; and determine the transfer function of the secondary path between the speaker and the virtual position of the error microphone based on the input signal and the third sound signal.
[0169] In one embodiment of the present invention, the active noise reduction filter parameter is the inverse of the ratio of the transfer function of the primary path to the transfer function of the secondary path.
[0170] In one embodiment of the present invention, the above-mentioned acquisition module 840 is used to obtain the first calibration sound field basis vector corresponding to the virtual position of the error microphone under the condition of external environmental noise; obtain the second calibration sound field basis vector corresponding to the virtual position of the error microphone under the condition of the speaker sounding; wherein the above-mentioned third determination module is used to determine the active noise reduction filter parameters based on the transfer function of the primary path, the transfer function of the secondary path, the first calibration sound field basis vector and the second calibration sound field basis vector.
[0171] In one embodiment of the present invention, the above-mentioned active noise reduction filter parameters are the reciprocal of the product of the second calibration sound field basis vector, the inverse matrix of the tensor product of the transpose vector of the first calibration sound field basis vector and the first calibration sound field basis vector, the transpose vector of the first calibration sound field basis vector, and the ratio of the transfer function of the primary path to the transfer function of the secondary path.
[0172] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0173] Figure 9 FIG. 1 is a block diagram of an electronic device 900 according to an embodiment of the present invention.
[0174] Reference Figure 9 Electronic device 900 includes a processing component 910, which further includes one or more processors, and memory resources represented by memory 920 for storing instructions executable by processing component 910, such as applications. The applications stored in memory 920 may include one or more modules, each corresponding to a set of instructions. In addition, processing component 910 is configured to execute the instructions to perform the above-mentioned method for determining active noise reduction filter parameters.
[0175] The memory 920 may include a high-speed random access memory (RAM) and may also include a non-volatile memory (NVM).
[0176] Processing component 910 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method may be completed by hardware integrated logic circuits in processing component 910 or by software instructions. Processing component 910 may be a general-purpose processor, including chips such as a central processing unit (CPU), a microcontroller unit (MCU), a complex programmable logic device (CPLD), and a field programmable gate array (FPGA).
[0177] The electronic device 900 may further include a power supply component, a wired or wireless network interface, an input / output (I / O) interface, and the like.
[0178] An embodiment of the present invention further provides a non-transitory computer-readable storage medium. When instructions in the storage medium are executed by the processor of the electronic device 900, the electronic device 900 can execute a method for determining active noise reduction filter parameters.
[0179] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0180] It should be understood that the first, second, etc. qualifiers mentioned in the embodiments of the present invention are only used to more clearly describe the technical solutions of the embodiments of the present invention and cannot be used to limit the scope of protection of the present invention.
[0181] The above are only preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for determining active noise reduction filter parameters, characterized in that: include: determining a transfer function for each of at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter; determining a transfer function for each of at least one secondary path in the active noise reduction system; determining active noise reduction filter parameters based on a transfer function of at least one primary path and a transfer function of at least one secondary path; The at least one primary path includes a plurality of primary paths, the at least one secondary path includes a plurality of secondary paths, the at least one reference microphone includes a plurality of reference microphones, and the at least one speaker includes a plurality of speakers, and determining a transfer function of each of the at least one primary path in the active noise reduction system includes: determining a transfer function of each primary path of the plurality of primary paths in a spatial sound field where the active noise reduction system is located to obtain a primary path matrix; The determining of a transfer function of each of at least one secondary path in the active noise reduction system comprises: determining a transfer function of each of the plurality of secondary paths in the spatial sound field where the active noise reduction system is located to obtain a secondary path matrix, The method for determining the parameters of the active noise reduction filter further includes: Obtaining a first calibrated sound field basis matrix corresponding to a plurality of observation points in a target area to be noise-reduced under a condition of external environmental noise, wherein the condition of having external environmental noise represents that the plurality of speakers in the active noise reduction system are silent; Obtaining a second calibration sound field basis matrix corresponding to a plurality of observation points in the target area to be noise reduced under the condition that a loudspeaker is emitting sound, wherein the condition that the loudspeaker is emitting sound represents that a primary noise source other than the active noise reduction system is silent, The step of determining active noise reduction filter parameters according to the transfer function of at least one primary path and the transfer function of at least one secondary path includes: The active noise reduction filter parameters are determined according to the primary path matrix, the secondary path matrix, the first calibration sound field basis matrix, and the second calibration sound field basis matrix.
2. The method according to claim 1, characterized in that Determining a transfer function of each primary path of the plurality of primary paths in the spatial sound field where the active noise reduction system is located to obtain a primary path matrix includes: respectively acquiring a first acoustic signal at each reference microphone of the plurality of reference microphones and a second acoustic signal at each observation point in the target area to be noise reduced; The transfer functions of the primary paths between the respective reference microphones and the respective observation points are determined according to the first acoustic signal and the second acoustic signal to obtain the primary path matrix.
3. The method according to claim 1, characterized in that Determining the transfer function of each of the multiple secondary paths in the spatial sound field where the active noise reduction system is located to obtain a secondary path matrix includes: respectively acquiring an input signal of each of the plurality of speakers and a third sound signal transmitted from the input signal to each observation point in the target area to be noise reduced; The transfer function of the secondary path between each of the loudspeakers and each of the observation points is determined according to the input signal and the third acoustic signal to obtain the secondary path matrix.
4. The method according to claim 1, wherein The active noise reduction filter parameters are the inverse numbers of each element in the product matrix of the generalized inverse matrix of the secondary path matrix, the second calibration sound field basis matrix, the generalized inverse matrix of the first calibration sound field basis matrix and the primary path matrix.
5. The method according to claim 1, wherein The active noise reduction system includes an active noise reduction headset, which includes a reference microphone, a speaker, and an active noise reduction filter. The determining of the transfer function of each primary path in the at least one primary path in the active noise reduction system comprises: Obtaining a transfer function of a primary path in the active noise reduction headset; Determining a transfer function of each of at least one secondary path in the active noise reduction system comprises: Obtaining a transfer function of a secondary path in the active noise reduction headset; The determining of active noise reduction filter parameters according to the transfer function of at least one primary path and the transfer function of at least one secondary path comprises: The active noise reduction filter parameters are determined according to the transfer function of the primary path and the transfer function of the secondary path.
6. The method according to claim 5, characterized in that The obtaining of a transfer function of a primary path in the active noise reduction headset includes: respectively acquiring a first acoustic signal at the reference microphone and a second acoustic signal at a virtual position of the error microphone; A transfer function of the primary path between the reference microphone and the error microphone virtual position is determined based on the first acoustic signal and the second acoustic signal.
7. The method according to claim 5, characterized in that The obtaining of a transfer function of a secondary path in the active noise reduction headset includes: respectively acquiring an input signal of the loudspeaker and a third sound signal transmitted from the input signal to a virtual position of an error microphone; A transfer function of a secondary path between the loudspeaker and the error microphone virtual position is determined based on the input signal and the third acoustic signal.
8. The method according to any one of claims 5 to 7, characterized in that The step of obtaining a first calibration sound field basis matrix corresponding to a plurality of observation points in the target area to be noise-reduced under the condition of external environmental noise includes: Obtaining a first calibration sound field basis vector corresponding to a virtual position of an error microphone under a condition of external environmental noise; The obtaining of the second calibration sound field basis matrix corresponding to the plurality of observation points in the target area to be noise reduced under the condition that the loudspeaker is sounding includes: obtaining the second calibration sound field basis vector corresponding to the virtual position of the error microphone under the condition that the loudspeaker is sounding; The step of determining the active noise reduction filter parameters according to the transfer function of the primary path and the transfer function of the secondary path includes: The active noise reduction filter parameters are determined according to the transfer function of the primary path, the transfer function of the secondary path, the first calibration sound field basis vectors, and the second calibration sound field basis vectors.
9. The method according to claim 8, characterized in that The active noise reduction filter parameters are the inverse of the product of the second calibration sound field basis vector, the inverse matrix of the tensor product of the transpose vector of the first calibration sound field basis vector and the first calibration sound field basis vector, the transpose vector of the first calibration sound field basis vector, and the ratio of the transfer function of the primary path to the transfer function of the secondary path.
10. A device for determining active noise reduction filter parameters, characterized in that: include: a first determination module configured to determine a transfer function of each primary path of at least one primary path in an active noise reduction system, wherein the active noise reduction system includes at least one reference microphone, at least one speaker, and an active noise reduction filter; a second determination module, configured to determine a transfer function of each secondary path in at least one secondary path in the active noise reduction system; a third determining module, configured to determine active noise reduction filter parameters according to a transfer function of at least one primary path and a transfer function of at least one secondary path; wherein the at least one primary path comprises a plurality of primary paths, the at least one secondary path comprises a plurality of secondary paths, the at least one reference microphone comprises a plurality of reference microphones, the at least one speaker comprises a plurality of speakers, and determining a transfer function of each of the at least one primary path in the active noise reduction system; The first determination module is further configured to determine a transfer function of each of the plurality of primary paths in the spatial sound field where the active noise reduction system is located, to obtain a primary path matrix; The second determination module is further configured to determine a transfer function of each of the plurality of secondary paths in the spatial sound field where the active noise reduction system is located, to obtain a secondary path matrix. The device for determining the parameters of the active noise reduction filter further includes: An acquisition module is configured to acquire a first calibrated sound field basis matrix corresponding to a plurality of observation points in a target area to be reduced in the presence of external environmental noise, and to acquire a second calibrated sound field basis matrix corresponding to a plurality of observation points in the target area to be reduced in the presence of a loudspeaker, wherein the condition of the external environmental noise represents that the plurality of loudspeakers in the active noise reduction system are silent, and the condition of the loudspeaker sounding represents that a primary noise source other than the active noise reduction system is silent. The third determination module is further configured to determine the active noise reduction filter parameters according to the primary path matrix, the secondary path matrix, the first calibration sound field basis matrix, and the second calibration sound field basis matrix.
11. An electronic device comprising: processor; A memory including computer instructions stored thereon, the computer instructions being executed by the processor When executed, the processor is caused to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Active noise control system
CN105814627A