Sound production module and electronic equipment

By designing a symmetrical adjustment circuit in the sound module of the electronic device, the DC bias problem of the two-in-one top speaker in the handset mode is solved, extending the service life of the speaker and reducing interference noise.

CN222147814UActive Publication Date: 2024-12-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323591837.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-12-10
Estimated Expiration
2033-12-27

AI Technical Summary

Technical Problem

The two-in-one top speaker in existing electronic devices is in the handset mode due to full impedance loading, resulting in DC bias, affecting the service life of the speaker.

Method used

A sound generating module is designed, by connecting the first adjustment circuit and the second adjustment circuit between the amplifier module and the speaker respectively, ensuring that the impedance of the two is symmetrical, thereby avoiding DC bias and extending the service life of the speaker.

Benefits of technology

It effectively avoids the DC bias of the speaker when unilaterally adjusts the impedance, extends the service life of the speakers in the sound generating module, reduces interference noise, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222147814U_ABST
    Figure CN222147814U_ABST
Patent Text Reader

Abstract

The utility model relates to a sound production module and electronic equipment. The sound production module comprises a power amplifier module and a loudspeaker, wherein the power amplifier module is provided with a first interface and a second interface; the first adjusting circuit is connected between the first interface and the first end of the loudspeaker; the second adjusting circuit is connected between the second interface and the second end of the loudspeaker; wherein the impedance of the first adjusting circuit is the same as that of the second adjusting circuit. According to the embodiment of the invention, the condition of direct-current bias during unilateral impedance adjustment of the loudspeaker can be avoided, and the service life of the loudspeaker in the sound production module is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic devices, and in particular to a sound module, a mode switching method, a device, an electronic device and a storage medium. Background Art

[0002] With the development of science and technology, stereo function is added to the sound module of electronic devices such as mobile phones. The top speaker in the sound module adopts a two-in-one speaker with high sensitivity.

[0003] At present, when this two-in-one top speaker is in the handset mode, the impedance connected to the speaker is fully loaded between the speaker and one port of the power amplifier device. This will cause a DC bias on the top speaker when it is in the handset mode, affecting the service life of the top speaker. Utility Model Content

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a sound module and an electronic device, which can avoid the DC bias when the speaker adjusts the impedance unilaterally, thereby extending the service life of the speaker in the sound module.

[0005] According to a first aspect of an embodiment of the present disclosure, a sound module is provided, comprising:

[0006] A power amplifier module and a speaker, wherein the power amplifier module has a first interface and a second interface;

[0007] A first regulating circuit connected between the first interface and a first end of the speaker;

[0008] a second regulating circuit connected between the second interface and a second end of the speaker;

[0009] The impedance of the first regulating circuit is the same as the impedance of the second regulating circuit.

[0010] In some embodiments, the first regulating circuit includes: a first switch branch and a first impedance branch connected in parallel; the second regulating circuit includes: a second switch branch and a second impedance branch connected in parallel;

[0011] When the sound module is in the handset mode, the first impedance branch is connected to the first end of the speaker, and the second impedance branch is connected to the second end of the speaker;

[0012] When the sound module is in the external speaker mode, the first switch branch is connected to the first end of the speaker, and the second switch branch is connected to the second end of the speaker.

[0013] In some embodiments, the first impedance branch includes a first resistance element; the second impedance branch includes a second resistance element;

[0014] The resistance value of the first resistance element is the same as the resistance value of the second resistance element.

[0015] In some embodiments, the first switch branch includes a first switch and a second switch connected in series; the second switch branch includes a third switch and a fourth switch connected in series;

[0016] When the sound module is in the handset mode, the first switch, the second switch, the third switch and the fourth switch are all in the off state;

[0017] When the sound module is in the external speaker mode, the first switch, the second switch, the third switch and the fourth switch are all in the on state.

[0018] In some embodiments, the first regulating circuit further includes: a fifth switch; the second regulating circuit further includes: a sixth switch;

[0019] A first end of the fifth switch is connected to a signal input port of the sound module, a second end of the fifth switch is connected to a ground line, and a third end of the fifth switch is connected to a first end of the first switch and a first end of the second switch;

[0020] A first end of the sixth switch is connected to the signal input port, a second end of the sixth switch is connected to a ground line, and a third end of the sixth switch is connected to a first end of the third switch and a first end of the fourth switch;

[0021] When the sound module is in the handset mode, the fifth switch and the sixth switch are both in the on state;

[0022] When the sound module is in the external speaker mode, the fifth switch and the sixth switch are both in the cut-off state.

[0023] In some embodiments, when the electrical signal inputted by the signal input port is at a high level, the fifth switch and the sixth switch are both in an on state, and the first switch, the second switch, the third switch and the fourth switch are all in an off state;

[0024] When the electrical signal inputted into the signal input port is at a low level, the fifth switch and the sixth switch are both in an off state, and the first switch, the second switch, the third switch and the fourth switch are all in an on state.

[0025] In some embodiments, the first regulating circuit further includes: a third resistance element; the second regulating circuit further includes: a fourth resistance element;

[0026] The third resistor element is connected in series between the signal input port and the first end of the fifth switch;

[0027] The fourth resistor element is connected in series between the signal input port and the first end of the sixth switch.

