Audio playing device

By controlling the switching circuit of the control chip to switch the ground pin of the audio playback device, the problem of background noise when the portable speaker is charging is solved, and the audio playback device and electronic device can be grounded together or disconnected, thus improving the audio playback quality.

CN224265100UActive Publication Date: 2026-05-19ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
ANKER INNOVATIONS TECH CO LTD
Filing Date
2025-04-29
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

When a portable speaker is connected to a computer via the AUX interface, the charging current backflow causes the AUX signal noise to increase, creating background noise and affecting the audio playback quality.

Method used

A control chip is used to control the switching circuit, which switches the grounding pin of the audio playback device according to the connection status of the connector, so as to realize the common ground or disconnection of the audio playback device and electronic device, and solve the grounding problem in charging and playback modes.

Benefits of technology

It effectively reduces AUX signal noise, improves audio playback quality, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224265100U_ABST
    Figure CN224265100U_ABST
Patent Text Reader

Abstract

The utility model discloses an audio playing device, which is connected with an electronic device, and comprises a first grounding pin; the first connector is used for establishing connection with the electronic equipment and transmitting an audio signal of the electronic equipment, and comprises a second grounding pin; the switching circuit is connected between the first connector and the first grounding pin; the control chip is connected with the first connector and the switching circuit; the second connector is connected with the control chip and is used for establishing connection with electronic equipment; wherein in response to the connection state of the first connector and the electronic equipment, the control chip controls the switching circuit based on the connection between the second connector and the electronic equipment, so that the first grounding pin and the second grounding pin are connected or disconnected. According to the invention, the problem of background noise when the audio playing device plays the audio is solved, and the audio playing quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments disclosed in this application relate to the field of electroacoustic technology, and more specifically, to an audio playback device. Background Technology

[0002] Portable speakers can be connected to a computer to play music via the AUX interface (Auxiliary interface), and can also be charged via the USB (Universal Serial Bus) interface. However, some of the charging current will flow back to the computer from the speaker's AUX interface through the AUX cable, which will increase the AUX signal noise and create background noise, especially noticeable in high-power speaker scenarios. Utility Model Content

[0003] According to embodiments of this application, an audio playback device is proposed to solve the above-mentioned problems.

[0004] The first aspect of this application discloses an audio playback device connected to an electronic device, the audio playback device comprising: a first ground pin; a first connector for establishing a connection with the electronic device and transmitting audio signals from the electronic device, and including a second ground pin; a switching circuit connected between the first connector and the first ground pin; a control chip connected to the first connector and the switching circuit; and a second connector connected to the control chip for establishing a connection with the electronic device; wherein, in response to the first connector being connected to the electronic device, the control chip controls the switching circuit based on the connection between the second connector and the electronic device, causing the first ground pin to connect or disconnect from the second ground pin.

[0005] In some embodiments, in response to the first connector being connected to the electronic device and the second connector being connected to the electronic device, the control chip controls the switching circuit to disconnect, thereby disconnecting the first ground pin from the second ground pin; in response to the first connector being connected to the electronic device and the second connector being disconnected from the electronic device, the control chip controls the switching circuit to turn on, thereby connecting the first ground pin to the second ground pin.

[0006] In some embodiments, the second connector includes a third ground pin; wherein, in response to the first connector being connected to the electronic device and the second connector being connected to the electronic device, the control chip controls the switching circuit to disconnect, such that the first ground pin is disconnected from the second ground pin and the first ground pin is connected to the third ground pin.

[0007] In some embodiments, the switching circuit includes a first switching sub-circuit and a second switching sub-circuit; wherein the first switching sub-circuit is connected to the first connector and the first ground pin, and the second switching sub-circuit is connected to the first switching sub-circuit and the control chip; wherein the control chip controls the first switching sub-circuit to turn off by controlling the conduction of the second switching sub-circuit, thereby disconnecting the first ground pin from the second ground pin, and connecting the first ground pin to the third ground pin.

[0008] In some embodiments, the first connector includes an audio transmission pin, and the control chip includes a first detection pin connected to the audio transmission pin; wherein, in response to the first connector being connected to the electronic device, the first detection pin is set to a high level.

