Charging circuit and electronic equipment

By introducing detection and switching circuits into the charging circuit, quickly detecting and cutting off the charging protocol transmission, the problem of slow response speed of short-circuit protection on the charging port of electronic equipment is solved, and fast and effective short-circuit protection and recovery charging functions are achieved.

CN222366102UActive Publication Date: 2025-01-17ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420888225.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2025-01-17
Estimated Expiration
2034-04-25

AI Technical Summary

Technical Problem

The charging port of electronic devices is prone to short-circuit due to intrusion of liquid, dust, foreign objects or improper operation, resulting in burning of the charging port. The response speed of the existing technology is slow and short-circuit protection cannot be carried out quickly and effectively.

Method used

Design a charging circuit, including a charging port, a charging management circuit, a detection circuit, a main control circuit and a switching circuit, and generates a detection result by detecting the electrical signals transmitted by the communication terminal and the ground terminal, and generates a protocol cut-off signal when a short circuit is shorted. Based on this signal, the circuit cuts off the charging protocol transmission and quickly disconnects the charging between the charger and the charged device.

Benefits of technology

It realizes short-circuit protection for fast response and recovery, avoids damage to the charging port and improves charging safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222366102U_ABST
    Figure CN222366102U_ABST
Patent Text Reader

Abstract

The utility model discloses a charging circuit and electronic equipment, and the charging circuit comprises a charging port which is provided with a power terminal, a communication terminal and a grounding terminal; the charging management circuit is electrically connected with the power supply terminal and is used for being electrically connected with the battery so as to transmit electric energy of an external power supply to the battery; the detection circuit is electrically connected with the communication terminal and / or the grounding terminal and is used for detecting the electric signal transmitted by the communication terminal and / or the grounding terminal and generating a detection result; the main control circuit is electrically connected with the detection circuit, determines whether the communication terminal and / or the grounding terminal is short-circuited with the power supply terminal or not based on the detection result, and generates a protocol cut-off signal when the communication terminal and / or the grounding terminal are short-circuited; and the switching circuit is electrically connected with the communication terminal and the main control circuit respectively, and cuts off charging protocol transmission between the communication terminal and the main control circuit based on the protocol cut-off signal. Charging between the charger and the charged electronic equipment can be cut off by cutting off charging protocol transmission, and the response speed is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging technology, and in particular to a charging circuit and electronic equipment. Background Art

[0002] The charging port of an electronic device is prone to short circuits due to factors such as liquid, dust, foreign objects or improper operation. Short circuits will cause a large current to flow inside the charging port and generate heat, causing the charging port to burn or even damage the connected device. Therefore, a fast and effective protection mechanism is needed to detect short circuits in the charging port and disconnect charging.

[0003] In the related art, the temperature of the charging port is detected by a thermistor, and the temperature information is converted into voltage information for the main control circuit to read. When the temperature rises to the set upper limit, the main control circuit cuts off the charging path of the charging port to achieve short-circuit protection. This method has a delay and a slow response speed. Utility Model Content

[0004] The present application provides a charging circuit and an electronic device, which can cut off the charging between a charger and a charged electronic device by cutting off the transmission of a charging protocol, and has a fast response speed.

[0005] The present application proposes a charging circuit, wherein the charging circuit includes a charging port, a charging management circuit, a detection circuit, a main control circuit, and a switching circuit, wherein the charging port is provided with a power terminal, a communication terminal, and a ground terminal; the charging management circuit is electrically connected to the power terminal, and is used to be electrically connected to a battery to transmit electrical energy from an external power source to the battery; the detection circuit is electrically connected to the communication terminal and / or the ground terminal, and is used to detect electrical signals transmitted by the communication terminal and / or the ground terminal, and generate a detection result; the main control circuit is electrically connected to the detection circuit, and determines whether the communication terminal and / or the ground terminal is short-circuited with the power terminal based on the detection result, and generates a protocol cut-off signal when short-circuited; the switching circuit is electrically connected to the communication terminal and the main control circuit, respectively, and cuts off the charging protocol transmission between the communication terminal and the main control circuit based on the protocol cut-off signal.

[0006] In order to solve the above problem, the present application further proposes an electronic device, which includes the above charging circuit.