[0028] In some embodiments, the power amplifier module has a power interface; the first regulating circuit further includes: a first boost branch and a second boost branch; the second regulating circuit further includes: a third boost branch and a fourth boost branch;

[0029] A first end of the first boost branch is connected to the first interface, and a second end of the first boost branch is connected to a first end of the first switch and a first end of the second switch;

[0030] A first end of the second boost branch is connected to the power interface, and a second end of the second boost branch is connected to a second end of the first boost branch;

[0031] A first end of the third boost branch is connected to the second interface, and a second end of the third boost branch is connected to a first end of the third switch and a first end of the fourth switch;

[0032] The first end of the fourth boost branch is connected to the power interface, and the second end of the fourth boost branch is connected to the second end of the third boost branch.

[0033] In some embodiments, the first boost branch includes: a fifth resistor element and a first capacitor element connected in series; the second boost branch includes: a first unidirectional conductive element;

[0034] The third boost branch includes: a sixth resistor element and a second capacitor element connected in series; the fourth boost branch includes: a second unidirectional conductive element.

[0035] According to a second aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device at least comprising:

[0036] case;

[0037] The sound module as described in the first aspect is located on the top of the shell.

[0038] In some embodiments, the electronic device further comprises:

[0039] A processor having preset pins;

[0040] The signal input port of the sound module is connected to the preset pin and is configured to input an electrical signal to the first end of the fifth switch and the first end of the sixth switch of the sound module.

[0041] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0042] The sound module provided by the embodiment of the present disclosure may include: a power amplifier module and a speaker, wherein the power amplifier module has a first interface and a second interface; a first regulating circuit connected between the first interface and the first end of the speaker; a second regulating circuit connected between the second interface and the second end of the speaker; wherein the impedance of the first regulating circuit is the same as the impedance of the second regulating circuit. In this way, voltage division can be performed by connecting the first regulating circuit and the second regulating circuit respectively between the power amplifier module and the speaker, and the impedance of the first regulating circuit is the same as the impedance of the second regulating circuit, so as to achieve bilateral impedance symmetry of the first regulating circuit and the second regulating circuit connected to the speaker, thereby avoiding the situation where a DC bias occurs when the speaker adjusts the impedance unilaterally, and extending the service life of the speaker in the sound module.

[0043] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0045] Figure 1 is a structural diagram of a sound module according to an exemplary embodiment Figure 1 .

[0046] Figure 2a It is a schematic diagram of the structure of a traditional sound module according to an exemplary embodiment.

[0047] Figure 2b It is a circuit diagram of a traditional sound module according to an exemplary embodiment.

[0048] Figure 3 It is a schematic diagram of the structure of a first regulating circuit in a sound module according to an exemplary embodiment.

[0049] Figure 4 It is a schematic diagram of the structure of a second regulating circuit in a sound module according to an exemplary embodiment.

[0050] Figure 5a is a voltage waveform of a sound module according to an exemplary embodiment Figure 1.

[0051] Figure 5b The following is a schematic diagram of a sound module according to an exemplary embodiment. Figure 1 .

[0052] Figure 6a Graph 2 is a voltage waveform diagram of a sound module according to an exemplary embodiment.

[0053] Figure 6b 2 is a schematic diagram of the principle of a sound module according to an exemplary embodiment.

[0054] Figure 7 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of structures consistent with some aspects of the present disclosure as detailed in the appended claims.

[0056] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0057] Figure 1 is a structural diagram of a sound module according to an exemplary embodiment Figure 1 .like Figure 1 As shown, the sound module 10 provided in the embodiment of the present disclosure may include:

[0058] A power amplifier module 11 and a speaker 12, wherein the power amplifier module 11 has a first interface 111 and a second interface 112;

[0059] A first regulating circuit 13, connected between the first interface 111 and the first end 121 of the speaker;

[0060] A second regulating circuit 14 connected between the second interface 112 and the second end 122 of the speaker;

[0061] The impedance of the first regulating circuit 13 is the same as the impedance of the second regulating circuit 14 .

[0062] In the disclosed embodiment, the above-mentioned speaker may be a speaker unit; the above-mentioned power amplifier module may be a smart power amplifier (SMART Power Amplifier, SMART PA), which is a Class D power amplifier device and can monitor the impedance of the above-mentioned speaker affected by temperature in real time, so as to dynamically adjust the output voltage according to the impedance and drive the above-mentioned speaker to make sound.

[0063] The first interface and the second interface may be two output interfaces of the power amplifier module; the power amplifier module may output a differential electrical signal through the first interface and the second interface to drive the speaker to produce sound.

[0064] The first regulating circuit may be a circuit for regulating the impedance connected between the first interface of the power amplifier module and the speaker; the second regulating circuit may be a circuit for regulating the impedance connected between the second interface of the power amplifier module and the speaker.

[0065] It should be noted that the devices arranged in the above-mentioned first regulation circuit and the above-mentioned second regulation circuit can be exactly the same, so that the impedance of the above-mentioned first regulation circuit is the same as the impedance of the above-mentioned second regulation circuit; the specific devices in the above-mentioned first regulation circuit and the above-mentioned second regulation circuit can be arranged according to the actual application scenario, and the embodiments of the present disclosure are not limited.