[0009] In some embodiments, the first switching sub-circuit includes a first switching transistor, and the second switching sub-circuit includes a second switching transistor; the source of the first switching transistor is connected to the first ground pin, the drain of the first switching transistor is connected to the second ground pin, and the gate of the first switching transistor is connected to a preset voltage terminal and the second switching transistor; the source of the second switching transistor is connected to the first ground pin, the drain of the second switching transistor is connected to the gate of the first switching transistor, and the gate of the second switching transistor is connected to the control chip.

[0010] In some embodiments, the second connector includes a power supply voltage pin, and the control chip includes a second detection pin, the power supply voltage pin being connected to the second detection pin; wherein, in response to the second connector being connected to the electronic device, the second detection pin is configured to a high level; in response to the second connector not being connected to the electronic device, the second detection pin is configured to a low level.

[0011] In some embodiments, the control chip further includes a ground configuration pin connected to the gate of the second switching transistor; wherein, in response to the second detection pin being at a high level, the ground configuration pin is set to a high level to control the second switching transistor to be turned on; in response to the second detection pin being at a low level, the ground configuration pin is set to a low level to control the second switching transistor to be turned off.

[0012] In some embodiments, the second connector further includes a first differential signal pin and a second differential signal pin, the first differential signal pin and the second differential signal pin being respectively connected to the control chip for transmitting the first differential signal and the second differential signal; wherein, the control chip enumerates the first differential signal and the second differential signal to obtain the connection status between the second connector and the electronic device.

[0013] In some embodiments, the first switching sub-circuit further includes a first resistor, wherein the gate of the first switching transistor is connected to the preset voltage terminal through the first resistor; the second switching sub-circuit further includes a second resistor, wherein the gate of the second switching transistor is connected to the first ground pin through the second resistor.

[0014] The beneficial effects of this application are as follows: the audio playback device is connected to the electronic device, the audio playback device includes a first ground pin, a first connector, a second connector, a switching circuit and a control chip, wherein, in response to the first connector being connected to the electronic device, the control chip controls the switching circuit based on the connection between the second connector and the electronic device, so that the first ground pin is connected or disconnected from the second ground pin, thereby solving the problem of background noise when the audio playback device plays audio and improving the audio playback quality. Attached Figure Description

[0015] The present application will be further described below with reference to the accompanying drawings and embodiments. In the drawings:

[0016] Figure 1 This is a schematic diagram of the structure of an audio playback device according to an embodiment of this application;

[0017] Figure 2 This is a schematic diagram of the grounding circuit of an audio playback device according to an embodiment of this application;

[0018] Figure 3 This is a schematic diagram of the grounding circuit of an audio playback device according to another embodiment of this application;

[0019] Figure 4 This is a schematic diagram of the structure of an audio playback device according to an embodiment of this application;

[0020] Figure 5 This is a circuit diagram of an audio playback device according to an embodiment of this application. Detailed Implementation

[0021] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0022] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Additionally, the character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, "many" in this application means two or more. Moreover, the term "at least one" in this application means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C. Furthermore, the terms "first," "second," and "third" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features.

[0023] When a portable speaker is connected to a computer via its AUX port to play music and also charged via its USB port, some of the charging current flows back from the speaker's AUX port to the computer through the AUX cable, increasing AUX signal noise and creating background noise. Current methods to address this include using resistors to isolate the AUX ground from the speaker's main ground, reducing noise to some extent; however, this still generates and amplifies noise when the charging current changes. Alternatively, diodes can be used for isolation, preventing the charging current from returning to the computer from the AUX port's ground, thus eliminating charging noise. However, if only music is played via AUX (i.e., without the computer charging the speaker), the diode isolation results in the computer and speaker not sharing a common ground, increasing background noise and negatively impacting the user experience.

[0024] Therefore, this application proposes an audio playback device to solve the above-mentioned problems.

[0025] To enable those skilled in the art to better understand the technical solution of this application, the technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0026] Please see Figure 1 , Figure 1This is a schematic diagram of the structure of an audio playback device according to an embodiment of this application. The audio playback device 100 is connected to the electronic device 200. The audio playback device 100 includes a first ground pin 1001, a first connector 110, a second connector 120, a switching circuit 130, and a control chip 140. The audio playback device 100 can be a portable speaker. The first ground pin 1001 can be the ground (GND) of the audio playback device 100. The first connector 110 can be the AUX interface of the audio playback device 100 for transmitting audio data. The second connector 120 can be the USB interface of the audio playback device 100. The electronic device 200 can be a computer or other mobile device.