[0007] The beneficial effects of the present application are as follows: the charging circuit provided by the present application includes a charging port, a charging management circuit, a detection circuit, a main control circuit and a switch circuit; wherein the charging port is provided with a power terminal, a communication terminal and a ground terminal; the charging management circuit is electrically connected to the power terminal, and is used to be electrically connected to the battery to transmit the electric energy of the external power supply to the battery to realize charging of the battery; the detection circuit is electrically connected to the communication terminal and / or the ground terminal, and detects the electric signal transmitted by the communication terminal and / or the ground terminal, and generates a detection result based on the electric signal; the main control circuit is electrically connected to the detection circuit, and determines the communication terminal and / or the ground terminal based on the detection result. Or whether the grounding terminal is short-circuited with the power terminal, and short-circuit detection of the communication terminal and / or the grounding terminal can be realized; the switching circuit is electrically connected to the communication terminal and the main control circuit respectively, and the main control circuit generates a protocol cut-off signal when the communication terminal and / or the grounding terminal is short-circuited with the power terminal, and the switching circuit cuts off the charging protocol transmission between the communication terminal and the main control circuit based on the protocol cut-off signal, so that charging between the charger and the charged electronic device is stopped, thereby realizing short-circuit protection; the present application cuts off the charging between the charger and the charged electronic device by cutting off the charging protocol transmission, with fast response speed and fast charging recovery speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0009] Figure 1 It is a structural schematic diagram of an embodiment of a charging circuit of the present application;

[0010] Figure 2 is a structural schematic diagram of another embodiment of the charging circuit of the present application;

[0011] Figure 3 It is a structural schematic diagram of another embodiment of the charging circuit of the present application;

[0012] Figure 4 is a structural schematic diagram of yet another embodiment of the charging circuit of the present application;

[0013] Figure 5 is a structural schematic diagram of yet another embodiment of the charging circuit of the present application;

[0014] Figure 6 is a structural schematic diagram of yet another embodiment of the charging circuit of the present application;

[0015] Figure 7 It is a structural schematic diagram of an embodiment of the switch circuit, charging port, and main control circuit of the present application;

[0016] Figure 8 This is the TYPE-C port standard definition diagram for this application;

[0017] Fig. 9 is a structural schematic diagram of yet another embodiment of the charging circuit of the present application;

[0018] Fig.10 This is a schematic diagram of the structure of an embodiment of a channel switching chip of the present application;

[0019] Fig.11 is a structural schematic diagram of yet another embodiment of the charging circuit of the present application;

[0020] Fig.12 It is a structural schematic diagram of an embodiment of a voltage acquisition circuit of the present application. DETAILED DESCRIPTION

[0021] The present application is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present application, but are not intended to limit the scope of the present application. Similarly, the following examples are only some embodiments of the present application rather than all embodiments, and all other embodiments obtained by those of ordinary skill in the art without making creative work are within the scope of protection of the present application.

[0022] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0023] In the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0024] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0025] This application first proposes a charging circuit, such as Figures 1 to 3 As shown, Figure 1 is a schematic diagram of the structure of an embodiment of a charging circuit of the present application, Figure 2 is a schematic structural diagram of another embodiment of the charging circuit of the present application, Figure 3 It is a structural diagram of another embodiment of the charging circuit of the present application. The charging circuit 10 of this embodiment includes: a charging port 11, a charging management circuit 12, a detection circuit 13, a main control circuit 14 and a switch circuit 15; wherein the charging port 11 is provided with a power terminal A, a communication terminal B, and a ground terminal C; the charging management circuit 12 is electrically connected to the power terminal A, and is used to be electrically connected to the battery 20 to transmit the electric energy of the external power supply to the battery 20; the detection circuit 13 is electrically connected to the communication terminal B and / or the ground terminal C, and detects the electric signal transmitted by the communication terminal B and / or the ground terminal C, and generates a detection result based on the electric signal; the main control circuit 14 is used to detect the electric signal transmitted by the communication terminal B and / or the ground terminal C, and generates a detection result based on the electric signal; the main control circuit 14 is used to detect the electric signal transmitted by the communication terminal B and / or the ground terminal C, and generates a detection result based on the electric signal; the main control circuit 15 ... 14 is electrically connected to the detection circuit 13, and determines whether the communication terminal B and / or the ground terminal C are short-circuited with the power terminal A based on the detection result, and generates a protocol cut-off signal when the communication terminal B and the power terminal A are short-circuited, so as to realize the short-circuit detection of the communication terminal B and / or the ground terminal C; the switch circuit 15 is electrically connected to the communication terminal B and the main control circuit 14 respectively, and based on the protocol cut-off signal, the charging protocol transmission between the communication terminal B and the main control circuit 14 is cut off, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby realizing short-circuit protection.

[0026] In an application scenario, such as Figure 1As shown, the detection circuit 13 is electrically connected to the communication terminal B and can detect the electrical signal transmitted by the communication terminal B. When it is detected that the electrical signal transmitted by the communication terminal B is abnormal (for example, the voltage rises above a certain threshold, etc.), it can be determined that the communication terminal B and the power terminal A are short-circuited. The main control circuit 14 can generate a protocol cut-off signal based on the short-circuit detection result. The switch circuit cuts off the charging protocol transmission between the communication terminal B and the main control circuit 14 based on the protocol switching signal, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby achieving short-circuit protection.