[0066] It can be understood that at any time when the sound module is in the above-mentioned state, the impedance of the above-mentioned first adjustment circuit and the impedance of the above-mentioned second adjustment circuit can be the same. That is to say, when the above-mentioned sound module is in the handset mode, the impedance of the above-mentioned first adjustment circuit and the impedance of the above-mentioned second adjustment circuit can be the same; when the above-mentioned sound module is in the speaker mode, the impedance of the above-mentioned first adjustment circuit and the impedance of the above-mentioned second adjustment circuit can also be the same.

[0067] In the disclosed embodiment, when the sound module is in different working modes, the impedance of the first regulating circuit is different, and the impedance of the second regulating circuit is also different.

[0068] For example, when the sound module is in the handset mode, the resistance value of the first adjustment circuit connection can be 11 ohms (Ω), and the resistance value of the second adjustment circuit connection can also be 11Ω; when the sound module is in the external speaker mode, the resistance value of the first adjustment circuit connection can be 6.5Ω, and the resistance value of the second adjustment circuit connection can also be 6.5Ω.

[0069] Here, since the transmission power of the electronic device where the sound module is located is fixed during the communication process of the Global System for Mobile Communications (GSM), the number of turns of the coil in the speaker is also fixed, so the induced electromotive force is fixed. When the sound module is in the handset mode, the impedance connected between the speaker and the power amplifier module can be increased by the first adjustment circuit and the second adjustment circuit, so that the interference induced current of the coil in the speaker is reduced, thereby reducing the loudness of the interference noise.

[0070] In one embodiment of the present disclosure, the impedance of the first adjustment circuit and the second adjustment circuit can be controlled by a processor of the electronic device where the sound module is located, and then different working modes of the sound module can be switched by changing the impedance of the first adjustment circuit and the second adjustment circuit.

[0071] Exemplarily, the first regulating circuit and the second regulating circuit may both include a switch branch to switch different working modes of the sound module by simultaneously switching different switch states of the switch branch.

[0072] It should be noted that the impedance of the first regulation circuit and the impedance of the second regulation circuit can be set according to actual application conditions, as long as the impedance of the first regulation circuit is the same as the impedance of the second regulation circuit, and the embodiments of the present disclosure are not limited thereto.

[0073] For example, Figure 2a and Figure 2b As shown, in the conventional sound module 20, a switch switching circuit and a 22Ω circuit are connected between the speaker and the power amplifier device to realize the impedance switching between the speaker's external speaker mode and the receiver mode. At this time, the resistor connected to the speaker in the external speaker mode is 6.5Ω, and the resistor connected in series in the receiver mode is 22Ω. By increasing the loop impedance of the circuit, the induced current generated in the receiver mode can be reduced accordingly, thereby reducing interference noise.

[0074] However, when this two-in-one top speaker is in the handset mode, the impedance connected to the speaker is fully loaded between the speaker and one port of the power amplifier device. This will cause a DC bias on the top speaker when it is in the handset mode, affecting the service life of the top speaker.

[0075] Based on this, the embodiment of the present disclosure provides a sound module, which may include: a power amplifier module and a speaker, the power amplifier module having a first interface and a second interface; a first regulating circuit connected between the first interface and the first end of the speaker; a second regulating circuit connected between the second interface and the second end of the speaker; wherein the impedance of the first regulating circuit is the same as the impedance of the second regulating circuit. In this way, voltage division can be performed by connecting the first regulating circuit and the second regulating circuit respectively between the power amplifier module and the speaker, and the impedance of the first regulating circuit is the same as the impedance of the second regulating circuit, so as to achieve bilateral impedance symmetry of the first regulating circuit and the second regulating circuit connected to the speaker, thereby avoiding the situation where DC bias occurs when the speaker adjusts the impedance unilaterally, and extending the service life of the speaker in the sound module.

[0076] Figure 3 is a schematic diagram showing the structure of a first regulating circuit in a sound module according to an exemplary embodiment. Figure 4 is a schematic diagram of the structure of a second regulating circuit in a sound module according to an exemplary embodiment; Figure 3 and Figure 4 As shown, the sound module provided in the embodiment of the present disclosure is Figure 1 The first regulating circuit and the second regulating circuit are further divided on the basis of the sound module shown. For example, the first regulating circuit includes: a first switch branch and a first impedance branch; the second regulating circuit includes: a second switch branch and a second impedance branch.

[0077] Combination Figure 3 and Figure 4 As shown, the first regulating circuit 13 in the embodiment of the present disclosure includes: a first switch branch 131 and a first impedance branch 132 connected in parallel; the second regulating circuit 14 includes: a second switch branch 141 and a second impedance branch 142 connected in parallel;

[0078] When the sound module 10 is in the handset mode, the first impedance branch 132 is connected to the first end 121 of the speaker, and the second impedance branch 142 is connected to the second end 122 of the speaker;

[0079] When the sound module 10 is in the external speaker mode, the first switch branch 131 is connected to the first end 121 of the speaker, and the second switch branch 141 is connected to the second end 122 of the speaker.

[0080] In this way, different working modes of the sound module can be switched by controlling the different switching states of the first switch branch and the second switch branch, so that the speaker in the sound module can work in both the earpiece mode and the external speaker mode while avoiding DC bias.