[0027] In some embodiments, the audio playback device 100 can establish a connection with the electronic device 200 through the first connector 110 and transmit audio signals from the electronic device 200 through the first connector 110, for example, inputting audio from the electronic device 200 for playback through the first connector 110. The first connector 110 includes a second ground pin 1101, such as the ground AUX_GND of an AUX interface. A switching circuit 130 is connected between the first connector 110 and the first ground pin 1001. A control chip 140 is connected to the first connector 110 and the switching circuit 130. A second connector 120 is connected to the control chip 140 for establishing a connection with the electronic device 200.

[0028] In response to the first connector 110 being connected to the electronic device 200, the control chip controls the switching circuit 130 based on the connection between the second connector 120 and the electronic device 200, causing the first ground pin 1001 and the second ground pin 1101 to connect or disconnect. For example, in response to the first connector 110 being connected to the electronic device 200, the control chip controls the switching circuit 130 to turn on and off based on the connection between the second connector 120 and the electronic device 200, thereby controlling the connection or disconnection of the first ground pin 1001 and the second ground pin 1101.

[0029] In this embodiment, the audio playback device 100 is connected to the electronic device 200. The audio playback device 100 includes a first ground pin 1001, a first connector 110, a second connector 120, a switching circuit 130, and a control chip 140. In response to the first connector 110 being connected to the electronic device 200, the control chip controls the switching circuit 130 based on the connection between the second connector 120 and the electronic device 200, so that the first ground pin 1001 and the second ground pin 1101 are connected or disconnected. This solves the background noise problem of the audio playback device 100 when playing audio and improves the audio playback quality.

[0030] In some embodiments, in response to the first connector 110 being connected to the electronic device 200 and the second connector 120 being connected to the electronic device 200, the control chip 140 controls the switch circuit 130 to disconnect, thereby disconnecting the first ground pin 1001 from the second ground pin 1101; in response to the first connector 110 being connected to the electronic device 200 and the second connector 120 being disconnected, the control chip 140 controls the switch circuit 130 to turn on, thereby connecting the first ground pin 1001 to the second ground pin 1101.

[0031] In response to the first connector 110 being connected to the electronic device 200 and the second connector 120 being connected to the electronic device 200, the control chip 140 controls the switch circuit 130 to disconnect, causing the first ground pin 1001 to disconnect from the second ground pin 1101. For example, while the electronic device 200 is playing audio through the first connector 110, it is also charging the audio playback device 100 through the second connector 120. The control chip 140 controls the switch circuit 130 to disconnect, causing the first ground pin 1001 to disconnect from the second ground pin 1101. This allows the audio playback device 100 and the electronic device 200 to share a common ground through the second connector 120, thereby blocking the current returning to ground on the AUX transmission line in the audio playback device 100 and reducing AUX noise floor.

[0032] Alternatively, in response to the first connector 110 being connected to the electronic device 200 and the second connector 120 being disconnected from the electronic device 200, the control chip 140 controls the switch circuit 130 to conduct, thereby connecting the first ground pin 1001 and the second ground pin 1101. For example, when the electronic device 200 is only playing audio through the first connector 110 and not charging the audio playback device 100 through the second connector 120, the control chip 140 controls the switch circuit 130 to conduct, thereby connecting the first ground pin 1001 and the second ground pin 1101, thus maintaining an electrical connection between AUX_GND and the GND of the audio playback device 100, thereby not increasing the background noise during audio playback.

[0033] Understandably, the control chip controls the switching circuit 130 based on the connection between the second connector 120 and the electronic device 200, so that the first ground pin 1001 and the second ground pin 1101 are connected or disconnected, changing the grounding mode of the audio device 100, thereby solving the background noise problem of the audio playback device 100 when playing audio and improving the audio playback quality.

[0034] In some examples, the audio playback device 100 includes at least two playback modes, such as a music playback mode and a charging mode. When the audio playback device 100 is in music playback mode, such as... Figure 2 As shown, Figure 2 This is a schematic diagram of the grounding circuit of an audio playback device according to an embodiment of this application. The first connector 110 is connected to the electronic device 200, and the second connector 120 is not connected to the electronic device 200. The control chip 140 controls the switch circuit 130 to conduct, connecting the first grounding pin 1001 to the second grounding pin 1101. When the audio playback device 100 is simultaneously in music playback mode and charging mode, such as... Figure 3 As shown, Figure 3 This is a grounding circuit diagram of an audio playback device according to another embodiment of this application. The first connector 110 is connected to the electronic device 200, and the second connector 120 is connected to the electronic device 200. The control chip 140 controls the switch circuit 130 to disconnect, so that the first grounding pin 1001 and the second grounding pin 1101 are disconnected.

