Spatial noise reduction method and apparatus, electronic device, and computer-readable storage medium

By acquiring the user's location in real time and adjusting the noise reduction frequency and speaker angle, the problem of abrupt hearing when the user moves in a noisy field is solved, achieving active noise reduction effect throughout the space and improving the user experience.

CN119811348BActive Publication Date: 2025-11-25HANGZHOU ROBAM APPLIANCES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411851320.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-11-25
Estimated Expiration
2044-12-16

AI Technical Summary

Technical Problem

In existing technologies, active noise reduction methods based on one-dimensional sound fields can cause abrupt noise perception when the user moves, resulting in a poor user experience. Furthermore, commonly used active noise reduction methods for range hoods have structural limitations, making it difficult to achieve effective noise reduction throughout the entire space.

Method used

By acquiring the user's real-time location, the rotation angle of the noise-reducing frequency and noise-reducing speaker is adjusted based on a preset spatial grid and noise audio. A transfer function is established by combining physical error microphones and virtual microphones to achieve dynamic adjustment and optimize the noise reduction effect.

Benefits of technology

It achieves effective noise reduction in all directions in noisy spaces, improves the user's noise reduction experience, and ensures continuous noise reduction effect when the user's position changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119811348B_ABST
    Figure CN119811348B_ABST
Patent Text Reader

Abstract

The application provides a spatial noise reduction method and device, electronic equipment and computer readable storage medium, applied to a controller of an active noise reduction device, and relates to the technical field of active noise reduction. The method comprises the following steps: obtaining a target position of a user; determining a target spatial grid corresponding to the target position in a preset spatial grid; the spatial grid is divided based on a preset sound variation amplitude; obtaining a noise audio; determining a noise reduction audio and a rotation angle of a noise reduction loudspeaker in a preset adjustment relationship based on the target spatial grid and the noise audio; determining a real-time position of the user in a noise space, and adjusting the orientation of the noise reduction audio and the noise reduction loudspeaker according to the real-time position of the user, so as to improve the noise reduction effect in the entire noise space and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of active noise reduction technology, and in particular to a spatial noise reduction method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] Active noise cancellation is effective at reducing noise in low and mid-frequency sound waves due to its characteristics. However, the commonly used active noise cancellation method for range hoods based on one-dimensional sound field has limitations on the structure of the range hood, while the active noise cancellation method for space has limitations on the quiet area. When users move in the noise field, they will inevitably experience abruptness in their hearing when entering and leaving the active noise cancellation quiet area, resulting in a poor user experience. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a spatial noise reduction method, apparatus, electronic device and computer-readable storage medium, which determines the real-time position of a user in a noisy space and adjusts the noise reduction frequency and the orientation of the noise reduction speaker according to the user's real-time position, so as to improve the noise reduction effect in the entire noisy space and improve the user experience.

[0004] In a first aspect, the present invention provides a spatial noise reduction method applied to the controller of an active noise cancellation device, the method comprising:

[0005] Obtain the user's target location;

[0006] Determine the target spatial grid corresponding to the target location within a preset spatial grid; wherein, the spatial grid is divided based on a preset sound change amplitude;

[0007] Acquire noisy audio;

[0008] The rotation angles of the noise-canceling frequency and the noise-canceling speaker are determined based on the target space grid and the noise audio within a preset adjustment relationship.

[0009] In some preferred embodiments of the present invention, the active noise cancellation device is equipped with a physical error microphone; the method further includes:

[0010] Following the step of determining the noise-reducing frequency and the rotation angle of the noise-reducing speaker within a preset adjustment relationship based on the target spatial grid and the noise audio, the method further includes:

[0011] Error noise signals are acquired using a microphone based on physical error.

[0012] The target sound transfer function is determined based on the error noise signal and the target spatial grid within a predetermined sound transfer relationship.

[0013] Noise reduction frequency is corrected based on the target sound transfer function.

[0014] In some preferred embodiments of the present invention, the spatial grid is divided by the following steps:

[0015] Determine the unit spatial grid corresponding to the amplitude of sound change;

[0016] The noise reduction space is divided into grids based on the unit spatial grid to obtain the spatial grid.

[0017] In some preferred embodiments of the present invention, the rotation angle of the noise-canceling speaker is determined based on the line connecting the center of the spatial grid to the noise-canceling speaker and the reference normal of the noise-canceling speaker.

