Electronic devices
By setting up a switch unit and an overvoltage protection unit in the external interface of the electronic device, combining resistive voltage division and transient voltage suppression diodes, the problem of the device being unable to fast charge and communication is solved, and the device's high voltage resistance and reliability are improved .
Patent Information
- Application Number
- CN202310686333.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2043-06-09
AI Technical Summary
During use, electronic devices may have problems such as not being able to fast charge or being unable to communicate with other devices through external interfaces, especially because the switching unit is burned out by high-voltage DC.
Set the switching unit between the D+ and D- pins of the external interface, and through the overvoltage protection unit and the resistor voltage division, the operating voltage difference of the switching unit is controlled to be less than the preset value to reduce the damage to the switching unit by high-voltage DC. Transient voltage suppression diodes and filters are used to divide the static electricity and surges.
It effectively reduces the probability that the switching unit and load are burned out by high-voltage DC, ensures that the electronic equipment can be fast-charging normally and communicates with other equipment through external interfaces, reducing the damage to the equipment by static electricity and surges.
Smart Images

Figure CN117708012B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an electronic device. Background Art
[0002] In a possible implementation, the electronic device is provided with an external interface, such as a type-C interface, etc. The electronic device can be charged through the external interface and can also communicate with analog headphones or other electronic devices.
[0003] However, during the use of electronic devices, it may happen that the electronic devices cannot be quickly charged or the electronic devices cannot communicate with each other through external interfaces. Summary of the invention
[0004] The embodiment of the present application provides an electronic device, which is applied to the field of terminal technology. By setting a first switch unit between the D+ pin of the external interface and the switching unit, and setting a second switch unit between the D- pin of the external interface and the switching unit, when the voltage transmitted from the D+ pin of the external interface to the first switch unit is greater than the voltage of the control end of the first switch unit, the first switch unit is turned off, and when the voltage transmitted from the D- pin of the external interface to the second switch unit is greater than the voltage of the control end of the second switch unit, the second switch unit is turned off. The difference between the voltage at the control end of the first switch unit and the operating voltage of the switching unit is a preset value. The difference between the voltage at the control end of the second switch unit and the operating voltage of the switching unit is a preset value. In this way, the probability of the switching unit being burned out by high-voltage direct current can be reduced, thereby reducing the probability that the electronic device cannot be fast charged and that the electronic devices cannot communicate through the external interface.
[0005] The embodiment of the present application provides an electronic device, comprising: an external interface, a first switch unit, a second switch unit, a switching unit and an overvoltage protection unit;
[0006] The external interface includes a first data transmission pin and a second data transmission pin;
[0007] The first switch unit is connected between the first data transmission pin and the switching unit, and the second switch unit is connected between the second data transmission pin and the switching unit; the overvoltage protection unit is connected to the control end of the first switch unit and the control end of the second switch unit; the switching unit is connected to the load of the electronic device; the load includes a communication unit and an audio processing unit;
[0008] The switching unit is used to connect the first data transmission pin and the second data transmission pin to the audio processing unit when the external interface is connected to the analog headset, and disconnect the first data transmission pin and the second data transmission pin from the communication unit; and, when the external interface is connected to the charger, connect the first data transmission pin and the second data transmission pin to the communication unit, and disconnect the first data transmission pin and the second data transmission pin from the audio processing unit;
[0009] An overvoltage protection unit is used to provide a control voltage to the control end of the first switch unit and the control end of the second switch unit, and the difference between the control voltage and the working voltage of the switching unit is less than a preset value; the first switch unit is used to shut down when the voltage transmitted from the first data transmission pin to the first switch unit is greater than the voltage of the control end of the first switch unit; the second switch unit is used to shut down when the voltage transmitted from the second data transmission pin to the second switch unit is greater than the voltage of the control end of the second switch unit.
[0010] In this way, when high-voltage direct current is transmitted to the first switch unit through the first data transmission pin of the external interface, the first switch unit is turned off, and / or, when high-voltage direct current is transmitted to the second switch unit through the second data transmission pin of the external interface, the second switch unit is turned off, which can reduce the probability of the switching unit being burned out by the high-voltage direct current, thereby reducing the probability of the electronic device being unable to charge quickly due to the switching unit being burned out, and the electronic device being unable to communicate with analog headphones and other electronic devices through the external interface, and can also reduce the probability of the load being burned out by the high-voltage direct current.
[0011] In a possible implementation, the overvoltage protection unit includes a first control voltage supply pin and a second control voltage supply pin; the electronic device also includes a first resistor and a second resistor;
[0012] The first control voltage supply pin is connected to the control end of the first switch unit through a first resistor, and the second control voltage supply pin is connected to the control end of the second switch unit through a second resistor.
[0013] In this way, the voltage division effect of the first resistor can reduce the probability that static electricity passes through the first switch unit and damages the overvoltage protection unit. The voltage division effect of the second resistor can reduce the probability that static electricity passes through the second switch unit and damages the overvoltage protection unit.
[0014] In a possible implementation, the electronic device further includes a first voltage clamping module and a second voltage clamping module;
[0015] The first voltage clamping module is connected between the first data transmission pin and the ground terminal, and the second voltage clamping module is connected between the second data transmission pin and the ground terminal.
[0016] In this way, the electrostatic voltage and / or surge voltage transmitted to the first switch unit can be lower than the voltage at the control end of the first switch unit, or lower than the maximum withstand voltage of the switching unit; the electrostatic voltage and / or surge voltage transmitted to the second switch unit can also be lower than the voltage at the control end of the second switch unit, or lower than the maximum withstand voltage of the switching unit, thereby reducing the probability of static electricity and / or surges damaging the overvoltage protection unit and damaging the switching unit, and reducing the impact of static electricity and / or surges on the first switch unit and the second switch unit.
[0017] In a possible implementation, the electronic device further includes a third voltage clamping module and a fourth voltage clamping module;
[0018] One end of the third voltage clamping module is connected between the first switch unit and the switching unit, and the other end of the third voltage clamping module is grounded; one end of the fourth voltage clamping module is connected between the second switch unit and the switching unit, and the other end of the fourth voltage clamping module is grounded;
[0019] The clamping voltage of the third voltage clamping module is lower than the clamping voltage of the first voltage clamping module, and the clamping voltage of the fourth voltage clamping module is lower than the clamping voltage of the second voltage clamping module.
[0020] In this way, even if the first switch unit and the second switch unit are not turned off in time, the electrostatic voltage and / or surge voltage transmitted to the switching unit can still be lower than the maximum tolerance voltage of the switching unit, thereby reducing the probability of static electricity and / or surge damaging the switching unit.
[0021] In a possible implementation, the first voltage clamping module includes a transient voltage suppression diode, or the first voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel;
[0022] The second voltage clamping module includes a transient voltage suppression diode, or the second voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel.
[0023] In this way, the protection capability and application range of the first voltage clamping module and the second voltage clamping module can be improved, and the cost of the electronic equipment can be reduced.
[0024] In a possible implementation, the third voltage clamping module includes a transient voltage suppression diode, or the third voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel;
[0025] The fourth voltage clamping module includes a transient voltage suppression diode, or the fourth voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel.
[0026] In this way, the protection capability and application range of the third voltage clamping module and the fourth voltage clamping module can be improved, and the cost of the electronic equipment can be reduced.
[0027] In a possible implementation, the electronic device further includes a first filter;
[0028] The first filter is connected between the first switch unit and the switching unit, and the first filter is also connected between the second switch unit and the switching unit.
[0029] In this way, the first filter can divide the static electricity and surge, so that the switching unit is not damaged by the static electricity and / or surge.
[0030] In a possible implementation, the electronic device further includes a current limiting unit; the current limiting unit includes a resistor, an inductor, or a resistor and an inductor connected in series;
[0031] The current limiting unit is connected between the first switch unit and the switching unit, and the current limiting unit is also connected between the second switch unit and the switching unit.
[0032] In this way, the voltage dividing function of the current limiting unit can also divide the static electricity and surge passing through the first switch unit and the second switch unit, so that the switch unit is not damaged by the static electricity and / or surge.
[0033] In a possible implementation, the electronic device further includes a second filter;
[0034] The second filter is connected between the first data transmission pin and the first switch unit, and the second filter is also connected between the second data transmission pin and the second switch unit.
[0035] In this way, if the second filter is connected between the first data transmission pin and the first voltage clamping module, and the second filter is also connected between the second data transmission pin and the second voltage clamping module, the second filter can divide the high-voltage DC input by the first data transmission pin and the second data transmission pin, thereby reducing the probability of the first voltage clamping module and the second voltage clamping module being damaged by the high-voltage DC.
[0036] If the second filter is connected between the first voltage clamping module and the first switch unit, and the second filter is also connected between the second voltage clamping module and the second switch unit, even if the first voltage clamping module and the second voltage clamping module fail, the second filter can divide the static electricity and surge, thereby reducing the impact of static electricity and / or surge on the first switch unit and the second switch unit.
[0037] In a possible implementation, the load also includes a fast charging chip;
[0038] The fast charging chip is connected to the switching unit.
[0039] In this way, due to the protective effect of the first switch unit and the second switch unit, the probability of the fast charging chip being burned out by high-voltage direct current can be reduced.
[0040] In a possible implementation, the load further includes a fast charging chip; the electronic device further includes a third resistor and a fourth resistor;
[0041] One pin of the fast charging chip is connected between the first data transmission pin and the first switch unit through a third resistor, and another pin of the fast charging chip is connected between the second data transmission pin and the second switch unit through a fourth resistor.
[0042] In this way, when the VBUS pin of the external interface corrodes, causing high-voltage DC to be input into the electronic device from the first data transmission pin and the second data transmission pin, the protective function of the first switch unit and the second switch unit can reduce the probability of the switching unit being burned out by the high-voltage DC. The voltage-dividing effect of the third resistor and the fourth resistor on the high-voltage DC can also reduce the probability of the fast charging chip being burned out by the high-voltage DC. In addition, during the process of the fast charging charger fast charging the electronic device, the fast charging chip can maintain communication with the fast charging charger, and based on the monitoring results of the charging status of the electronic device, the fast charging chip can instruct the fast charging charger to adjust the charging voltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a scenario provided for an embodiment of the present application;
[0044] Figure 2 A schematic diagram of a Type-C interface of an electronic device provided in an embodiment of the present application;
[0045] Figure 3 is a schematic diagram of a circuit of the electronic device 100 in a possible implementation;
[0046] Figure 4 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 1 ;
[0047] Figure 5 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 2 ;
[0048] Figure 6 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 3 ;
[0049] Figure 7 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 4 ;
[0050] Figure 8 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 5 ;
[0051] Fig. 9 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 6 ;
[0052] Fig.10 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 7 ;
[0053] Fig.11 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 8 ;
[0054] Fig.12 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 9 ;
[0055] Fig.13 A schematic diagram of an equivalent circuit of an electronic device 100 provided in an embodiment of the present application;
[0056] Fig.14 A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to clearly describe the technical solutions of the embodiments of the present application, some technical terms and techniques involved in the embodiments of the present application are briefly introduced below.
[0058] 1. Common mode inductor
[0059] The common mode inductor may also be called a common mode choke. The common mode inductor may include a magnetic core and at least two windings. The at least two windings are wound on the same magnetic core. The common mode inductor may be used to filter electromagnetic interference signals.
[0060] For example, a common-mode inductor includes two windings, the two windings include a first winding and a second winding. Due to the influence of the process, there may be a certain difference in the impedance of the first winding and the second winding. Therefore, the maximum voltage that the first winding and the second winding of the common-mode inductor can withstand may be different. For example, the impedance of the first coil may be 1Ω greater than the impedance of the second coil, the maximum voltage that the first coil can withstand may be 10V, and the maximum voltage that the second coil can withstand may be 9.2V.
[0061] 2. Transient voltage suppression diode (TVS)
[0062] TVS diodes can also be called transient voltage suppressors or avalanche breakdown diodes. When the circuit is working normally, the TVS diode does not work and is in the cut-off state (high resistance state). When an abnormal overvoltage occurs in the circuit and the voltage value reaches the breakdown voltage of the TVS diode, the TVS diode can suddenly change from a high resistance state to a low resistance state, that is, the TVS diode is turned on. The instantaneous overcurrent caused by the abnormal overvoltage can flow to the ground terminal through the TVS diode. At the same time, the TVS diode can clamp the voltage at a lower voltage value to protect the subsequent circuit.
[0063] 3. Electronic equipment
[0064] The electronic device of the embodiment of the present application may be any form of electronic device. For example, the electronic device may include a handheld device, a vehicle-mounted device, etc. with an image processing function. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, electronic devices in 5G networks or future evolved public land mobile communication networks (public land mobile The electronic devices in the network (PLMN) and the like are not limited to this in the embodiments of the present application.
[0065] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0066] In addition, in the embodiments of the present application, the electronic device may also be an electronic device in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0067] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0068] 4. In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0069] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0070] It should be noted that the "at..." in the embodiment of the present application can be the instant when a certain situation occurs, or a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the display interface provided in the embodiment of the present application is only an example, and the display interface can also include more or less content.
[0071] Figure 1 A schematic diagram of a scenario provided in an embodiment of the present application. In order to enable an electronic device to be connected to an external device, the electronic device may include: Figure 1 The external interface shown in the figure is an external device such as a charger, an analog headset (for example, having a 3.5 mm headset interface) or other electronic devices.
[0072] Other electronic devices, such as electronic devices without charging function. The charger may include a fast charging charger and a non-fast charging charger.
[0073] like Figure 1 As shown, the scenario may include an electronic device 100, a charger 101 and a charging cable 102. The electronic device 100 and the charger 101 may be connected via the charging cable 102. Both the electronic device 100 and the charging cable 102 are provided with an external interface. The external interface may be a universal serial bus (USB) interface.
[0074] In the embodiment of the present application, an external interface is taken as an example of a universal serial bus Type-C (universal serial bus Type-C, USB Type-C) interface (hereinafter referred to as Type-C interface). The charger 101 can be connected to the Type-C interface on the electronic device 100 through the Type-C interface on the charging cable 102 to charge the electronic device, wherein the Type-C interface on the charging cable 102 can be called a Type-C male head, and the Type-C interface on the electronic device 100 can be called a Type-C female head.
[0075] It should be understood that Figure 1 The Type-C interface of the electronic device shown in the figure is only an example and does not limit the form of the external interface of the electronic device 100 in the present application. In addition, the charger and charging cable in the embodiment of the present application can also be replaced by other external devices connected to the electronic device, and the external device can be connected to the electronic device through the Type-C interface.
[0076] For example, Figure 2 A schematic diagram of a Type-C interface of an electronic device 100 is shown.
[0077] like Figure 2 As shown in the figure, the Type-C interface includes 24 pins, namely A1-A12 and B1-B12. Because the functions of A1-A12 and B1-B12 are similar, the following takes pins A1-A12 as an example to explain the function of each pin.
[0078] Pins A1 and A12: Ground pins, also called GND pins.
[0079] Pins A2 and A3: data transmission pins, also known as TX1+ pin and TX1- pin, can be used for compatibility with USB3.0 and USB3.1.
[0080] Pins A4 and A9: connected to the power supply module in the terminal device so that the terminal device can power the Type-C interface, that is, the terminal device provides VBUS for the Type-C interface, also known as the VBUS pin.
[0081] Pin A5: External device detection pin, also known as CC1 pin, used to detect the type of external device, where the type of external device may include: downstream facing port (DFP) device and upstream facing port (UFP) device.
[0082] Pins A6 and A7: Data transmission pins, also known as D+ and D- pins, are used to transmit audio and video streams or files. Electronic devices can also output voltage signals to the charger through the D+ and D- pins based on the fast charging protocol. The USB decoding chip built into the charger can determine the voltage that the charger needs to output based on the voltage signal to quickly charge the electronic device. In normal charging mode (not using fast charging), the charging voltage transmitted by the above VBUS pin is generally not more than 5V. In fast charging mode, the charging voltage transmitted can be as high as 20V.
[0083] In the embodiment of the present application, the D+ pin may also be referred to as a first data transmission pin, and the D- pin may also be referred to as a second data transmission pin.
[0084] Pins A6 and A7 can be used for compatibility with USB2.0.
[0085] Pin A8: Function expansion pin, also known as SBU1 pin.
[0086] Pins A10 and A11: data receiving pins, also known as RX2+ pin and RX2- pin, can be used for compatibility with USB3.0 and USB3.1.
[0087] The functions of B1-B12 correspond to A1-A12, and will not be repeated here. B1-B12 can be called: GND, TX2+, TX2-, VBUS, CC2, D+, D-, SBU2, VBUS, RX1+, RX1-, GND respectively.
[0088] Pins A1-A12 correspond to the A-layer gold fingers, and pins B1-B12 correspond to the B-layer gold fingers. Figure 2 It can be seen that the A-layer gold finger and the B-layer gold finger are asymmetric at CC1, SBU2, CC2 and SBU1, and the signals are symmetric at other places.
[0089] Figure 3 FIG. 1 is a schematic diagram showing a circuit of the electronic device 100 in a possible implementation. Figure 3 As shown, the electronic device includes an external interface 201, a switching unit 202 and a load. The D+ pin and the D- pin of the external interface 201 are connected to the switching unit 202. The switching unit 202 is connected to the load. The load includes an audio processing unit 203, a communication unit 204 and a fast charging chip 205.
[0090] When the analog headset is connected to the external interface 201, the switching unit 202 connects the external interface 201 to the audio processing unit 203, disconnects the external interface 201 from the communication unit 204, and also disconnects the external interface 201 from the fast charging chip 205, so that the analog headset can communicate with the audio processing unit 203.
[0091] When the charger is connected to the external interface 201, if the charger is a non-fast charging charger, the switching unit 202 connects the external interface 201 to the communication unit 204, disconnects the external interface 201 from the audio processing unit 203, and also disconnects the external interface 201 from the fast charging chip 205. The charger can communicate with the communication unit 204, so that the communication unit 204 can instruct the charger to charge the electronic device 100.
[0092] If the charger is a fast charging charger, when the fast charging charger is connected to the external interface 201, the switching unit 202 connects the external interface 201 to the fast charging chip 205, disconnects the external interface 201 from the audio processing unit 203, and also disconnects the external interface 201 from the communication unit 204. The fast charging charger can communicate with the fast charging chip 205, so that the fast charging chip 205 can instruct the charger to charge the electronic device 100. For example, the fast charging chip 205 can instruct the fast charging charger to boost the voltage to fast charge the electronic device 100.
[0093] It is understandable that when the charger charges the electronic device 100 , the charging voltage provided by the charger is transmitted to the electronic device 100 via the VBUS pin of the external interface 201 .
[0094] However, when the fast charging charger is fast charging the electronic device 100, if the VBUS pin of the external interface 201 is corroded, the VBUS pin is connected to the D+ pin and / or the D- pin. The high-voltage DC boosted and output by the fast charging charger will be transmitted to the switching unit 202 through the D+ pin and / or the D- pin. The high-voltage DC will burn out the switching unit 202, and then the electronic device 100 will not be able to fast charge, and the electronic device 100 will not be able to communicate with the analog headset and other electronic devices through the external interface.
[0095] In view of this, an embodiment of the present application provides an electronic device, by setting a first switch unit between the D+ pin of the external interface and the switching unit, and setting a second switch unit between the D- pin of the external interface and the switching unit. When the voltage transmitted from the D+ pin of the external interface to the first switch unit is greater than the operating voltage of the switching unit, the first switch unit is turned off, and when the voltage transmitted from the D- pin of the external interface to the second switch unit is greater than the operating voltage of the switching unit, the second switch unit is turned off. In this way, the probability of the switching unit being burned out by high-voltage direct current can be reduced, thereby reducing the probability that the electronic device cannot be fast charged and the electronic device cannot communicate with analog headphones and other electronic devices through the external interface.
[0096] The electronic device provided by the embodiments of the present application is described below in conjunction with some embodiments.
[0097] Figure 4 A circuit diagram of an electronic device 100 provided in an embodiment of the present application Figure 1 .
[0098] like Figure 4 As shown, the electronic device includes an external interface 201, a first switch unit 301, a second switch unit 302, an overvoltage protection unit 303, a switching unit 202 and a load. The external interface 201 includes a first data transmission pin and a second data transmission pin. The load includes an audio processing unit 203 and a communication unit 204. The load also includes a fast charging chip 205. The first switch unit 301 and the second switch unit 302 can be constructed by field effect devices, and the field effect devices can include: a single metal oxide semiconductor field effect transistor (metal oxide semiconductor field effect transistor, MOSFET), a plurality of MOSFETs that jointly realize the switching function, etc. MOSFET can be an N-type field effect tube (negative channel MOS, NMOS) or a P-type field effect tube (positive channel MOS, PMOS). The first switch unit 301 and the second switch unit 302 can also be constructed by other switching devices that can realize the conduction or disconnection of the circuit in which they are located, and the embodiment of the present application does not make specific restrictions on this. MOSFET includes a gate terminal (gate, G), a source terminal (source, S) and a drain terminal (drain, D). The gate terminal (gate, G) may be referred to as a control terminal. The present embodiment of the application is described by taking the first switch unit 301 and the second switch unit 302, both of which are single MOSFETs, as an example.
[0099] The first data transmission pin and the second data transmission pin may both be pins used for communication in the external interface. For example, in a Type-C interface, the first data transmission pin may include a D+ pin, and the second data transmission pin may include a D- pin. For ease of understanding, the embodiment of the present application is described by taking the external interface 201 as a Type-C interface as an example.
[0100] The first switch unit 301 is connected between the first data transmission pin and the switching unit 202, and the second switch unit 302 is connected between the second data transmission pin and the switching unit 202. Exemplarily, the source end of the first switch unit 301 may be connected to the first data transmission pin, and the drain end of the first switch unit 301 may be connected to the switching unit 202. The source end of the second switch unit 302 may be connected to the second data transmission pin, and the drain end of the second switch unit 302 may be connected to the switching unit 202.
[0101] The overvoltage protection unit 303 is connected to the control end of the first switch unit 301 and the control end of the second switch unit 302 .
[0102] The switching unit 202 is connected to a load of the electronic device 100 .
[0103] When the external interface 201 is connected to an analog headset, the switching unit 202 connects the first data transmission pin and the second data transmission pin to the audio processing unit 203, and disconnects the first data transmission pin and the second data transmission pin from the communication unit 204, and also disconnects the first data transmission pin and the second data transmission pin from the fast charging chip 205. In this way, the first data transmission pin and the second data transmission pin can be used as a headphone interface, and communication between the analog headset and the audio processing unit 203 can be realized.
[0104] If the charger is a non-fast charging charger, when the external interface 201 is connected to the charger, the switching unit 202 connects the first data transmission pin and the second data transmission pin to the communication unit 204, and disconnects the first data transmission pin and the second data transmission pin from the audio processing unit 203, and also disconnects the first data transmission pin and the second data transmission pin from the fast charging chip 205. In this way, the first data transmission pin and the second data transmission pin can be used as a universal serial bus (USB) interface to realize communication between the charger and the communication unit 204.
[0105] If the charger is a fast charging charger, when the external interface 201 is connected to the charger, the switching unit 202 connects the first data transmission pin and the second data transmission pin to the fast charging chip 205, and disconnects the first data transmission pin and the second data transmission pin from the audio processing unit 203, and also disconnects the first data transmission pin and the second data transmission pin from the communication unit 204. In this way, the first data transmission pin and the second data transmission pin can be used as a universal serial bus (USB) interface to realize communication between the charger and the fast charging chip 205. For example, the fast charging chip 205 can instruct the fast charging charger to boost the voltage to fast charge the electronic device 100.
[0106] The overvoltage protection unit 303 is used to provide a control voltage to the control end of the first switch unit 301 and the control end of the second switch unit 302, and the difference between the control voltage and the working voltage of the switch unit 202 is less than a preset value. The preset value is, for example, 0. Exemplarily, the control voltage may be less than or equal to the maximum withstand voltage of the switch unit 202.
[0107] If the external interface 201 is connected to a fast charging charger, the fast charging chip 205 instructs the fast charging charger to boost the voltage, and the electronic device 100 is fast charged, and the VBUS pin of the external interface is corroded, and the high-voltage DC can be input into the electronic device 100 from the first data transmission pin and the second data transmission pin. When the voltage transmitted from the first data transmission pin to the first switch unit 301 is greater than the voltage at the control end of the first switch unit 301, the first switch unit 301 is turned off. When the voltage transmitted from the second data transmission pin to the second switch unit 302 is greater than the voltage at the control end of the second switch unit 302, the second switch unit 302 is turned off.
[0108] In this way, when high-voltage direct current is transmitted to the first switch unit through the first data transmission pin of the external interface, the first switch unit is turned off, and / or, when high-voltage direct current is transmitted to the second switch unit through the second data transmission pin of the external interface, the second switch unit is turned off, which can reduce the probability of the switching unit being burned out by the high-voltage direct current, thereby reducing the probability of the electronic device being unable to charge quickly due to the switching unit being burned out, and the electronic device being unable to communicate with analog headphones and other electronic devices through the external interface, and can also reduce the probability of the load being burned out by the high-voltage direct current.
[0109] As described above, the protective function of the first switch unit and the second switch unit can reduce the probability of the switch unit being burned out by high voltage direct current, so that there is no need to design an additional high voltage direct current protection device on the switch unit in the design of the switch unit, which can save device resources and reduce the difficulty of the manufacturing process of the switch unit. Among them, the high voltage direct current protection device is used to reduce the probability of the switch unit being burned out by high voltage direct current.
[0110] Optionally, the overvoltage protection unit 303 may include multiple gears, so as to provide multiple control voltages for the control end of the first switch unit 301, and also provide multiple control voltages for the control end of the second switch unit 302. In this way, the application scope of the overvoltage protection unit 303 can be improved. For example, in the circuit design of the electronic device 100, the same overvoltage protection unit 303 can be selected for the switch units 202 with different withstand voltages.
[0111] In one possible scenario, electrostatic discharge (ESD), surge, and other events may occur at the external interface 201 of the electronic device 100, resulting in excessive voltages at the D+ pin and the D- pin of the external interface 201. When the electronic device 100 is connected to a high-power electronic device through the external interface 201, surges are easily generated at the external interface 201. Both static electricity and surges may damage the overvoltage protection unit 303 and / or the switching unit 202.
[0112] In this regard, Figure 5The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 2 .
[0113] like Figure 5 As shown, in Figure 4 On the basis of, the electronic device 100 may further include a first resistor R1 and a second resistor R2. The overvoltage protection unit 303 includes a first control voltage supply pin and a second control voltage supply pin.
[0114] The first control voltage supply pin is connected to the control terminal of the first switch unit 301 through the first resistor R1. In this way, the voltage division effect of the first resistor R1 can reduce the probability of static electricity passing through the first switch unit 301 and damaging the overvoltage protection unit 303.
[0115] The second control voltage supply pin is connected to the control terminal of the second switch unit 302 through the second resistor R2. In this way, the voltage division effect of the second resistor R2 can reduce the probability of static electricity passing through the second switch unit 302 and damaging the overvoltage protection unit 303.
[0116] Optionally, the overvoltage protection unit 303 may also include an overvoltage protection (OVP) chip. The switching unit 202 may include a switch switching chip. Figure 5 As shown, the overvoltage protection unit 303 and the switching unit 202 can be integrated on the same chip.
[0117] Further, Figure 6 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 3 .
[0118] like Figure 6 As shown, in Figure 5 On the basis of, the electronic device 100 may further include a first voltage clamping module 304 and a second voltage clamping module 305 .
[0119] The first voltage clamping module 304 is connected between the first data transmission pin and the ground terminal.
[0120] The second voltage clamping module 305 is connected between the second data transmission pin and the ground terminal.
[0121] In this way, the electrostatic voltage and / or surge voltage transmitted to the first switch unit 301 can be lower than the voltage at the control end of the first switch unit 301, or lower than the maximum withstand voltage of the switching unit 202; the electrostatic voltage and / or surge voltage transmitted to the second switch unit 302 can also be lower than the voltage at the control end of the second switch unit 302, or lower than the maximum withstand voltage of the switching unit 202, thereby reducing the probability of static electricity and / or surge damaging the overvoltage protection unit 303 and damaging the switching unit 202, and also reducing the impact of static electricity and / or surge on the first switch unit 301 and the second switch unit 302.
[0122] Further, Figure 7 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 4 .
[0123] like Figure 7 As shown, in Figure 6 On the basis of the above, the electronic device 100 may include not only the first voltage clamping module 304 and the second voltage clamping module 305 , but also the third voltage clamping module 306 and the fourth voltage clamping module 307 .
[0124] The first voltage clamping module 304 is connected between the first data transmission pin and the ground terminal.
[0125] The second voltage clamping module 305 is connected between the second data transmission pin and the ground terminal.
[0126] One end of the third voltage clamping module 306 is connected between the first switch unit 301 and the switching unit 202 , and the other end of the third voltage clamping module 306 is grounded.
[0127] One end of the fourth voltage clamping module 307 is connected between the second switch unit 302 and the switching unit 202 , and the other end of the fourth voltage clamping module 307 is grounded.
[0128] The clamping voltage of the third voltage clamping module 306 is lower than the clamping voltage of the first voltage clamping module 304 , and the clamping voltage of the fourth voltage clamping module 307 is lower than the clamping voltage of the second voltage clamping module 305 .
[0129] The higher the clamping voltage of the voltage clamping module, the less likely it is to be damaged by high voltage DC. Figure 7 As shown, if the maximum withstand voltage of the switching unit 202 is 5.5V, the clamping voltage of the first voltage clamping module 304 and the clamping voltage of the second voltage clamping module 305 can both be 20V, and the clamping voltage of the third voltage clamping module 306 and the clamping voltage of the fourth voltage clamping module 307 can both be 5V.
[0130] When static electricity and / or high-voltage surge are transmitted to the first voltage clamping module 304, the voltage of static electricity and / or high-voltage surge will be clamped to 20V. Even if the first switch unit 301 is not turned off in time, 20V static electricity, 20V high-voltage surge or low-voltage surge lower than the clamping voltage of the first voltage clamping module 304 will be clamped to 5V by the third voltage clamping module 306 when transmitted to the third voltage clamping module 306 through the first switch unit 301. In this way, the static electricity voltage and / or surge voltage transmitted to the switching unit 202 can be less than the maximum withstand voltage of the switching unit 202. The principle and effect of the second voltage clamping module 305 and the fourth voltage clamping module 307 on static electricity and / or surge voltage division are similar to the principle and effect of the first voltage clamping module 304 and the third voltage clamping module 306 on static electricity and / or surge voltage division, and will not be repeated.
[0131] In this way, even if the first switch unit 301 and the second switch unit 302 are not turned off in time, the electrostatic voltage and / or surge voltage transmitted to the switching unit 202 can still be lower than the maximum tolerance voltage of the switching unit 202, thereby reducing the probability of static electricity and / or surge damaging the switching unit 202.
[0132] Figure 8 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 5 .
[0133] Alternatively, if Figure 8 As shown, in Figure 7 On the basis of, the first voltage clamping module 304 may include a transient voltage suppressor diode (TVS), or the first voltage clamping module 304 may include a plurality of transient voltage suppressor diodes (TVS) connected in series or in parallel.
[0134] The second voltage clamping module 305 may include a transient voltage suppressor diode (TVS), or the second voltage clamping module 305 may include a plurality of transient voltage suppressor diodes (TVS) connected in series or in parallel.
[0135] For example, if the clamping voltage of the first voltage clamping module 304 and the clamping voltage of the second voltage clamping module 305 are both 20V, the first voltage clamping module 304 may be a TVS with a clamping voltage of 20V, or the first voltage clamping module 304 may be two TVSs connected in series with a clamping voltage of 10V, or the first voltage clamping module 304 may be two TVSs connected in parallel with a clamping voltage of 20V.
[0136] If the first voltage clamping module 304 is two parallel-connected TVSs with a clamping voltage of 20V, when one of the TVSs fails, the other TVS can still function, thus improving the protection capability of the first voltage clamping module 304 .
[0137] The implementation principle of the second voltage clamping module 305 is similar to that of the first voltage clamping module 304 , and examples thereof will not be repeated.
[0138] Alternatively, if Figure 8 As shown, the third voltage clamping module 306 may include one transient voltage suppressor diode, or the third voltage clamping module 306 may include a plurality of transient voltage suppressor diodes connected in series or in parallel.
[0139] The fourth voltage clamping module 307 may include one transient voltage suppression diode, or the fourth voltage clamping module 307 may include a plurality of transient voltage suppression diodes connected in series or in parallel.
[0140] Exemplarily, if the clamping voltage of the third voltage clamping module 306 and the clamping voltage of the fourth voltage clamping module 307 are both 5V, the third voltage clamping module 306 may include a TVS with a clamping voltage of 5V, or the third voltage clamping module 306 may include two TVSs connected in parallel with a clamping voltage of 5V, or the third voltage clamping module 306 may include two TVSs connected in series with a clamping voltage of 2.5V.
[0141] When the third voltage clamping module 306 includes two or more TVSs connected in parallel, for example, with a clamping voltage of 5V, if one of the TVSs is damaged or fails, the other TVSs can still function, thereby improving the protection capability of the third voltage clamping module 306 .
[0142] Similarly, when the fourth voltage clamping module 307 includes a plurality of TVSs connected in parallel, if one of the TVSs is damaged or fails, the other TVSs can still function, thereby improving the protection capability of the fourth voltage clamping module 306 .
[0143] Fig. 9 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 6 .
[0144] like Fig. 9 As shown, in Figure 8 On the basis of, in order to save transient voltage suppression diodes (TVS), the electronic device 100 further includes a common transient voltage suppression diode 308.
[0145] For example, Fig. 9As shown, if the static electricity and / or surge voltage transmitted to the first switch unit 301 is to be 20V, the first voltage clamping module 304 may include a 10V TVS, the second voltage clamping module 305 may also include a 10V TVS, and the clamping voltage of TVS 308 may be 10V.
[0146] Among them, one end of the TVS of the first voltage clamping module 304 is connected to the first data transmission pin, one end of the TVS of the second voltage clamping module 305 is connected to the second data transmission pin, the other end of the TVS of the first voltage clamping module 304 and the other end of the TVS of the second voltage clamping module 305 are both connected to one end of TVS 308, and the other end of TVS 308 is grounded.
[0147] Fig.10 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 7 .
[0148] Furthermore, in order to divide the static electricity and surge voltage so that the switching unit 202 is not damaged by the static electricity and / or surge, as shown in FIG. Fig.10 As shown, in Fig. 9 On the basis of, the electronic device 100 may further include a first filter 309 .
[0149] The first filter 309 is connected between the first switch unit 301 and the switching unit 202. The first filter 309 is also connected between the second switch unit 302 and the switching unit 202. The first filter 309 may include a common mode inductor and / or an LC filter.
[0150] Furthermore, if Fig.10 As shown, the electronic device 100 may further include a current limiting unit 310. The current limiting unit 310 includes a resistor, an inductor, or a resistor and an inductor connected in series.
[0151] The current limiting unit 310 is connected between the first switch unit 301 and the switching unit 202 , and the current limiting unit 310 is also connected between the second switch unit 302 and the switching unit 202 .
[0152] For example, Fig.10 As shown, the current limiting unit 310 may include a fifth resistor R5 and a sixth resistor R6. The fifth resistor R5 is connected between the first switch unit 301 and the switching unit 202, and the sixth resistor R6 is connected between the second switch unit 302 and the switching unit 202.
[0153] In this way, the voltage dividing function of the current limiting unit can also divide the static electricity and surge passing through the first switch unit and the second switch unit, so that the switching unit 202 is not damaged by the static electricity and / or surge.
[0154] Fig.11 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 8 .
[0155] like Fig.11 As shown, in Fig.10 On the basis of, the electronic device 100 may further include a second filter 311. The second filter 311 may include a common mode inductor and / or an LC filter.
[0156] The second filter 311 is connected between the first data transmission pin and the first switch unit 301 , and the second filter 311 is also connected between the second data transmission pin and the second switch unit 302 .
[0157] Exemplarily, the second filter 311 may be connected between the first data transmission pin and the first voltage clamping module 304 , and the second filter 311 may also be connected between the second data transmission pin and the second voltage clamping module 305 .
[0158] Similarly, the second filter 311 also has a voltage dividing function. The second filter 311 can divide the high voltage DC inputted by the first data transmission pin and the second data transmission pin, thereby reducing the probability of the first voltage clamping module and the second voltage clamping module being damaged by the high voltage DC.
[0159] Exemplarily, if the second filter 311 is connected between the first voltage clamping module 304 and the first switch unit 301, and the second filter 311 is connected between the second voltage clamping module 305 and the second switch unit 302, even if the first voltage clamping module 304 and the second voltage clamping module 305 fail, the second filter 311 can divide the static electricity and surge, thereby reducing the impact of static electricity and / or surge on the first switch unit 301 and the second switch unit 302.
[0160] The load also includes a fast charging chip 205. The fast charging chip 205 can be connected to the switching unit 202. When the external interface 201 is connected to a fast charging charger, the fast charging chip 205 instructs the fast charging charger to boost the voltage and fast charge the electronic device 100. When the VBUS pin of the external interface is corroded and the first data transmission pin and the second data transmission pin input high-voltage DC, since the first switch unit 301 and the second switch unit 302 are both turned off, if the fast charging chip 205 is connected to the switching unit 202, the communication between the fast charging chip 205 and the fast charging charger will also be disconnected. In this regard, Fig.12 The circuit diagram of the electronic device 100 provided in the embodiment of the present application is shown in FIG. Figure 9 .
[0161] like Fig.12 As shown, in Fig.11 On the basis of, the electronic device 100 also includes a third resistor R3 and a fourth resistor R4. One pin of the fast charging chip can be connected between the first data transmission pin and the first switch unit 301 through the third resistor R3, and another pin of the fast charging chip can be connected between the second data transmission pin and the second switch unit 302 through the fourth resistor R4.
[0162] When the external interface 201 is connected to a fast charging charger, the fast charging chip communicates with the fast charging charger through the first data transmission pin and the second data transmission pin, and instructs the fast charging charger to boost the voltage to fast charge the electronic device 100. If the VBUS pin of the external interface corrodes, causing the first data transmission pin and the second data transmission pin to input high voltage DC, the first switch unit 301 and the second switch unit 302 are turned off to reduce the probability of the switching unit 202 being burned by the high voltage DC, and the third resistor R3 and the fourth resistor R4 divide the high voltage DC to reduce the probability of the fast charging chip 205 being burned by the high voltage DC. The third resistor R3 and the fourth resistor R4 will not affect the communication signal between the fast charging chip 205 and the fast charging charger. Even if the first switch unit 301 and the second switch unit 302 are turned off, the fast charging chip 205 can still communicate with the fast charging charger.
[0163] In this way, when the VBUS pin of the external interface corrodes, causing high-voltage DC to be input into the electronic device from the first data transmission pin and the second data transmission pin, the probability of the switching unit being burned out by the high-voltage DC can be reduced, and the probability of the fast charging chip being burned out by the high-voltage DC can also be reduced. In addition, when the fast charging charger is fast charging the electronic device 100, the fast charging chip can maintain communication with the fast charging charger. Based on the monitoring results of the charging status of the electronic device 100, the fast charging chip can instruct the fast charging charger to adjust the charging voltage.
[0164] Alternatively, if Fig.12 As shown, the communication unit 204 may include a system on chip (SoC). The SoC chip is connected to the switching unit 202. When the external interface is connected to a non-fast charging charger, the non-fast charging charger does not provide high voltage, so no high voltage DC appears on the first data transmission pin and the second data transmission pin, the first switch unit 301 and the second switch unit 302 are turned on, the switching unit 202 connects the first data transmission pin and the second data transmission pin to the SoC chip, and disconnects the first data transmission pin and the second data transmission pin from the audio processing unit, and the non-fast charging charger can communicate with the SoC chip.
[0165] Similar to a non-fast charging charger, when the external interface is connected to other electronic devices, the other electronic devices do not have a charging function and will not provide high voltage, and the other electronic devices can communicate with the SoC chip.
[0166] Similarly, when the external interface is connected to an analog headset, the analog headset does not provide high voltage, so no high voltage DC appears on the first data transmission pin and the second data transmission pin, the first switch unit 301 and the second switch unit 302 are turned on, the switching unit 202 disconnects the first data transmission pin and the second data transmission pin from the SoC chip, and connects the first data transmission pin and the second data transmission pin to the audio processing unit 203, and the analog headset can communicate with the SoC chip. The audio processing unit 203 may include a codec (coder-decoder, Codec).
[0167] Fig.13 This is a schematic diagram of an equivalent circuit of an electronic device 100 provided in an embodiment of the present application.
[0168] like Fig.12 and Fig.13 As shown, the electronic device 100 may include a USB sub-board and a main board. To reduce the difficulty of the manufacturing process of the electronic device 100, as shown in FIG. Fig.13 As shown, a board-to-board connector (BTB) and a flexible printed circuit (FPC) are connected between the USB board and the main board.
[0169] In order to better understand the embodiments of the present application, Fig.14 , the structure of the electronic device in the embodiment of the present application is described.
[0170] Fig.14 A schematic structural diagram of an electronic device 100 provided in an embodiment of the present application is shown.
[0171] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0172] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0173] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
[0174] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0175] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. An electronic device, characterized in that: include: An external interface, a first switch unit, a second switch unit, a switching unit and an overvoltage protection unit; The external interface includes a first data transmission pin and a second data transmission pin; The first switch unit is connected between the first data transmission pin and the switching unit, and the second switch unit is connected between the second data transmission pin and the switching unit; the overvoltage protection unit is connected to the control end of the first switch unit and the control end of the second switch unit; the switching unit is connected to the load of the electronic device; the load includes a communication unit and an audio processing unit; The switching unit is used to connect the first data transmission pin and the second data transmission pin to the audio processing unit and disconnect the first data transmission pin and the second data transmission pin from the communication unit when the external interface is connected to an analog headset; and to connect the first data transmission pin and the second data transmission pin to the communication unit and disconnect the first data transmission pin and the second data transmission pin from the audio processing unit when the external interface is connected to a charger; The overvoltage protection unit is used to provide a control voltage to the control end of the first switch unit and the control end of the second switch unit, and the difference between the control voltage and the working voltage of the switch unit is less than a preset value; the first switch unit is used to shut down when the voltage transmitted from the first data transmission pin to the first switch unit is greater than the voltage of the control end of the first switch unit; the second switch unit is used to shut down when the voltage transmitted from the second data transmission pin to the second switch unit is greater than the voltage of the control end of the second switch unit; The overvoltage protection unit includes a first control voltage supply pin and a second control voltage supply pin; the electronic device also includes a first resistor and a second resistor; The first control voltage supply pin is connected to the control end of the first switch unit through the first resistor, and the second control voltage supply pin is connected to the control end of the second switch unit through the second resistor.
2. The electronic device according to claim 1, characterized in that: Also includes a first voltage clamping module and a second voltage clamping module; The first voltage clamping module is connected between the first data transmission pin and the ground terminal, and the second voltage clamping module is connected between the second data transmission pin and the ground terminal.
3. The electronic device according to claim 1, characterized in that: Also includes a third voltage clamping module and a fourth voltage clamping module; One end of the third voltage clamping module is connected between the first switch unit and the switching unit, and the other end of the third voltage clamping module is grounded; one end of the fourth voltage clamping module is connected between the second switch unit and the switching unit, and the other end of the fourth voltage clamping module is grounded; The clamping voltage of the third voltage clamping module is lower than the clamping voltage of the first voltage clamping module, and the clamping voltage of the fourth voltage clamping module is lower than the clamping voltage of the second voltage clamping module.
4. The electronic device according to claim 2, characterized in that: The first voltage clamping module includes a transient voltage suppression diode, or the first voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel; The second voltage clamping module includes a transient voltage suppression diode, or the second voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel.
5. The electronic device according to claim 3, characterized in that: The third voltage clamping module includes a transient voltage suppression diode, or the third voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel; The fourth voltage clamping module includes a transient voltage suppression diode, or the fourth voltage clamping module includes a plurality of transient voltage suppression diodes connected in series or in parallel.
6. The electronic device according to any one of claims 1 to 5, characterized in that: Also included is a first filter; The first filter is connected between the first switch unit and the switching unit, and the first filter is also connected between the second switch unit and the switching unit.
7. The electronic device according to any one of claims 1 to 5, characterized in that: It also includes a current limiting unit; the current limiting unit includes a resistor, an inductor, or a resistor and an inductor connected in series; The current limiting unit is connected between the first switch unit and the switching unit, and the current limiting unit is also connected between the second switch unit and the switching unit.
8. The electronic device according to any one of claims 1 to 5, characterized in that: Also comprising a second filter; The second filter is connected between the first data transmission pin and the first switch unit, and the second filter is also connected between the second data transmission pin and the second switch unit.
9. The electronic device according to any one of claims 1 to 5, characterized in that: The load also includes a fast charging chip; The fast charging chip is connected to the switching unit.
10. The electronic device according to any one of claims 1 to 5, characterized in that: The load further includes a fast charging chip; the electronic device further includes a third resistor and a fourth resistor; One pin of the fast charging chip is connected between the first data transmission pin and the first switch unit through the third resistor, and another pin of the fast charging chip is connected between the second data transmission pin and the second switch unit through the fourth resistor.