[0081] The first switch branch may be a circuit capable of switching the impedance of the first regulating circuit; and the second switch branch may be a circuit capable of switching the impedance of the second regulating circuit.

[0082] In the embodiments of the present disclosure, see Figure 3 and Figure 4 The first impedance branch 132 includes a first resistor element R1; the second impedance branch 142 includes a second resistor element R2; the resistance value of the first resistor element R1 is the same as the resistance value of the second resistor element R2. For example, the resistance value of the first resistor element R1 and the resistance value of the second resistor element R2 can both be 11Ω.

[0083] Here, when the sound module is in the handset mode, the processor of the electronic device where the sound module is located can control the sending of corresponding electrical signals to the first switch branch and the second switch branch to control the disconnection of the first switch branch and the second switch branch. When the first switch branch in the first regulating circuit is disconnected and the second switch branch in the second regulating circuit is disconnected, the first interface can be connected to the first end of the speaker through the first impedance branch, and the second interface can be connected to the second end of the speaker through the second impedance branch, and the circuit loop impedance increases.

[0084] Similarly, when the sound module is in the external speaker mode, the processor of the electronic device where the sound module is located can control the sending of corresponding electrical signals to the first switch branch and the second switch branch to control the connection of the first switch branch and the second switch branch. When the first switch branch in the first adjustment circuit is disconnected and the second switch branch in the second adjustment circuit is connected, the first impedance branch and the second impedance branch are both short-circuited, the first interface can be connected to the first end of the speaker through the first switch branch, and the second interface can be connected to the second end of the speaker through the second switch branch. At this time, the speaker can exert its high sensitivity and high loudness characteristics.

[0085] In the embodiment of the present disclosure, based on the electrical signal output by the processor of the electronic device, the electromagnetic interference of the speaker in the sound module can be reduced by switching the branch connection mode of the first adjustment circuit and the second adjustment circuit, thereby reducing the interference noise of the speaker when it is in the handset mode and improving the user experience.

[0086] In one embodiment of the present disclosure, see Figure 3 and Figure 4 , the first switch branch 131 includes a first switch Q1 and a second switch Q2 connected in series; the second switch branch 141 includes a third switch Q3 and a fourth switch Q4 connected in series;

[0087] When the sound module 10 is in the handset mode, the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4 are all in the off state;

[0088] When the sound module 10 is in the external speaker mode, the first switch Q1 , the second switch Q2 , the third switch Q3 and the fourth switch Q4 are all in the on state.

[0089] In this way, different working modes of the sound module can be switched by simultaneously controlling the different switching states of the first switch, the second switch, the third switch and the fourth switch, so that the speaker in the sound module can work in both the earpiece mode and the external speaker mode while avoiding DC bias.

[0090] The first switch, the second switch, the third switch and the fourth switch may all be N-type MOS transistors (NMOS transistors).

[0091] That is to say, when a high-level signal is input to the gate of the first switch, the gate of the second switch, the gate of the third switch and the gate of the fourth switch, the first switch, the second switch, the third switch and the fourth switch can all be in the on state; when a low-level signal is input to the gate of the first switch, the gate of the second switch, the gate of the third switch and the gate of the fourth switch, the first switch, the second switch, the third switch and the fourth switch can all be in the off state.

[0092] In one example, when the first switch and the second switch are both in the off state, the first switch branch is disconnected; when the third switch and the fourth switch are both in the off state, the second switch branch is disconnected. The first interface can be connected to the first end of the speaker through the first resistance element of 11Ω in the first impedance branch, and the second interface can be connected to the second end of the speaker through the second resistance element of 11Ω in the second impedance branch. At this time, the circuit loop impedance increases, and the resistance in the path can be the resistance of the speaker and the sum of the resistances of the first resistance element and the second resistance element. At this time, this example can be applied to the scenario of reducing the electromagnetic interference noise of the speaker, for example, the sound module is in the handset mode.

[0093] In another example, when the first switch and the second switch are both in the on state, the first switch branch is connected; when the third switch and the fourth switch are both in the on state, the second switch branch is connected. Since the resistance of the first impedance branch is much greater than the resistance of the first switch branch, and the resistance of the second impedance branch is much greater than the resistance of the second switch branch, the first impedance branch and the second impedance branch are short-circuited, and the first interface can be connected to the first end of the speaker through the first switch branch, and the second interface can be connected to the second end of the speaker through the second switch branch. At this time, this example can be applied to the scenario where the sound module works in the external speaker mode, and the resistance in the path can be the resistance of the speaker itself.

[0094] In some embodiments, see Figure 3 and Figure 4 , the first regulating circuit 13 further includes: a fifth switch Q5; the second regulating circuit 14 further includes: a sixth switch Q6;

[0095] A first end of the fifth switch Q5 is connected to the signal input port GPIO of the sound module 10, a second end of the fifth switch Q5 is connected to the ground line, and a third end of the fifth switch Q5 is connected to the first end of the first switch Q1 and the first end of the second switch Q2;

[0096] A first end of the sixth switch Q6 is connected to the signal input port GPIO, a second end of the sixth switch Q6 is connected to the ground line, and a third end of the sixth switch Q6 is connected to a first end of the third switch Q3 and a first end of the fourth switch Q4;