[0027] In another application scenario, Figure 2 As shown, the detection circuit 13 is electrically connected to the ground terminal C and can detect the electrical signal transmitted by the ground terminal C. When it is detected that the electrical signal transmitted by the ground terminal C is abnormal (for example, the voltage increases exceeding a certain threshold, etc.), it can be determined that the ground terminal C and the power terminal A are short-circuited. The main control circuit 14 can generate a protocol cut-off signal based on the short-circuit detection result. The switch circuit cuts off the charging protocol transmission between the communication terminal B and the main control circuit 14 based on the protocol switching signal, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby achieving short-circuit protection.

[0028] In another application scenario, Figure 3 As shown, the detection circuit 13 is electrically connected to the communication terminal B and the ground terminal C, and can detect the electrical signals transmitted by the communication terminal B and the ground terminal C. When it is detected that the electrical signal transmitted by either the communication terminal B or the ground terminal C is abnormal (for example, the voltage rises above a certain threshold, etc.), it can be determined that a short circuit occurs, and the main control circuit 14 can generate a protocol cutoff signal based on the short circuit detection result. The switch circuit cuts off the charging protocol transmission between the communication terminal B and the main control circuit 14 based on the protocol switching signal, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby achieving short circuit protection.

[0029] The main control circuit 14 may include a microprocessor or other integrated circuits, chips, discrete circuits, etc. having signal processing and control logic;

[0030] The charging port 11 may include a Universal Serial Bus (USB) interface or other bus interfaces.

[0031] The charging management circuit 12 may include a charging management chip, such as BQ25703, etc. BQ25703 is an integrated buck / boost chip that can charge 1 to 4 lithium batteries connected in series, and can improve the reliability of the charging circuit 10.

[0032] Among them, the charging port 11 is provided with a power terminal A, a communication terminal B, and a ground terminal C; the charging management circuit 12 is electrically connected to the power terminal A, and is used to be electrically connected to the battery 20 to transmit the electric energy of the external power supply to the battery 20 to realize charging of the battery 20; the detection circuit 13 is electrically connected to the communication terminal B and / or the ground terminal C, and detects the electric signal transmitted by the communication terminal B and / or the ground terminal C, and generates a detection result based on the electric signal, the main control circuit 14 is electrically connected to the detection circuit 13, and determines whether the communication terminal B and / or the ground terminal C are short-circuited with the power terminal A based on the detection result, so as to realize the short-circuit detection of the communication terminal B and / or the ground terminal C; the switch circuit 15 is electrically connected to the communication terminal B and the main control circuit 14 respectively, and the main control circuit 14 generates a protocol cut-off signal when the communication terminal B and / or the ground terminal C are short-circuited with the power terminal A, and the switch circuit 15 cuts off the charging protocol transmission between the communication terminal B and the main control circuit 14 based on the protocol cut-off signal, so that the charging between the power supply equipment such as the charger and the charged electronic equipment is stopped, thereby realizing short-circuit protection.

[0033] Optionally, the main control circuit 14 is electrically connected to the charging management circuit 12. Based on the detection result of the detection circuit 13, the main control circuit 14 can also control the charging management circuit 12 to disconnect when a short circuit occurs between the communication terminal B and / or the ground terminal C and the power terminal A, thereby disconnecting the electrical connection between the power terminal A and the battery 20, thereby stopping the charging between the power supply equipment such as the charger and the charged electronic device, thereby achieving double-layer short-circuit protection. For example, in one application scenario, the charging management circuit 12 can be further controlled to disconnect after the charging protocol transmission is cut off; the main control circuit 14 can also control other operations of the charging management circuit 12.

[0034] Alternatively, if Figures 4 to 6 As shown, the communication terminal B includes an auxiliary communication terminal B1 and a protocol terminal B2. The detection circuit 13 is electrically connected to the auxiliary communication terminal B1 and / or the protocol terminal B2, and is used to detect the electrical signal transmitted by the auxiliary communication terminal B1 and / or the protocol terminal B2. The switch circuit 15 is electrically connected to the protocol terminal B2, and cuts off the charging protocol transmission between the protocol terminal B2 and the main control circuit 14 based on the protocol cut-off signal.

[0035] Specifically, the auxiliary communication terminal B1 can realize auxiliary communication and can be used to transmit audio, video, etc.

[0036] In an application scenario, such as Figure 4As shown, the detection circuit 13 is electrically connected to the auxiliary communication terminal B1, and can detect the electrical signal transmitted by the auxiliary communication terminal B1. When it is detected that the electrical signal transmitted by the auxiliary communication terminal B1 is abnormal (for example, the voltage rises above a certain threshold, etc.), it can be determined that the auxiliary communication terminal B1 and the power terminal A are short-circuited. The main control circuit 14 can generate a protocol cut-off signal based on the short-circuit detection result. The switch circuit cuts off the charging protocol transmission between the protocol terminal B2 and the main control circuit 14 based on the protocol switching signal, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby achieving short-circuit protection.

