Signal processing method and acoustic system
By using target filtering and synthesising the sound pickup signal in the acoustic system, the whistling and echo problems caused by speaker sound feedback are solved, and the stable operation of the system and user experience are improved.
Patent Information
- Application Number
- CN202310545463.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-15
- Publication Date
- 2024-11-15
AI Technical Summary
The sound emitted by the speaker in the acoustic system is collected by the sound sensor and formed a closed loop loop, resulting in howling and echoing, affecting the normal operation of the system.
By obtaining multiple sound pickup signals, filtering and synthesising these signals based on target filtering parameters, reducing or eliminating the sound components of the speakers, thereby avoiding howling and echoing.
Effectively reduce or eliminate feedback sound in the acoustic system, avoid whistling and echo problems, and improve the working stability and user experience of the system.
Smart Images

Figure CN118972741A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of acoustic technology, and in particular to a signal processing method and an acoustic system. Background Art
[0002] Some acoustic systems include both speakers and sound sensors. In these acoustic systems, the ambient sound collected by the sound sensor may include the sound emitted from the speaker, which is not conducive to the operation of the acoustic system. For example, when the hearing aid system is working, the ambient sound is collected by the sound sensor, the ambient sound is amplified and then played through the speaker, thereby compensating for the hearing loss of the wearer. When the sound emitted by the speaker is re-collected by the sound sensor, the acoustic system forms a closed loop, so that the sound emitted by the speaker is continuously amplified in the closed loop, causing the acoustic system to howl, making the wearer feel uncomfortable. For another example, in a telephone system or a conference system, the voice signal emitted by the remote user is played through the local speaker, and is collected by the local sound sensor together with the voice emitted by the local user, and then transmitted back to the remote end, so that the remote user will be disturbed by the echo. Summary of the invention
[0003] The present application provides a signal processing method and an acoustic system, which can reduce or eliminate feedback sound in the acoustic system, thereby avoiding problems such as howling and echo in the acoustic system.
[0004] In a first aspect, the present application provides a signal processing method, comprising: obtaining M sound pickup signals, the M sound pickup signals are respectively obtained by collecting environmental sounds when M sound sensors in a sound sensor module of an acoustic system are working, the environmental sounds include a first sound and a second sound, the first sound is a sound from a speaker in the acoustic system, the second sound is a sound from a target sound source, and M is an integer greater than 1; based on M groups of target filtering parameters, respectively performing filtering operations on the M sound pickup signals to obtain M filtered signals, and performing synthesis operations on the M filtered signals to obtain a composite signal, wherein the M groups of target filtering parameters are configured to minimize the signal component corresponding to the first sound in the composite signal under a target constraint; and performing a target operation on the composite signal.
[0005] In some embodiments, the target constraint includes: an attenuation degree of a signal component corresponding to the second sound in the integrated signal is within a preset range.
[0006] In some embodiments, the M groups of target filtering parameters are obtained based on M first transfer functions and M second transfer functions, wherein the nth first transfer function is the transfer function between the speaker and the nth sound sensor, the nth second transfer function is the transfer function between the target sound source and the nth sound sensor, and n is an integer less than or equal to M.
[0007] In some embodiments, the M groups of target filter parameters are obtained in the following manner: based on the M first transfer functions, a first expression is generated with the goal of minimizing the signal component corresponding to the first sound in the integrated signal, and the first expression uses the M groups of target filter parameters as unknown quantities; based on the M second transfer functions and the target constraint, a second expression is generated, and the second expression uses the M groups of target filter parameters as unknown quantities; and the M groups of target filter parameters are solved using the second expression as a constraint condition and the first expression as an objective function.
[0008] In some embodiments, the M groups of target filter parameters are obtained in the following manner: based on the M first transfer functions, the transfer function between the first sound and the integrated signal is expressed to generate a third expression, and the third expression uses the M groups of target filter parameters as unknown quantities; based on the M second transfer functions and the target constraint, a fourth expression is generated, and the fourth expression uses the M groups of target filter parameters as unknown quantities; a fifth expression is obtained by weighted summation of the third expression and the fourth expression; and the M groups of target filter parameters are solved by minimizing the fifth expression as the objective function.
[0009] In some embodiments, the M first transfer functions are obtained in the following manner: determining a current wearing posture corresponding to the acoustic system; and determining the M first transfer functions based on the current wearing posture.
[0010] In some embodiments, the M first transfer functions are obtained in the following manner: sending a test signal to the speaker to drive the speaker to emit a test sound; respectively obtaining M acquisition signals obtained by the M sound sensors picking up the test sound; and determining the M first transfer functions based on the test signal and the M acquisition signals.
[0011] In some embodiments, the M second transfer functions are obtained in the following manner: the M second transfer functions are obtained from a preset storage space.
[0012] In some embodiments, the M second transfer functions are obtained in the following manner: setting the i-th second transfer function as a preset function, where i is an integer less than or equal to M; and determining the j-th second transfer function based on the i-th second transfer function and the distance between the j-th sound sensor and the i-th sound sensor, where j is an integer less than or equal to M, and j is different from i.
[0013] In some embodiments, the target constraint includes: the M groups of target filter parameters are not zero at the same time; and the M groups of target filter parameters are obtained based on M first transfer functions, wherein the nth first transfer function is the transfer function between the speaker and the nth sound sensor, and n is an integer less than or equal to M.
[0014] In some embodiments, the M groups of target filter parameters include K groups of first filter parameters and MK groups of second filter parameters, where K is an integer greater than or equal to 1; and the M groups of target filter parameters are obtained in the following manner: setting the K groups of first filter parameters to preset non-zero values, and determining the MK groups of second filter parameters based on the M first transfer functions and the K groups of first filter parameters.
[0015] In some embodiments, performing the target operation on the integrated signal includes: performing gain amplification on the integrated signal, and sending the gain-amplified signal as a driving signal to the speaker to drive the speaker to produce sound.
[0016] In some embodiments, the speaker and the sound sensor module are deployed on a first acoustic device, the first acoustic device is communicatively connected to a second acoustic device; and performing a target operation on the integrated signal includes: sending the integrated signal to the second acoustic device to reduce the echo of the second acoustic device.
[0017] In a second aspect, the present application also provides an acoustic system, comprising a speaker, a sound sensor module and a signal processing circuit, wherein the speaker receives a driving signal and converts it into a first sound when in operation; the sound sensor module comprises M sound sensors, which pick up ambient sounds and generate M sound pickup signals when in operation, wherein the ambient sounds include the first sound and a second sound from a target sound source, and M is an integer greater than 1; the signal processing circuit is connected to the sound sensor module, and executes any one of the methods described in the first aspect when in operation.
[0018] In some embodiments, the signal processing circuit includes: at least one storage medium and at least one processor, wherein the at least one storage medium stores at least one instruction set for signal processing; the at least one processor is communicatively connected to the sound sensor module and the at least one storage medium, wherein when the acoustic system is running, the at least one processor reads the at least one instruction set and executes any one of the methods described in the first aspect according to the instructions of the at least one instruction set.
[0019] In some embodiments, the acoustic system is any one of a hearing aid system, a sound amplification system, a headphone system, a telephone system, and a conference system.
[0020] In some embodiments, the acoustic system is a hearing aid, which further includes a shell, and the speaker, the sound sensor module and the signal processing circuit are arranged in the shell, wherein when the acoustic system is worn on the user's head, the sound output end of the speaker faces the user's head, and the pickup end of at least one sound sensor in the sound sensor module is located on a side of the shell away from the user's head.
[0021] It can be seen from the above technical solutions that the signal processing method and acoustic system provided by the present application, the M sound sensors in the sound sensor module collect environmental sounds and generate M sound pickup signals when working, the environmental sounds include the first sound from the speaker and the second sound from the target sound source, and the signal processing circuit can perform filtering operations on the M sound pickup signals based on M groups of target filtering parameters to obtain M filtered signals, and perform synthesis operations on the M filtered signals to obtain a comprehensive signal, and then perform target operations on the comprehensive signal. Since the M groups of target filtering parameters are configured to minimize the signal component from the speaker in the comprehensive signal under the target constraint, the above filtering operation can reduce or eliminate the feedback sound (i.e., the sound from the speaker) in the acoustic system, thereby avoiding the problems of howling, echo, etc. in the acoustic system.
[0022] Other functions of the signal processing method and acoustic system provided by the present application will be partially listed in the following description. The creative aspects of the signal processing method and acoustic system provided by the present application can be fully explained by practicing or using the methods, devices and combinations described in the following detailed examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 A schematic diagram showing an application scenario provided according to an embodiment of the present application is shown;
[0025] Figure 2 A schematic diagram showing another application scenario provided according to an embodiment of the present application is shown;
[0026] Figure 3 A schematic diagram of a design of an acoustic system provided according to an embodiment of the present application is shown;
[0027] Figure 4 A schematic structural diagram of an acoustic system provided according to an embodiment of the present application is shown;
[0028] Figure 5 A hardware design schematic diagram of an acoustic system provided according to an embodiment of the present application is shown;
[0029] Figure 6 A flow chart of a signal processing method provided according to an embodiment of the present application is shown;
[0030] Figure 7 A schematic diagram showing a signal processing process provided according to an embodiment of the present application;
[0031] Fig. 8A Shows Figure 7 A schematic diagram showing how the signal processing scheme shown cancels the sound from the speaker; and
[0032] Figure 8B Shows Figure 7 Schematic diagram of the attenuation of sound from the target sound source by the signal processing scheme shown. DETAILED DESCRIPTION
[0033] The following description provides specific application scenarios and requirements of the present application, with the purpose of enabling those skilled in the art to make and use the content in the present application. It will be apparent to those skilled in the art that various local modifications to the disclosed embodiments are apparent, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present application. Therefore, the present application is not limited to the embodiments shown, but to the widest scope consistent with the claims.
[0034] The terms used herein are only used for the purpose of describing specific example embodiments and are not restrictive. For example, unless the context clearly indicates otherwise, as used herein, the singular forms "a", "an" and "the" may also include plural forms. When used in this application, the terms "include", "comprise" and / or "contain" mean to refer to the existence of associated integers, steps, operations, elements and / or components, but do not exclude the existence of one or more other features, integers, steps, operations, elements, components and / or groups or other features, integers, steps, operations, elements, components and / or groups may be added in the system / method.
[0035] In view of the following description, these and other features of the present application, as well as the operation and function of the related elements of the structure, and the economy of the combination and manufacture of the parts can be significantly improved. With reference to the accompanying drawings, all of which form a part of this application. However, it should be clearly understood that the drawings are only for the purpose of illustration and description and are not intended to limit the scope of the present application. It should also be understood that the drawings are not drawn to scale.
[0036] The flow chart used in this application illustrates the operation of the system implementation according to some embodiments in this application. It should be clearly understood that the operation of the flow chart can be implemented out of order. On the contrary, the operation can be implemented in reverse order or simultaneously. In addition, one or more other operations can be added to the flow chart. One or more operations can be removed from the flow chart.
[0037] Before describing the specific embodiments of the present application, the application scenarios of the present application are first introduced as follows.
[0038] Figure 1 A schematic diagram of an application scenario provided according to an embodiment of the present application is shown. The scenario may be a sound amplification scenario, an auxiliary listening scenario, or an aided hearing scenario. Figure 1 As shown, the application scenario 001 includes a speaker 110-A and a sound sensor 120-A. The sound sensor 120-A collects environmental sounds when it is working. During this process, if the speaker 110-A is also playing sound synchronously, the sound played by the speaker 110-A will also be collected by the sound sensor 120-A. In this way, the environmental sounds collected by the sound sensor 120-A include both the sound from the target sound source 160 and the sound from the speaker 110-A. Furthermore, the above environmental sounds are input to a gain amplifier (such as Figure 1G) is gain amplified, and then the amplified signal is sent to the speaker 110-A for playback. In this way, a closed loop of "speaker-sound sensor-speaker" is formed in the acoustic system. In this case, when sound signals of certain frequencies undergo self-excited oscillation, a howling phenomenon will occur. Such howling will make the user feel uncomfortable, and when the howling is severe, it may also cause damage to the acoustic equipment. In addition, the existence of the howling also brings limitations to the gain amplification factor of the gain amplifier 130, thereby restricting the maximum sound gain that the acoustic system 003 can achieve.
[0039] Figure 2 FIG. 1 is a schematic diagram of another application scenario provided according to an embodiment of the present application. The scenario may be a call scenario, such as a call scenario through a telephone system, a conference system, or a voice call system. Figure 2 As shown, the application scenario 002 includes a local end and a remote end, wherein the local end includes a local user 140-A, a speaker 110-A and a sound sensor 120-A, and the remote end includes a remote user 140-B, a speaker 110-B and a sound sensor 120-B. The local end and the remote end can be connected through a network. Among them, the network is a medium for providing a communication connection between the local end and the remote end, which can facilitate the exchange of information or data between the two. In some embodiments, the network can be any type of wired or wireless network, or a combination thereof. For example, the network can include a cable network, a wired network, an optical fiber network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, a near field communication (NFC) network or a similar network. In some embodiments, the network can include one or more network access points. For example, the network may include a wired or wireless network access point, such as a base station or an Internet exchange point, through which local and remote terminals can connect to the network to exchange data or information.
[0040] Continue to see Figure 2 During a call between a local user 140-A and a remote user 140-B, the remote voice emitted by the remote user 140-B is collected by the sound sensor 120-B and transmitted to the local end, and then played through the local speaker 110-A. The remote voice played by the speaker 110-A is collected by the local sound sensor 120-A together with the local voice emitted by the local user 140-A, and then transmitted back to the remote end and played through the remote speaker 110-B. In this way, the remote user 140-B will hear his own echo and be disturbed by the echo. It should be noted that Figure 2The example in the figure is the process of remote user 140-B being disturbed by echo. It should be understood that local user 140-A may also be disturbed by echo, and the echo generation process at the local end is similar to the above description, which will not be repeated here. Such echo will affect the normal conversation of the user.
[0041] The signal processing method and acoustic system provided in the embodiments of the present application can be applied to scenarios where howling suppression is required (for example Figure 1 The scenario shown in the figure) can also be applied to the scenario where echo cancellation is required (for example Figure 2 In the above scenario, the acoustic system collects ambient sound through M sound sensors to obtain M sound pickup signals, and uses the signal processing method described in the embodiment of the present application to process the M sound pickup signals to generate a comprehensive signal, so as to reduce the signal component from the speaker in the comprehensive signal, thereby achieving the purpose of suppressing howling or echo elimination.
[0042] It should be noted that the above-mentioned howling suppression scenario and echo cancellation scenario are only some of the multiple usage scenarios provided by the embodiments of the present application, and the signal processing method and acoustic system provided by the embodiments of the present application can also be applied to other similar scenarios. Those skilled in the art should understand that the application of the signal processing method and acoustic system provided by the embodiments of the present application to other usage scenarios is also within the scope of the embodiments of the present application.
[0043] Figure 3 003 can be a sound reinforcement system, a hearing aid system or an auxiliary hearing system, etc. At this time, the acoustic system 003 can be applied to Figure 1 The acoustic system 003 can also be a telephone system, a conference system or a voice call system, etc. In this case, the acoustic system 003 can be applied to Figure 2 The application scenario shown.
[0044] like Figure 3 As shown, the acoustic system 003 may include: a speaker 110, a sound sensor module 120 and a signal processing circuit 150. The sound sensor module 120 may include M sound sensors 120-1 to 120-M, where M is an integer greater than 1. For example, Figure 3 Take M=2 as an example, that is, the sound sensor module 120 includes a sound sensor 120-1 and a sound sensor 120-2. The M sound sensors may be the same sound sensors or different sound sensors.
[0045] In the acoustic system 003, the speaker 110 and the sound sensor module 120 may be integrated in the same electronic device or may be independent of each other, which is not limited in the embodiments of the present application. Figure 4 A schematic diagram of the structure of an acoustic system 003 provided according to an embodiment of the present application is shown; Figure 4 As shown, when the acoustic system 003 is a hearing aid system or an auxiliary hearing system, the acoustic system 003 may further include a housing 115. In this case, the speaker 110, the sound sensor module 120 and the signal processing circuit 150 may be arranged in the housing 115. The housing 115 protects the components inside it and is convenient for the user to take and wear it. The acoustic system 003 can be worn on the user's head. For example, the acoustic system 003 can be worn on the user's ear in an in-ear manner, an ear-hanging manner or other manners. When the acoustic system 003 is worn on the user's head, the sound outlet of the speaker 110 faces the user's head, for example, it can face the user's ear canal opening or near the ear canal opening. The sound pickup end of at least one sound sensor in the sound sensor module 120 is located on the side of the housing 115 away from the user's head, so that it is convenient to pick up environmental sounds on the one hand, and on the other hand, the sound pickup of the speaker 110 can be minimized.
[0046] In the embodiment of the present application, the speaker 110 is a device for converting an electrical signal into sound, and may also be referred to as an electroacoustic converter. For example, the speaker 110 may be a speaker. Figure 3 , the speaker 110 can be connected to the signal processing circuit 150, and when working, it receives the driving signal from the signal processing circuit 150 and converts it into sound to play. Among them, the speaker 110 can be directly connected to the signal processing circuit 150, and can also be connected to the signal processing circuit 150 through a first peripheral circuit (not shown in the drawings). The first peripheral circuit can perform some processing on the electrical signal output by the signal processing circuit 150, so that the processed electrical signal is suitable for the speaker 110 to play. The first peripheral circuit can include but is not limited to at least one device of an operational amplifier device, a power amplifier device, a digital-to-analog converter device, a filter device, a tuning device, a capacitor, a resistor, an inductor, and a chip.
[0047] It should be noted that the speaker 110 may be a device that generates sound based on at least one conduction method of gas, liquid, or solid, and this application does not limit this. The speaker 110 may be a speaker itself, or may include a speaker and simple circuit elements attached thereto. The number of speakers 110 may be one or more. When the number of speakers 110 is multiple, the multiple speakers 110 may be arranged in an array.
[0048] In the embodiment of the present application, the sound sensors 120-1 to 120-M are devices for picking up sound and converting the sound into an electrical signal, and may also be referred to as an acoustic-to-electrical converter. For example, the sound sensors 120-1 to 120-M may be microphones (MIC). Figure 3 , the sound sensors 120-1 to 120-M can be connected to the signal processing circuit 150, pick up environmental sounds to generate sound pickup signals when working, and send the sound pickup signals to the signal processing circuit 150. Among them, the sound sensors 120-1 to 120-M can be directly connected to the signal processing circuit 150, or can be connected to the signal processing circuit 150 through a second peripheral circuit (not shown in the drawings). The second peripheral circuit can perform some processing on the electrical signals (i.e., sound pickup signals) picked up by the sound sensors 120-1 to 120-M so as to convert them into signals suitable for processing by the signal processing circuit 150. The second peripheral circuit may include but is not limited to at least one of a power amplifier device, an operational amplifier device, an analog-to-digital converter device, a filter device, a tuning device, a capacitor, a resistor, an inductor, and a chip.
[0049] It should be noted that the sound sensors 120-1 to 120-M can be devices that pick up sound based on at least one of gas, liquid, and solid conduction modes, which is not limited in this application. The sound sensors 120-1 to 120-M can be MICs themselves, or can include MICs and simple circuit elements attached thereto.
[0050] Continue to see Figure 3 , the working process of the acoustic system 003 is as follows: the speaker 110 receives the driving signal u from the signal processing circuit 150 and converts it into a first sound. The target sound source 160 emits a second sound. The target sound source 160 refers to other sound sources other than the speaker 110. For example, the target sound source 160 may include an electronic device with a sound playback function (such as a TV, a speaker, a mobile phone, etc.); for another example, the target sound source 160 may also include a human throat. The sound sensor 120-1 collects environmental sounds to generate a pickup signal y1. Among them, the environmental sounds include a first sound from the speaker 110 and a second sound from the target sound source 160. Therefore, the pickup signal y1 includes a signal component x1 corresponding to the first sound and a signal component v1 corresponding to the second sound. The sound sensor 120-1 sends the pickup signal y1 to the signal processing circuit 150. It should be understood that the working process of the sound sensors 120-2 to 120-M is similar to that of the sound sensor 120-1, and will not be repeated here.
[0051] The signal processing circuit 150 may be a circuit with certain signal processing capabilities. The signal processing circuit 150 may receive sound pickup signals from M sound sensors, that is, the signal processing circuit 150 may receive M sound pickup signals, which are sound pickup signals y1 to y M The signal processing circuit 150 may be configured to perform the signal processing method described in the embodiment of the present application based on the M sound pickup signals. The signal processing method will be described in detail in the following content.
[0052] In some embodiments, the signal processing circuit 150 may include multiple hardware circuits with a connection relationship, each hardware circuit includes one or more electrical components, and when working, implements one or more steps in the signal processing method described in the embodiments of the present application. The above-mentioned multiple hardware circuits cooperate with each other when working to implement the signal processing method described in the embodiments of the present application.
[0053] In some embodiments, the signal processing circuit 150 may include a hardware device with a data information processing function and a necessary program to drive the hardware device to work, and the hardware device implements the signal processing method described in the embodiment of the present application by executing the program. Figure 5 FIG. 1 shows a hardware design diagram of an acoustic system 003 provided according to an embodiment of the present application. Figure 5 As shown, the signal processing circuit 150 may include: at least one storage medium 210 and at least one processor 220. The at least one processor 220 is in communication with the speaker 110 and the sound sensor module 120. It should be noted that, for the purpose of demonstration only, the signal processing circuit 150 provided in the embodiment of the present application includes at least one storage medium 210 and at least one processor 220. It can be understood by those of ordinary skill in the art that the signal processing circuit 150 may also include other hardware circuit structures, which are not limited in the embodiments of the present application, as long as the functions mentioned in the present application can be met without deviating from the spirit of the present application.
[0054] Continue to see Figure 5 In some embodiments, the acoustic system 003 may further include a communication port 230. The communication port 230 is used for data communication between the acoustic system and the outside world. For example, the communication port 230 can be used for data communication between the acoustic system and other devices / systems. In some embodiments, the acoustic system 003 may further include an internal communication bus 240. The internal communication bus 240 can connect different system components. For example, the speaker 110, the sound sensor module 120, the processor 220, the storage medium 210, and the communication port 230 can all be connected via the internal communication bus 240.
[0055] The storage medium 210 may include a data storage device. The data storage device may be a non-temporary storage medium or a temporary storage medium. For example, the data storage device may include one or more of a disk 2101, a read-only storage medium (ROM) 2102, or a random access storage medium (RAM) 2103. The storage medium 210 also includes at least one instruction set stored in the data storage device. The instruction set includes instructions, which are computer program codes, and the computer program codes may include programs, routines, objects, components, data structures, processes, modules, etc. for executing the signal processing methods provided in the embodiments of the present application.
[0056] At least one processor 220 is used to execute the at least one instruction set mentioned above. When the acoustic system 003 is running, at least one processor 220 reads the at least one instruction set and executes the signal processing method provided by the embodiment of the present application according to the instructions of the at least one instruction set. The processor 220 can perform all or part of the steps included in the above signal processing method. The processor 220 can be in the form of one or more processors. In some embodiments, the processor 220 may include one or more hardware processors, such as a microcontroller, a microprocessor, a reduced instruction set computer (RISC), an application-specific integrated circuit (ASIC), an application-specific instruction set processor (ASIP), a central processing unit (CPU), a graphics processing unit (GPU), a physical processing unit (PPU), a microcontroller unit, a digital signal processor (DSP), a field programmable gate array (FPGA), an advanced RISC machine (ARM), a programmable logic device (PLD), any circuit or processor capable of performing one or more functions, etc., or any combination thereof. Just for illustration, Figure 5 The acoustic system 003 shown illustrates a case where only one processor 220 is included. However, it should be noted that the acoustic system 003 provided in the embodiments of the present application may also include multiple processors, and therefore, the operations and / or method steps disclosed in the embodiments of the present application may be performed by one processor or jointly by multiple processors. For example, if the processor 220 of the acoustic system performs step A and step B in the embodiments of the present application, it should be understood that step A and step B may also be performed jointly or separately by two different processors 220 (for example, the first processor performs step A, the second processor performs step B, or the first and second processors perform steps A and B together).
[0057] Figure 6The flowchart of the signal processing method provided according to the embodiment of the present application is shown. The signal processing method P100 can be applied to the acoustic system 003 as described above. Specifically, the signal processing circuit 150 can execute the signal processing method P100. For example, the processor 220 in the signal processing circuit 150 can execute the signal processing method P100.
[0058] like Figure 6 As shown, the signal processing method P100 may include:
[0059] S10: Obtain M sound pickup signals, where the M sound pickup signals are obtained by collecting ambient sounds when M sound sensors in the acoustic system are working, and the ambient sounds include a first sound and a second sound, where the first sound is a sound from a speaker in the acoustic system, and the second sound is a sound from a target sound source, and M is an integer greater than 1.
[0060] Among them, the signal processing circuit 150 can obtain M sound pickup signals from the sound sensor module 120. It should be noted that the process of the M sound sensors in the sound sensor module 120 respectively collecting environmental sounds and generating sound pickup signals has been described in the previous text and will not be repeated here. Since the environmental sound includes both the first sound from the speaker 110 and the second sound from the target sound source 160, each sound pickup signal includes both the signal component corresponding to the first sound (i.e., the feedback component) and the signal component corresponding to the second sound.
[0061] S20: Based on M groups of target filtering parameters, filtering operations are performed on the M sound pickup signals respectively to obtain M filtered signals, and synthesis operations are performed on the M filtered signals to obtain a comprehensive signal, wherein the M groups of target filtering parameters are configured to minimize the signal component corresponding to the first sound in the comprehensive signal under target constraints.
[0062] For ease of understanding, Figure 7 FIG. 1 is a schematic diagram showing a signal processing process provided according to an embodiment of the present application. Figure 7 As shown in the figure, it is assumed that the M sound pickup signals obtained by the signal processing circuit 150 from the sound sensor module 120 are respectively recorded as y1 to y M The signal processing circuit 150 can perform filtering operations on the M sound pickup signals based on the M groups of target filtering parameters to obtain M filtered signals y1′ to y M '. Specifically, see Figure 7, the signal processing circuit 150 performs a filtering operation on the sound pickup signal y1 based on the target filtering parameter w1 to obtain a filtered signal y1′, that is, y1′=y1*w1. The signal processing circuit 150 performs a filtering operation on the sound pickup signal y2 based on the target filtering parameter w2 to obtain a filtered signal y1′, that is, y2′=y2*w2. Similarly, the signal processing circuit 150 performs a filtering operation on the sound pickup signal y2 based on the target filtering parameter w2 to obtain a filtered signal y1′, that is, y2′=y2*w2. M For the sound pickup signal y M Perform the filtering operation to obtain the filtered signal y M ′, that is, y M ′=y M *w M Furthermore, the signal processing circuit 150 obtains M filtered signals y1′ to y M 'After that, the M filtered signals y1' to y M ' Perform the synthesis operation to obtain the integrated signal y, that is, y = y1' + y2' + ... + y M '. For example, the above synthesis operation can be implemented by an adder. The above synthesis signal y can be regarded as the comprehensive pickup result of the sound sensor module 120 on the ambient sound. It should be noted that, Figure 7 For the sake of convenience, M=2 is taken as an example.
[0063] The M groups of target filtering parameters are configured to minimize the signal component (i.e., feedback component) corresponding to the first sound in the integrated signal y under the target constraint. That is, when the signal processing circuit 150 performs the filtering operation, it can reduce the feedback component in the integrated signal y as much as possible under certain constraints, so that the feedback component in the integrated signal y is minimized. In other words, the signal processing circuit 150 implements beamforming of the sound sensor module 120 by performing the filtering operation, thereby minimizing the feedback component in the integrated signal y.
[0064] For the convenience of subsequent description, the first sound emitted by the speaker 110 is recorded as x, and the second sound emitted by the target sound source 160 is recorded as v. The transfer function between the speaker 110 and the nth sound sensor is called the first transfer function and is recorded as h n , that is, the first transfer functions between the loudspeaker 110 and the M sound sensors are h1 to h M The transfer function between the target sound source 160 and the nth sound sensor is called the second transfer function and is denoted by d n That is, the second transfer functions between the loudspeaker 110 and the M sound sensors are respectively recorded as d1 to d M In this way, the M sound pickup signals picked up by the M sound sensors can be expressed as follows:
[0065] y1=x*h1+v*d1 Formula (1-1)
[0066] y2=x*h2+v*d2 Formula (1-2) ......
[0068] y M =x*h M +v*d M Formula (1-M)
[0069] Furthermore, the M filtered signals can be expressed as follows:
[0070] y1′=y1*w1=x*h1*w1+v*d1*w1 Formula (2-1)
[0071] y2′=y2*w2=x*h2*w2+v*d2*w2 Formula (2-2) ......
[0073] y M ′=y M *w M =x*h M *w M +v*d M *w M Formula (2-M)
[0074] The integrated signal y can be expressed as follows:
[0075]
[0076] It can be seen from the above formula (3) that the integrated signal y includes two signal components, namely: the signal component corresponding to the first sound and a signal component corresponding to the second sound Therefore, when determining the M groups of target filter parameters, the signal processing circuit 150 may use the following formula (4) as a solution target, so as to minimize the signal component corresponding to the first sound in the integrated signal y.
[0077]
[0078] Among them, ||·|| i Represents the i-norm, and the value of i can be 1, 2 or ∞.
[0079] When w1 to w nWhen the values of are all zero, the signal component corresponding to the first sound in the integrated signal y is zero. Although the above formula (4) can be satisfied, the signal component corresponding to the second sound in the integrated signal y will also become zero at the same time, which will affect the operation of the acoustic system. Therefore, in some embodiments, the target constraint may include: M groups of target filter parameters are not all zero at the same time. That is, the signal processing circuit 150 uses the above formula (4) as the objective function to solve the target filter parameters w1 to w n .
[0080] Based on the above target constraints, the M groups of target filtering parameters can be based on the M first transfer functions (i.e., h1 to h2 M ). For example, the M groups of target filter parameters can be obtained in the following manner: the M groups of target filter parameters are divided into K groups of first filter parameters and MK groups of second filter parameters. Wherein K is an integer greater than or equal to 1. The K groups of first filter parameters are first set to a preset non-zero value, and then based on the M first transfer functions and the K groups of first filter parameters, the MK groups of second filter parameters are determined.
[0081] The following is an example of M=2. The signal processing circuit 150 may first set w1 to a preset non-zero value. For example, assuming that each set of target filtering parameters is represented by an N-dimensional vector, the value of w1 may be a unit vector e (for example, one element in the N-dimensional vector is 1, and the other elements are 0), that is:
[0082] w1=e Formula (5)
[0083] Furthermore, the signal processing circuit 150 can solve the formula (4) as the objective function to obtain w2. For example, the obtained w2 can be as follows:
[0084]
[0085] in, represents the convolution matrix of h2, Represents the transposed matrix of the convolution matrix of h2.
[0086] Since w1 and w2 satisfy the above formula (4), the signal care circuit 150 performs a filtering operation based on w1 and w2, which can minimize the feedback component in the integrated signal y.
[0087] It should be noted that the embodiments of the present application do not limit the specific values of w1 and w2, and formula (5) and formula (6) are only a set of possible examples. It can be understood by those skilled in the art that w1 and w2 can also adopt other values, as long as they are not zero at the same time and satisfy the above formula (4).
[0088] In some embodiments, the target constraint may include: the attenuation degree of the signal component corresponding to the second sound in the integrated signal y is within a preset range (or the attenuation degree is less than or equal to a preset value). "Minimizing the signal component corresponding to the first sound in the integrated signal y under the above target constraint" can be understood as: under the premise of not attenuating or attenuating as little as possible the signal component corresponding to the second sound in the integrated signal y, the signal component corresponding to the first sound in the integrated signal y is reduced to the greatest extent. In this way, in the above filtering process, since the signal component corresponding to the first sound in the integrated signal y is reduced as much as possible, and the signal component corresponding to the second sound is not attenuated or is rarely attenuated, the accuracy of the integrated signal y obtained based on the above target constraint is higher.
[0089] Based on the above target constraints, the M groups of target filtering parameters (i.e., w1 to w M ) can be based on the first transfer function h1 to h M and the second transfer function d1 to d M The following is an example combining two possible solutions.
[0090] For example, the signal processing circuit 150 may obtain the target filtering parameters w1 to w2 in the following manner: M :
[0091] (1) Based on the first transfer function h1 to h M , with the goal of minimizing the signal component corresponding to the first sound in the integrated signal y, a first expression is generated. Wherein, the first expression is based on the first transfer function h1 to h M As known quantities, the target filter parameters w1 to w M as an unknown quantity.
[0092] For example, the first expression can be expressed by formula (4). In this case, the meaning of the first expression is: minimize the transfer function between the first sound x and the integrated signal y.
[0093]
[0094] Among them, ||·|| i Represents the i-norm, and the value of i can be 1, 2 or ∞.
[0095] (2) Based on the second transfer function d1 to d M and the target constraint to generate a second expression. Wherein, the second expression is a second transfer function d1 to d M As known quantities, the target filter parameters w1 to w M as an unknown quantity.
[0096] For example, the second expression can be expressed by formula (7). In this case, the meaning of the second expression is that the transfer function from the second sound v to the integrated signal y is equal to the second transfer function d1. In other words, the integrated sound pickup effect of the sound sensor module 120 for the second sound (i.e., the signal component corresponding to the second sound in the integrated signal y) is equivalent to the sound pickup effect of the single sound sensor 120-1 for the second sound. Those skilled in the art can understand that formula (7) can make the attenuation degree of the signal component corresponding to the second sound in the integrated signal y within a preset range.
[0097]
[0098] It should be noted that the above formula (7) is only one possible form of the second expression. In practical applications, the second expression can also be in other forms. For example, the content on the right side of the equal sign of formula (7) is modified to d2 to d M Any one of . For another example, the second expression can also be expressed by formula (7-1):
[0099]
[0100] Wherein, in formula (7-1), e represents a unit vector. Formula (7-1) can be regarded as the second transfer function d1 to d in formula (7). M In other words, one of the M sound sensors (for example, the sound sensor 120-1) is used as a reference sound sensor. The meaning of can be understood as: the relative transfer function between the target sound source 160 and the nth sound sensor relative to the reference sound sensor.
[0101] (3) Using the second expression (e.g., formula (7) or formula (7-1)) as the constraint condition and the first expression (e.g., formula (4)) as the objective function, the target filter parameters w1 to w1 are obtained. M .
[0102] For example, taking formula (7-1) as the constraint condition and formula (4) as the objective function, the analytical solution is as follows:
[0103]
[0104] in, represents the transposed matrix of w1, represents the convolution matrix of h1, express The convolution matrix of .
[0105] For another example, the signal processing circuit 150 may also obtain the target filtering parameters w1 to w2 in the following manner: M :
[0106] (1) Based on the first transfer function h1 to h M , the transfer function between the first sound x and the integrated signal y is expressed to generate a third expression. Wherein, the third expression is based on the first transfer function h1 to h M As known quantities, the target filter parameters w1 to w M as an unknown quantity.
[0107] For example, the third expression can be expressed using formula (9).
[0108]
[0109] (2) Based on the second transfer function d1 to d M and the target constraint to generate a fourth expression. The fourth expression is expressed by the second transfer function d1 to d M As known quantities, the target filter parameters w1 to w M as an unknown quantity.
[0110] For example, the fourth expression can be expressed by formula (10). In this case, the meaning of the fourth expression is: the difference between the transfer function from the second sound v to the integrated signal y and the second transfer function d1. When the difference is smaller, it means that the comprehensive sound pickup effect of the sound sensor module 120 for the second sound (that is, the signal component corresponding to the second sound in the integrated signal y) is equivalent to the sound pickup effect of the single sound sensor 120-1 for the second sound. In this case, the attenuation degree of the signal component corresponding to the second sound in the integrated signal y is within the preset range, that is, the target constraint is met.
[0111]
[0112] It should be noted that the above formula (10) is only one possible form of the fourth expression. In practical applications, the fourth expression can also be in other forms. For example, modify d1 in formula (10) to d2 to d M Any one of . For another example, the fourth expression can also be expressed by formula (10-1):
[0113]
[0114] Wherein, in formula (10-1), e represents a unit vector. Formula (10-1) can be regarded as the second transfer function d1 to d in formula (10).M In other words, one of the M sound sensors (for example, the sound sensor 120-1) is used as a reference sound sensor. The meaning of can be understood as: the relative transfer function between the target sound source 160 and the nth sound sensor relative to the reference sound sensor.
[0115] (3) Perform a weighted sum of the third expression (eg, formula (9)) and the fourth expression (eg, formula (10) or formula (10-1)) to obtain a fifth expression.
[0116] For example, the weight corresponding to formula (9) is set to 1, and the weight corresponding to formula (10-1) is set to λ, and the i-norm of formula (9) and the i-norm of formula (10-1) are weighted summed to obtain formula (11):
[0117]
[0118] Among them, ||·|| i Represents the i-norm, and the value of i can be 1, 2 or ∞.
[0119] (4) Taking minimizing the fifth expression as the objective function, the target filtering parameters w1 to w1 are obtained by solving the problem. M .
[0120] That is, the following formula (12) is used as the objective function to solve the target filtering parameters w1 to w M .
[0121] The target filter parameters w1 to w1 are obtained. M It can be shown as formula (13).
[0122]
[0123]
[0124] in, represents the transposed matrix of w1, represents the convolution matrix of h1, express The convolution matrix of .
[0125] Fig. 8A Shows Figure 7 Schematic diagram of the cancellation of sound from the speaker by the signal processing scheme shown. Fig. 8A, curve A corresponds to the signal component from the speaker 110 in the sound pickup signal y1 obtained by the sound sensor 120-1, curve B corresponds to the signal component from the speaker 110 in the sound pickup signal y2 obtained by the sound sensor 120-2, and curve C corresponds to the signal component from the speaker 110 in the integrated signal y. Comparing curve C with curves A and B, it can be seen that the signal component from the speaker 110 in the integrated signal y is significantly reduced compared with the sound pickup signal y1 and the sound pickup signal y2, especially in the middle frequency band (e.g., 2000Hz to 5000Hz). It can be seen that Figure 7 The signal processing method shown can effectively reduce the signal component (ie, feedback component) from the speaker 110 in the integrated signal y.
[0126] Figure 8B Shows Figure 7 Schematic diagram of the attenuation of the sound from the target sound source by the signal processing scheme shown. Figure 8B , curve D shows the attenuation of the signal component from the target sound source 160 in the integrated signal y. Figure 8B visible, Figure 7 The signal processing method shown does not significantly attenuate the signal component from the target sound source 160 in the integrated signal y, and the attenuation is basically within 0.01dB. Figure 7 The signal processing method shown can, on the one hand, effectively reduce the feedback component in the integrated signal y, and on the other hand, can not attenuate or less attenuate the signal component from the target sound source 160 in the integrated signal y.
[0127] The target filter parameters w1 to w described above M In the several solutions, the first transfer functions h1 to h M It should be noted that the signal processing circuit 150 can obtain the first transfer functions h1 to h2 in a variety of ways. M , the following only takes two possible methods as examples for illustration.
[0128] Method 1: The signal processing circuit 150 can control the speaker 110 to emit a test sound to measure and obtain the first transfer function h1 to h M The specific measurement method can be as follows:
[0129] (1) Send a test signal to the speaker 110 to drive the speaker 110 to emit a test sound.
[0130] For example, after detecting that the acoustic system 003 enters the wearing state, the signal processing circuit 150 may trigger sending a test signal to the speaker 110 to drive the speaker 110 to emit a test sound. For another example, the signal processing circuit 150 may include a voice activity detection (VAD) unit, which may be connected to the sound sensor module 120 and obtain M pickup signals from the sound sensor module 120. The VAD unit may determine whether there is a human voice in the current environment and / or determine the signal energy of the speaker 110 based on the M pickup signals. In the case of determining that there is no human voice in the current environment and / or the signal energy of the speaker 110 is less than a preset threshold, the signal processing circuit 150 may send a test signal to the speaker 110 to drive the speaker 110 to emit a test sound. This can avoid interference of other sounds on the test sound.
[0131] (2) Obtain M acquisition signals respectively obtained by M sound sensors picking up the test sound.
[0132] (3) Determine the M first transfer functions based on the test signal and the M acquisition signals.
[0133] For example, the sound sensor 120-1 is used as an example. The sound sensor 120-1 picks up the test sound and generates a collection signal. Then, the signal processing circuit 150 can determine the first transfer function h1 between the speaker 110 and the sound sensor 120-1 based on the test signal and the collection signal. Those skilled in the art will appreciate that the signal processing circuit 150 can determine the first transfer functions h2 to h3 in a similar manner. M .
[0134] The signal processing circuit 150 controls the speaker 110 to emit a test sound to measure and obtain the first transfer functions h1 to h M , the implementation is simple and has high application flexibility.
[0135] Mode 2: When the same acoustic system is worn by different users or by the same user multiple times, it may be in different wearing positions. When the wearing position of the acoustic system changes, the acoustic transfer path from the speaker 110 to each sound sensor may change accordingly. M is related to the current wearing posture of the acoustic system 003, so the signal processing circuit 150 can determine the first transfer functions h1 to h2 based on the current wearing posture. M .
[0136] Specifically, the signal processing circuit 150 can obtain the first transfer functions h1 to h2 in the following manner: M :
[0137] (1) Determine the current wearing posture corresponding to the acoustic system 003.
[0138] Among them, the current wearing posture refers to the posture of the acoustic system 003 when it is worn by the user. For example, the acoustic system 003 can pre-set several wearing gears, and different wearing gears correspond to different wearing postures. When wearing the acoustic system, the user can select one of the wearing gears according to needs. In this case, the signal processing circuit 150 can determine the current wearing posture based on the wearing gear selected by the user. For another example, the acoustic system 003 can also be provided with a posture detection device, and the posture detection device can detect the current wearing posture of the acoustic system 003 in real time or periodically. In this way, the signal processing circuit 150 can be connected to the posture detection device and obtain the current wearing posture from the posture detection device.
[0139] (2) Determine the first transfer function h1 to h2 based on the current wearing posture M .
[0140] For example, before the acoustic system 003 leaves the factory, the first transfer function of the acoustic system 003 in different wearing postures can be measured, and the measurement results can be stored in a storage device of the acoustic system 003. For example, the measurement results can be shown in Table 1. M When the measurement results described in Table 1 can be queried based on the current wearing posture, the first transfer functions h1 to h2 corresponding to the current wearing posture can be obtained. M .
[0141] Table 1
[0142]
[0143] The above method 2 obtains the first transfer functions h1 to h2 corresponding to different wearing postures by pre-measurement. M , so that the signal processing circuit 150 can detect the current wearing posture of the acoustic system and determine the first transfer functions h1 to h based on the current wearing posture M , which can improve the efficiency of solving the M groups of target filtering parameters.
[0144] It should be noted that the above two methods can be combined or used in conjunction with each other. For example, when the user just wears the acoustic system 003, the signal processing circuit 150 can use the above method 1 to obtain the first transfer functions h1 to h MWhen the user wears the device for a long time, the signal processing circuit 150 can obtain the first transfer functions h1 to h2 by using the above method 2 at preset time intervals. M In this way, the first transfer function h1 to h2 can be improved in different wearing scenarios. M The accuracy of the M group of target filter parameters can more accurately eliminate the feedback components and improve the effect of eliminating the feedback sound.
[0145] The target filter parameters w1 to w described above M In the partial solution method, the second transfer function d1 to d M It should be noted that the signal processing circuit 150 can obtain the second transfer functions d1 to d2 in a variety of ways. M , the following only takes two possible methods as examples for illustration.
[0146] Method 1: The signal processing circuit 150 can obtain the second transfer functions d1 to d2 from the preset storage space. M .
[0147] For example, before the acoustic system 003 leaves the factory, the second transfer functions d1 to d M Taking the second transfer function d1 as an example, its measurement method may include: providing a test signal to an external sound source to drive the external sound source to emit a test sound, obtaining a collection signal generated by the sound sensor 120-1 picking up the test sound, and then determining the second transfer function d1 between the external sound source and the sound sensor 120-1 based on the test signal and the collection signal. Those skilled in the art will understand that the second transfer function d2 to d M The second transfer functions d1 to d2 obtained by the above measurement can be obtained by testing in a similar manner as above. M can be stored in the preset storage space. In this way, the signal processing circuit 150 needs to use the second transfer functions d1 to d M When the data is read from the preset storage space.
[0148] The above method obtains the second transfer function d1 to d M , and convert the second transfer function d1 to d M The second transfer functions d1 to d2 are stored in the preset storage space, so that the signal processing circuit 150 can directly read the second transfer functions d1 to d3 from the preset storage space when solving the M groups of target filtering parameters. M , which can improve the efficiency of solving the M groups of target filtering parameters.
[0149] Method 2: Since the target sound source 160 can be regarded as a far-field sound source, the sound waves of the far-field sound source are similar to plane waves, that is, the amplitude of the sound waves decreases less as they propagate. Therefore, the sound waves from the target sound source 160 picked up by different sound sensors can be regarded as having only phase differences. In this way, for any two sound sensors, there is only a certain delay information between the second transfer functions from the target sound source 160 to the two sound sensors, and the delay information is related to the distance between the two sound sensors. Therefore, the signal processing circuit 150 can obtain the second transfer functions d1 to d2 based on the distance assumption between different sound sensors. M .
[0150] Specifically, the signal processing circuit 150 can set the i-th second transfer function to a preset function, where i is an integer less than or equal to M; and then determine the j-th second transfer function based on the i-th second transfer function and the distance between the j-th sound sensor and the i-th sound sensor, where j is an integer less than or equal to M, and j is different from i.
[0151] For example, assuming that M=3, d1 is set to the unit impulse function δ(n). d2 can be obtained in the following manner: based on the distance between the sound sensor 120-2 and the sound sensor 120-1, the time delay information of d2 relative to d1 is determined, and then d2 is determined based on the time delay information and d1. Similarly, d3 can be obtained in the following manner: based on the distance between the sound sensor 120-3 and the sound sensor 120-1, the time delay information of d3 relative to d1 is determined, and then d3 is determined based on the time delay information and d1. M Those skilled in the art will appreciate that when setting d1, the signal processing circuit may also set d1 to other forms of transfer functions, and the above unit impulse function δ(n) is only a possible example.
[0152] The above method can obtain the second transfer functions d1 to d2 based on the distance assumption between different sound sensors. M , without the need to pre-adjust the second transfer function d1 to d M Measurements can be made with high application flexibility.
[0153] S30: performing a target operation on the integrated signal.
[0154] After obtaining the integrated signal y, the signal processing circuit 150 may perform a target operation on the integrated signal y based on the requirements of the application scenario.
[0155] For example, in some embodiments, continue to see Figure 7, the signal processing circuit 150 may also be connected to the speaker 110. In this case, the target operation may include a gain amplification operation. That is, after obtaining the integrated signal y, the signal processing circuit 150 performs gain amplification on the integrated signal y, and sends the gain amplified signal as a driving signal to the speaker 110 to drive the speaker 110 to produce sound. The above scheme can be applied to Figure 1 It should be understood that since the signal component from the speaker 110 is reduced in the integrated signal y (or the feedback component is reduced), the sound emitted by the speaker 110 is destroyed. Figure 1 The closed loop circuit shown generates the conditions for howling, thereby achieving the effect of suppressing howling.
[0156] In some embodiments, the above-mentioned gain amplification operation can be implemented by the processor 220 in the signal processing circuit 150, that is, the processor 220 executes the instruction set and performs the above-mentioned gain amplification operation according to the instruction of the instruction set. In some embodiments, the signal processing circuit 150 may include a gain amplification circuit, and the above-mentioned gain amplification operation can be implemented by the gain amplification circuit.
[0157] In some embodiments, the speaker 110, the sound sensor module 120 and the signal processing circuit 150 may be integrated in a first acoustic device, and the first acoustic device is communicatively connected to a second acoustic device. In this case, the target operation may include: sending a comprehensive signal y to the second acoustic device to reduce the echo of the second acoustic device. The above scheme may be applied to Figure 2 The echo cancellation scenario shown. For example, the first acoustic device can be a local device, and the second acoustic device can be a remote device. Since the signal component from the speaker 110 is reduced in the integrated signal y (or the feedback component is reduced), it is equivalent to reducing the sound from the second acoustic device. Therefore, when the second acoustic device receives the integrated signal y and plays it, the user on the second acoustic device side (i.e., the remote user) will not hear or hear less of the echo, thereby achieving the effect of echo cancellation.
[0158] In summary, the signal processing method and acoustic system provided by the embodiments of the present application, the M sound sensors in the sound sensor module 120 collect environmental sounds and generate M sound pickup signals when working, and the signal processing circuit 150 can perform filtering operations on the M sound pickup signals based on M groups of target filtering parameters to obtain M filtered signals, and perform synthesis operations on the M filtered signals to obtain a comprehensive signal, and then perform target operations on the comprehensive signal. Since the M groups of target filtering parameters are configured to minimize the signal component from the speaker in the comprehensive signal under the target constraint, the above filtering operation can reduce or eliminate the feedback sound (i.e., the sound from the speaker) in the acoustic system, thereby avoiding the acoustic system from problems such as howling and echo.
[0159] On the other hand, the present application provides a non-transitory storage medium storing at least one set of executable instructions for signal processing. When the executable instructions are executed by a processor, the executable instructions instruct the processor to implement the steps of the signal processing method P100 described in the present application. In some possible implementations, various aspects of the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on an acoustic system, the program code is used to make the acoustic system perform the steps of the signal processing method P100 described in the present application. The program product for implementing the above method can use a portable compact disk read-only memory (CD-ROM) to include program code and can be run on an acoustic system. However, the program product of the present application is not limited to this. In the present application, a readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system or used in combination with it. The program product can use 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 be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media include: an electrical connection with one or more conductors, 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. The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the acoustic system, partially on the acoustic system, as a stand-alone software package, partially on the acoustic system and partially on a remote computing device, or entirely on a remote computing device.
[0160] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require a specific order or a continuous order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0161] In summary, after reading this detailed disclosure, those skilled in the art will appreciate that the foregoing detailed disclosure may be presented only by way of example and may not be restrictive. Although not explicitly stated herein, those skilled in the art will appreciate that the requirements of this application encompass various reasonable changes, improvements and modifications to the embodiments. These changes, improvements and modifications are intended to be proposed by the present application and are within the spirit and scope of the exemplary embodiments of the present application.
[0162] In addition, certain terms in this application have been used to describe embodiments of the present application. For example, "one embodiment", "embodiment" and / or "some embodiments" mean that a particular feature, structure or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. Therefore, it can be emphasized and should be understood that two or more references to "embodiment" or "one embodiment" or "alternative embodiment" in various parts of the present application do not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics can be appropriately combined in one or more embodiments of the present application.
[0163] It should be understood that in the foregoing description of the embodiments of the present application, in order to help understand a feature and for the purpose of simplifying the present application, the present application combines various features in a single embodiment, drawing or its description. However, this does not mean that the combination of these features is necessary. When reading the present application, it is entirely possible for a person skilled in the art to mark out a part of the devices as a separate embodiment. In other words, the embodiments in the present application can also be understood as the integration of multiple secondary embodiments. This is also true when the content of each secondary embodiment is less than all the features of a single aforementioned disclosed embodiment.
[0164] Each patent, patent application, patent application publication, and other material, such as articles, books, specifications, publications, documents, articles, etc., cited herein, except any historical prosecution documents to which it is relevant, any equivalent that may be inconsistent or conflicting with this document, or any equivalent historical prosecution documents that may have a limiting effect on the broadest scope of the claims, may be incorporated herein by reference and used for all purposes now or hereafter associated with this document. In addition, in the event of any inconsistency or conflict between the descriptions, definitions, and / or use of terms associated with any of the incorporated materials and the terminology, descriptions, definitions, and / or use associated with this document, the terminology in this document shall control.
[0165] Finally, it should be understood that the embodiments of the application disclosed herein are explanations of the principles of the embodiments of the present application. Other modified embodiments are also within the scope of the present application. Therefore, the embodiments disclosed in the present application are merely examples and not limitations. Those skilled in the art can adopt alternative configurations according to the embodiments in the present application to implement the application in the present application. Therefore, the embodiments of the present application are not limited to the embodiments accurately described in the application.
Claims
1. A signal processing method, characterized in that: include: Obtaining M sound pickup signals, wherein the M sound pickup signals are respectively obtained by collecting environmental sounds when M sound sensors in the sound sensor module of the acoustic system are working, the environmental sounds include a first sound and a second sound, the first sound is a sound from a speaker in the acoustic system, the second sound is a sound from a target sound source, and M is an integer greater than 1; Based on M groups of target filtering parameters, filtering operations are respectively performed on the M sound pickup signals to obtain M filtered signals, and synthesis operations are performed on the M filtered signals to obtain a composite signal, wherein the M groups of target filtering parameters are configured to minimize the signal component corresponding to the first sound in the composite signal under a target constraint; as well as A target operation is performed on the composite signal.
2. The method according to claim 1, characterized in that The target constraint includes: the attenuation degree of the signal component corresponding to the second sound in the integrated signal is within a preset range.
3. The method according to claim 2, characterized in that The M groups of target filtering parameters are obtained based on M first transfer functions and M second transfer functions, wherein: The nth first transfer function is a transfer function between the loudspeaker and the nth sound sensor. The nth second transfer function is a transfer function between the target sound source and the nth sound sensor. The n is an integer less than or equal to M.
4. The method according to claim 3, characterized in that The M groups of target filtering parameters are obtained in the following manner: Based on the M first transfer functions, generating a first expression with the goal of minimizing the signal component corresponding to the first sound in the integrated signal, wherein the first expression uses the M groups of target filter parameters as unknown quantities; generating a second expression based on the M second transfer functions and the target constraint, wherein the second expression uses the M groups of target filter parameters as unknown quantities; as well as The M groups of target filtering parameters are obtained by solving the second expression as a constraint condition and the first expression as an objective function.
5. The method according to claim 3, characterized in that: The M groups of target filtering parameters are obtained in the following manner: Based on the M first transfer functions, expressing the transfer function from the first sound to the integrated signal to generate a third expression, wherein the third expression uses the M groups of target filter parameters as unknown quantities; Generate a fourth expression based on the M second transfer functions and the target constraint, the fourth expression using the M groups of target filter parameters as unknown quantities; Performing weighted summation on the third expression and the fourth expression to obtain a fifth expression; as well as The objective function is to minimize the fifth expression and obtain the M groups of target filtering parameters.
6. The method according to claim 3, characterized in that: The M first transfer functions are obtained in the following manner: Determining a current wearing posture corresponding to the acoustic system; and The M first transfer functions are determined based on the current wearing posture.
7. The method according to claim 3, characterized in that The M first transfer functions are obtained in the following manner: Sending a test signal to the speaker to drive the speaker to emit a test sound; Respectively obtain M acquisition signals obtained by the M sound sensors picking up the test sound; as well as The M first transfer functions are determined based on the test signal and the M acquired signals.
8. The method according to claim 3, characterized in that The M second transfer functions are obtained in the following manner: The M second transfer functions are obtained from a preset storage space.
9. The method according to claim 3, characterized in that: The M second transfer functions are obtained in the following manner: Setting the i-th second transfer function to a preset function, where i is an integer less than or equal to M; as well as A j-th second transfer function is determined based on the i-th second transfer function and a distance between the j-th sound sensor and the i-th sound sensor, wherein j is an integer less than or equal to M and different from i.
10. The method according to claim 1, characterized in that The target constraint includes: the M groups of target filter parameters are not zero at the same time; and The M groups of target filtering parameters are obtained based on M first transfer functions, wherein the nth first transfer function is a transfer function between the speaker and the nth sound sensor, and n is an integer less than or equal to M.
11. The method according to claim 10, characterized in that The M groups of target filtering parameters include K groups of first filtering parameters and MK groups of second filtering parameters, where K is an integer greater than or equal to 1; and The M groups of target filtering parameters are obtained in the following manner: The K groups of first filter parameters are set to preset non-zero values, and Based on the M first transfer functions and the K groups of first filtering parameters, the MK groups of second filtering parameters are determined.
12. The method according to claim 1, characterized in that The performing a target operation on the integrated signal comprises: The integrated signal is gain-amplified, and the gain-amplified signal is sent to the speaker as a driving signal to drive the speaker to produce sound.
13. The method according to claim 1, characterized in that The loudspeaker and the sound sensor module are deployed on a first acoustic device, and the first acoustic device is communicatively connected with a second acoustic device; as well as The performing a target operation on the integrated signal includes: sending the integrated signal to the second acoustic device to reduce an echo of the second acoustic device.
14. An acoustic system, characterized in that: include: The loudspeaker receives the driving signal and converts it into a first sound when in operation; a sound sensor module, comprising M sound sensors, which pick up ambient sounds and generate M sound pickup signals when in operation, wherein the ambient sounds include the first sounds and second sounds from a target sound source, and M is an integer greater than 1; and The signal processing circuit is connected to the sound sensor module and executes the method according to any one of claims 1 to 13 when in operation.
15. The acoustic system according to claim 14, characterized in that The signal processing circuit comprises: at least one storage medium storing at least one instruction set for performing signal processing; and At least one processor is communicatively connected to the sound sensor module and the at least one storage medium, wherein, when the acoustic system is running, the at least one processor reads the at least one instruction set and executes the method of any one of claims 1-13 according to the instructions of the at least one instruction set.
16. The acoustic system according to claim 14, characterized in that The acoustic system is any one of a hearing aid system, a sound amplification system, a headphone system, a telephone system, and a conference system.
17. The acoustic system according to claim 14, characterized in that The acoustic system is a hearing aid system, and the acoustic system further comprises a housing, wherein the speaker, the sound sensor module and the signal processing circuit are arranged in the housing, wherein When the acoustic system is worn on the user's head, the sound output end of the speaker faces the user's head, and the sound pickup end of at least one sound sensor in the sound sensor module is located on a side of the housing away from the user's head.
Citation Information
Patent Citations
Audio signal processing method and device thereof
CN113362843A
Echo filtering method, electronic equipment and computer readable storage medium
CN113963712A
Signal processing method, device and system
CN115547355A
Speakerphone Feedback Attenuation
US20100260351A1
Noise estimation for use with noise reduction and echo cancellation in personal communication
US20140056435A1