[0018] In some preferred embodiments of the present invention, the adjustment relationship is determined through the following steps:

[0019] Place a virtual microphone at the center of the spatial grid;

[0020] Acquire the training noise audio, and play the training noise-reduced frequency based on the training noise audio; wherein the training noise-reduced frequency and the training noise audio have the same amplitude but opposite direction;

[0021] The first noise signal is acquired using a microphone based on physical error.

[0022] The second noise signal is acquired using a virtual microphone;

[0023] The basic transfer function is determined based on the first noise signal and the second noise signal;

[0024] Training noise reduction frequency based on adjusting the fundamental transfer function;

[0025] The adjusted training noise-reduced frequency is output, and the basic transfer function is adjusted by the first noise signal and the second noise signal until the basic transfer function converges.

[0026] The convergent fundamental transfer function and the corresponding rotation angle of the noise-canceling speaker are determined as the adjustment relationship.

[0027] In some preferred embodiments of the present invention, the basic transfer function is determined by the following formula:

[0028]

[0029] Among them, O p (Z) is the basic transfer function, D v D is the first noise signal. m (n) represents the second noise signal within the nth spatial grid.

[0030] In some preferred embodiments of the present invention, after the step of determining the noise-reducing frequency and the rotation angle of the noise-reducing speaker based on the target spatial grid and the noise audio within a preset adjustment relationship, the method further includes:

[0031] Determine if the user's location has changed;

[0032] If the user's location changes, the target location will be retrieved again.

[0033] Secondly, the present invention provides a spatial noise reduction device, applied to a controller of an active noise cancellation device, the device comprising:

[0034] The location acquisition module is used to obtain the user's target location;

[0035] The target spatial grid determination module is used to determine the target spatial grid corresponding to the target location within a preset spatial grid; wherein, the spatial grid is divided based on a preset sound change amplitude;

[0036] The noise acquisition module is used to acquire noise audio.

[0037] The noise reduction frequency adjustment module is used to determine the rotation angle of the noise reduction frequency and the noise reduction speaker based on the target spatial grid and the noise audio within a preset adjustment relationship.

[0038] Thirdly, the present invention provides an electronic device including a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the spatial noise reduction method of the first aspect described above.

[0039] Fourthly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the spatial noise reduction method of the first aspect described above.

[0040] This invention brings the following beneficial effects:

[0041] This invention provides a spatial noise reduction method, apparatus, electronic device, and computer-readable storage medium, applied to a controller of an active noise cancellation device. The method includes: acquiring a user's target location; determining a target spatial grid corresponding to the target location in a preset spatial grid; wherein the spatial grid is divided based on a preset sound variation amplitude; acquiring noise audio; determining the rotation angle of the noise-reducing frequency and the noise-reducing speaker based on the target spatial grid and the noise audio in a preset adjustment relationship; determining the user's real-time position in the noisy space; and adjusting the orientation of the noise-reducing frequency and the noise-reducing speaker according to the user's real-time position to improve the noise reduction effect throughout the noisy space and enhance the user experience. Attached Figure Description

[0042] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0043] Figure 1 A flowchart of a spatial noise reduction method provided in an embodiment of the present invention;

[0044] Figure 2 This is a schematic diagram of the structure of an active noise reduction range hood provided in an embodiment of the present invention;

[0045] Figure 3 A flowchart of a spatial active noise reduction pre-training method provided in an embodiment of the present invention;

[0046] Figure 4 This is a schematic diagram illustrating the grid division of a silent zone and the adjustment of a speaker angle, provided as an embodiment of the present invention.

[0047] Figure 5 This is a schematic diagram of the structure of a space noise reduction device provided in an embodiment of the present invention;