[0037] In another application scenario, Figure 5 As shown, the detection circuit 13 is electrically connected to the protocol terminal B2 and can detect the electrical signal transmitted by the protocol terminal B2. When it is detected that the electrical signal transmitted by the protocol terminal B2 is abnormal (for example, the voltage rises above a certain threshold, etc.), it can be determined that the protocol terminal B2 and the power terminal A are short-circuited. The main control circuit 14 can generate a protocol cut-off signal based on the short-circuit detection result. The switch circuit cuts off the charging protocol transmission between the protocol terminal B2 and the main control circuit 14 based on the protocol switching signal, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby achieving short-circuit protection.

[0038] In another application scenario, Figure 6 As shown, the detection circuit 13 is electrically connected to the auxiliary communication terminal B1 and the protocol terminal B2, and can detect the electrical signals transmitted by the protocol terminal B2 and the auxiliary communication terminal B1. When it is detected that the electrical signal transmitted by either the protocol terminal B2 or the auxiliary communication terminal B1 is abnormal (for example, the voltage rises above a certain threshold, etc.), it can be determined that a short circuit occurs, and the main control circuit 14 can generate a protocol cutoff signal based on the short circuit detection result. The switch circuit cuts off the charging protocol transmission between the protocol terminal B2 and the main control circuit 14 based on the protocol switching signal, so that the charging between the power supply equipment such as the charger and the charged electronic device is stopped, thereby achieving short circuit protection.

[0039] The charging protocol transmission between the protocol terminal B2 and the main control circuit 14 is cut off based on the protocol cut-off signal, and then the charging protocol transmission between the communication terminal B and the main control circuit 14 is cut off based on the protocol cut-off signal, which can more accurately realize the cutting off of the charging protocol; the detection result is generated based on the electrical signal, and the main control circuit 14 determines whether a short circuit occurs based on the detection result, which can reduce the delay in short-circuit detection and improve the timeliness of short-circuit fault detection.

[0040] Optionally, the detection circuit 13 includes a voltage acquisition circuit, which is electrically connected to the communication terminal B and / or the ground terminal C and the main control circuit 14, respectively, and collects the voltage transmitted by the communication terminal B and / or the ground terminal C and generates a detection result based on the voltage.

[0041] In one application scenario, the voltage acquisition circuit is electrically connected to the communication terminal B and the main control circuit 14. The voltage acquisition circuit can acquire the voltage transmitted by the communication terminal B and generate a detection result based on the voltage. For example, if the voltage exceeds a certain threshold, it is considered that the communication terminal B and the power terminal A are short-circuited. In another application scenario, the voltage acquisition circuit is electrically connected to the ground terminal C and the main control circuit 14. The voltage acquisition circuit can acquire the voltage transmitted by the ground terminal C and generate a detection result based on the voltage. For example, if the voltage exceeds a certain threshold, it is considered that the ground terminal C and the power terminal A are short-circuited. In another application scenario, the voltage acquisition circuit is electrically connected to the communication terminal B, the ground terminal C, and the main control circuit 14. The voltage acquisition circuit can acquire the voltage transmitted by the communication terminal B and the ground terminal C, and generate a detection result based on the voltage of the communication terminal B and the voltage of the ground terminal C. For example, if any of the voltages exceeds a certain threshold, it is considered that a short circuit occurs.

[0042] By setting up a voltage acquisition circuit to collect voltage and detecting whether a short circuit occurs based on the voltage, the detection accuracy can be improved and the detection speed of short circuit faults can be increased.

[0043] In other embodiments, the detection circuit includes a current acquisition circuit, which can be electrically connected to the communication terminal and / or the ground terminal and the main control circuit respectively. The current acquisition circuit can collect the current signal transmitted by the communication terminal and / or the ground terminal, and transmit the current signal to the main control circuit. The main control circuit can determine whether a short circuit occurs between the communication terminal and / or the ground terminal and the power terminal based on the current signal.

[0044] Optionally, the voltage acquisition circuit includes a comparator circuit, which is electrically connected to the communication terminal B and / or the ground terminal C and the main control circuit 14 respectively, and obtains the voltage and compares the voltage with a reference voltage, and generates a detection result based on the comparison result.

[0045] In one application scenario, the comparator circuit is electrically connected to the communication terminal B and the main control circuit 14. The comparator circuit can collect the voltage transmitted by the communication terminal B and compare the voltage with the first reference voltage. A detection result can be generated based on the comparison result. For example, if the voltage exceeds the reference voltage, it is considered that the communication terminal B and the power terminal A are short-circuited; in another application scenario, the comparator circuit is electrically connected to the ground terminal C and the main control circuit 14. The comparator circuit can collect the voltage transmitted by the ground terminal C and compare the voltage with the second reference voltage. A detection result can be generated based on the comparison result. For example, if the voltage exceeds the reference voltage, it is considered that the ground terminal C and the power terminal A are short-circuited; in another application scenario, the voltage acquisition circuit is electrically connected to the communication terminal B, the ground terminal C, and the main control circuit 14. The comparator circuit can collect the voltage transmitted by the communication terminal B and the ground terminal C, and compare the voltage of the communication terminal B with the first reference voltage and the voltage of the ground terminal C with the second reference voltage. A detection result can be generated based on the comparison result. For example, if any of the two voltages exceeds the corresponding reference voltage, it is considered that a short circuit occurs.