[0097] When the sound module 10 is in the handset mode, the fifth switch Q5 and the sixth switch Q6 are both in the on state;

[0098] When the sound module 10 is in the external speaker mode, the fifth switch Q5 and the sixth switch Q6 are both in the cut-off state.

[0099] In this way, the conduction or cutoff of the fifth switch and the sixth switch can be controlled by the level of the electrical signal input into the signal input port of the sound module, so as to indirectly control the conduction or cutoff of the first switch, the second switch, the third switch and the fourth switch, so that the sound module can switch between different working modes, so that the speaker in the sound module can work in both the earpiece mode and the external speaker mode while avoiding DC bias.

[0100] The fifth switch and the sixth switch may both be NMOS transistors. That is, when a high level signal is input to the gate of the fifth switch and the gate of the sixth switch, the fifth switch and the sixth switch may both be in an on state; when a low level signal is input to the gate of the fifth switch and the gate of the sixth switch, the fifth switch and the sixth switch may both be in an off state.

[0101] Here, the signal input port of the sound module may be a port connected to a general-purpose input / output (GPIO) port of a processor of the electronic device where the sound module is located. In other words, the processor may control the electrical signal input to the signal input port, thereby controlling the conduction or cutoff of the fifth switch and the sixth switch.

[0102] It can be understood that the first end of the first switch, the first end of the second switch, the first end of the third switch, the first end of the fourth switch, the first end of the fifth switch and the first end of the sixth switch can all be gates (G poles), the second end of the fifth switch and the second end of the sixth switch can both be sources (S poles), and the third end of the fifth switch and the third end of the sixth switch can both be drains (D poles).

[0103] In one embodiment of the present disclosure, see Figure 3 and Figure 4 , when the electrical signal input to the signal input port GPIO is at a high level, the fifth switch Q5 and the sixth switch Q6 are both in the on state, and the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4 are all in the off state; when the electrical signal input to the signal input port GPIO is at a low level, the fifth switch Q5 and the sixth switch Q6 are both in the off state, and the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4 are all in the on state.

[0104] In some embodiments, see Figure 3 and Figure 4 The first regulating circuit 13 may further include: a third resistor element R3; the second regulating circuit may further include: a fourth resistor element R4; the third resistor element R3 is connected in series between the signal input port GPIO and the first end of the fifth switch Q5; the fourth resistor element R4 is connected in series between the signal input port GPIO and the first end of the sixth switch Q6.

[0105] The resistance value of the third resistor element and the resistance value of the fourth resistor element may be the same; for example, the resistance value of the third resistor element and the resistance value of the fourth resistor element may both be 10KΩ.

[0106] In some embodiments, see Figure 3 and Figure 4 The power amplifier module 11 has a power interface 113; the first regulating circuit 13 further includes: a first boost branch 133 and a second boost branch 134; the second regulating circuit 14 further includes: a third boost branch 143 and a fourth boost branch 144;

[0107] A first end of the first boost branch 133 is connected to the first interface 111, and a second end of the first boost branch 133 is connected to a first end of the first switch Q1 and a first end of the second switch Q2;

[0108] A first end of the second boost branch 134 is connected to the power interface 113, and a second end of the second boost branch 134 is connected to a second end of the first boost branch 133;

[0109] A first end of the third boost branch 143 is connected to the second interface 112, and a second end of the third boost branch 143 is connected to a first end of the third switch Q3 and a first end of the fourth switch Q4;

[0110] A first end of the fourth boost branch 144 is connected to the power interface 113 , and a second end of the fourth boost branch 144 is connected to a second end of the third boost branch 143 .

[0111] In this way, the impedance switching in the first regulation circuit and the second regulation circuit can be achieved by setting the first boost branch and the second boost branch to provide the required voltage for the conduction of the first switch and the second switch, and setting the third boost branch and the fourth boost branch to provide the required voltage for the conduction of the third switch and the fourth switch.

[0112] The first boost branch and the second boost branch may be circuits for providing voltage for the first switch and the second switch to be turned on; the third boost branch and the fourth boost branch may be circuits for providing voltage for the third switch and the fourth switch to be turned on. When the voltage difference between the gate and the source of the NMOS tube is sufficient, the first switch, the second switch, the third switch and the fourth switch may all be turned on.

[0113] Here, see Figure 3 and Figure 4The intersection of the second end of the first boost branch 133 and the second end of the second boost branch 134 is marked as point A, and the intersection of the second end of the third boost branch 143 and the second end of the fourth boost branch 144 is marked as point A'. The gates of the first switch Q1 and the second switch Q2 can be connected to point A, and the gates of the third switch Q3 and the fourth switch Q4 can be connected to point A'.

[0114] See also Figure 3 and Figure 4 The source (S pole) of the first switch Q1 is connected to the first interface 111, the drain (D pole) of the first switch Q1 is connected to the drain (D pole) of the second switch Q2; the source of the second switch Q2 is connected to the first end 121 of the speaker. The source of the third switch Q3 is connected to the second interface 112, the drain of the third switch Q3 is connected to the drain of the fourth switch Q4; the source of the fourth switch Q4 is connected to the second end 122 of the speaker.