[0048] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0049] Icons: 210-Centrifugal fan; 220-Camera module; 230-Physical error microphone; 240-Reference microphone; 250-Secondary speaker; 310-Position acquisition module; 320-Target space grid determination module; 330-Noise acquisition module; 340-Noise reduction frequency adjustment module; 400-Memory; 401-Processor; 402-Bus; 403-Communication interface. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0051] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0052] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0053] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of this invention is in use. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this invention. In addition, the terms "first," "second," "third," etc., are only used to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0054] Furthermore, terms such as "horizontal," "vertical," and "sag" do not imply that components must be absolutely horizontal or suspended, but rather that they can be slightly tilted. For example, "horizontal" simply means that its direction is more horizontal relative to "vertical," and does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0055] In the description of this invention, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0056] Looking at the operating noise spectrum, the mid-to-low frequencies below 1000Hz constitute the largest proportion at all operating speeds of the range hood. Passive noise reduction methods, such as sound-absorbing cotton, are ineffective against mid-to-low frequency sound waves. Active noise reduction methods, due to their characteristics, are effective at reducing mid-to-low frequency sound waves. However, commonly used active noise reduction methods for range hoods based on one-dimensional sound fields are limited by the structure of the range hood, while spatial active noise reduction methods are limited by quiet areas. Users move around the kitchen during cooking, inevitably experiencing abrupt changes in sound when entering or leaving the active noise-reducing quiet area.

[0057] Based on this, the present invention provides an active noise cancellation device that integrates a spatial sensing element and a movable secondary speaker. It can obtain the user's spatial position in real time and adjust the active noise cancellation algorithm transfer function and the position of the secondary speaker to achieve noise reduction in the entire kitchen area.

[0058] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0059] Example 1

[0060] This invention provides a spatial noise reduction method applied to the controller of an active noise cancellation device.

[0061] The active noise cancellation device is installed on the main device that generates noise. The active noise cancellation device includes a reference microphone 240 and a spatial recognition device. The reference microphone 240 is used to collect the operating noise of the main device. The main device can be a car, an airplane, etc., but a common example is a range hood. The spatial recognition device can be a camera or radar, used to detect the user's location.

[0062] For details, see Figure 1 The flowchart shown in this embodiment of the invention provides a spatial noise reduction method, which includes the following steps S102 to S108:

[0063] Step S102: Obtain the user's target location.

[0064] Specifically, in noisy environments, spatial recognition devices such as cameras or radar capture the user's coordinates to obtain the user's target location information in real time. These devices can accurately detect the user's movement within the noisy environment, thus providing accurate data support for subsequent noise reduction processing.

[0065] Step S104: Determine the target spatial grid corresponding to the target location in the preset spatial grid; wherein, the spatial grid is divided based on the preset sound change amplitude.

[0066] Specifically, before use, the active noise cancellation device should be placed in a space and the space should be divided into grids. The rules for dividing the grids should be selected according to actual needs. For example, you can first set a unit grid with fixed boundaries, then determine a reference position, and arrange the unit grids based on the reference position to determine the division of the space grid. Alternatively, you can play sound at the noise source, measure the volume in the space where the main device is placed, measure the volume lines, and divide the grid according to the preset volume interval. The preset volume interval can be the range of sound change that can be perceived by the crowd.

[0067] Based on the user's target location, it is mapped onto a pre-defined spatial grid. By matching the target location with the spatial grid, the user's current quiet zone grid can be determined.

[0068] Step S106: Obtain the noise audio.

[0069] Specifically, noise signals during the operation of the smoke machine are collected using a reference microphone 240 to obtain noise audio.

[0070] In some preferred embodiments of the present invention, the noisy space can be a kitchen, and the main equipment is a range hood. These noise signals are generated during the operation of the range hood and may include mechanical vibration, airflow noise, etc. By analyzing and processing these noise signals, basic data can be provided for subsequent noise reduction processing.

[0071] Step S108: Determine the rotation angle of the noise-reducing frequency and the noise-reducing speaker based on the target space grid and the noise audio in a preset adjustment relationship.

[0072] Specifically, based on the location of the target spatial grid and the characteristics of the noise audio, a preset adjustment relationship is used to determine the rotation angle of the noise-reducing frequency and the noise-reducing speaker. This adjustment relationship is established based on experimental data and experience, taking into account the sound wave propagation characteristics at different frequencies and the influence of the speaker angle on the sound field. By adjusting the speaker angle and the frequency and amplitude of the output noise-reducing frequency, effective noise suppression can be achieved in a specific area.