[0046] The voltage is collected by a comparator circuit, and the detection result is obtained by comparing the voltage with a reference voltage, which can improve the convenience and accuracy of generating detection results based on voltage.

[0047] Optionally, the comparator circuit includes a voltage comparator chip, which can be used to compare the magnitudes of two input signals. Its working principle is to compare a voltage signal with a reference voltage. For example, when the reference voltage is connected to the positive input terminal, if the voltage of the negative input terminal signal is greater than the reference voltage, the output is a low level; if the voltage of the negative input terminal signal is less than the reference voltage, the output is a high level.

[0048] In other embodiments, the voltage acquisition circuit of this embodiment may also be Fig.12 As shown, one end of the voltage acquisition circuit is electrically connected to the reference voltage VCC1, and the other end a is electrically connected to the communication terminal B and / or the ground terminal C. The voltage acquisition circuit is connected to the main control circuit through Short_DET_PROTECT to transmit the detection result to the main control circuit. The voltage value of the reference voltage VCC1 can be adjusted based on the detection needs.

[0049] Specifically, when the communication terminal B and / or the ground terminal C is short-circuited with the power terminal A, the voltage at point b increases, thereby turning on the optocoupler U1, thereby charging the capacitor C01, and the voltage acquisition circuit outputs a short-circuit signal to the main control circuit through Short_DET_PROTECT.

[0050] Alternatively, if Figure 7As shown, the first communication terminal K1 of the switch circuit 15 is electrically connected to the communication terminal B, the second communication terminal K2 is electrically connected to the protocol port M1 of the main control circuit 14, and the control terminal K3 is electrically connected to the control port M2 of the main control circuit 14; the control terminal K3 disconnects the electrical connection between the first communication terminal K1 and the second communication terminal K2 based on the protocol cut-off signal; the main control circuit 14 also generates a protocol signal when the short circuit fault between the communication terminal B and the power terminal A is restored based on the detection result, and the control terminal K3 controls the first communication terminal K1 to be electrically connected to the second communication terminal K2 based on the protocol signal.

[0051] The switch circuit 15 controls the on and off of the first communication terminal K1 and the second communication terminal K2 through the control terminal K3, and can realize the on and off of the electrical connection between the protocol port M1 of the main control circuit 14 and the communication terminal B, that is, it can realize the on and off of the charging protocol transmission between the protocol port M1 of the main control circuit 14 and the communication terminal B of the charging port 11; the main control circuit 14 can generate a protocol signal based on the detection result, and the control terminal K3 of the switch circuit 15 can control the electrical connection between the first communication terminal K1 and the second communication terminal K2 based on the protocol signal, that is, it can control the protocol port M1 of the main control circuit 14 and the communication terminal B of the charging port 11 to re-realize the electrical connection, and then it can restore the normal charging function between the power supply equipment such as the charger and the charged electronic device after the short circuit fault is resolved, thereby improving the multi-scenario applicability of the charging circuit 10.

[0052] Alternatively, if Figure 7 As shown, the switch circuit 15 is also provided with a suspended terminal K4, and the suspended terminal K4 is set to be suspended; the control terminal K3 controls the first communication terminal K1 to be electrically connected to the suspended terminal K4 based on the protocol cut-off signal; the main control circuit 14 also generates a protocol signal based on the detection result when the short circuit fault between the communication terminal B and the power terminal A is restored, and the control terminal K3 controls the first communication terminal K1 to be electrically disconnected from the suspended terminal K4 based on the protocol signal, and then controls the first communication terminal K1 to be electrically connected to the second communication terminal K2.

[0053] In one application scenario, based on the protocol cut-off signal, the control terminal K3 of the switch circuit 15 can disconnect the electrical connection between the first communication terminal K1 and the second communication terminal K2, that is, the electrical connection between the protocol port M1 of the main control circuit 14 and the communication terminal B is cut off, for example, the electrical connection between the first communication terminal K1 and the suspended terminal K4 of the switch circuit 15 can be controlled to be electrically connected to achieve the disconnection of the electrical connection between the first communication terminal K1 and the second communication terminal K2; in another application scenario, based on the detection result being a normal state, indicating that the short circuit fault between the communication terminal B and / or the ground terminal C and the power terminal A has been resolved, the main control circuit 14 can generate a protocol signal based on the detection result, and the control terminal K3 of the switch circuit 15 can control the first communication terminal K1 and the ground terminal C based on the protocol signal. The floating end K4 disconnects the electrical connection and controls the first communication end K1 to be electrically connected to the second communication end K2, which enables the protocol port M1 of the main control circuit 14 to be electrically connected to the communication terminal B of the charging port 11 again, that is, the charging protocol transmission between the protocol port M1 of the main control circuit 14 and the communication terminal B of the charging port 11 can be realized, and then the normal charging function between the power supply equipment such as the charger and the charged electronic device can be restored; optionally, in the above-mentioned application scenarios, the communication terminal B may include an auxiliary communication terminal B1 and a protocol terminal B2, and the detection circuit 13 includes a voltage acquisition circuit, etc. The specific working principles of the auxiliary communication terminal B1 and the protocol terminal B2, the voltage acquisition circuit, etc. can refer to the above-mentioned embodiments and will not be repeated here.

