Audio output circuit and electronic equipment

By multiplexing the speaker and headphone output modules in the audio output circuit and selecting the output path through the audio switch module, the existing audio output circuits are solved, and the uniqueness of the audio output channel and the audio quality are improved.

CN222674465UActive Publication Date: 2025-03-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421265950.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2025-03-25
Estimated Expiration
2034-06-04

AI Technical Summary

Technical Problem

The existing audio output circuits are redundant and complex due to the independent design of speakers and headphone audio circuits, and the headphone audio circuits are susceptible to electromagnetic wave interference, affecting the audio output effect.

Method used

By multiplexing the speaker and headphone output module, after the audio power amplifier performs signal amplification processing, the speaker or headphone output module is selected through the audio switch module for output, relieving the dependence on the audio encoding and decoding module and simplifying the circuit architecture.

Benefits of technology

The uniqueness of the audio output channel is realized, the line architecture of the audio output circuit is simplified, the sensitivity to electromagnetic wave interference is reduced, and the quality of the final audio output is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222674465U_ABST
    Figure CN222674465U_ABST
Patent Text Reader

Abstract

The utility model relates to an audio output circuit and electronic equipment, and relates to the technical field of electronic equipment, the audio output circuit comprises an audio power amplifier, an audio switch module, a loudspeaker and an earphone output module; the audio power amplifier is respectively connected with the loudspeaker and the earphone output module through the audio switch module; the audio switch module is configured to conduct an access between the audio power amplifier and the loudspeaker or conduct an access between the audio power amplifier and the earphone output module; and the audio power amplifier is configured to perform signal amplification processing on the audio signal to be output to obtain a target audio signal, and output the target audio signal through the loudspeaker or the earphone output module. In this way, due to line multiplexing of the loudspeaker and the earphone output module, the line architecture of the audio output circuit is simplified. Meanwhile, due to the fact that the audio power amplifier is small in self-characteristic and non-linear characteristic and not prone to being interfered by electromagnetic waves, the finally-output audio effect is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electronic devices, and in particular to an audio output circuit and an electronic device. Background Art

[0002] In the audio output circuit design of the terminal, a speaker audio circuit and a headphone audio circuit are included, and the user can receive the audio in the terminal through the speaker or the headphone. In the current circuit design, in order to ensure the uniqueness of the audio output channel, the speaker audio circuit and the headphone audio circuit exist independently of each other, that is, the speaker audio circuit and the headphone audio circuit need to control the output audio through two separate circuit structures respectively, resulting in a relatively redundant and complex audio output circuit of the terminal.

[0003] In addition, for the headphone audio circuit, a special audio codec module is usually required to encode and decode the audio signal. Due to the characteristics of the audio codec module itself, the headphone audio circuit is easily interfered by electromagnetic waves, which in turn affects the final audio output effect. Utility Model Content

[0004] In order to overcome the problems existing in the related art, the present disclosure provides an audio output circuit and an electronic device.

[0005] According to a first aspect of an embodiment of the present disclosure, an audio output circuit is provided, the audio output circuit comprising: an audio power amplifier, an audio switch module, a speaker and an earphone output module; the audio power amplifier is connected to the speaker and the earphone output module respectively through the audio switch module;

[0006] The audio switch module is configured to conduct a path between the audio power amplifier and the speaker, or conduct a path between the audio power amplifier and the headphone output module;

[0007] The audio power amplifier is configured to perform signal amplification processing on the audio signal to be output, obtain a target audio signal, and output the target audio signal through the speaker or the earphone output module.

[0008] Optionally, the headphone output module includes a first channel interface and a second channel interface; the first channel output end of the audio power amplifier is connected to one end of the first channel interface of the headphone output module, and the second channel output end of the audio power amplifier is connected to one end of the second channel interface of the headphone output module; the other end of the first channel interface of the headphone output module and the other end of the second channel interface of the headphone output module are grounded respectively.

[0009] Optionally, the headphone output module further includes an interface switch; the first channel interface includes a headphone first channel interface and a USB first channel interface, and the second channel interface includes a headphone second channel interface and a USB second channel interface; one end of the interface switch is connected to the audio power amplifier through the audio switch module, and the other end of the interface switch is respectively connected to the headphone first channel interface, the headphone second channel interface, the USB first channel interface, and the USB second channel interface;