[0073] In some preferred embodiments of the present invention, after the spatial grid is determined, noise reduction frequency is activated, error noise in each spatial grid is collected, and the noise reduction frequency is adjusted according to the error noise. The adjusted audio at this stage establishes an adjustment relationship with the error audio. At the same time, it is also necessary to determine the positional relationship between the center of the spatial grid and the noise reduction speaker, which is used to determine the angle that the noise reduction speaker needs to rotate when facing the spatial grid for directional noise reduction. This angle is also used as an adjustment relationship.

[0074] Furthermore, in some preferred embodiments of the present invention, the active noise cancellation device is provided with a physical error microphone 230; the method further includes: after determining the noise cancellation frequency and the rotation angle of the noise cancellation speaker based on the target spatial grid and the noise audio in a preset adjustment relationship, the method further includes: acquiring an error noise signal based on the physical error microphone 230; determining a target sound transfer function based on the error noise signal and the target spatial grid in a predetermined sound transfer relationship; and correcting the noise cancellation frequency based on the target sound transfer function.

[0075] Specifically, after active noise cancellation, the physical error microphone 230 captures the remaining noise, i.e., the error noise signal. This signal represents the gap between the current noise cancellation effect and the ideal silent target, and is a key indicator for evaluating and optimizing noise cancellation performance.

[0076] The pre-set sound transmission relationship characterizes the relationship between the actual noise in the spatial grid and the noise collected by the physical error microphone 230. Since there is a distance between the physical error microphone 230 and the spatial grid, the user will still feel uncomfortable in the spatial grid after directly correcting the noise reduction frequency through the error noise collected by the physical error microphone 230. Therefore, it is necessary to convert the error noise collected by the physical error microphone 230 into the actual noise in the spatial grid through the pre-set sound transmission relationship, and then correct the noise reduction frequency based on the actual noise in the spatial grid to obtain a better correction effect.

[0077] Active noise cancellation devices not only generate an initial noise-reducing signal, but also perform secondary optimization based on the actual noise reduction results (i.e., the error noise signal). This closed-loop control system significantly improves noise reduction accuracy, ensuring users receive a continuous and effective noise reduction experience regardless of movement or changes in ambient noise.

[0078] Furthermore, in some preferred embodiments of the present invention, after the step of determining the noise-canceling frequency and the rotation angle of the noise-canceling speaker based on the target spatial grid and the noise audio in a preset adjustment relationship, the method further includes: determining whether the user's position has changed; if the user's position has changed, re-acquiring the target position.

[0079] Specifically, the active noise cancellation device continuously monitors the user's real-time location through spatial recognition devices such as camera module 220 or radar. These devices can capture and analyze the user's movement trajectory to promptly detect any changes in the user's location. Once the system detects a change in the user's location, it immediately updates the target location information. This means that the system discards the previously determined target spatial grid and corresponding noise reduction parameters, and restarts the processing flow based on the new location information.

[0080] As the target location is updated, the system maps the new coordinates onto a preset spatial grid, ensuring the user remains within the optimal noise reduction zone. This may require reanalyzing the surrounding acoustic environment and reconfiguring the speaker angles and outputs. Since changes in user position may introduce new noise characteristics, the system needs to re-acquire noise signals via reference microphone 240. This ensures that noise reduction processing is always based on the most accurate noise data available.

[0081] Through this dynamic monitoring and real-time response mechanism, the active noise cancellation system can flexibly adapt to changes in the user's location and continuously provide optimized noise cancellation effects.

[0082] This invention provides a spatial noise reduction method applied to the controller of an active noise cancellation device. The method includes: acquiring the user's target location; determining the target spatial grid corresponding to the target location in a preset spatial grid; wherein the spatial grid is divided based on a preset sound change amplitude; acquiring noise audio; determining the rotation angle of the noise-reducing frequency and the noise-reducing speaker based on the target spatial grid and the noise audio in a preset adjustment relationship; determining the user's real-time position in the noisy space; and adjusting the orientation of the noise-reducing frequency and the noise-reducing speaker according to the user's real-time position to improve the noise reduction effect in the entire noisy space and enhance the user experience.

[0083] Example 2

[0084] Based on the above embodiments, this invention provides another spatial noise reduction method, focusing on the laboratory preparation work performed before the main equipment is used.