[0035] Please continue reading. Figure 1 In some embodiments, the second connector 120 includes a third ground pin 1201, such as the ground USB_GND of the USB interface.

[0036] Among them, such as Figure 3 As shown, in response to the first connector 110 being connected to the electronic device 200 and the second connector 120 being connected to the electronic device 200, i.e., the video playback device 100 is simultaneously in music playback mode and charging mode, the control chip 140 controls the switch circuit 130 to disconnect, so that the first ground pin 1001 is disconnected from the second ground pin 1101, and the first ground pin 1001 is connected to the third ground pin 1201.

[0037] In this embodiment of the application, in response to the first connector 110 being connected to the electronic device 200 and the second connector 120 being connected to the electronic device 200, the audio playback device 100 and the electronic device 200 are grounded through the third grounding pin 1201, thereby blocking the current returning to ground on the AUX transmission line in the audio playback device 100 and reducing the AUX noise floor.

[0038] In some embodiments, such as Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of an audio playback device according to an embodiment of this application. The switching circuit 130 includes a first switching sub-circuit 1301 and a second switching sub-circuit 1302. The first switching sub-circuit 1301 and the second switching sub-circuit 1302 may include devices such as NMOS transistor switches, PMOS transistor switches, and load switches.

[0039] The first switch sub-circuit 1301 is connected to the first connector 110 and the first ground pin 1001. The second switch sub-circuit 1302 is connected to the first switch sub-circuit 1301 and the control chip 140. The control chip 140 controls the first switch sub-circuit 1301 to be turned off by controlling the conduction of the second switch sub-circuit 1302, thereby disconnecting the first ground pin 1001 from the second ground pin 1101. The first ground pin 1001 is connected to the third ground pin 1201.

[0040] like Figures 4-5 As shown, Figure 5 This is a circuit diagram of an audio playback device according to an embodiment of this application. The switching circuit 130 includes a first switching sub-circuit 1301 and a second switching sub-circuit 1302. The first switching sub-circuit 1301 includes a first switching transistor Q1, and the second switching sub-circuit 1302 includes a second switching transistor Q2. The first switching transistor Q1 is connected to the first connector 110 and the first ground pin 1001, and the second switching transistor Q2 is connected to the first switching transistor Q1 and the control chip 140. In some examples, the control chip 140 can control the first switching transistor Q1 to be turned off by controlling the conduction of the second switching transistor Q2, thereby disconnecting the first ground pin 1001 from the second ground pin 1101, while keeping the first ground pin 1001 connected to the third ground pin 1201.

[0041] In some embodiments, such as Figure 5 As shown, the source of the first switching transistor Q1 is connected to the first ground pin 1001, the drain of the first switching transistor Q1 is connected to the second ground pin 1101, and the gate of the first switching transistor Q1 is connected to the preset voltage terminal V1 and the second switching transistor Q2. The source of the second switching transistor Q2 is connected to the first ground pin 1001, the drain of the second switching transistor Q2 is connected to the gate of the first switching transistor Q1, and the gate of the second switching transistor Q2 is connected to the control chip 140.

[0042] In some examples, such as when the audio playback device 100 is in music playback mode, the second switch Q2 is not turned on, the preset voltage terminal V1 is -3.3V, the gate of the first switch Q1 is connected to -3.3V and the second switch Q2, and the first ground pin 1001 is connected to the second ground pin 1101, thereby maintaining an electrical connection between AUX_GND and the GND of the audio playback device 100 to reduce the background noise during audio playback.

[0043] In some embodiments, such as Figure 5 As shown, the first connector 110 includes an audio transmission pin, such as pin 5 of the first connector 110, and the control chip 140 includes a first detection pin AUX_DET, which is connected to the audio transmission pin.

[0044] In response to the first connector 110 being connected to the electronic device 200, the first detection pin AUX_DET is set to a high level. Understandably, the control chip 140 detects the state of the first detection pin AUX_DET; if the first detection pin AUX_DET is high, it determines that the AUX port is connected.