[0054] The switch circuit 15 controls the on / off of the first communication terminal K1 and the second communication terminal K2 through the control terminal K3, so as to realize the on / off of the electrical connection between the protocol port M1 of the main control circuit 14 and the communication terminal B, that is, to realize the on / off of the charging protocol transmission between the protocol port M1 of the main control circuit 14 and the communication terminal B of the charging port 11; the switch circuit 15 controls the first communication terminal K1 to be connected to the suspended terminal K4 when being disconnected from the second communication terminal K2, so as to improve the stability and reliability of the disconnected state of the first communication terminal K1 and the second communication terminal K2, thereby improving the reliability and safety of the switch circuit 15; the main control circuit 14 can generate a protocol signal based on the detection result, and the control terminal K3 of the switch circuit 15 can control the electrical connection between the first communication terminal K1 and the second communication terminal K2 based on the protocol signal, that is, to control the electrical connection between the protocol port M1 of the main control circuit 14 and the communication terminal B of the charging port 11, thereby restoring the normal charging function between the power supply equipment such as the charger and the charged electronic device after the short circuit fault is resolved, thereby improving the multi-scenario applicability of the charging circuit 10.

[0055] Alternatively, if Figure 8 As shown, Figure 8 This is the standard definition diagram of the TYPE-C port of this application. The charging port 11 includes: a TYPE-C port.

[0056] The TYPE-C port is a 24-pin USB connector system with a rotationally symmetrical connector. The TYPE-C interface has a reversible pluggable design and supports the USB PD protocol. USB-PD is a power supply standard based on the TYPE-C port that can provide up to 100W or even higher power, which can improve charging convenience and efficiency.

[0057] In other embodiments, the charging port 11 may also be other types of charging ports 11 with charging protocols, which are not specifically limited.