[0085] In some preferred embodiments of the present invention, see [reference needed]. Figure 2 The schematic diagram of an active noise-reducing range hood provided in this embodiment of the invention is shown. The main device can be a range hood, and the noise reduction environment is usually a kitchen. The active noise reduction device can be installed on the range hood in a split form. The controller of the active noise reduction device can be the controller of the range hood. The centrifugal fan 210 is the main noise source. The spatial recognition device adopts a camera module 220. The reference microphone 240 collects noise signals. The physical error microphone 230 is set in front of the range hood. The secondary speaker 250 is used as the noise reduction speaker. This embodiment of the invention has two noise reduction speakers, which are set on both sides of the physical error microphone 230. The sound-emitting end of the noise reduction speaker can be rotated to achieve directional noise reduction.

[0086] Furthermore, in some preferred embodiments of the present invention, the spatial grid is divided by the following steps: determining the unit spatial grid corresponding to the sound change amplitude; and dividing the noise reduction space into grids based on the unit spatial grids to obtain the spatial grid.

[0087] Specifically, during the training phase, only one virtual error microphone and a transfer function from a physical error microphone 230 to the virtual microphone are needed. However, in a kitchen environment, the user's position may move, and the quiet zone for active noise cancellation is limited. Therefore, this invention divides the kitchen space into multiple blocks, each block being the size of an effective quiet zone for active noise cancellation. By capturing the user's coordinates using a spatial recognition device (camera or radar) and then using a rotatable speaker, real-time silencing of the user's area throughout the entire kitchen space can be achieved. Therefore, to achieve this effect, during the training phase, multiple virtual error microphones and corresponding transfer functions from the physical microphone to the virtual microphone (with the physical error microphone 230 fixed in position) need to be set according to the spatial block division. Simultaneously, the speaker rotation angle must also match the user's spatial position.

[0088] See Figure 3 The flowchart shown in this embodiment of the invention provides a spatial active noise reduction pre-training method, including:

[0089] Step S202: Determine the size of the effective area of ​​the active noise cancellation system.

[0090] Step S204: Determine the effective boundary of the active noise cancellation system.

[0091] Step S206: Divide the region into grids according to the size of the effective area and its boundaries.

[0092] Step S208: Set the rotation angle of the dual speakers according to the position of the center point of each grid.

[0093] In step S210, a virtual reference microphone 240 is set up at the center of each grid, and the transfer function between the physical reference microphone 240 and each virtual reference microphone 240 is established and recorded in memory.

[0094] Step S212: Bind the transfer function of each grid position to the speaker angle and record it in memory.

[0095] Specifically, due to the unique characteristics of active noise cancellation in a space (the reverberation field varies significantly depending on wall materials and kitchen size), the training process needs to be conducted in a simulated or real kitchen setting. Steps S202 to S206 aim to divide the quiet zone grid of the range hood's working area. The criterion for determining the effective area of ​​the active noise cancellation system is that, within a single grid area (with a fixed speaker angle), the sound pressure level reduction before and after the active noise cancellation function is activated is no less than 2dB (2dB is the perceptible sound change for people with normal hearing). The active noise cancellation system's boundary refers to the system's furthest effective range, again based on a sound pressure level reduction of no less than 2dB before and after activation. When the kitchen space is smaller than the system's boundary, the kitchen space is used as the dividing area. The third step involves dividing the space into grids based on the boundary and the single quiet zone.

[0096] Furthermore, in some preferred embodiments of the present invention, the rotation angle of the noise-canceling speaker is determined based on the line connecting the center of the spatial grid and the noise-canceling speaker and the reference normal of the noise-canceling speaker.

[0097] For details, see Figure 4 The diagram shown is a schematic representation of a quiet zone grid division and speaker angle adjustment according to an embodiment of the present invention. For each quiet zone grid, the rotation angle α1 of the speaker is set according to the position of its center point and the position of the two speakers. n With a2 n a1 n For the first-stage loudspeaker 250 corresponding to the nth grid, a2 n The rotation angle of the second-stage speaker 250 corresponding to the nth grid.