[0115] In some embodiments, see Figure 3 and Figure 4 , the first boost branch 133 includes: a fifth resistor element R5 and a first capacitor element C1 connected in series; the second boost branch 134 includes: a first unidirectional conductive element D1;

[0116] The third boost branch 143 includes: a sixth resistor element R6 and a second capacitor element C2 connected in series; the fourth boost branch 144 includes: a second unidirectional conductive element D2.

[0117] Among them, the resistance values ​​of the above-mentioned fifth resistor element and the above-mentioned sixth resistor element can be set to 4.7 kilo-ohms (KΩ), the above-mentioned first capacitor element and the above-mentioned second capacitor element can be set to 10 nanofarads (nF); the above-mentioned first unidirectional conductive element and the above-mentioned second unidirectional conductive element can be set to diodes.

[0118] In the embodiments of the present disclosure, see Figure 3 and Figure 4 A seventh resistor R7 may be further provided in the second boost branch 134 between the power interface 113 and the first unidirectional conductive element D1; an eighth resistor R8 may be further provided in the fourth boost branch 44 between the power interface 113 and the second unidirectional conductive element D2; the resistance values ​​of the seventh resistor R7 and the eighth resistor R8 may both be 15KΩ.

[0119] In combination with the above embodiments, the fifth resistor element, the first capacitor element and the first unidirectional conductive element can form a bootstrap boost circuit in the first regulation circuit to provide the first switch and the second switch with the voltage required for conduction; similarly, the sixth resistor element, the second capacitor element and the second unidirectional conductive element can form a bootstrap boost circuit in the second regulation circuit to provide the third switch and the fourth switch with the voltage required for conduction.

[0120] It should be noted that, combined with Figure 3 and Figure 4 As shown, the first regulating circuit 13 may further be provided with a ninth resistor R9, and the second regulating circuit 14 may further be provided with a tenth resistor R10; the fifth switch Q5 may be connected to point A through the ninth resistor R9; and the sixth switch Q6 may be connected to point A' through the tenth resistor R10. The resistance values ​​of the ninth resistor and the tenth resistor may both be set to 470Ω.

[0121] Combining the circuit structure of the above embodiment and Figure 3 and Figure 4 As shown, the embodiment of the present disclosure utilizes discrete devices such as NMOS tubes, resistor elements, and corresponding circuits to achieve the switching of different working modes of the sound module. Two specific examples will be listed below to describe the circuit connection relationship of the sound module in two modes.

[0122] In one example, the working mode of the sound module is the handset mode. In a call scenario, the sound module needs to be used as a handset. The processor of the electronic device can determine the working mode of the electronic device. If it is determined to be in the handset mode, a high-level signal can be output through the GPIO (ie, GPIO=1). At this time, the fifth switch Q5 is turned on and grounded under a high-level signal, and the first boost branch 133 is grounded through the fifth switch Q5. The first boost branch 133 cannot provide high voltage for the first switch Q1 and the second switch Q2, and the first switch Q1 and the second switch Q2 cannot be turned on and are in a cut-off state; accordingly, the first switch branch 131 is disconnected; the output signal of the first interface 111 is connected to the first end 121 of the speaker through the first impedance branch 132.

[0123] Similarly, the sixth switch Q6 is turned on and grounded under a high-level signal, and the third boost branch 143 is grounded through the sixth switch Q6. The third boost branch 143 cannot provide high voltage for the third switch Q3 and the fourth switch Q4, and the third switch Q3 and the fourth switch Q4 cannot be turned on and are in a cut-off state; accordingly, the second switch branch 141 is disconnected; the output signal of the second interface 112 is connected to the second end 122 of the speaker through the second impedance branch 142. As a result, the first resistance element (R1=11Ω) and the second resistance element (R2=11Ω) enter the circuit, and the circuit loop impedance increases. Furthermore, the interference induced current of the coil in the speaker 12 is reduced, effectively reducing the earpiece noise generated by communication, and ensuring the call quality.

[0124] In another example, the working mode of the sound module is the external speaker mode; for example, a conventional audio and video playback scenario. The processor of the electronic device can determine the working mode of the electronic device. If it is determined to be in the external speaker mode, a low-level signal (GPIO=0) can be output through the GPIO. At this time, the fifth switch Q5 is cut off under the low-level signal; in the initial state where the power amplifier module 11 has not yet output a signal, the power interface 113 of the power amplifier module 11 can output a voltage Vboost, and at this time Vboost=VPH_PWR. The output voltage Vboost is charged to point A through the second boost branch 134. The voltage Ua at point A=Vboost-Vd, where Vd is the forward voltage drop of the first unidirectional conductive element D1. Since the power amplifier module 11 has not yet output a signal, the voltage at the first interface 111 is 0. Therefore, the voltage Uc across the first capacitor element C1 in the first boost branch 133 satisfies: Uc=Ua-Ub=Vboost-Vd, where Ub represents the potential at the first interface 111. At this time, Vgs (gate-source voltage) of the first switch Q1 = Ua-Ub = Vboost-Vd.

