Audio system and control method, apparatus, and electronic device therefor
By setting up a side-tone conduit between the speaker and the microphone, the echo signal is eliminated by utilizing the principle of anti-phase sound wave superposition, thus solving the echo problem in two-way communication at high speaker volume and improving call quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2022-02-09
- Publication Date
- 2026-07-21
AI Technical Summary
In two-way communication scenarios, the sound signal emitted by the speaker is picked up by the microphone, causing the echo signal to be superimposed on the local voice signal, resulting in severe distortion and affecting the call quality. Especially when the speaker volume is high, existing noise reduction algorithms are difficult to effectively eliminate noise.
A side-tone duct is set between the speaker assembly and the microphone assembly. Utilizing the principle of anti-phase sound wave superposition, the interference between the speech signal emitted by the speaker and the anti-phase speech signal is eliminated through the side-tone duct, thereby reducing or eliminating the echo signal picked up by the microphone again and preserving a clean local speech signal.
It effectively reduces or eliminates echo signals, improving call quality, especially significantly improving voice call clarity in high-volume two-way scenarios. The noise reduction effect is further optimized by combining control valves and asymmetric sound transmission layers.
Smart Images

Figure CN116612787B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic equipment technology, specifically to an audio system and its control method, apparatus, and electronic equipment. Background Technology
[0002] In two-way calls where both the caller and the called party speak simultaneously, the audio signal emitted by the local speaker will be picked up again by the local microphone, thus interfering with the speaker's voice. This is especially problematic when the speaker volume is high or the speaker and microphone are close together, causing severe distortion of the audio signal received by the microphone. This makes it difficult for backend algorithms to effectively eliminate noise, thus affecting call quality. Summary of the Invention
[0003] To improve the quality of voice calls, this disclosure provides a design method, apparatus, and storage medium for an electronic device and its audio system.
[0004] In a first aspect, embodiments of this disclosure provide an audio system, including:
[0005] A loudspeaker assembly includes a loudspeaker and a sound outlet duct, wherein a first end of the sound outlet duct is connected to the loudspeaker and a second end is adapted to communicate with the outside world;
[0006] A microphone assembly includes a microphone and a pickup tube, wherein a first end of the pickup tube is connected to the microphone, and a second end is adapted to communicate with the outside environment; and
[0007] A side-sound duct, one end of which is connected to the sound output duct, and the other end of which is connected to the sound pickup duct; wherein, in the speech signal emitted by the loudspeaker, the first phase of the first speech signal that enters the second end of the sound pickup duct through the second end of the sound output duct is opposite to the second phase of the second speech signal that enters the sound pickup duct through the side-sound duct.
[0008] In some embodiments, the audio system described in this disclosure further includes:
[0009] A control valve is located inside the side sound pipe and is used to open or close the side sound pipe.
[0010] In some embodiments, the audio system described in this disclosure further includes:
[0011] The processor, connected to the control terminal of the control valve, is used to control the control valve to open or close based on the current volume value of the speaker.
[0012] In some embodiments, the processor is configured to acquire the current volume value of the speaker, and control the control valve to open in response to the current volume value being not less than a preset volume threshold; and / or control the control valve to close in response to the current volume value being less than the preset volume threshold.
[0013] In some embodiments, an asymmetric sound transmission layer is provided on the inner wall of the side sound duct, the asymmetric sound transmission layer being adapted to allow sound signals to be transmitted unidirectionally from the sound output duct to the sound pickup duct.
[0014] In a second aspect, embodiments of this disclosure provide an electronic device including an audio system according to any embodiment of the first aspect.
[0015] In some embodiments, the electronic device described in this disclosure further includes a housing, the housing including a mid-frame, the speaker and the microphone disposed inside the housing, the second end of the sound outlet duct being connected to a sound outlet hole opened on the mid-frame, and the second end of the sound pickup duct being connected to a sound pickup hole opened on the mid-frame.
[0016] In some embodiments, the sound outlet and the sound pickup hole are located on the same side of the middle frame.
[0017] Thirdly, embodiments of this disclosure provide a control method for an audio system, including:
[0018] Get the current volume value of the speakers in the audio system;
[0019] In response to the current volume value being not less than a preset volume threshold, a control valve located on the side channel of the audio system is opened; wherein the side channel is connected to the output channel and the pickup channel of the audio system respectively; and / or,
[0020] In response to the current volume value being less than the preset volume threshold, the control valve is controlled to close.
[0021] Fourthly, embodiments of this disclosure provide a control device for an audio system, comprising:
[0022] The acquisition module is configured to acquire the current volume value of the speakers in the audio system;
[0023] The control module is configured to, in response to the current volume value being not less than a preset volume threshold, control the control valve located on the side sound duct of the audio system to open; and / or, in response to the current volume value being less than the preset volume threshold, control the control valve to close; wherein the side sound duct is respectively connected to the sound output duct and the sound pickup duct of the audio system.
[0024] The audio system of this disclosure includes a speaker assembly, a pickup assembly, and a side sound channel. The speaker assembly includes a speaker and an output channel, and the pickup assembly includes a pickup and a pickup channel. One end of the side sound channel is connected to the output channel, and the other end is connected to the pickup channel. In the speech signal emitted by the speaker, the first phase of the first speech signal that enters the second end of the pickup channel through the second end of the output channel is opposite to the second phase of the second speech signal that enters the pickup channel through the side sound channel. Thus, the inverted speech signal of the side sound channel is used to reduce or eliminate the echo signal entering the pickup channel, which is especially beneficial for high-volume two-way communication scenarios and improves call quality. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or 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 this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure.
[0027] Figure 2 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure.
[0028] Figure 3 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure.
[0029] Figure 4 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure.
[0030] Figure 5 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure.
[0031] Figure 6 This is a flowchart of a design method for an audio system according to some embodiments of the present disclosure.
[0032] Figure 7 This is a flowchart of a design method for an audio system according to some embodiments of the present disclosure.
[0033] Figure 8 This is a flowchart of a control method for an audio system according to some embodiments of the present disclosure.
[0034] Figure 9 This is a structural block diagram of a design device for an audio system according to some embodiments of the present disclosure.
[0035] Figure 10 This is a structural block diagram of an electronic device according to some embodiments of the present disclosure. Detailed Implementation
[0036] The technical solutions of this disclosure will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. Furthermore, the technical features involved in the different embodiments of this disclosure described below can be combined with each other as long as they do not conflict with each other.
[0037] Double Talk refers to a scenario where both the caller and the called party speak simultaneously during a call between their respective devices. For either device, the speaker will transmit the other party's voice, which is then picked up by the microphone and sent to the other party along with their local speech. This results in the other party hearing both their own echo and their local speech simultaneously, interfering with the call.
[0038] In related technologies, various noise reduction algorithms are often used to cancel echoes in the microphone-picked speech, thereby reducing the noise in the speaker's voice signal picked up by the microphone to obtain a clean speech signal. However, in situations where the local speaker volume is high, such as in loud hands-free calls, the high energy of the echo signal emitted by the speaker, when superimposed on the local speech signal and entering the microphone, causes severe distortion in the received speech signal. This prevents subsequent noise reduction algorithms from effectively eliminating noise, thus affecting call quality.
[0039] In view of the deficiencies of the above-mentioned related technologies, the present disclosure provides an audio system, an electronic device, a control method and apparatus for the audio system, and a storage medium, which aim to reduce call noise and improve the quality of voice calls.
[0040] This disclosure provides an audio system, which can be an audio component located in an electronic device. The electronic device can be any type of device with a voice call audio system, such as a smartphone, tablet computer, wearable device, walkie-talkie, etc. This disclosure does not limit the scope of the device.
[0041] In some implementations, the audio system of this disclosure may include a speaker assembly and a pickup assembly.
[0042] The loudspeaker assembly includes a loudspeaker and a sound outlet. The loudspeaker generates a first speech signal based on an electrical signal and transmits the first speech signal through the sound outlet. The basic principle of a loudspeaker is to control the vibration of the loudspeaker diaphragm based on an electrical signal, thereby causing the air inside the sound cavity to vibrate, and thus producing sound.
[0043] In this embodiment of the present disclosure, the sound outlet duct includes a first end and a second end. A speaker is disposed at the first end of the sound outlet duct, and the second end is adapted to connect to the outside. For example, in one embodiment, the second end of the sound outlet duct can be connected to the sound outlet hole on the frame of an electronic device. Thus, the voice signal emitted by the speaker can pass through the sound outlet duct and be emitted from the sound outlet hole of the electronic device.
[0044] The pickup assembly includes a pickup and a pickup tube. The pickup, also known as a microphone, is used to pick up the target speech signal received through the pickup tube. The basic principle of the pickup is that the received speech signal drives the pickup diaphragm inside the sound cavity to vibrate, thereby generating an electrical signal.
[0045] In this embodiment of the disclosure, the microphone conduit includes a first end and a second end. The microphone is disposed at the first end of the microphone conduit, and the second end is adapted to connect to the outside world. For example, in one example, the second end of the microphone conduit can be connected to the microphone hole on the frame of an electronic device. Thus, external voice signals can be picked up by the microphone after passing through the microphone conduit.
[0046] As mentioned above, in related technologies, for two-way communication scenarios, the first voice signal emitted by the speaker through the sound output channel represents the voice signal of the other party speaking. The target voice signal that the microphone can receive through the sound pickup channel includes two parts: one is the first voice signal emitted by the speaker being picked up again by the microphone; the other is the voice signal generated by the local speech. In this embodiment of the present disclosure, it is desirable to reduce or eliminate the first voice signal picked up again by the microphone, and to preserve as clean a voice signal as possible generated by the local speech.
[0047] Specifically, in this embodiment of the present disclosure, a side-tone conduit is provided between the speaker assembly and the pickup assembly. One end of the side-tone conduit is connected to the output conduit, and the other end is connected to the pickup conduit; that is, the output conduit and the pickup conduit are connected through the side-tone conduit.
[0048] It is understandable that, since the output duct and the pickup duct are connected through the side duct, in a two-way speaking scenario, the target speech signal entering the pickup duct includes the following three parts:
[0049] 1) The first speech signal emitted through the second end of the sound outlet pipe, after being reflected by an external object, re-enters the sound pickup pipe.
[0050] 2) The output sound pipe directly enters the pickup pipe through the side sound pipe to receive the second speech signal.
[0051] 3) The third speech signal generated by the local speaker.
[0052] In this embodiment of the disclosure, the interference between the second speech signal and the first speech signal is used to achieve partial or complete cancellation, thereby eliminating the echo signal in the pickup channel and preserving a clean third speech signal.
[0053] Based on the principles of sound waves, speech signals are a type of sound wave. Ideally, when two sound waves with the same amplitude, frequency, and opposite phase are superimposed, the sound wave can be eliminated. This embodiment utilizes the principle of noise elimination through the superposition of sound waves with opposite phases. Based on the first sound path of the first speech signal, the length of the side-tone conduit is appropriately set to adjust the second sound path of the second speech signal, making the second speech signal out of phase with the first speech signal, thus achieving noise elimination or reduction.
[0054] The process of setting the second sound path of the second speech signal entering the pickup channel through the side sound channel will be described in the following embodiments of this disclosure, and will not be detailed here.
[0055] As can be seen from the above, in this embodiment of the present disclosure, by setting a side sound channel connecting the sound output channel and the sound pickup channel, the inverted voice signal of the side sound channel is used to reduce or eliminate the echo signal entering the sound pickup channel, which is especially beneficial for high-volume two-way scenarios with loudspeakers and improves call quality.
[0056] Figures 1 to 2 A schematic diagram of the audio system in an electronic device according to an embodiment of the present disclosure is shown below. Figures 1 to 2 The embodiments of this disclosure are further described below.
[0057] In some embodiments, the electronic device of this disclosure may include a housing, which is the outer shell structure of the electronic device, and various electrical components may be disposed inside the housing. Taking a smartphone as an example, the housing of a smartphone includes a cavity structure enclosed by a back panel, a mid-frame 300, and a front panel, so that the audio system is disposed inside the housing.
[0058] like Figure 1 As shown, the audio system may include a microphone assembly and a speaker assembly. The microphone assembly includes a microphone 110 and a pickup channel 120, and the speaker assembly includes a speaker 210 and an output channel 220. The microphone 110 is used to pick up the speech signal currently entering the pickup channel 120 and convert the speech signal into an electrical signal. The speaker 210 is used to convert the currently received electrical signal into a speech signal and emit it through the output channel 220.
[0059] In this disclosure, see Figure 2 As shown, a sound outlet 320 and a sound pickup hole 310 are respectively provided on the mid-frame 300. In one example, taking a smartphone as an example, the sound outlet 320 and the sound pickup hole 310 can be respectively located on the lower side of the mid-frame 300. Of course, in other embodiments, the sound outlet and the sound pickup hole can also be located in any other suitable position, and this disclosure does not limit them.
[0060] Continue to refer to Figure 1 As shown, the speaker 210 is connected to the sound outlet 320 on the middle frame 300 via the sound outlet duct 220. That is, the first end of the sound outlet duct 220 on the left side is connected to the speaker 210, and the second end of the sound outlet duct 220 on the right side is connected to the sound outlet 320. Thus, the voice signal emitted by the speaker 210 will be transmitted to the outside through the sound outlet 320.
[0061] The microphone 110 is connected to the microphone hole 310 on the mid-frame 300 via a microphone conduit 120. Specifically, the first end of the microphone conduit 120 on the left side is connected to the microphone 110, while the second end of the microphone conduit 120 on the right side is connected to the microphone hole 310. Thus, external voice signals will be acquired by the microphone 110 through the microphone hole 310.
[0062] Meanwhile, in this embodiment, a side sound channel 400 is provided between the sound output channel 220 and the sound pickup channel 120. That is, one end of the side sound channel 400 is connected to the sound output channel 220, and the other end is connected to the sound pickup channel 120. It can be understood that because the sound wave energy emitted by the loudspeaker 210 is large, the air pressure in the sound output channel 220 is greater than the air pressure in the sound pickup channel 120. Therefore, the voice signal from the sound output channel 220 will enter the sound pickup channel 120 through the side sound channel 400, and conversely, the voice signal from the sound pickup channel 120 will hardly enter the sound output channel 220 through the side sound channel 400.
[0063] See Figure 1As shown, in a two-way communication scenario, the speech signal emitted by the speaker through the sound outlet 320, after being reflected by the outside environment, re-enters the pickup channel 120. In this embodiment, this portion of the speech signal is defined as the "first speech signal," and the propagation path of the first speech signal from the sound outlet 320 to the pickup channel 310 is defined as the "first sound path." Simultaneously, the speech signal emitted by the speaker, after passing through the sound outlet 220 and the side sound channel 400, also enters the pickup channel 120. In this embodiment, this portion of the speech signal is defined as the "second speech signal," and the propagation path of the second speech signal from the side sound channel 400 to the pickup channel 120 is defined as the "second sound path." Additionally, the speech signal generated by the local speaker also enters the pickup channel 120; in this embodiment, this portion of the speech signal is defined as the "third speech signal."
[0064] That is, in a dual-talk scenario, the target speech signal entering the pickup channel 120 mainly includes: a first speech signal, a second speech signal, and a third speech signal. It is worth noting that the sound path refers to the distance a sound travels from the emitting position to the receiving position. For example, in this embodiment, the first sound path L1 of the first speech signal can be represented by the distance between the sound outlet 320 and the pickup outlet 310; while the second sound path L0 of the second speech signal can be represented by the length of the side sound channel 400.
[0065] In this embodiment of the disclosure, the first sound path L1 and the second sound path L0 satisfy the following relationship: for the speech signal emitted from the sound outlet 220, the phase of the first speech signal that reaches the sound pickup 120 through the sound outlet 320 is opposite to the phase of the second speech signal that reaches the sound pickup 120 through the side sound outlet.
[0066] It is understandable that at high volume, especially when the sound outlet 320 and the pickup hole 310 are close together, the attenuation of the first speech signal is very small. The first and second speech signals can essentially be considered as sound wave signals with the same amplitude and frequency. Therefore, by adjusting the correspondence between the first and second sound paths, making the first and second speech signals out of phase, their mutual interference can be attenuated or eliminated.
[0067] Specifically, in this embodiment of the present disclosure, the first sound path L1 between the sound hole 320 and the pickup hole 310 can be obtained first. Then, the phase detection algorithm is used to determine the first phase of the first speech signal arriving at the pickup pipe 120 based on the first sound path L1. After that, the second phase opposite to the first phase can be determined based on the first phase. Then, the second sound path L0 of the side sound pipe 400 can be determined based on the second phase.
[0068] The design process of the side sound duct 400 is described in detail in the following embodiments of this disclosure, but will not be described in detail here.
[0069] As described above, in the target speech signal entering the pickup channel 120, the first speech signal and the second speech signal interfere with each other to attenuate or eliminate each other, so that only the third speech signal generated by the local speaker and a small amount of residual noise are retained in the target speech signal. That is, before the target speech signal enters the microphone 110, most of the echo cancellation has been completed to avoid signal distortion. Thus, combined with the subsequent software algorithm of the microphone 110, echo cancellation is achieved, improving the call quality in two-way communication scenarios.
[0070] It is understood that in this embodiment of the disclosure, it is necessary to adjust the second sound path L0 of the side sound pipe 400. Therefore, the specific structure of the side sound pipe 400 is not limited to... Figure 1 As shown in the implementation, any suitable pipe structure can also be used, as long as it can connect the sound output pipe 220 and the sound pickup pipe 120.
[0071] For example, in some embodiments, the audio system of the electronic device of the present disclosure example may be as follows: Figure 3 As shown. In Figure 3 In this embodiment, the side sound duct 400 is inclined to the sound output duct 220 and the pickup duct 120, so that the length of the second sound path L0 can be adjusted by adjusting the inclination of the side sound duct 400.
[0072] For example, in other embodiments, the audio system of the electronic device of the present disclosure example may be as follows: Figure 4 As shown. In Figure 4 In this embodiment, the side sound duct 400 is bent between the sound output duct 220 and the sound pickup duct 120, so that the length of the second sound path L0 can be adjusted by adjusting the bent structure of the side sound duct 400.
[0073] Of course, those skilled in the art will understand that the method of adjusting the second sound path L0 based on the side sound pipe 400 structure is not limited to the above example, but can also be any other pipe structure suitable for implementation, such as an arc structure, etc., and this disclosure does not limit it.
[0074] In some embodiments, considering that the initial speech signal entering the pickup channel is very small when the speaker volume is low, it can be eliminated by post-processing noise reduction algorithms. Therefore, in this embodiment, a control valve can be provided in the pickup channel 120 to control the opening and closing of the side sound channel.
[0075] like Figure 5 As shown, in some embodiments, a control valve 410 is provided inside the side sound duct 400. The control terminal of the control valve 410 is connected to the processor 500 of the electronic device, so that the control valve 410 can open or close the side sound duct 400 according to the control signal of the processor 500.
[0076] In some implementations, the control terminal of the control valve 410 can be connected to a GPIO (General-purpose input / output) pin of the processor, thereby controlling the opening or closing of the side channel 400 according to the level signal output by the GPIO pin. For example, when the GPIO pin of the processor 500 outputs a high level, the control valve 410 is opened, and when the GPIO pin of the processor 500 outputs a low level, the control valve 410 is closed.
[0077] In some embodiments of this disclosure, the processor 500 can control the opening or closing of the control valve 410 based on the current volume value of the speaker.
[0078] For example, a preset volume threshold for the speaker 210 can be determined in advance based on prior knowledge or a limited number of trials. This preset volume threshold represents the critical value at which the first speech signal will cause distortion of the target speech signal. Therefore, when the processor 500 determines that the current volume value of the speaker 210 is not less than the preset volume threshold, it indicates that the target speech signal will be distorted, and a control signal can be output to open the control valve 410, thereby eliminating noise in the first speech signal of the target speech signal. Conversely, when the processor 500 determines that the current volume value of the speaker 210 is less than the preset volume threshold, it indicates that the target speech signal will not be distorted, and noise elimination can be achieved solely through subsequent noise reduction algorithms, and a control signal can be output to close the control valve 410.
[0079] It is understood that those skilled in the art can set the specific value of the preset volume threshold according to the specific scenario, and this disclosure does not impose any restrictions on it. For example, in one example, the preset volume threshold can be 80%.
[0080] In some implementations, to further prevent the target speech signal in the pickup conduit 120 from entering the output conduit 220 through the side sound conduit 400, an asymmetric sound transmission layer can be provided on the inner wall of the side sound conduit.
[0081] The asymmetric sound transmission layer can be made of acoustic metamaterials, which allows sound signals to be transmitted unidirectionally from the output pipe 220 to the pickup pipe 120. That is, the sound signal transmitted from the output pipe 220 to the pickup pipe 120 can pass through the asymmetric sound transmission layer, while the sound signal transmitted from the pickup pipe 120 to the output pipe 220 can be absorbed by the asymmetric sound transmission layer, thus achieving unidirectional transmission.
[0082] The specific configuration of the asymmetric sound transmission layer can undoubtedly be understood and fully implemented by those skilled in the art by referring to relevant technologies, and this disclosure does not impose any restrictions on it.
[0083] As described above, in this embodiment, by establishing a side-sound channel connecting the output channel and the pickup channel, the inverted speech signal from the side-sound channel is used to reduce or eliminate the echo signal entering the pickup channel. This is particularly beneficial in high-volume two-way speaker scenarios, improving call quality. Furthermore, a control valve can be used to control the opening and closing of the side-sound channel, differentiating between different noise reduction scenarios, assisting in echo cancellation, and improving call quality. Additionally, an asymmetric transmission layer is provided in the side-sound channel to prevent reverse transmission of the speech signal, improving the speaker's output speech quality.
[0084] Based on the above, combined with Figure 6 The implementation further explains the design process of the above-mentioned audio system, thereby realizing the rational design of the second sound path L0 of the side sound pipe 400, so that the first speech signal and the second speech signal can interfere with each other and be attenuated or eliminated.
[0085] like Figure 6 As shown, in some embodiments, the design process of the above-described audio system includes:
[0086] S610. Determine the first sound path based on the first distance between the sound outlet of the loudspeaker's sound outlet pipe and the sound pickup port of the pickup pipe.
[0087] See also Figure 2 As shown, when designing an audio system, the distance between the speaker outlet 320 and the pickup hole 310 can be obtained first, and the first sound path L1 of the first voice signal propagating from the outlet 320 to the pickup hole 310 can be determined based on this distance.
[0088] S620. Determine the first phase of the first speech signal received by the pickup pipe based on the first sound path and the first speech signal emitted by the sound output pipe.
[0089] See Figure 1 As shown, the first speech signal refers to the speech signal emitted from the speaker's sound outlet, reflected by the external environment, and then entering the pickup channel. After determining the first sound path, the first phase can be determined based on the first speech signal and the first sound path using a phase detection algorithm, expressed as:
[0090]
[0091] In equation (1), The first phase is represented by x1, the first speech signal is represented by x1, and the first sound path is represented by L1.
[0092] S630. Determine the second sound path of the side sound pipe that connects the sound output pipe and the sound pickup pipe based on the first phase.
[0093] It is understood that in this embodiment of the disclosure, it is necessary to make the second phase of the second speech signal of the side sound channel 400 opposite to the first phase of the first speech signal. Therefore, the second sound path of the side sound channel can be determined based on the second phase of the second speech signal. The following is in conjunction with... Figure 7 The implementation method is described below.
[0094] like Figure 7 As shown, in some embodiments, the process of determining the second sound path based on the first phase includes:
[0095] S631. Determine a second phase that is opposite to the first phase based on the first phase.
[0096] S632. Determine the second acoustic path of the sidetone pipe based on the second phase.
[0097] It is understood that the first phase represents the phase of the first speech signal. In this embodiment of the present disclosure, the second speech signal needs to be opposite to the first speech signal so that the inverse phase of the first phase can be determined as the second phase.
[0098] After determining the second phase of the second speech signal, the second sound path L0 of the sidetone channel can be determined based on the second phase, expressed as:
[0099]
[0100] In equation (1), x2 represents the second phase, x2 represents the second speech signal, and L0 represents the second sound path.
[0101] After determining the second sound path L0 of the side sound duct, the structure of the corresponding side sound duct can be reasonably set according to the second sound path L0 and in combination with the specific hardware structure of the electronic equipment. For example Figure 3 , Figure 4 , Figure 4 In this implementation, the sound path of the second speech signal is made into a second sound path L0 by adjusting the structure of the side sound pipe 400.
[0102] As can be seen from the above, in this embodiment of the present disclosure, by setting the side sound channel according to the first phase of the first voice signal, the second phase of the second voice signal is opposite to it, thereby using the second voice signal of the side sound channel to reduce or eliminate the echo signal entering the pickup channel, which is especially beneficial for high-volume two-way speaker scenarios and improves call quality.
[0103] This disclosure provides a control method for an audio system, which can be applied to the above-described electronic device and is executed by the processor 500 of the electronic device.
[0104] like Figure 8As shown, in some embodiments, the control method of the audio system of this disclosure includes:
[0105] S810: Obtain the current volume value of the audio system's speakers.
[0106] S820, in response to the current volume value being not less than a preset volume threshold, controls the control valve on the side channel of the audio system to open.
[0107] S830: In response to the current volume value being less than the preset volume threshold, the control valve is closed.
[0108] See Figure 5 As described in the embodiment, a control valve 410 is provided inside the side sound duct 400. The control terminal of the control valve 410 is connected to the processor 500 of the electronic device, so that the control valve 410 can open or close the side sound duct 400 according to the control signal of the processor 500.
[0109] In this embodiment of the disclosure, the processor 500 can control the opening or closing of the control valve 410 based on the current volume value of the speaker. For example, in some embodiments, a preset volume threshold for the speaker 210 can be preset according to the needs of the scenario. This preset volume threshold represents the critical value at which the first voice signal will cause distortion of the target voice signal. Thus, when the audio system is working, the processor can monitor the current volume value of the speaker.
[0110] In one example, when the processor 500 determines that the current volume value of the speaker 210 is not less than the preset volume threshold, it indicates that the target speech signal will be distorted. Therefore, a control signal can be output to open the control valve 410 to achieve noise cancellation of the first speech signal in the target speech signal.
[0111] In another example, when the processor 500 determines that the current volume value of the speaker 210 is less than the preset volume threshold, it means that the target speech signal will not be distorted and noise can be eliminated by subsequent noise reduction algorithms. Thus, a control signal can be output to close the control valve 410.
[0112] It is understood that those skilled in the art can set the specific value of the preset volume threshold according to the specific scenario, and this disclosure does not impose any restrictions on it. For example, in one example, the preset volume threshold can be 80%.
[0113] As described above, in this embodiment, by establishing a side-sound channel connecting the output channel and the pickup channel, the inverted speech signal from the side-sound channel is used to reduce or eliminate the echo signal entering the pickup channel. This is particularly beneficial in high-volume two-way speaker scenarios, improving call quality. Furthermore, a control valve can be used to control the opening and closing of the side-sound channel, differentiating between different noise reduction scenarios, assisting in echo cancellation, and improving call quality. Additionally, an asymmetric transmission layer is provided in the side-sound channel to prevent reverse transmission of the speech signal, improving the speaker's output speech quality.
[0114] This disclosure provides a control device for an audio system, which can be applied to an electronic device. The electronic device described in this disclosure can be any suitable type of device, such as a mobile terminal, wearable device, server, handheld device, etc., and this disclosure does not limit it.
[0115] like Figure 9 As shown, in some embodiments, the design apparatus for an audio system according to the present disclosure includes:
[0116] The acquisition module 10 is configured to acquire the current volume value of the speakers in the audio system.
[0117] The control module 20 is configured to control the control valve on the side channel of the audio system to open in response to the current volume value being not less than a preset volume threshold; and / or to control the control valve to close in response to the current volume value being less than the preset volume threshold; wherein the side channel is connected to the output channel and the pickup channel of the audio system respectively.
[0118] As can be seen from the above, in this embodiment of the present disclosure, by setting the side sound channel according to the first phase of the first voice signal, the second phase of the second voice signal is opposite to it, thereby using the second voice signal of the side sound channel to reduce or eliminate the echo signal entering the pickup channel, which is especially beneficial for high-volume two-way speaker scenarios and improves call quality.
[0119] This disclosure provides a storage medium storing computer instructions for causing a computer to execute the methods described in the above embodiments.
[0120] Figure 10 The diagram shows a structural block diagram of an electronic device according to some embodiments of the present disclosure. The following is a description of the structure of the device in conjunction with the provided text. Figure 10 The electronic devices according to some embodiments of this disclosure are further described.
[0121] Reference Figure 10The electronic device 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power supply component 1806, a multimedia component 1808, an audio component 1810, an input / output (I / O) interface 1812, a sensor component 1816, and a communication component 1818.
[0122] Processing component 1802 typically controls the overall operation of electronic device 1800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1802 may include one or more processors 1820 to execute instructions. Furthermore, processing component 1802 may include one or more modules to facilitate interaction between processing component 1802 and other components. For example, processing component 1802 may include a multimedia module to facilitate interaction between multimedia component 1808 and processing component 1802. As another example, processing component 1802 may read executable instructions from memory to implement relevant functions of the electronic device.
[0123] Memory 1804 is configured to store various types of data to support the operation of electronic device 1800. Examples of this data include instructions for any application or method operating on electronic device 1800, contact data, phonebook data, messages, pictures, videos, etc. Memory 1804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0124] Power supply component 1806 provides power to various components of electronic device 1800. Power supply component 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1800.
[0125] The multimedia component 1808 includes a display screen that provides an output interface between the electronic device 1800 and the user. In some embodiments, the multimedia component 1808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera can receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0126] Audio component 1810 is configured to output and / or input audio signals. For example, audio component 1810 includes a microphone (MIC) configured to receive external audio signals when electronic device 1800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1804 or transmitted via communication component 1818. In some embodiments, audio component 1810 includes a speaker for outputting audio signals.
[0127] I / O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0128] Sensor assembly 1816 includes one or more sensors for providing state assessments of various aspects of electronic device 1800. For example, sensor assembly 1816 may detect the on / off state of electronic device 1800, the relative positioning of components such as the display and keypad of electronic device 1800, changes in position of electronic device 1800 or a component of electronic device 1800, the presence or absence of user contact with electronic device 1800, the orientation or acceleration / deceleration of electronic device 1800, and temperature changes of electronic device 1800. Sensor assembly 1816 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1816 may include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1816 may include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0129] Communication component 1818 is configured to facilitate wired or wireless communication between electronic device 1800 and other devices. Electronic device 1800 can access wireless networks based on communication standards, such as Wi-Fi, 2G, 3G, 4G, 5G, or 6G, or combinations thereof. In one exemplary embodiment, communication component 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1818 includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0130] In an exemplary embodiment, the electronic device 1800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0131] Obviously, the above embodiments are merely examples for clear illustration and are not intended to limit the embodiments. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all embodiments here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this disclosure.
Claims
1. An audio system, characterized in that, include: A loudspeaker assembly includes a loudspeaker and a sound outlet duct, wherein a first end of the sound outlet duct is connected to the loudspeaker and a second end is adapted to communicate with the outside world; A pickup assembly includes a pickup and a pickup tube, wherein a first end of the pickup tube is connected to the pickup and a second end is adapted to communicate with the outside world; as well as A side-sound duct, one end of which is connected to the sound output duct, and the other end of which is connected to the sound pickup duct; wherein, in the speech signal emitted by the loudspeaker, the first phase of the first speech signal that enters the second end of the sound pickup duct through the second end of the sound output duct is opposite to the second phase of the second speech signal that enters the sound pickup duct through the side-sound duct; A control valve, located inside the side sound pipe, is used to open or close the side sound pipe; A processor, connected to the control terminal of the control valve, is configured to acquire the current volume value of the speaker, and control the control valve to open if the current volume value is not less than a preset volume threshold; and control the control valve to close if the current volume value is less than the preset volume threshold. The inner wall of the side sound duct is provided with an asymmetric sound transmission layer, which is adapted to allow sound signals to be transmitted unidirectionally from the sound output duct to the sound pickup duct.
2. An electronic device, characterized in that, Includes the audio system according to claim 1.
3. The electronic device according to claim 2, characterized in that, It also includes a housing, which includes a middle frame, and the speaker and the pickup are disposed inside the housing. The second end of the sound outlet pipe is connected to a sound outlet hole opened on the middle frame, and the second end of the pickup pipe is connected to a pickup hole opened on the middle frame.
4. The electronic device according to claim 3, characterized in that, The sound outlet and the sound pickup hole are located on the same side of the middle frame.
5. A control method for an audio system, characterized in that, Applied to the audio system of claim 1, the method includes: Get the current volume value of the speakers in the audio system; In response to the current volume value being not less than a preset volume threshold, the control valve located on the side sound duct of the audio system is opened; wherein, the side sound duct is connected to the output sound duct and the pickup sound duct of the audio system respectively; In response to the current volume value being less than the preset volume threshold, the control valve is controlled to close.
6. A control device for an audio system, characterized in that, Applied to the audio system of claim 1, the device comprises: The acquisition module is configured to acquire the current volume value of the speakers in the audio system; The control module is configured to, in response to the current volume value being not less than a preset volume threshold, control the control valve located on the side channel of the audio system to open; and in response to the current volume value being less than the preset volume threshold, control the control valve to close.