[0010] The interface switch is configured to conduct a first path or a second path; the first path includes a path between the audio switch module and the first channel interface of the headset and a path between the audio switch module and the second channel interface of the headset; the second path includes a path between the audio switch module and the first channel interface of the USB and a path between the audio switch module and the second channel interface of the USB.

[0011] Optionally, the circuit further includes a compensation module, one end of the compensation module is connected to the audio power amplifier, and the other end of the compensation module is connected to the headphone output module.

[0012] Optionally, the compensation module is configured to collect a complex impedance value of a target audio signal output by the headphone output module, generate an audio compensation signal based on the complex impedance value, and output the audio compensation signal to the audio power amplifier.

[0013] Optionally, the circuit further includes a power module, and the power module is connected to the audio power amplifier.

[0014] Optionally, the first input terminal of the audio power amplifier is connected to the positive electrode of the power module, and the second input terminal of the audio power amplifier is connected to the power ground of the power module.

[0015] Optionally, the first input terminal of the audio power amplifier is connected to the positive electrode of the power module, and the second input terminal of the audio power amplifier is connected to the negative electrode of the power module.

[0016] Optionally, the audio switch module is configured to open a path between the audio power amplifier and the headphone output module when the headphone output module is connected to a headphone device.

[0017] According to a second aspect of an embodiment of the present disclosure, an electronic device is provided, wherein the electronic device includes the audio output circuit provided by the first aspect of the present disclosure.

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

[0019] The present disclosure provides an audio output circuit, which includes: an audio power amplifier, an audio switch module, a speaker and an earphone output module; the audio power amplifier is connected to the speaker and the earphone output module respectively through the audio switch module; the audio switch module is configured to conduct the path between the audio power amplifier and the speaker, or conduct the path between the audio power amplifier and the earphone output module; the audio power amplifier is configured to amplify the audio signal to be output, obtain the target audio signal, and output the target audio signal through the speaker or the earphone output module. With the above scheme, by multiplexing the speaker and the earphone output module, after the audio power amplifier amplifies the audio signal, the speaker or the earphone output module can be selected through the audio switch module to output the processed target audio signal, thereby ensuring the uniqueness of the audio output channel. In addition, due to the line multiplexing of the speaker and the earphone output module, the audio output circuit is relieved of its dependence on the audio codec module, and the line architecture of the audio output circuit is simplified. At the same time, due to the characteristics of the audio power amplifier itself, the nonlinear characteristics are very small and it is not easily interfered by electromagnetic waves, thereby ensuring the final output audio effect.

[0020] 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

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

[0022] Figure 1 is a block diagram of an audio output circuit in the related art according to an exemplary embodiment.

[0023] Figure 2 is a block diagram of an audio output circuit according to an exemplary embodiment.

[0024] Figure 3 is a block diagram of another audio output circuit according to an exemplary embodiment.

[0025] Figure 4 is a block diagram of another audio output circuit according to an exemplary embodiment.

[0026] Figure 5 is a block diagram of another audio output circuit according to an exemplary embodiment.

[0027] Figure 6is a block diagram of another audio output circuit according to an exemplary embodiment.

[0028] Figure 7 is a block diagram of another audio output circuit according to an exemplary embodiment.

[0029] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0030] 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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0031] The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar objects and do not have to be understood as a specific order or sequence. In addition, in the description with reference to the drawings, the same symbols in different drawings represent the same elements.