[0125] When the power amplifier module 11 starts to output the audio signal, the first interface 111 outputs a PWM (pulse) wave signal. When the voltage at the first interface 111 is H, the voltage at the left end of the first capacitor element C1 is H, and the voltage Uc across the first capacitor element C1 is: Uc = Vboost-Vd = Ua-H. Combined with the characteristic that the voltage across the first capacitor element C1 cannot change suddenly, the first boost branch 133 performs a self-boosting boost on point A, so Ua = Vboost-Vd+H. Boosting point A is also boosting the gates of the first switch Q1 and the second switch Q2. The voltage at point A is greater than Vboost, but due to the directionality of the first unidirectional conductive element D1, the voltage will not flow back to the power interface 113. At this time, Vgs (gate-source voltage) of the first switch Q1 = Ua-H = Vboost-Vd.

[0126] According to the above cycle, Vgs is always maintained at Vboost-Vd, on which basis the first switch Q1 is turned on. According to a similar principle, the second switch Q2 is turned on, so that the first switch branch 131 is turned on, and the first impedance branch 132 is short-circuited. The output signal of the first interface 111 is connected to the first end 121 of the speaker through the first switch branch 131.

[0127] Similarly, based on the third boost branch and the fourth boost branch, the third switch Q3 and the fourth switch Q4 are turned on, so that the second switch branch 141 is turned on to short-circuit the second impedance branch 142. The output signal of the second interface 112 is connected to the second end 122 of the speaker through the second switch branch 141.

[0128] Taking Q1, Q2 and Q5 in the first regulating circuit as an example, the voltage waveform diagram when the sound module is in the external speaker mode is as follows: Figure 5a As shown in the waveform, Q1 and Q2 are always turned on. Figure 3 , Figure 5a The voltage waveforms include the gate of Q1 / Q2 (i.e. point A), the positive output of the speaker (i.e. point B), the first output of GPIO (i.e. point D), and the second output of GPIO (i.e. point C). Figure 5a It can be seen that the voltage waveforms at points A and B are synchronized, and the voltage at point A is always greater than the voltage at point B, that is, the Vgs of Q1 / Q2 is always equal to Vboost-Vd>Vgs(th), so the gate of Q1 / Q2 is always turned on. Figure 5a and 5b As shown, the voltage waveforms at points C and D are positive and negative voltage waveforms because there is a parasitic capacitor Cdg between the GD poles of the NMOS tube. Similarly, the voltage across the capacitor cannot change instantaneously, and point A is a periodically changing voltage, so when loaded to Cdg, the voltage at point C also changes with the voltage cycle at point A; when A is pulled high, point C is also pulled high instantaneously, but because the effective capacitance of Cdg is small, the power at point C is quickly discharged through R3, that is, from the waveform, it can be seen that the discharge process is to 0V. At this time, the voltage drop across Cdg is Ua, so when Ua is pulled low, the voltage across the capacitor cannot change instantaneously. The voltage at point C will be pulled down to a negative voltage, and then it will be discharged to 0V through R3.

[0129] The voltage waveform diagram when the sound module is in the handset mode is as follows Figure 6a As shown, combined Figure 3 , Figure 6a The voltage waveforms include the gate of Q1 / Q2 (i.e. point A), the positive output of the speaker (i.e. point B), the first output of GPIO (i.e. point D), and the second output of GPIO (i.e. point C). Figure 6a It can be seen that the voltage waveforms at points A and B are synchronized, and the voltage at point A is always smaller than the voltage at point B, that is, the Vgs of Q1 / Q2 is always equal to or less than 0V<Vgs(th), so Q1 / Q2 is always cut off]. The same is true when the sound module is in external speaker mode. Figure 6a and 6b As shown, the periodically changing RCV_P (PWM signal) is coupled to point A through C1, and then point A is discharged through R9 to Q5 and then to the ground, thus forming a periodic charge and discharge.

[0130] An electronic device provided in an embodiment of the present disclosure may at least include:

[0131] case;

[0132] The sound module as described in the above embodiment of the present disclosure is located on the top of the shell.

[0133] In the embodiments of the present disclosure, the above-mentioned electronic devices may include: mobile phones, tablet computers, smart watches, digital cameras, head mounted display devices (Head Mounted Display, HMD), etc., which are not limited in the embodiments of the present disclosure.

[0134] Among them, the above-mentioned shell can be the outer shell of the above-mentioned electronic device; the speaker of the above-mentioned sound module can be the top speaker of the above-mentioned electronic device.

[0135] In one embodiment of the present disclosure, the electronic device further includes:

[0136] A processor having preset pins;

[0137] The signal input port of the sound module is connected to the preset pin and is configured to input an electrical signal to the first end of the fifth switch and the first end of the sixth switch of the sound module.

[0138] Here, the processor may be a central processing unit (CPU) of the electronic device, and the preset pin may be a GPIO port of the processor.

[0139] It can be understood that the electronic device can input different electrical signals to the first end of the fifth switch and the first end of the sixth switch of the sound module through the GPIO of the processor, so that the switching device in the sound module can be in different switching states, thereby enabling the sound module to switch to different working modes, namely, the earpiece mode and the external speaker mode.

[0140] The electronic device provided by the embodiment of the present disclosure can input different electrical signals to the sound module so that the sending module can connect different impedances between the power amplifier module and the speaker respectively, so as to realize the switching of the sound module to different working modes; and the impedance of the first adjustment circuit of the sound module is the same as the impedance of the second adjustment circuit, so as to realize the bilateral impedance symmetry of the first adjustment circuit and the second adjustment circuit connected to the speaker, thereby avoiding the situation where DC bias occurs in the speaker when the impedance is adjusted unilaterally, thereby extending the service life of the speaker in the sound module.