[0098] Furthermore, in some preferred embodiments of the present invention, the adjustment relationship is determined through the following steps: a virtual microphone is arranged at the center of the spatial grid; training noise audio is acquired, and training noise-reduced audio is played based on the training noise audio; wherein the training noise-reduced audio and the training noise audio have the same amplitude but opposite direction; a first noise signal is acquired based on the physical error microphone 230; a second noise signal is acquired based on the virtual microphone; a basic transfer function is determined based on the first noise signal and the second noise signal; the training noise-reduced audio is adjusted based on the basic transfer function; the adjusted training noise-reduced audio is output, and the basic transfer function is adjusted through the first noise signal and the second noise signal until the basic transfer function converges; the converged basic transfer function and the corresponding rotation angle of the noise-reducing speaker are determined as the adjustment relationship.

[0099] Specifically, the training noise audio can be the noise emitted by the centrifugal fan 210. The training noise audio is acquired through the reference microphone 240. The training noise reduction frequency has the same amplitude as the training noise audio but opposite direction. After noise reduction, the first noise signal is acquired through the physical error microphone 230, and the second noise signal is acquired through the virtual microphone. The basic transfer function is determined by the ratio of the two.

[0100] Furthermore, in some preferred embodiments of the present invention, the basic transfer function is determined by the following formula: Among them, O p (Z) is the basic transfer function, D v D is the first noise signal. m (n) represents the second noise signal within the nth spatial grid.

[0101] Adjusting the noise-reduced frequency (NRFM) involves determining the adjustment audio using a first noise signal and the fundamental transfer function (BJF), and then directly superimposing the adjustment audio onto the NRFM. In some preferred embodiments of this invention, a second noise signal can also be directly superimposed onto the NRFM to achieve adjustment. The adjusted NRFM is then played back, and the first and second noise signals are continuously collected to train the BJF.

[0102] After completing the above pre-training steps, the transfer functions and speaker angles are recorded in memory and can be directly called during actual use, reducing the computational burden on the chip and speeding up the response of the active noise cancellation system.

[0103] In some preferred embodiments of the present invention, when the spatial recognition device uses a camera module 220, different spatial grids and different transfer functions can be established for different users. Due to the different perceptions of sound change amplitudes among users, a first spatial grid can be used to divide the sound into a first spatial grid for user 1, and a second spatial grid can be used to divide the sound into a second spatial grid for user 2. The first sound change amplitude is smaller than the second sound change amplitude. The corresponding first spatial grid can be designed for elderly people, and the second spatial grid can be designed for middle-aged and young people. After noise reduction begins, the camera module 220 first identifies the user's identity, finds the corresponding spatial grid and transfer function, and then performs noise adjustment.

[0104] This invention provides a spatial noise reduction method. During pre-training, the system collects noise signals from the range hood during operation via a reference microphone 240, and a secondary speaker 250 plays a secondary sound signal (the opposite of the noise signal). Simultaneously, a virtual error microphone (called a virtual error microphone because it is usually omitted in actual use) is set in the desired quiet zone to collect the sound signal synthesized from the noise signal and the secondary sound wave, which is then fed back to the chip to correct the signal from the secondary speaker 250. Since a virtual error microphone cannot be placed in the desired quiet zone in actual use, a physical error microphone 230 (called a physical error microphone 230 because it is actually used) is placed on the range hood as a substitute. During training, a transfer function between the physical error microphone 230 and the virtual error microphone is established synchronously, allowing the virtual error microphone to be used as a substitute. Through the above training, an adjustment relationship is established. By using the adjustable secondary speaker 250 structure and the method of establishing a transfer function through partitioning, the operating noise of the range hood is reduced throughout the kitchen space, improving the active noise reduction effect and versatility.

[0105] Example 3

[0106] Based on the above embodiments, this invention provides a spatial noise reduction device applied to the controller of an active noise cancellation device. (See also...) Figure 5 The diagram shown is a structural schematic of a spatial noise reduction device provided in an embodiment of the present invention. The device includes:

[0107] Location acquisition module 310 is used to acquire the user's target location;

[0108] The target spatial grid determination module 320 is used to determine the target spatial grid corresponding to the target location in a preset spatial grid; wherein, the spatial grid is divided based on a preset sound change amplitude;

[0109] Noise acquisition module 330 is used to acquire noise audio;

[0110] The noise reduction frequency adjustment module 340 is used to determine the rotation angle of the noise reduction frequency and the noise reduction speaker based on the target space grid and the noise audio in a preset adjustment relationship.