[0032] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0033] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0034] Before introducing an audio output circuit and electronic device provided by the present disclosure, the application scenarios involved in the various embodiments of the present disclosure are first introduced. The present disclosure can be applied to the scenario where the electronic device outputs audio. In the audio output circuit design of the electronic device, including a speaker audio circuit and a headphone audio circuit, the user can receive the audio in the electronic device through the speaker or the headphone. In the current circuit design, in order to ensure the uniqueness of the audio output channel, the speaker audio circuit and the headphone audio circuit exist independently of each other. In other words, the speaker audio circuit and the headphone audio circuit need to control the output audio through two separate circuit structures respectively, which makes the audio output circuit of the electronic device relatively redundant and complex. For example, Figure 1 As shown, a structural block diagram of a currently commonly used audio output circuit 100 is shown, and the audio output circuit 100 includes a speaker audio circuit 101 and an earphone audio circuit 102. The speaker audio circuit 101 includes a power amplifier (currently a Class D power amplifier is commonly used as a medium power amplifier of the speaker audio circuit) and a speaker. For the earphone audio circuit 102, it is usually necessary to set a special audio codec module to encode and decode the audio signal, and convert it into a corresponding sine wave signal to output to the earphone device. Figure 1 As shown, the headphone audio circuit 102 includes an audio codec (i.e., Codec, the power amplifier currently used in Codec is Class AB) and a headphone interface (for connecting a headphone device). Due to the nonlinear characteristics of Class AB itself, the headphone audio circuit is easily interfered by electromagnetic waves, which in turn affects the final audio output effect, resulting in a poor user experience.

[0035] In order to solve the above technical problems, the present invention provides an audio output circuit and electronic device, which multiplexes the lines of the speaker and the headphone output module. After the audio power amplifier amplifies the audio signal, the speaker or the headphone output module can be selected through the audio switch module to output the processed target audio signal, thereby ensuring the uniqueness of the audio output channel. In addition, due to the line multiplexing of the speaker and the headphone output module, the audio output circuit is no longer dependent on the audio codec module, and the line architecture of the audio output circuit is simplified. At the same time, due to the characteristics of the audio power amplifier itself, the nonlinear characteristics are very small and are not easily interfered by electromagnetic waves, thereby ensuring the final output audio effect.

[0036] The specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0037] Figure 2 This is a block diagram of an audio output circuit according to an exemplary embodiment. The audio output circuit can be applied to electronic devices. The electronic devices can be mobile terminals such as smart phones, tablet computers, smart watches / bracelets, smart glasses, PDAs (Personal Digital Assistants), portable computers, and notebook computers; they can also be smart home devices, such as speakers, robots, etc.; they can also be fixed terminals such as desktop computers, smart TVs, and vehicle-mounted devices. Figure 2 As shown, the audio output circuit 200 includes: an audio power amplifier 201, an audio switch module 202, a speaker 203 and an earphone output module 204; the audio power amplifier 201 is connected to the speaker 203 and the earphone output module 204 respectively through the audio switch module 202.

[0038] In some embodiments, the audio power amplifier 201 may be, for example, a Class D power amplifier. Since the MOS tube of the Class D power amplifier operates in a constant current region, the Class D power amplifier has a small nonlinear characteristic and is not easily interfered by electromagnetic waves. The headphone output module 204 may be understood as an output interface connected to a headphone device, and multiple interfaces may be divided according to different channels. For example, if a left channel and a right channel are included, the corresponding interface may include a left channel interface and a right channel interface. The audio switch module 202 may be, for example but not limited to, a multiplexer (or mux for short).

[0039] The audio switch module 202 is configured to conduct a path between the audio power amplifier 201 and the speaker 203 , or to conduct a path between the audio power amplifier 201 and the earphone output module 204 .

[0040] Specifically, the audio switch module 202 is configured to conduct the path between the audio power amplifier 201 and the earphone output module 204 when the earphone output module 204 is connected to the earphone device. In other words, after recognizing that the user inserts the earphone device into the earphone output module 204 (that is, the earphone output module 204 is connected to the earphone device), the audio switch module 202 will conduct the path between the audio power amplifier 201 and the earphone output module 204. At this time, the path between the audio power amplifier 201 and the speaker 203 is disconnected, ensuring the uniqueness of the audio output channel.

[0041] When it is not recognized that the user inserts the earphone device into the earphone output module 204 (that is, it is not recognized that the earphone output module 204 is connected to the earphone device), the audio switch module 202 conducts the path between the audio power amplifier 201 and the speaker 203. At this time, the path between the audio power amplifier 201 and the earphone output module 204 is disconnected.