[0141] Figure 7 1 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment. For example, the electronic device may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0142] Reference Figure 7, the electronic device may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0143] The processing component 802 generally controls the overall operation of the electronic device, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0144] The memory 804 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory 804 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 memory, flash memory, magnetic disk or optical disk.

[0145] The power supply component 806 provides power to various components of the electronic device. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.

[0146] The multimedia component 808 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0147] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0148] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0149] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly 814 can detect the on / off state of the electronic device, the relative positioning of components, such as the display and keypad of the electronic device, and the sensor assembly 814 can also detect the position change of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device and the temperature change of the electronic device. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0150] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0151] In an exemplary embodiment, the electronic device 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.

[0152] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0153] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, commodity or device including the element.

[0154] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the utility model disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0155] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A sound module, characterized in that: include: A power amplifier module and a speaker, wherein the power amplifier module has a first interface and a second interface; A first regulating circuit connected between the first interface and a first end of the speaker; a second regulating circuit connected between the second interface and a second end of the speaker; The impedance of the first regulating circuit is the same as the impedance of the second regulating circuit.

2. The sound module according to claim 1, characterized in that: The first regulating circuit comprises: a first switch branch and a first impedance branch connected in parallel; the second regulating circuit comprises: a second switch branch and a second impedance branch connected in parallel; When the sound module is in the handset mode, the first impedance branch is connected to the first end of the speaker, and the second impedance branch is connected to the second end of the speaker; When the sound module is in the external speaker mode, the first switch branch is connected to the first end of the speaker, and the second switch branch is connected to the second end of the speaker.

3. The sound module according to claim 2, characterized in that: The first impedance branch includes a first resistance element; the second impedance branch includes a second resistance element; The resistance value of the first resistance element is the same as the resistance value of the second resistance element.

4. The sound module according to claim 2, characterized in that: The first switch branch includes a first switch and a second switch connected in series; the second switch branch includes a third switch and a fourth switch connected in series; When the sound module is in the handset mode, the first switch, the second switch, the third switch and the fourth switch are all in the off state; When the sound module is in the external speaker mode, the first switch, the second switch, the third switch and the fourth switch are all in the on state.

5. The sound module according to claim 4, characterized in that: The first regulating circuit further includes: a fifth switch; the second regulating circuit further includes: a sixth switch; A first end of the fifth switch is connected to a signal input port of the sound module, a second end of the fifth switch is connected to a ground line, and a third end of the fifth switch is connected to a first end of the first switch and a first end of the second switch; A first end of the sixth switch is connected to the signal input port, a second end of the sixth switch is connected to a ground line, and a third end of the sixth switch is connected to a first end of the third switch and a first end of the fourth switch; When the sound module is in the handset mode, the fifth switch and the sixth switch are both in the on state; When the sound module is in the external speaker mode, the fifth switch and the sixth switch are both in the cut-off state.

6. The sound module according to claim 5, characterized in that: When the electrical signal inputted by the signal input port is at a high level, the fifth switch and the sixth switch are both in an on state, and the first switch, the second switch, the third switch and the fourth switch are all in an off state; When the electrical signal inputted into the signal input port is at a low level, the fifth switch and the sixth switch are both in an off state, and the first switch, the second switch, the third switch and the fourth switch are all in an on state.

7. The sound module according to claim 5, characterized in that: The first regulating circuit further includes: a third resistance element; the second regulating circuit further includes: a fourth resistance element; The third resistor element is connected in series between the signal input port and the first end of the fifth switch; The fourth resistor element is connected in series between the signal input port and the first end of the sixth switch.

8. The sound module according to claim 4, characterized in that: The power amplifier module has a power interface; The first regulating circuit further includes: a first boost branch and a second boost branch; the second regulating circuit further includes: a third boost branch and a fourth boost branch; A first end of the first boost branch is connected to the first interface, and a second end of the first boost branch is connected to a first end of the first switch and a first end of the second switch; A first end of the second boost branch is connected to the power interface, and a second end of the second boost branch is connected to a second end of the first boost branch; A first end of the third boost branch is connected to the second interface, and a second end of the third boost branch is connected to a first end of the third switch and a first end of the fourth switch; The first end of the fourth boost branch is connected to the power interface, and the second end of the fourth boost branch is connected to the second end of the third boost branch.

9. The sound module according to claim 8, characterized in that: The first boost branch includes: a fifth resistor element and a first capacitor element connected in series; the second boost branch includes: a first unidirectional conductive element; The third boost branch includes: a sixth resistor element and a second capacitor element connected in series; the fourth boost branch includes: a second unidirectional conductive element.

10. An electronic device, characterized in that: include: case; The sound module according to any one of claims 1 to 9, located on the top of the shell.

11. The electronic device according to claim 10, characterized in that: The electronic device further comprises: A processor having preset pins; The signal input port of the sound module is connected to the preset pin and is configured to input an electrical signal to the first end of the fifth switch and the first end of the sixth switch of the sound module.