[0045] In some embodiments, such as Figure 5 As shown, the second connector 120 includes a power supply voltage pin VBUS, and the control chip 140 includes a second detection pin VBUS_DET. The power supply voltage pin VBUS is connected to the second detection pin VBUS_DET. Specifically, in response to the second connector 120 being connected to the electronic device 200, the second detection pin VBUS_DET is configured to a high level; in response to the second connector 120 not being connected to the electronic device 200, the second detection pin VBUS_DET is configured to a low level.

[0046] In some examples, the control chip 140 can determine the connection status of the first connector 110, the second connector 120 and the electronic device 200 by detecting the state of the first detection pin AUX_DET and the second detection pin VBUS_DET. For example, when both the computer's USB port and AUX port are plugged into the speaker, the second detection pin VBUS_DET is at a high level, and the control chip 140 detects that the computer's USB port is connected. Further, the control chip 140 detects the state of the first detection pin AUX_DET. If the first detection pin AUX_DET is at a high level, it determines that the AUX port is connected.

[0047] In some embodiments, such as Figure 5 As shown, the control chip 140 also includes a ground configuration pin GND_SEL, which is connected to the gate of the second switching transistor Q2.

[0048] In this configuration, in response to the second detection pin VBUS_DET being high, the ground configuration pin GND_SEL is set to high to control the second switch Q2 to turn on. In some examples, when the second detection pin VBUS_DET is high, the control chip 140 detects a computer USB port connection. Further, the control chip 140 sets the ground configuration pin GND_SEL to high to control the second switch Q2 to turn on, causing the first switch Q1 to turn off. Consequently, the first ground pin 1001 and the second ground pin 1101 are disconnected, allowing the audio playback device 100 and the electronic device 200 to share a common ground via the second connector 120.

[0049] Alternatively, in response to the second detection pin VBUS_DET being low, the ground configuration pin GND_SEL is set low to control the second switch Q2 to turn off. In some examples, when the second detection pin VBUS_DET is low, the control chip 140 sets the ground configuration pin GND_SEL low to control the second switch Q2 to not conduct. At this time, the first switch Q1 is turned on, that is, the first ground pin 1001 is connected to the second ground pin 1101, thereby maintaining the electrical connection between AUX_GND and the GND of the audio playback device 100.

[0050] In some embodiments, such as Figure 5 As shown, the second connector 120 also includes a first differential signal pin D+ and a second differential signal pin D-. The first differential signal pin D+ and the second differential signal pin D- are respectively connected to the control chip 140. The first differential signal pin D+ is used to transmit a first differential signal, and the second differential signal pin D- is used to transmit a second differential signal. The control chip 140 enumerates the first differential signal and the second differential signal to obtain the connection status between the second connector 120 and the electronic device 200.

[0051] In USB communication, enumeration refers to the process by which a host identifies, configures, and activates a USB device through a series of standardized steps when the device is connected. For example, by pulling up D+ (full speed / high speed) or D- (low speed) with a pull-up resistor (1.5kΩ), the host detects level changes to identify the device insertion and speed mode. In some examples, the second detection pin VBUS_DET is high, and the control chip 140 enumerates the USB via D+ / D-. If the enumeration is successful, it determines that the second connector 120 is successfully connected to the electronic device 200. Furthermore, the control chip 140 sets the ground configuration pin GND_SEL high to control the second switch Q2 to conduct, thus deactivating the first switch Q1. Consequently, the first ground pin 1001 and the second ground pin 1101 are disconnected, allowing the audio playback device 100 and the electronic device 200 to share a common ground through the second connector 120.

[0052] In some embodiments, such as Figure 5 As shown, the first switch sub-circuit 1301 also includes a first resistor R1. The gate of the first switch transistor Q1 is connected to a preset voltage terminal V1 through the first resistor R1. One end of the first resistor R1 is connected to the gate of the first switch transistor Q1, and the other end of the first resistor R1 is connected to the preset voltage terminal V1, thereby improving the stability and reliability of the circuit.

[0053] In some embodiments, such as Figure 5As shown, the second switch sub-circuit 1302 also includes a second resistor R2. The gate of the second switch transistor Q2 is connected to the first ground pin 1001 through the second resistor R2. One end of the second resistor R2 is connected to the gate of the second switch transistor Q2, and the other end of the second resistor R2 is connected to the first ground pin 1001, thereby improving the stability and reliability of the circuit.