[0042] The audio power amplifier 201 is configured to perform signal amplification processing on the audio signal to be output, obtain a target audio signal, and output the target audio signal through the speaker 203 or the earphone output module 204.

[0043] When the audio switch module 202 conducts the path between the audio power amplifier 201 and the headphone output module 204, the audio power amplifier 201 performs signal amplification processing on the audio signal to be output, obtains the target audio signal, and outputs the target audio signal through the headphone output module 204. When the audio switch module 202 conducts the path between the audio power amplifier 201 and the speaker 203, the audio power amplifier 201 performs signal amplification processing on the audio signal to be output, obtains the target audio signal, and outputs the target audio signal through the speaker 203.

[0044] It should be noted that the current headphone device has a certain demodulation capability, and although the target audio signal output by the audio power amplifier 201 in this embodiment is a square wave signal, the audio power amplifier 201 can transmit the audio information by sending high and low level square wave signals with different durations. After receiving the target audio signal, the headphone device can convert the target audio signal into a corresponding sound signal through its own demodulation capability.

[0045] In some embodiments, when the audio switch module 202 conducts the path between the audio power amplifier 201 and the speaker 203, Figure 3 As shown, the connection architecture between the audio power amplifier 201 and the speaker 203 may be a full-bridge architecture, that is, the audio power amplifier 201 may drive the coil of the speaker 203 through a full-bridge output.

[0046] In some embodiments, Figure 4 As shown, the headphone output module 204 includes a first channel interface 2041 and a second channel interface 2042. Wherein, taking the output of the target audio signal including the left channel and the right channel as an example, when the first channel interface 2041 is the left channel interface, the second channel interface 2042 is the right channel interface. Correspondingly, when the first channel interface 2041 is the right channel interface, the second channel interface 2042 is the left channel interface. The first channel output end of the audio power amplifier 201 is connected to one end of the first channel interface 2041 of the headphone output module 204, and the second channel output end of the audio power amplifier 201 is connected to one end of the second channel interface 2042 of the headphone output module 204. The other end of the first channel interface 2041 of the headphone output module 204 and the other end of the second channel interface 2042 of the headphone output module 204 are grounded respectively.

[0047] Depend on Figure 4 It can be seen that in this embodiment, the full-bridge amplifier is split into two single-ended drive architectures for separate control. Figure 1In the prior art, when the audio codec is connected to the headphone device, four wires are required to be connected (left channel connection wire, right channel connection wire, ground wire and microphone connection wire). Figure 4 In the embodiment provided, it can be seen that the first channel output end of the audio power amplifier 201 is connected to one end of the first channel interface 2041 of the headphone output module 204, and the second channel output end of the audio power amplifier 201 is connected to one end of the second channel interface 2042 of the headphone output module 204. The other ends of the first channel interface 2041 and the second channel interface 2042 of the headphone output module 204 are grounded respectively. At this time, the headphone output module 204 and the audio power amplifier 201 only need to connect three connecting wires (the present disclosure) Figure 4 The third microphone connection line is not specifically shown in the figure), which saves the wiring space of the entire circuit to a certain extent and simplifies the wiring structure.

[0048] In some embodiments, considering that there are currently multiple forms of headphone connection interfaces, such as Type-C interface, 3.5mm interface, USB interface, etc., in order to be compatible with more connection methods, in this embodiment, Figure 5 As shown, when multiple headphone connection interfaces are included, the headphone output module 204 also includes an interface switch 2043; the first channel interface 2041 includes a headphone first channel interface 2041a and a USB first channel interface 2041b, and the second channel interface 2042 includes a headphone second channel interface 2042a and a USB second channel interface 2042b. One end of the interface switch 2043 is connected to the audio power amplifier 201 through the audio switch module 202, and the other end of the interface switch 2043 is respectively connected to the headphone first channel interface 2041a, the headphone second channel interface 2042a, the USB first channel interface 2041b, and the USB second channel interface 2042b. The interface switch 2043 may be, for example but not limited to, a multiplexer (or mux for short).

[0049] The interface switch 2043 is configured to conduct a first path or a second path; the first path includes a path between the audio switch module 202 and the headset first channel interface 2041a and a path between the audio switch module 202 and the headset second channel interface 2042a; the second path includes a path between the audio switch module 202 and the USB first channel interface 2041b and a path between the audio switch module 202 and the USB second channel interface 2042b.