[0111] Furthermore, in some preferred embodiments of the present invention, the active noise cancellation device is provided with a physical error microphone 230; the device further includes: an audio error adjustment module, used to collect error noise signals based on the physical error microphone 230; determine a target sound transfer function based on the error noise signal and the target spatial grid in a predetermined sound transfer relationship; and correct the noise reduction frequency based on the target sound transfer function.

[0112] Furthermore, in some preferred embodiments of the present invention, the device further includes: a spatial grid determination module, used to determine the unit spatial grid corresponding to the sound change amplitude; and to divide the noise reduction space into grids based on the unit spatial grids to obtain a spatial grid.

[0113] Furthermore, in some preferred embodiments of the present invention, the rotation angle of the noise-canceling speaker is determined based on the line connecting the center of the spatial grid and the noise-canceling speaker and the reference normal of the noise-canceling speaker.

[0114] Furthermore, in some preferred embodiments of the present invention, the device further includes: an adjustment relationship determination module, used to arrange a virtual microphone at the center of a spatial grid; acquire training noise audio, and play training noise-reduced audio based on the training noise audio; wherein the training noise-reduced audio and the training noise audio have the same amplitude but opposite direction; acquire a first noise signal based on a physical error microphone 230; acquire a second noise signal based on a virtual microphone; determine a basic transfer function based on the first noise signal and the second noise signal; adjust the training noise-reduced audio based on the basic transfer function; output the adjusted training noise-reduced audio, and adjust the basic transfer function through the first noise signal and the second noise signal until the basic transfer function converges; and determine the converged basic transfer function and the corresponding rotation angle of the noise-reducing speaker as the adjustment relationship.

[0115] Furthermore, in some preferred embodiments of the present invention, the adjustment relationship determination module is used to determine the basic transfer function using the following formula: Among them, O p (Z) is the basic transfer function, D v D is the first noise signal. m (n) represents the second noise signal within the nth spatial grid.

[0116] Furthermore, in some preferred embodiments of the present invention, the device further includes: a location monitoring module, used to determine whether the user's location has changed; if the user's location has changed, the target location is reacquired.

[0117] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the spatial noise reduction device described above can be referred to the corresponding process in the embodiments of the aforementioned spatial noise reduction method, and will not be repeated here.

[0118] Example 4

[0119] This invention also provides an electronic device for using a space noise reduction method; see [link to previous document]. Figure 6The diagram shown is a structural schematic of an electronic device provided by an embodiment of the present invention. The electronic device includes a memory 400 and a processor 401. The memory 400 is used to store one or more computer instructions, which are executed by the processor 401 to implement the above-mentioned spatial noise reduction method.

[0120] Furthermore, Figure 6 The electronic device shown also includes a bus 402 and a communication interface 403. The processor 401, the communication interface 403 and the memory 400 are connected via the bus 402.

[0121] The memory 400 may include high-speed random access memory (RAM) 400, and may also include non-volatile memory 400, such as at least one disk storage device 400. Communication between this system network element and at least one other network element is achieved through at least one communication interface 403 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 402 may be an ISA bus 402, a PCI bus 402, or an EISA bus 402, etc. The bus 402 can be divided into an address bus 402, a data bus 402, a control bus 402, etc. For ease of representation, Figure 6 The symbol is represented by only one double-headed arrow, but this does not mean that there is only one bus 402 or one type of bus 402.

[0122] Processor 401 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 401 or by instructions in software form. The processor 401 can be a general-purpose processor 401, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor 401 can be a microprocessor 401, or any conventional processor 401. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by the hardware decoding processor 401, or execution by a combination of hardware and software modules in the decoding processor 401. The software module can reside in a random access memory 400, flash memory, read-only memory 400, programmable read-only memory 400, electrically erasable programmable memory 400, registers, or other mature storage media in the art. This storage medium is located in memory 400, and processor 401 reads information from memory 400 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.

[0123] This invention also provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are invoked and executed by a processor 401, they cause the processor 401 to implement the aforementioned business recommendation method. For specific implementation details, please refer to the method embodiments, which will not be repeated here.