[0054] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.

[0055] In the several embodiments provided in this application, it should be understood that the disclosed methods and related devices can be implemented in other ways. For example, the related device implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication disconnection shown or discussed may be indirect coupling or communication disconnection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0056] Those skilled in the art will readily recognize that numerous modifications and variations can be made to the apparatus and method while maintaining the teachings of this application. Therefore, the above disclosure should be considered limited only by the scope of the appended claims.

Claims

1. An audio playback device, characterized in that, The audio playback device, connected to an electronic device, includes: First grounding pin; A first connector is used to establish a connection with the electronic device and to transmit audio signals from the electronic device, and includes a second ground pin; A switching circuit is connected between the first connector and the first ground pin; A control chip is connected to the first connector and the switching circuit. The second connector is connected to the control chip and is used to establish a connection with the electronic device; In response to the first connector being connected to the electronic device, the control chip controls the switching circuit based on the connection between the second connector and the electronic device, causing the first ground pin to connect or disconnect from the second ground pin.

2. The device according to claim 1, characterized in that, In response to the first connector being connected to the electronic device and the second connector being connected to the electronic device, the control chip controls the switching circuit to disconnect, thereby disconnecting the first ground pin from the second ground pin; In response to the first connector being connected to the electronic device and the second connector being disconnected from the electronic device, the control chip controls the switching circuit to turn on, so that the first ground pin is connected to the second ground pin.

3. The device according to claim 2, characterized in that, The second connector includes a third ground pin; In response to the first connector being connected to the electronic device and the second connector being connected to the electronic device, the control chip controls the switching circuit to disconnect, thereby disconnecting the first ground pin from the second ground pin and connecting the first ground pin to the third ground pin.

4. The device according to claim 3, characterized in that, The switching circuit includes a first switching sub-circuit and a second switching sub-circuit; Wherein, the first switch sub-circuit is connected to the first connector and the first ground pin, and the second switch sub-circuit is connected to the first switch sub-circuit and the control chip; The control chip controls the first switch sub-circuit to turn off by controlling the conduction of the second switch sub-circuit, thereby disconnecting the first ground pin from the second ground pin and connecting the first ground pin to the third ground pin.

5. The device according to claim 4, characterized in that, The first connector includes an audio transmission pin, and the control chip includes a first detection pin, which is connected to the audio transmission pin. In response to the first connector being connected to the electronic device, the first detection pin is set to a high level.

6. The device according to claim 4, characterized in that, The first switching sub-circuit includes a first switching transistor, and the second switching sub-circuit includes a second switching transistor; The source of the first switching transistor is connected to the first ground pin, the drain of the first switching transistor is connected to the second ground pin, and the gate of the first switching transistor is connected to a preset voltage terminal and the second switching transistor. The source of the second switching transistor is connected to the first ground pin, the drain of the second switching transistor is connected to the gate of the first switching transistor, and the gate of the second switching transistor is connected to the control chip.

7. The device according to claim 6, characterized in that, The second connector includes a power supply voltage pin, and the control chip includes a second detection pin, the power supply voltage pin being connected to the second detection pin; In response to the second connector being connected to the electronic device, the second detection pin is configured to be at a high level; In response to the second connector not being connected to the electronic device, the second detection pin is configured to a low level.

8. The device according to claim 7, characterized in that, The control chip also includes a ground configuration pin, which is connected to the gate of the second switching transistor; In response to the second detection pin being at a high level, the ground configuration pin is set to a high level to control the second switch to be turned on; In response to the second detection pin being low, the ground configuration pin is set to low to control the second switch to turn off.

9. The device according to claim 7, characterized in that, The second connector further includes a first differential signal pin and a second differential signal pin, which are respectively connected to the control chip for transmitting the first differential signal and the second differential signal. The control chip enumerates the first differential signal and the second differential signal to obtain the connection status between the second connector and the electronic device.

10. The device according to claim 6, characterized in that, The first switching sub-circuit further includes a first resistor, wherein the gate of the first switching transistor is connected to the preset voltage terminal through the first resistor; The second switching sub-circuit further includes a second resistor, wherein the gate of the second switching transistor is connected to the first ground pin through the second resistor.