[0050] For example, when the user inserts the earphone into the earphone interface, the interface switch 2043 conducts the path between the audio switch module 202 and the first channel interface 2041a of the earphone and conducts the path between the audio switch module 202 and the second channel interface 2042a of the earphone. At this time, the path between the audio switch module 202 and the USB first channel interface 2041b and the path between the audio switch module 202 and the USB second channel interface 2042b are disconnected. When the user inserts the earphone into the USB interface, the interface switch 2043 conducts the path between the audio switch module 202 and the USB first channel interface 2041b and conducts the path between the audio switch module 202 and the USB second channel interface 2042b. At this time, the path between the audio switch module 202 and the first channel interface 2041a of the earphone and the path between the audio switch module 202 and the second channel interface 2042a of the earphone are disconnected. When the earphone is not recognized to be inserted into the earphone interface or the earphone is inserted into the USB interface, the first path or the second path is disconnected, and the target audio signal cannot be output through the earphone output module 204.

[0051] When the first path or the second path is turned on, the audio switch module 202 will turn on the path between the audio power amplifier 201 and the earphone output module 204 accordingly.

[0052] In some embodiments, due to Figure 4 When setting the connection mode of the headphone output module 204, the full-bridge amplifier is split into two single-ended drive architectures for separate control. The introduction of the dual-unit architecture may also bring some headphone crosstalk problems, that is, crosstalk audio signals are generated in the left channel or the right channel. In other words, the left channel output signal contains more or less right channel output signals, or the right channel output signal contains more or less left channel output signals, which will affect the user's experience. Therefore, in order to solve the above technical problems, such as Figure 6 As shown, the circuit 200 further includes a compensation module 205 , one end of the compensation module 205 is connected to the audio power amplifier 201 , and the other end of the compensation module 205 is connected to the headphone output module 204 .

[0053] The compensation module 205 is configured to collect the complex impedance value of the target audio signal output by the headphone output module 204 , generate an audio compensation signal based on the complex impedance value, and output the audio compensation signal to the audio power amplifier 201 .

[0054] That is to say, the compensation module 205 can compare the complex impedance value of the target audio signal output by the headphone output module 204 with the target audio signal, thereby generating an audio compensation signal based on the complex impedance value. The audio compensation signal can be understood as a signal with a waveform opposite to that of the crosstalk audio signal. Afterwards, the audio compensation signal is output to the audio power amplifier 201 to eliminate the crosstalk audio signal in the channel that generates the crosstalk, thereby improving the accuracy of the left and right channel signals and accurately restoring the sound field distribution to the user.

[0055] In some embodiments, the circuit 200 further includes a power module, which is connected to the audio power amplifier 201 .

[0056] In one possible implementation, Figure 3 or Figure 4 As shown, the first input terminal of the audio power amplifier 201 is connected to the positive electrode of the power module, and the second input terminal of the audio power amplifier 201 is connected to the power ground of the power module.

[0057] In another possible implementation, considering Figure 4 In the half-bridge architecture, for example, VCC is 1V and GND is 0V. Then, the two-channel half-bridge architecture will output a 0.5V DC voltage to the headphone output module 204 respectively, which will cause the first channel interface 2041 and the second channel interface 2042 of the headphone output module 204 to generate a DC bias problem, thereby causing pop noise when powering on. In order to solve this problem, Figure 7 As shown, the first input terminal of the audio power amplifier 201 is connected to the positive electrode of the power module, and the second input terminal of the audio power amplifier 201 is connected to the negative electrode of the power module. For example, if VCC is 1V and -VCC is -1V. At this time, the half-bridge architecture of the two channels will output a DC voltage of 0V to the headphone output module 204 respectively, that is, no DC voltage will be generated at this time, thereby solving the DC bias problem caused by the half-bridge architecture and fundamentally avoiding the generation of pop noise.