[0124] The computer program products of the spatial noise reduction method, apparatus and electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0125] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and / or device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0126] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0127] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A spatial noise reduction method, characterized in that, A controller applied to an active noise cancellation device, the method comprising: Obtain the user's target location; Determine the target spatial grid corresponding to the target location within a preset spatial grid; wherein, the spatial grid is divided based on a preset sound change amplitude; Acquire noisy audio; Based on the target spatial grid and the noise audio, the noise reduction frequency and the rotation angle of the noise reduction speaker are determined within a preset adjustment relationship; The active noise cancellation device is equipped with a physical error microphone; the method further includes: After determining the noise-reducing frequency and the rotation angle of the noise-reducing speaker based on the target spatial grid and the noise audio within a preset adjustment relationship, the method further includes: Based on the physical error, the microphone collects error noise signals; The target sound transfer function is determined based on the error noise signal and the target spatial grid within a predetermined sound transfer relationship. The noise reduction frequency is corrected based on the target sound transfer function; The adjustment relationship is determined through the following steps: A virtual microphone is placed at the center of the spatial grid; Acquire training noise audio, and play training noise-reduced audio based on the training noise audio; wherein the training noise-reduced audio has the same amplitude but opposite direction to the training noise audio; The microphone acquires a first noise signal based on the physical error. The second noise signal is acquired based on the virtual microphone; The basic transfer function is determined based on the first noise signal and the second noise signal; The training noise reduction frequency is adjusted based on the aforementioned basic transfer function; The adjusted training noise reduction frequency is output, and the basic transfer function is adjusted using the first noise signal and the second noise signal until the basic transfer function converges. The convergent fundamental transfer function and the corresponding rotation angle of the noise-canceling loudspeaker are determined as the adjustment relationship.

2. The spatial noise reduction method according to claim 1, characterized in that, The spatial grid is divided using the following steps: Determine the unit spatial grid corresponding to the amplitude of the sound change; The noise reduction space is divided into grids based on the unit spatial grid to obtain a spatial grid.

3. The spatial noise reduction method according to claim 2, characterized in that, The rotation angle of the noise-canceling loudspeaker is determined based on the line connecting the center of the spatial grid to the noise-canceling loudspeaker and the reference normal of the noise-canceling loudspeaker.

4. The spatial noise reduction method according to claim 1, characterized in that, The basic transfer function is determined by the following formula: ; in, For the basic transfer function, The first noise signal, The second noise signal is located within the nth spatial grid.

5. The spatial noise reduction method according to claim 1, characterized in that, After determining the noise-reducing frequency and the rotation angle of the noise-reducing speaker based on the target spatial grid and the noise audio within a preset adjustment relationship, the method further includes: Determine whether the user's location has changed; If the user's location changes, the target location is reacquired.

6. A spatial noise reduction device, characterized in that, A controller for an active noise cancellation device, the device comprising: The location acquisition module is used to obtain the user's target location; A target spatial grid determination module is used to determine the target spatial grid corresponding to the target location in a preset spatial grid; wherein, the spatial grid is divided based on a preset sound change amplitude; The noise acquisition module is used to acquire noise audio. The noise reduction frequency adjustment module is used to determine the rotation angle of the noise reduction frequency and the noise reduction speaker based on the target spatial grid and the noise audio in a preset adjustment relationship; The active noise cancellation device is equipped with a physical error microphone; The device also includes: The audio error adjustment module is used to collect error noise signals based on physical error microphones; determine the target sound transfer function based on the error noise signals and the target spatial grid within a predetermined sound transfer relationship; and correct the noise reduction frequency based on the target sound transfer function. The adjustment relationship determination module is used to place a virtual microphone at the center of the spatial grid; acquire training noise audio, and play training noise-reduced audio based on the training noise audio; wherein the training noise-reduced audio and the training noise audio have the same amplitude but opposite direction; acquire a first noise signal based on the physical error microphone; acquire a second noise signal based on the virtual microphone; determine the basic transfer function based on the first noise signal and the second noise signal; adjust the training noise-reduced audio based on the basic transfer function; output the adjusted training noise-reduced audio, and adjust the basic transfer function through the first noise signal and the second noise signal until the basic transfer function converges; and determine the converged basic transfer function and the corresponding rotation angle of the noise-reducing speaker as the adjustment relationship.

7. An electronic device, characterized in that, It includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the spatial noise reduction method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the spatial noise reduction method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Noise reduction method and device and vehicle

    CN116825071A

  • Range hood active noise reduction method based on virtual microphone

    CN116844516A