[0058] Optionally, the communication terminal B includes two auxiliary communication terminals B1 (eg Figure 8 or Fig.11 SBU1 and SBU2), auxiliary communication terminal B1 and power supply terminal A (for example Figure 8 or Fig.11 two auxiliary communication terminals B1 are electrically connected to the detection circuit 13 in parallel.

[0059] The auxiliary communication terminal B1 is arranged adjacent to the power terminal A, and is easily short-circuited with the power terminal A. The two auxiliary communication terminals B1 are electrically connected to the detection circuit 13 in parallel, and the detection circuit 13 is used to detect the electrical signals transmitted by the two auxiliary communication terminals B1 to obtain the detection result, which can improve the timeliness of detection of short-circuit faults in the charging port 11; the two auxiliary communication terminals B1 are electrically connected to the detection circuit 13 in parallel, and the parallel structure is simple; the communication terminal B includes two auxiliary communication terminals B1, which is convenient for realizing the rotationally symmetrical design of the TYPE-C port when the charging port 11 is a TYPE-C port, thereby improving the convenience of charging.

[0060] In other embodiments, the detection circuit 13 may be only electrically connected to an auxiliary communication terminal B1, or the detection circuit 13 may be electrically connected to the protocol terminal B2, etc., which is not specifically limited.

[0061] In other embodiments, the detection circuit 13 and the terminal arranged near the power terminal A can be used as the objects of short circuit detection. Since the terminal near the power terminal A is more likely to be short-circuited with the power terminal A, this arrangement can improve the timeliness of short circuit detection.

[0062] In an application scenario, such as Fig. 9As shown, the charging port 11 is a TYPE-C port, the switching circuit 15 includes two channel switches ICSGM7227, the main control circuit 14 includes a charging protocol IC (MCU), the detection circuit 13 includes a comparator HTC8521, the auxiliary communication terminal B1 includes SBU, the power terminal A includes VBUS, and the protocol terminal B2 includes CC1 / CC2 and DN (terminal corresponding to DM signal) / DP.

[0063] Among them, the charging protocol IC (MCU) may include a PD fast charging protocol chip: CYPD3171. The chip integrates a 32-bit MCU subsystem, can support USB PD3.0 version, support QC4.0, Apple charging 2.4A, BC1.2 and other fast charging protocol chips, and can improve the multi-scenario applicability of the charging circuit 10.

[0064] The reference voltage of the comparator HTC8521 is set to Vref. For example, in an application scenario, Fig.11 As shown, in the detection circuit 13, R24 and R28 divide the pull-up VCC, and then connect it to the positive input terminal of the comparator circuit; then Vref = [VCC / (R24+R28)]*R28, if the auxiliary communication terminal SBU1 or the auxiliary communication terminal SBU2 is short-circuited with the power terminal VBUS, then the auxiliary communication terminal SBU1 or the auxiliary communication terminal SBU2 will have the same voltage as the power terminal VBUS. SBU1 / SBU2 are connected to the voltage divider circuit composed of R23 and R27, and then connected to the negative input terminal Vin of the comparator HTC8521, then Vin = [VBUS / (R23+R27)]*R27; after the voltage divider resistor parameters are reasonably configured, if Vin>Vref, the comparator outputs a low level, indicating that a short circuit occurs; otherwise, Vin<Vref, the comparator outputs a high level, indicating that the TYPE-C interface is connected normally and can be charged normally.

[0065] Optionally, the auxiliary communication terminal SBU1 and the auxiliary communication terminal SBU2 may also be connected via current limiting resistors R26, R22 and R23 respectively (the negative input terminal Vin of the comparator HTC8521 is adjusted accordingly).

[0066] Optionally, the protocol terminal B2 includes a configuration terminal and a data transmission terminal. The main control circuit 14 can determine whether the communication terminal B and / or the ground terminal C are short-circuited with the power terminal A based on the detection result, and generate a protocol cut-off signal in the event of a short circuit. The switching circuit 15 cuts off the charging protocol transmission between the configuration terminal and the main control circuit 14 based on the protocol cut-off signal, and / or cuts off the charging protocol transmission between the data transmission terminal and the main control circuit 14 based on the protocol cut-off signal, thereby cutting off the charging protocol transmission between the protocol terminal B2 and the main control circuit 14, so that charging between the charger and the charged electronic device is stopped, thereby achieving short circuit protection.

[0067] Optionally, the protocol terminal B2 includes a configuration terminal (eg Fig. 9 CC1 / CC2) and data transmission terminals (e.g. Fig. 9 DN / DP), the switch circuit 15 includes two switches (eg Fig. 9 In the middle channel switch ICSGM7227), one switch is connected to two configuration terminals and the other switch is connected to two data transmission terminals.

[0068] Specifically, the switch circuit 15 includes a first switch and a second switch, wherein the first switch is electrically connected to the two configuration terminals and the main control circuit 14, and the second switch is electrically connected to the two data transmission terminals and the main control circuit 14. The main control circuit 14 can determine whether the communication terminal B and / or the ground terminal C are short-circuited with the power terminal A based on the detection result, and generate a protocol cut-off signal in the event of a short circuit. The switch circuit 15 controls the first switch to cut off the charging protocol transmission between the two configuration terminals and the main control circuit 14 based on the protocol cut-off signal, and / or controls the second switch to cut off the charging protocol transmission between the two data transmission terminals and the main control circuit 14 based on the protocol cut-off signal, so that the charging between the charger and the charged electronic device can be stopped, thereby achieving short circuit protection.

[0069] The switch circuit 15 includes two switches, which are respectively arranged corresponding to two configuration terminals and two data transmission terminals. It has a simple structure and is easy to control the electrical connection between the configuration terminals and the main control circuit 14 and the electrical connection between the data transmission terminals and the main control circuit 14.

[0070] Alternatively, if Fig. 9 As shown, the configuration terminal includes a first terminal CC1 / CC2, which can be used, for example, to detect the type and power transmission direction of a connected power supply device (such as an external adapter or a computer, etc.) and a charged electronic device, and can also complete a handshake charging protocol between the power supply device and the charged electronic device.

[0071] Alternatively, if Fig. 9As shown, the data transmission terminal may include a second terminal DN / DP, and the charging port 11 can transmit control messages through the second terminal DN / DP, and then perform power negotiation to determine the power supply conditions between the connected power supply device and the charged electronic device, and can also be used for data transmission.

[0072] Alternatively, if Fig.10 As shown, the switch circuit 15 may include a channel switching chip: SGM7227, which is a high-speed, low-power bipolar / double-throw analog switch that can control the switching connection to two different channels according to system status requirements. Of course, in other embodiments, the switch circuit 15 may also include a switch control circuit and a single-pole double-throw switch electrically connected to the switch control circuit, and other switch structures, which are not specifically limited.

[0073] In an application scenario, such as Fig.11 As shown, the charging port 11 is a TYPE-C port, the switching circuit 15 includes two channel switches ICSGM7227, the main control circuit 14 includes a charging protocol IC (MCU), the detection circuit 13 includes a comparator HTC8521, the auxiliary communication terminal B1 includes SBU1 and SBU2, the ground terminal C includes GND, the power terminal A includes VBUS, and the protocol terminal B2 includes a configuration terminal CC1 / CC2 and a data transmission terminal DN1 / DN2 / DP1 / DP2. The electric energy is input from the VBUS pin and then input into the battery 20 through the charging management circuit 12; when a short circuit occurs at the TYPE-C port, the comparator outputs a low level, and the main control circuit 14 pulls down the S pin of the channel switching IC SGM7227 through CC_SWITCH_CTRL and USB_SWITCH_CTRL based on the low level signal, so that the CC1 / CC2 and DP / DM signals are switched to the HSD1 channel in a suspended state, so that the charging protocol transmission is disconnected, and the charging between the power supply device such as the adapter and the electronic device is stopped, and no current will pass through the TYPE-C port, thereby achieving short circuit protection.

[0074] In other application scenarios, the short circuit detection is not limited to the auxiliary communication terminal and the power terminal, but this circuit structure can also be used to realize the short circuit detection between other terminals, such as the ground terminal and the power terminal, etc., without specific limitation.

[0075] The present application further proposes an electronic device, which includes the above-mentioned charging circuit.

[0076] The specific implementation and working principle of the charging circuit can be found in the above embodiments and will not be described in detail here.

[0077] The electronic device can utilize the charging circuit to be electrically connected to an external power supply device (such as a charger, a computer, etc.) and charged by the external power supply device, thereby improving the charging safety of the electronic device.

[0078] Optionally, the electronic device further includes a battery, and the battery is electrically connected to the charging circuit for charging the battery.

[0079] The charging circuit can realize electrical connection between the battery and the external power supply device, and can promptly disconnect the charging when a short circuit fault occurs in the charging port, thereby realizing short circuit protection and improving the charging safety of the electronic device.

[0080] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A charging circuit, characterized in that: The charging circuit comprises: Charging port, equipped with power terminal, communication terminal and ground terminal; a charging management circuit, electrically connected to the power terminal and used to be electrically connected to the battery to transmit electrical energy from an external power source to the battery; a detection circuit, electrically connected to the communication terminal and / or the ground terminal, for detecting the electrical signal transmitted by the communication terminal and / or the ground terminal, and generating a detection result; A main control circuit is electrically connected to the detection circuit, and determines whether the communication terminal and / or the ground terminal is short-circuited with the power terminal based on the detection result, and generates a protocol cut-off signal when short-circuited; The switch circuit is electrically connected to the communication terminal and the main control circuit respectively, and cuts off the charging protocol transmission between the communication terminal and the main control circuit based on the protocol cut-off signal.

2. The charging circuit according to claim 1, characterized in that: The communication terminal includes an auxiliary communication terminal and a protocol terminal. The detection circuit is electrically connected to the auxiliary communication terminal and / or the protocol terminal for detecting the electrical signal transmitted by the auxiliary communication terminal and / or the protocol terminal. The switch circuit is electrically connected to the protocol terminal for cutting off the charging protocol transmission between the protocol terminal and the main control circuit based on the protocol cut-off signal.

3. The charging circuit according to claim 1, characterized in that: The detection circuit comprises: The voltage acquisition circuit is electrically connected to the communication terminal and / or the ground terminal and the main control circuit respectively, and acquires the voltage transmitted by the communication terminal and / or the ground terminal and generates the detection result based on the voltage.

4. The charging circuit according to claim 3, characterized in that: The voltage acquisition circuit comprises: The comparator circuit is electrically connected to the communication terminal and / or the ground terminal and the main control circuit respectively, obtains the voltage and compares the voltage with a reference voltage, and generates the detection result based on the comparison result.

5. The charging circuit according to any one of claims 1 to 4, characterized in that: The first communication end of the switch circuit is electrically connected to the communication terminal, the second communication end is electrically connected to the protocol port of the main control circuit, and the control end is electrically connected to the control port of the main control circuit; The control end disconnects the electrical connection between the first communication end and the second communication end based on the protocol cut-off signal; The main control circuit also generates a protocol signal based on the detection result when a short circuit fault between the communication terminal and / or the ground terminal and the power terminal is restored, and the control end controls the electrical connection between the first communication terminal and the second communication terminal based on the protocol signal.

6. The charging circuit according to claim 5, characterized in that: The switch circuit is also provided with a suspended end; The control end controls the first communication end to be electrically connected to the suspended end based on the protocol cut-off signal; The control end controls the first communication end to disconnect electrically from the hanging end based on the protocol signal.

7. The charging circuit according to claim 2, characterized in that: The charging port includes: a TYPE-C port.

8. The charging circuit according to claim 7, characterized in that: The communication terminal includes two auxiliary communication terminals, and the auxiliary communication terminals are arranged adjacent to the power supply terminal; the two auxiliary communication terminals are electrically connected to the detection circuit in parallel.

9. The charging circuit according to claim 7, characterized in that: The protocol terminal includes a configuration terminal and a data transmission terminal, and the switch circuit includes two switches, one of the switches is connected to the two configuration terminals, and the other of the switches is connected to the two data transmission terminals.

10. An electronic device, characterized in that: include: The charging circuit according to any one of claims 1 to 9; A battery is electrically connected to the charging circuit and is used to charge the battery.