[0058] By adopting the above scheme, by multiplexing the lines of the speaker and the headphone output module, after the audio power amplifier amplifies the audio signal, the speaker or the headphone output module can be selected through the audio switch module to output the processed target audio signal, thereby ensuring the uniqueness of the audio output channel. In addition, due to the line multiplexing of the speaker and the headphone output module, the audio output circuit is no longer dependent on the audio codec module, and the line architecture of the audio output circuit is simplified. At the same time, due to the characteristics of the audio power amplifier itself, the nonlinear characteristics are very small and are not easily interfered by electromagnetic waves, thereby ensuring the final output audio effect.

[0059] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment. Figure 8 As shown, the electronic device 300 includes Figures 2 to 7 An audio output circuit 200 is provided.

[0060] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0061] 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. An audio output circuit, characterized in that: The audio output circuit (200) comprises: an audio power amplifier (201), an audio switch module (202), a loudspeaker (203) and an earphone output module (204); the audio power amplifier (201) is connected to the loudspeaker (203) and the earphone output module (204) respectively through the audio switch module (202); The audio switch module (202) is configured to conduct a path between the audio power amplifier (201) and the speaker (203), or to conduct a path between the audio power amplifier (201) and the headphone output module (204); The audio power amplifier (201) is configured to perform signal amplification processing on the audio signal to be output, obtain a target audio signal, and output the target audio signal through the speaker (203) or the headphone output module (204).

2. The circuit according to claim 1, characterized in that The headphone output module (204) comprises a first channel interface (2041) and a second channel interface (2042); the first channel output end of the audio power amplifier (201) is connected to one end of the first channel interface (2041) of the headphone output module (204), and the second channel output end of the audio power amplifier (201) is connected to one end of the second channel interface (2042) of the headphone output module (204); the other end of the first channel interface (2041) of the headphone output module (204) and the other end of the second channel interface (2042) of the headphone output module (204) are grounded respectively.

3. The circuit according to claim 2, characterized in that The headphone output module (204) further comprises an interface switch (2043); the first sound channel interface (2041) comprises a headphone first sound channel interface (2041a) and a USB first sound channel interface (2041b), and the second sound channel interface (2042) comprises a headphone second sound channel interface (2042a) and a USB second sound channel interface (2042b); one end of the interface switch (2043) is connected to the audio power amplifier (201) via the audio switch module (202), and the other end of the interface switch (2043) is respectively connected to the headphone first sound channel interface (2041a), the headphone second sound channel interface (2042a), the USB first sound channel interface (2041b), and the USB second sound channel interface (2042b); The interface switch (2043) is configured to conduct a first path or a second path; the first path includes a path between the audio switch module (202) and the headset first channel interface (2041a) and a path between the audio switch module (202) and the headset second channel interface (2042a); the second path includes a path between the audio switch module (202) and the USB first channel interface (2041b) and a path between the audio switch module (202) and the USB second channel interface (2042b).

4. The circuit according to claim 1, characterized in that The circuit (200) further comprises a compensation module (205), one end of the compensation module (205) being connected to the audio power amplifier (201), and the other end of the compensation module (205) being connected to the headphone output module (204).

5. The circuit according to claim 4, characterized in that The compensation module (205) is configured to collect the complex impedance value of the target audio signal output by the headphone output module (204), generate an audio compensation signal based on the complex impedance value, and output the audio compensation signal to the audio power amplifier (201).

6. The circuit according to claim 1, characterized in that The circuit (200) further comprises a power supply module, wherein the power supply module is connected to the audio power amplifier (201).

7. The circuit according to claim 6, characterized in that The first input end of the audio power amplifier (201) is connected to the positive electrode of the power module, and the second input end of the audio power amplifier (201) is connected to the power ground of the power module.

8. The circuit according to claim 6, characterized in that The first input end of the audio power amplifier (201) is connected to the positive electrode of the power module, and the second input end of the audio power amplifier (201) is connected to the negative electrode of the power module.

9. The circuit according to any one of claims 1 to 8, characterized in that The audio switch module (202) is configured to open a path between the audio power amplifier (201) and the headphone output module (204) when the headphone output module (204) is connected to a headphone device.

10. An electronic device, characterized in that: The electronic device (300) comprises the audio output circuit (200) according to any one of claims 1 to 9.