Method and device for determining path compensation function, active noise reduction method and device
By setting up a pressure sensor array in the target noise reduction area and using the monitoring microphone and speaker position information to determine the path compensation function, the problem of poor noise reduction effect caused by the position changes of the target noise reduction area in the feedback active noise reduction system is solved, real-time positioning of the target noise reduction area and determining the noise reduction parameters, and the noise reduction effect is improved.
Patent Information
- Application Number
- CN202111022944.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-01
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2041-09-01
AI Technical Summary
In feedback active noise reduction systems, the target noise reduction area is usually moved relative to the system, and its position is unknown or unfixed, resulting in the inability to track and adapt to its changes in real time, thus failing to achieve targeted optimal noise reduction.
By setting a pressure sensor array within the moving range of the target noise reduction area, the position information of the target noise reduction area is determined in real time, and the first and second path compensation functions are determined based on the position information of the monitoring microphone and speakers, so as to achieve real-time positioning of the target noise reduction area and determination of the noise reduction parameters.
Real-time positioning of the target noise reduction area that changes at any time and the determination of the noise reduction parameters can be effectively reduced, and the noise reduction effect can be improved.
Smart Images

Figure CN114299904B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of active noise cancellation, and particularly to a method and device for determining a path compensation function, an active noise cancellation method and device, an electronic device, and a computer-readable storage medium. Background Art
[0002] In a feedback active noise cancellation system, it is necessary to pre-determine the secondary path transfer function to design the noise cancellation parameters of the feedback noise cancellation filter for noise cancellation in the target noise cancellation area.
[0003] However, for a noise field scenario, such as a vehicle cabin scenario, the target noise cancellation area usually moves relative to the feedback active noise cancellation system, and the target noise cancellation area and each electroacoustic path are unknown and not fixed, making it completely impossible to track the target noise cancellation area in real time to adapt the best noise cancellation for it. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method and device for determining a path compensation function, an active noise cancellation method and device, an electronic device, and a computer-readable storage medium, so as to be able to determine the path compensation function in real time based on the target noise cancellation area that changes at any time, providing a basis for real-time determination of the optimal noise cancellation parameters for the target noise cancellation area.
[0005] According to one aspect of this application, a method for determining a path compensation function provided by an embodiment of this application is applied to an active noise cancellation scenario including a target noise cancellation area that moves relative to a monitoring microphone and a speaker. The method includes: determining the target noise cancellation area position information corresponding to the target noise cancellation area based on a set of pressure signals collected by a pressure sensor array disposed within the moving range of the target noise cancellation area; determining a first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise cancellation area position information; and determining a second path compensation function based on the speaker position information corresponding to the speaker and the target noise cancellation area position information.
[0006] In an embodiment, determining the target noise cancellation area position information corresponding to the target noise cancellation area based on a set of pressure signals collected by a pressure sensor array disposed within the moving range of the target noise cancellation area includes: determining the motion pattern of the pressure source based on the set of pressure signals; and determining the target noise cancellation area position information corresponding to the motion pattern of the pressure source based on the correspondence between the motion pattern of the pressure source and the target noise cancellation area position information.
[0007] In one embodiment, determining a first path compensation function based on the monitoring microphone position information corresponding to a monitoring microphone and the target noise reduction area position information includes: determining, based on the maximum matching degree algorithm, the preset target noise reduction area position information that matches the target noise reduction area position information; and determining, based on the correspondence between the preset target noise reduction area position information and the preset first path compensation function, the first path compensation function corresponding to the target noise reduction area position information, where the preset first path compensation function is determined based on the monitoring microphone position information and the preset target noise reduction area position information.
[0008] In one embodiment, determining a second path compensation function based on the speaker position information corresponding to a speaker and the target noise reduction area position information includes: determining, based on the maximum matching degree algorithm, the preset target noise reduction area position information that matches the target noise reduction area position information; and determining, based on the correspondence between the preset target noise reduction area position information and the preset second path compensation function, the second path compensation function corresponding to the target noise reduction area position information, where the preset second path compensation function is determined based on the speaker position information and the preset target noise reduction area position information.
[0009] In one embodiment, determining a first path compensation function based on the monitoring microphone position information corresponding to each monitoring microphone in a monitoring microphone array and the target noise reduction area position information includes: determining the first path compensation function with the coordinate corresponding to the monitoring microphone position information as the transfer starting point and the coordinate corresponding to the target noise reduction area position information as the transfer ending point; and / or, where determining a second path compensation function based on the speaker position information corresponding to each speaker in a feedback active noise reduction system and the target noise reduction area position information includes: determining the second path compensation function with the coordinate corresponding to the speaker position information as the transfer starting point and the coordinate corresponding to the target noise reduction area position information as the transfer ending point.
[0010] In one embodiment, according to the second aspect of the embodiments of the present application, an active noise reduction method is provided, including: determining a monitoring position noise signal corresponding to a monitoring position error signal based on the monitoring position error signal collected by a monitoring microphone; determining a target noise reduction area noise signal corresponding to the monitoring position noise signal based on the monitoring position noise signal and the first path compensation function; determining a target noise reduction area error signal corresponding to the target noise reduction area noise signal based on the target noise reduction area noise signal and the second path compensation function, where the first path compensation function and / or the second path compensation function is determined based on the path compensation function determination method in the above first aspect; determining a noise reduction parameter based on the target noise reduction area noise signal and the target noise reduction area error signal; and generating a noise reduction signal based on the target noise reduction area noise signal and the noise reduction parameter to perform noise reduction on the target noise reduction area.
[0011] In one embodiment, according to the third aspect of the embodiments of the present application, there is provided a path compensation function determination device, which is applied to an active noise reduction system including a target noise reduction area that moves relative to a monitoring microphone and a speaker. The device includes: a first determination module configured to determine the target noise reduction area position information corresponding to the target noise reduction area based on a set of pressure signals collected by a pressure sensor array within the moving range of the target noise reduction area; a second determination module configured to determine a first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information; and a third determination module configured to determine a second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information.
[0012] According to the fourth aspect of the embodiments of the present application, there is provided an active noise reduction device, including: a fourth determination module configured to determine a monitoring position noise signal corresponding to the monitoring position error signal based on the monitoring position error signal collected by the monitoring microphone; a fifth determination module configured to determine a target noise reduction area noise signal corresponding to the monitoring position noise signal based on the monitoring position noise signal and the first path compensation function; a sixth determination module configured to determine a target noise reduction area error signal corresponding to the target noise reduction area noise signal based on the target noise reduction area noise signal and the second path compensation function, where the first path compensation function and / or the second path compensation function is determined based on the path compensation function determination method in the first aspect above; a seventh determination module configured to determine a noise reduction parameter based on the target noise reduction area noise signal and the target noise reduction area error signal; and a noise reduction module configured to generate a noise reduction signal based on the noise reduction parameter to perform noise reduction on the target noise reduction area.
[0013] According to the fifth aspect of the embodiments of the present application, there is provided an electronic device, including: a processor; and a memory in which computer program instructions are stored, and when the computer program instructions are run by the processor, the processor is caused to execute the path compensation function determination method in the first aspect above or the active noise reduction method in the second aspect above.
[0014] According to the sixth aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are run by the processor, the processor is caused to execute the path compensation function determination method in the first aspect above or the active noise reduction method in the second aspect above.
[0015] The method for determining the path compensation function provided by the embodiment of the present application is applied to an active noise reduction scenario including a target noise reduction area that moves relative to a monitoring microphone and a speaker. Based on the set of pressure signals collected by a pressure sensor array within the moving range of the target noise reduction area, the position information of the target noise reduction area corresponding to the target noise reduction area is determined, realizing the real-time positioning of the target noise reduction area. Based on the position information of the monitoring microphone corresponding to the monitoring microphone and the position information of the target noise reduction area, a first path compensation function is determined; based on the position information of the speaker corresponding to the speaker and the position information of the target noise reduction area, a second path compensation function is determined, which can provide a basis for determining the noise reduction signal for the target noise reduction area in real time, thereby minimizing the noise in the target noise reduction area. Description of the Drawings
[0016] Figure 1 The figure shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application.
[0017] Figure 2 The figure shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application.
[0018] Figure 3 The figure shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application.
[0019] Figure 4 The figure shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application.
[0020] Figure 5 The figure shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application.
[0021] Figure 6 The figure shows a schematic flowchart of an active noise reduction method provided by an embodiment of the present application.
[0022] Figure 7 The figure shows a schematic structural diagram of a device for determining a path compensation function provided by an embodiment of the present application.
[0023] Figure 8 The figure shows a schematic structural diagram of a device for determining a path compensation function provided by an embodiment of the present application.
[0024] Figure 9 The figure shows a schematic structural diagram of an active noise reduction device provided by an embodiment of the present application.
[0025] Figure 10 The figure shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments
[0026] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0027] Exemplary method for determining path compensation function
[0028] Figure 1 The figure shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application. The method for determining a path compensation function provided by the embodiment of the present application can be applied to an active noise reduction scenario of a target noise reduction area that moves relative to a monitoring microphone and a speaker.
[0029] For example, in the active noise reduction scenario of a vehicle cabin, the target noise reduction area is the eardrum of a human ear, the passenger's head is the pressure source, and the noise includes background sound signals. Since a microphone cannot be set at the eardrum of the human ear, the monitoring microphone is set in the car seat headrest, the ceiling of the vehicle cabin, or the A-pillar, B-pillar, C-pillar, and D-pillar of the vehicle, etc. A pressure sensor array is set on the car seat headrest (that is, the pressure sensor array is set within the moving range of the head) to collect a set of pressure signals.
[0030] When the passenger's head rotates or the passenger's position moves (that is, the pressure source is in different motion forms), the position of the eardrum of the human ear and the secondary path (the transmission path between the speaker and the eardrum of the human ear) are both unknown and not fixed, and it is impossible to track the eardrum of the human ear in real time to adapt the best noise reduction for it, and it is completely impossible to track the target noise reduction area in real time to adapt the best noise reduction for it.
[0031] Therefore, the embodiment of the present application provides a method for determining a path compensation function, which can determine the path compensation function in real time based on the target noise reduction area that changes at any time, and provides a basis for determining the noise reduction signal for the target noise reduction area in real time. Specifically, as Figure 1 shown, the method for determining a path compensation function provided by the embodiment of the present application includes the following steps.
[0032] Step 101: Based on the set of pressure signals collected by the pressure sensor array disposed within the moving range of the target noise reduction area, determine the position information of the target noise reduction area corresponding to the target noise reduction area.
[0033] Specifically, the movement of the pressure source causes the position of the target noise reduction system to change at all times. At the same time, the movement of the pressure source also causes the set of pressure signals applied to the pressure sensor array to change at all times. By analyzing the set of pressure signals collected by the pressure sensor array in real time, the movement form of the pressure source can be determined, and thus the real-time positioning of the target noise reduction area can be realized.
[0034] For example, in the scenario of a vehicle cabin, the passenger's head is the pressure source, and the eardrum of the human ear is the target noise reduction area. Different postures of the passenger's head cause changes in the relative position between the eardrum of the human ear and the feedback active noise reduction system. By setting up a pressure sensor array on the vehicle seat headrest, the head posture can be analyzed in real time through the set of pressure signals collected by the pressure sensor array in real time, so as to realize the real-time positioning of the eardrum of the human ear.
[0035] Step 102: Determine a first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information.
[0036] Specifically, the monitoring microphone is used to collect the remaining noise signal after noise reduction at the monitoring position, that is, the monitoring position error signal. The first path compensation function is used to equivalently simulate the transfer path between the monitoring microphone and the target noise reduction area in the feedback active noise reduction system, so as to deduce the noise signal that actually needs to be noise-reduced but cannot be directly measured in the target noise reduction area according to the monitoring position noise signal collected by the monitoring microphone. After respectively determining the position of the monitoring microphone and the position of the target noise reduction area, the first path compensation function can be determined.
[0037] Step 103: Determine a second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information.
[0038] Specifically, the second path compensation function is used to equivalently simulate the transfer path between the input end of the speaker and the target noise reduction area in the feedback active noise reduction system. After determining the position of the speaker and the position of the target noise reduction area, the second path compensation function can be determined.
[0039] In the design of the active noise reduction system of the present application, taking the second path compensation function determined in real time as the secondary path transfer function of the active noise reduction scenario, and deducing the target noise reduction area noise signal according to the monitoring position error signal collected by the monitoring microphone and the first path compensation function, the optimal noise reduction parameters for the actual, time-varying and target noise reduction area that cannot be directly observed by the microphone can be obtained.
[0040] In an embodiment of the present application, the method for determining a path compensation function is applied to an active noise reduction scenario including a target noise reduction area that moves relative to a monitoring microphone and a speaker. Based on a set of pressure signals collected by a pressure sensor array within the moving range of the target noise reduction area, the position information of the target noise reduction area corresponding to the target noise reduction area is determined. Based on the position information of the monitoring microphone corresponding to the monitoring microphone and the position information of the target noise reduction area, a first path compensation function is determined. Based on the position information of the speaker corresponding to the speaker and the position information of the target noise reduction area, a second path compensation function is determined, which can provide a basis for real-time determination of a noise reduction signal for the target noise reduction area, thereby minimizing the noise in the target noise reduction area.
[0041] Figure 2 The following is a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application. As Figure 2 shown, the step of determining the position information of the target noise reduction area corresponding to the target noise reduction area based on a set of pressure signals collected by a pressure sensor array within the moving range of the target noise reduction area includes the following steps.
[0042] Step 201: Determine the motion pattern of the pressure source based on the set of pressure signals.
[0043] Specifically, the motion pattern of the pressure source changes the position of the target noise reduction system and also changes the set of pressure signals applied to the pressure sensor array. Different motion patterns of the pressure source result in different sets of pressure signals collected by the pressure sensor array. Preset the corresponding relationship between the motion pattern of the pressure source and the set of pressure signals, and based on the corresponding relationship, determine the motion pattern of the pressure source corresponding to the set of pressure signals collected by the pressure sensor array in real time.
[0044] For example, for a passenger in a vehicle cabin, the pressure sensor array is arranged in the headrest, and the passenger's head is the pressure source. When the passenger's head is in postures such as turning left and right, stretching forward, or leaning back against the headrest, the sets of pressure signals collected by the pressure sensor array will be different. According to the preset corresponding relationship between the set of pressure signals and the posture of the passenger's head, based on the set of pressure signals collected by the pressure sensor array in real time, the posture of the passenger's head is determined in real time.
[0045] Step 202: Determine the position information of the target noise reduction area corresponding to the motion pattern of the pressure source based on the corresponding relationship between the motion pattern of the pressure source and the position information of the target noise reduction area.
[0046] Specifically, different pressure source patterns correspond to different position information of the target noise reduction area. Based on the preset corresponding relationship between the motion pattern of the pressure source and the position information of the target noise reduction area, the real-time positioning of the target noise reduction area is achieved according to the motion pattern of the pressure source obtained in real time.
[0047] For example, different head postures correspond to different localizations of the human eardrum. According to the pre-set correspondence between head postures and the positions of the human eardrum, the position of the human eardrum is determined.
[0048] In the embodiments of the present application, by presetting the correspondence between the motion patterns of the pressure source and the set of pressure signals, the motion pattern of the pressure source corresponding to the set of pressure signals collected in real time by the pressure sensor array is determined. Based on the pre-set correspondence between the motion pattern of the pressure source and the position information of the target noise reduction area, according to the motion pattern of the pressure source obtained in real time, the position information of the target noise reduction area corresponding to the motion pattern of the pressure source is determined, thereby realizing the real-time localization of the target noise reduction area.
[0049] Figure 3 The following shows a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application. As Figure 3 shown, the steps of determining the first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the position information of the target noise reduction area include the following steps.
[0050] Step 301: Based on the maximum matching degree algorithm, determine the pre-set target noise reduction area position information that matches the position information of the target noise reduction area.
[0051] Step 302: Based on the correspondence between the pre-set target noise reduction area position information and the pre-set first path compensation function, determine the first path compensation function corresponding to the position information of the target noise reduction area.
[0052] Exemplarily, the pre-set first path compensation function is determined based on the monitoring microphone position information and the pre-set target noise reduction area position information.
[0053] Specifically, preset the possible positions where multiple target noise reduction areas may be located, that is, the pre-set target noise reduction area position information. For each piece of pre-set target noise reduction area position information among the multiple pieces of pre-set target noise reduction area position information, based on the pre-set target noise reduction area position information and the monitoring microphone position information, obtain the pre-set first path compensation function, thereby obtaining the pre-set first path compensation functions corresponding to each of the multiple pieces of pre-set target noise reduction area position information.
[0054] Match the position information of the target noise reduction area obtained in real time with the multiple pre-set target noise reduction area positions. Based on the maximum matching degree algorithm, determine the pre-set target noise reduction area position information that matches the current target noise reduction position information by searching for the maximum matching degree, and according to the correspondence between the pre-set target noise reduction area position information and the pre-set first path compensation function, determine the first path compensation function corresponding to the position information of the target noise reduction area.
[0055] For example, some preset first compensation path functions corresponding to preset head postures (i.e., preset positions of the eardrums of the human ears) are set. By matching the obtained head posture with the preset head posture, the first path compensation function corresponding to the obtained head posture is determined.
[0056] In the embodiments of the present application, based on the maximum matching degree algorithm, the preset target noise reduction area position information that matches the target noise reduction area position information is determined. Based on the corresponding relationship between the preset target noise reduction area position information and the preset first path compensation function, the first path compensation function corresponding to the target noise reduction area position information is determined. By matching, the first path compensation function corresponding to the target noise reduction area can be determined without establishing an acoustic path in real time to determine the first path compensation function, which can reduce the computational complexity.
[0057] Figure 4 The following is a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application. As Figure 4 shown, the steps of determining the second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information include the following steps.
[0058] Step 401: Based on the maximum matching degree algorithm, determine the preset target noise reduction area position information that matches the target noise reduction area position information.
[0059] Step 402: Based on the corresponding relationship between the preset target noise reduction area position information and the preset second path compensation function, determine the second path compensation function corresponding to the target noise reduction area position information.
[0060] Exemplarily, the preset second path compensation function is determined based on the speaker position information and the preset target noise reduction area position information.
[0061] Specifically, the positions where multiple target noise reduction areas may be located are preset, that is, the preset target noise reduction area position information. For each preset target noise reduction area position information among the multiple preset target noise reduction area position information, based on the preset target noise reduction area position information and the speaker position information, the preset second path compensation function is obtained, so as to obtain the preset second path compensation functions corresponding to each of the multiple preset target noise reduction area position information.
[0062] The target noise reduction area position information obtained in real time is matched with the multiple preset target noise reduction area positions. Based on the maximum matching degree algorithm, the preset target noise reduction area position information that matches the current target noise reduction position information is determined by searching for the maximum matching degree, and according to the corresponding relationship between the preset target noise reduction area position information and the preset second path compensation function, the second path compensation function corresponding to the target noise reduction area position information is determined.
[0063] For example, some preset second compensation path functions corresponding to preset head postures (i.e., preset positions of the eardrums of the human ears) are preset. By matching the obtained head posture with the preset head posture, the second path compensation function corresponding to the obtained head posture is determined.
[0064] In the embodiments of the present application, based on the maximum matching degree algorithm, the preset target noise reduction area position information that matches the position information of the target noise reduction area is determined. Based on the corresponding relationship between the preset target noise reduction area position information and the preset second path compensation function, the second path compensation function corresponding to the position information of the target noise reduction area is determined. By matching, the second path compensation function corresponding to the target noise reduction area can be determined without establishing an acoustic path in real time to determine the second path compensation function, which can reduce the calculation amount.
[0065] Figure 5 The following is a schematic flowchart of a method for determining a path compensation function provided by an embodiment of the present application. As Figure 5 shown, the steps of determining the first path compensation function based on the monitoring microphone position information corresponding to each monitoring microphone in the monitoring microphone array and the position information of the target noise reduction area include the following steps.
[0066] Step 501: Taking the coordinates corresponding to the monitoring microphone position information as the transfer starting point and the coordinates corresponding to the target noise reduction area position information as the transfer ending point, determine the first path compensation function.
[0067] Specifically, for the feedback active noise reduction system, taking the coordinates corresponding to the monitoring microphone position information as the transfer starting point and the coordinates corresponding to the target noise reduction area position information as the transfer ending point, the noise signal is transmitted in space between the monitoring microphone and the target noise reduction area. Based on the point-to-point propagation method, the corresponding first path compensation function can be determined.
[0068] Among them, the steps of determining the second path compensation function based on the speaker position information corresponding to the speaker and the position information of the target noise reduction area include the following steps.
[0069] Step 502: Taking the coordinates corresponding to the speaker position information as the transfer starting point and the coordinates corresponding to the target noise reduction area position information as the transfer ending point, determine the second path compensation function.
[0070] Specifically, for each speaker in the speaker array in the feedback active noise reduction system, taking the coordinates corresponding to the speaker position information as the transfer starting point and the coordinates corresponding to the target noise reduction area position information as the transfer ending point, determine the starting point and the ending point of the second compensation path, that is, the starting point and the ending point of the secondary path corresponding to the speaker as the noise reduction source (secondary source) in the active noise reduction scenario, so as to determine the second path compensation function, that is, the secondary path transfer function corresponding to the speaker.
[0071] In the embodiments of the present application, the coordinate information in the position information of the target noise reduction area obtained in real time and the coordinate information in the position information of the monitoring microphone are used to achieve the purpose of determining the first path compensation function. The coordinate information in the position information of the target noise reduction area obtained in real time and the coordinate information in the position information of the speaker are used to achieve the purpose of determining the second path compensation function.
[0072] Considering that in a feedback active noise reduction system, it is necessary to pre-determine the secondary path transfer function to design the noise reduction parameters of the feedback noise reduction filter for noise reduction in the target noise reduction area. However, in actual settings, the position of the microphone often has to deviate from the real area to be noise-reduced, resulting in an unknown and non-fixed secondary path transfer function, and it is impossible to determine the optimal noise reduction parameters for the target noise reduction area. Based on this, in the path compensation function determination method provided in the embodiments of the present application, the motion form of the pressure source is located in real time to locate the target noise reduction area in real time, so as to determine the first path compensation function and the second path compensation function, and use the second path compensation function determined in real time as the secondary path transfer function of the active noise reduction scenario, and deduce the target noise reduction area noise signal based on the monitoring position error signal collected by the monitoring microphone and the first path compensation function, and the optimal noise reduction parameters for the actual, time-varying and microphone-unobservable target noise reduction area can be obtained.
[0073] Exemplary active noise cancellation method
[0074] Figure 6 The following is a schematic flow chart of an active noise reduction method provided by an embodiment of the present application. As Figure 6 shown, the active noise reduction method includes the following steps.
[0075] Step 601: Based on the monitoring position error signal collected by the monitoring microphone, determine the monitoring position noise signal corresponding to the monitoring position error signal.
[0076] Specifically, the monitoring position error signal is the remaining noise signal after noise reduction at the monitoring position. The monitoring position noise signal and the monitoring position noise reduction signal are superimposed to form the monitoring position error signal. The monitoring microphone collects the monitoring position error signal and uses an adder to eliminate the monitoring position noise reduction signal, and the monitoring position noise signal corresponding to the monitoring position error signal can be obtained.
[0077] Exemplarily, the monitoring position noise reduction signal is determined based on the initial noise reduction signal and the transfer function between the speaker input end and the monitoring position.
[0078] Step 602: Based on the monitoring position noise signal and the first path compensation function, determine the target noise reduction area noise signal corresponding to the monitoring position noise signal.
[0079] Specifically, the noise signal at the monitoring position is the noise signal transmitted to the monitoring position, and the noise signal in the target noise reduction area is the noise signal transmitted to the target noise reduction area. The noise signal is transmitted in the space between the monitoring position and the target noise reduction area. Since the first path compensation function is used to equivalently simulate the transmission path between the monitoring position and the target noise reduction area, the noise signal in the target noise reduction area can be determined by deriving the noise signal at the monitoring position using the first path compensation function.
[0080] Exemplarily, the first path compensation function is determined based on the path compensation function determination method of any of the above embodiments. By collecting the set of pressure signals in real time, the positioning of the target noise reduction area is realized, and thus the first path compensation function is determined in real time, so as to derive the noise signal at the monitoring position using the first path compensation function, and the noise signal in the target noise reduction area can be determined.
[0081] Step 603: Based on the noise signal in the target noise reduction area and the second path compensation function, determine the target noise reduction area error signal corresponding to the noise signal in the target noise reduction area.
[0082] Specifically, the target noise reduction area error signal is the remaining noise signal after noise reduction in the target noise reduction area. Essentially, the noise signal in the target noise reduction area and the noise reduction signal in the target noise reduction area are superimposed to form the target noise reduction area error signal. The noise signal in the target noise reduction area has been obtained in step 602. Since the second path compensation function is used to equivalently simulate the transmission path between the input end of the loudspeaker and the target noise reduction area, that is, the second path compensation function is used to equivalently simulate the secondary path between the loudspeaker and the target noise reduction area, the noise reduction signal in the target noise reduction area can be obtained according to the initial noise reduction signal and the second path compensation function. Then, the noise signal in the target noise reduction area and the noise reduction signal in the target noise reduction area are superimposed to obtain the target noise reduction area error signal.
[0083] Exemplarily, the second path compensation function is determined based on the path compensation function determination method of any of the above embodiments. By collecting the set of pressure signals in real time, the positioning of the target noise reduction area is realized, and thus the second path compensation function is determined in real time, that is, the transfer function of the secondary path of the feedback active noise reduction system.
[0084] Step 604: Based on the noise signal in the target noise reduction area and the target noise reduction area error signal, determine the noise reduction parameter.
[0085] Specifically, the noise signal of the target noise reduction region and the error signal of the target noise reduction region are input into the adaptive module. The adaptive module adjusts the initial noise reduction parameters of the feedback noise reduction filter based on the noise signal of the target noise reduction region and the error signal of the target noise reduction region, and performs noise reduction on the target noise reduction region based on the adjusted noise reduction parameters until the adjusted error signal of the target noise reduction region meets the minimization condition, and determines the optimal active noise reduction parameters.
[0086] Step 605: Generate a noise reduction signal based on the noise signal of the target noise reduction region and the noise reduction parameters to perform noise reduction on the target noise reduction region.
[0087] Specifically, a noise reduction signal is generated based on the noise reduction parameters for the target noise reduction region to perform noise reduction on the target noise reduction region and minimize the noise in the target noise reduction region.
[0088] In the embodiment of the present application, based on the sound signal collected by the monitoring microphone, the monitoring position noise signal at the position of the monitoring microphone is determined. Based on the monitoring position noise signal and the first path compensation function, the noise signal of the target noise reduction region is determined. Based on the noise signal of the target noise reduction region and the second path compensation function, and based on the noise signal of the target noise reduction region and the error signal of the target noise reduction region, the noise reduction parameters are determined. A noise reduction signal is generated based on the noise signal of the target noise reduction region and the noise reduction parameters to perform noise reduction on the target noise reduction region, and the noise in the target noise reduction region is minimized in real time.
[0089] Exemplary apparatus for determining path compensation function
[0090] Figure 7 The following is a schematic structural diagram of a path compensation function determination device provided by an embodiment of the present application. The path compensation function determination device mentioned in the present application is applied to an active noise reduction system including a target noise reduction region that moves relative to a monitoring microphone and a speaker.
[0091] As Figure 7 shown, the path compensation function determination device 100 includes: a first determination module 101, a second determination module 102, and a third determination module 103.
[0092] The first determination module 101 is configured to determine the target noise reduction region position information corresponding to the target noise reduction region based on the set of pressure signals collected by the pressure sensor array within the moving range of the target noise reduction region. The second determination module 102 is configured to determine the first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction region position information. The third determination module 103 is configured to determine the second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction region position information.
[0093] In the embodiments of the present application, the path compensation function determination device 100 is applied to an active noise reduction scenario including a target noise reduction area that moves relative to a monitoring microphone and a speaker. The first determination module 101 determines the target noise reduction area position information corresponding to the target noise reduction area based on a set of pressure signals collected by a pressure sensor array disposed within the moving range of the target noise reduction area. The second determination module 102 determines a first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information. The third determination module 103 determines a second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information. Thus, in the face of the above-mentioned noise field scenario, the path compensation function can be determined in real time based on the target noise reduction area that changes at any time, thereby providing a basis for determining the noise reduction signal for the target noise reduction area in real time and minimizing the noise in the target noise reduction area.
[0094] Figure 8 The following is a schematic structural diagram of a path compensation function determination device provided by an embodiment of the present application. As Figure 8 shown, the first determination module 101 further includes: a motion form determination unit 1011 and a target noise reduction area position information determination unit 1012.
[0095] The motion form determination unit 1011 is configured to determine the motion form of the pressure source based on the set of pressure signals. The target noise reduction area position information determination unit 1012 is configured to determine the target noise reduction area position information corresponding to the motion form of the pressure source based on the correspondence between the motion form of the pressure source and the target noise reduction area position information.
[0096] In one embodiment, as Figure 8 shown, the second determination module 102 further includes: a first determination unit 1021 and a first path compensation function unit 1022.
[0097] The first determination unit 1021 is configured to determine the preset target noise reduction area position information that matches the target noise reduction area position information based on the maximum matching degree algorithm. The first path compensation function unit 1022 is configured to determine the first path compensation function corresponding to the target noise reduction area position information based on the correspondence between the preset target noise reduction area position information and the preset first path compensation function.
[0098] Exemplarily, the preset first path compensation function is determined based on the monitoring microphone position information and the preset target noise reduction area position information.
[0099] In one embodiment, as Figure 8 shown, the third determination module 103 further includes: a second determination unit 1031 and a second path compensation function unit 1032.
[0100] The second determination unit 1031 is configured to determine the preset target noise reduction area position information that matches the target noise reduction area position information based on the maximum matching degree algorithm. The second path compensation function unit 1032 is configured to determine the second path compensation function corresponding to the target noise reduction area position information based on the correspondence between the preset target noise reduction area position information and the preset second path compensation function.
[0101] Exemplarily, the preset second path compensation function is determined based on the speaker position information and the preset target noise reduction area position information.
[0102] In one embodiment, the first path compensation function unit 1022 is further configured to determine the first path compensation function with the coordinates corresponding to the monitoring microphone position information as the transfer starting point and the coordinates corresponding to the target noise reduction area position information as the transfer ending point.
[0103] In one embodiment, the second path compensation function unit 1032 is further configured to determine the second path compensation function with the coordinates corresponding to the speaker position information as the transfer starting point and the coordinates corresponding to the target noise reduction area position information as the transfer ending point.
[0104] For the specific implementation process of the functions and roles of each module in the above path compensation function determination device, refer to the implementation process of the corresponding steps in the above path compensation function determination method, which will not be elaborated here.
[0105] Exemplary active noise cancellation apparatus
[0106] Figure 9 The figure shows a schematic structural diagram of an active noise reduction device provided by an embodiment of the present application. As Figure 9 shown, the active noise reduction device 200 includes: a fourth determination module 201, a fifth determination module 202, a sixth determination module 203, a seventh determination module 204, and a noise reduction module 205.
[0107] The fourth determination module 201 is configured to determine a monitoring position noise signal corresponding to the monitoring position error signal based on the monitoring position error signal collected by the monitoring microphone. The fifth determination module 202 is configured to determine a target noise reduction area noise signal corresponding to the monitoring position noise signal based on the monitoring position noise signal and the first path compensation function. The sixth determination module 203 is configured to determine a target noise reduction area error signal corresponding to the target noise reduction area noise signal based on the target noise reduction area noise signal and the second path compensation function, where the first path compensation function and / or the second path compensation function is determined based on the path compensation function determination method of any of the above embodiments. The seventh determination module 204 is configured to determine a noise reduction parameter based on the target noise reduction area noise signal and the target noise reduction area error signal. The noise reduction module 205 is configured to generate a noise reduction signal based on the noise reduction parameter to perform noise reduction on the target noise reduction area.
[0108] In the embodiment of the present application, the fourth determination module 201 determines the monitoring position noise signal at the monitoring microphone position based on the sound signal collected by the monitoring microphone. The fifth determination module 202 determines the target noise reduction area noise signal based on the monitoring position noise signal and the first path compensation function. The sixth determination module 203 determines the target noise reduction area error signal based on the target noise reduction area noise signal and the second path compensation function. The seventh determination module 204 determines the noise reduction parameter based on the target noise reduction area noise signal and the target noise reduction area error signal. The noise reduction module 205 generates a noise reduction signal based on the target noise reduction area noise signal and the noise reduction parameter to perform noise reduction on the target noise reduction area, so as to minimize the noise in the target noise reduction area.
[0109] For the specific implementation processes of the functions and roles of each module in the above active noise reduction device, please refer to the implementation processes of the corresponding steps in the above active noise reduction method, which will not be elaborated here.
[0110] Exemplary electronic device
[0111] Figure 10 The following is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 10 shown, the electronic device 300 includes one or more processors 310 and a memory 320.
[0112] The processor 310 may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
[0113] The memory 320 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory, etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage media, and the processor 310 may run the program instructions to implement the path compensation function determination method or the active noise reduction method of each embodiment of the present application described above and / or other desired functions.
[0114] In one example, the electronic device 300 may further include: an input device 330 and an output device 340, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown).
[0115] Of course, for simplicity, Figure 10 only some of the components related to the present application in the electronic device 300 are shown, and components such as buses, input / output interfaces, etc. are omitted. In addition, according to specific application scenarios, the electronic device 300 may further include any other appropriate components.
[0116] Exemplary computer program product and computer-readable storage medium
[0117] In addition to the above methods and devices, the embodiments of the present application may also be computer program products, which include computer program instructions. When the computer program instructions are run by a processor, the processor is caused to execute the steps in the path compensation function determination method provided according to each embodiment of the present application described in the "Exemplary Path Compensation Function Determination Method" section above, or the steps in the active noise reduction method provided according to each embodiment of the present application described in the "Exemplary Active Noise Reduction Method" section above.
[0118] The computer program products may be written in any combination of one or more programming languages for programming code to perform the operations of the embodiments of the present application. The programming languages include object-oriented programming languages, such as Java, C++, etc., and also include conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, executed as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0119] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the processor executes the steps of the path compensation function determination method provided according to various embodiments of the present application described in the above “Exemplary Path Compensation Function Determination Method” section of this specification, or the steps of the active noise reduction method provided according to various embodiments of the present application described in the above “Exemplary Active Noise Reduction Method” section.
[0120] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0121] It should be noted that the above examples are only specific embodiments of the present application. Obviously, the present application is not limited to the above examples, and there are many similar variations. All variations directly derived or associated from the contents disclosed in the present application by those skilled in the art should fall within the protection scope of the present application.
[0122] It should be understood that the qualifiers such as first and second mentioned in the embodiments of the present application are only used to more clearly describe the technical solutions of the embodiments of the present application and cannot be used to limit the scope of protection of the present application.
[0123] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. An active noise reduction method, characterized in that, applied to an active noise reduction scenario including a target noise reduction area that moves relative to a monitoring microphone and a speaker, comprising: Based on the monitoring position error signal collected by the monitoring microphone, determining the monitoring position noise signal corresponding to the monitoring position error signal; Based on the monitoring position noise signal and the first path compensation function, determining the target noise reduction area noise signal corresponding to the monitoring position noise signal; Based on the target noise reduction area noise signal and the second path compensation function, determining the target noise reduction area error signal corresponding to the target noise reduction area noise signal; Based on the target noise reduction area noise signal and the target noise reduction area error signal, determining a noise reduction parameter; Generating a noise reduction signal based on the target noise reduction area noise signal and the noise reduction parameter to perform noise reduction on the target noise reduction area; wherein, the first path compensation function and the second path compensation function are determined through the following steps: Based on the set of pressure signals collected by the pressure sensor array within the moving range of the target noise reduction area, determining the target noise reduction area position information corresponding to the target noise reduction area; Based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information, determining the first path compensation function; Based on the speaker position information corresponding to the speaker and the target noise reduction area position information, determining the second path compensation function.
2. The active noise reduction method according to claim 1, characterized in that, The determining the target noise reduction area position information corresponding to the target noise reduction area based on the set of pressure signals collected by the pressure sensor array within the moving range of the target noise reduction area includes: Based on the set of pressure signals, determining the motion pattern of the pressure source; Based on the correspondence between the motion pattern of the pressure source and the target noise reduction area position information, determining the target noise reduction area position information corresponding to the motion pattern of the pressure source.
3. The active noise reduction method according to claim 1 or 2, characterized in that, The determining the first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information includes: Based on the maximum matching degree algorithm, determining the preset target noise reduction area position information that matches the target noise reduction area position information; Based on the correspondence between the preset target noise reduction area position information and the preset first path compensation function, determining the first path compensation function corresponding to the target noise reduction area position information, wherein the preset first path compensation function is determined based on the monitoring microphone position information and the preset target noise reduction area position information.
4. The active noise reduction method according to claim 1 or 2, characterized in that, The determining the second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information includes: Based on the maximum matching degree algorithm, determining the preset target noise reduction area position information that matches the target noise reduction area position information; Determine the second path compensation function corresponding to the target noise reduction area position information based on the corresponding relationship between the preset target noise reduction area position information and the preset second path compensation function, where the preset second path compensation function is determined based on the speaker position information and the preset target noise reduction area position information.
5. The active noise reduction method according to claim 1 or 2, characterized in that the determining the first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information includes: determining the first path compensation function with the coordinate corresponding to the monitoring microphone position information as the transfer starting point and the coordinate corresponding to the target noise reduction area position information as the transfer ending point; and / or wherein, the determining the second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information includes: determining the second path compensation function with the coordinate corresponding to the speaker position information as the transfer starting point and the coordinate corresponding to the target noise reduction area position information as the transfer ending point.
6. An active noise reduction device, characterized in that applied to an active noise reduction scenario including a target noise reduction area that moves relative to a monitoring microphone and a speaker, and includes: a fourth determination module configured to determine a monitoring position noise signal corresponding to the monitoring position error signal based on the monitoring position error signal collected by the monitoring microphone; a fifth determination module configured to determine a target noise reduction area noise signal corresponding to the monitoring position noise signal based on the monitoring position noise signal and the first path compensation function; a sixth determination module configured to determine a target noise reduction area error signal corresponding to the target noise reduction area noise signal based on the target noise reduction area noise signal and the second path compensation function; a seventh determination module configured to determine a noise reduction parameter based on the target noise reduction area noise signal and the target noise reduction area error signal; a noise reduction module configured to generate a noise reduction signal based on the noise reduction parameter to perform noise reduction on the target noise reduction area; wherein, the first path compensation function and the second path compensation function are determined through the following steps: determine the target noise reduction area position information corresponding to the target noise reduction area based on the set of pressure signals collected by the pressure sensor array within the moving range of the target noise reduction area; determine the first path compensation function based on the monitoring microphone position information corresponding to the monitoring microphone and the target noise reduction area position information; determine the second path compensation function based on the speaker position information corresponding to the speaker and the target noise reduction area position information.
7. An electronic device, including: a processor; and a memory in which computer program instructions are stored, and when the computer program instructions are run by the processor, the processor executes the active noise reduction method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are run by a processor, the processor is caused to execute the active noise reduction method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Noise reduction method of multi-channel active noise reduction headrest
CN111583896A
Mattress for quilt kicking recognition and quilt kicking recognition method
CN112493758A
Method and an active device for treating noise on board a vehicle, and a vehicle provided with such a device
US20140112490A1