CN112531796A - Control circuit and charger of interface charge - Google Patents

Control circuit and charger of interface charge Download PDF

Info

Publication number
CN112531796A
CN112531796A CN201910876995.0A CN201910876995A CN112531796A CN 112531796 A CN112531796 A CN 112531796A CN 201910876995 A CN201910876995 A CN 201910876995A CN 112531796 A CN112531796 A CN 112531796A
Authority
CN
China
Prior art keywords
voltage
controller
charging interface
switch
charger
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910876995.0A
Other languages
Chinese (zh)
Inventor
况火根
郭鑫
熊晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910876995.0A priority Critical patent/CN112531796A/en
Priority to PCT/CN2020/102287 priority patent/WO2021051984A1/en
Publication of CN112531796A publication Critical patent/CN112531796A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a control circuit and a charger of a charging interface, and relates to the technical field of terminal equipment. Wherein this control circuit is applied to the charger, includes: the device comprises a controller, a voltage detection circuit and a switch; the first end of the voltage detection circuit is connected with the data end of the charging interface of the charger; the second end of the voltage detection circuit is connected with the controller; the voltage detection circuit is used for detecting the voltage of the data end of the charging interface and sending the voltage to the controller; the first end of the switch is connected with the first power end of the charging interface, and the second end of the switch is connected with the power supply of the charger; the control end of the switch is connected with the controller; and the controller is used for controlling the switch to be switched off when the voltage exceeds the voltage threshold value. Utilize the control circuit of the interface that charges that this application provided, can prevent the interface that charges to corrode when the interface that charges of charger is unexpected to intake, and then promoted the security of electronic equipment's charging process.

Description

Control circuit and charger of interface charge
Technical Field
The application relates to the technical field of terminal equipment, in particular to a control circuit of a charging interface and a charger.
Background
When the charging interface of the charger of the electronic equipment such as a mobile phone and a tablet personal computer meets the unexpected conditions that water enters the charging interface or other liquids such as sweat contact and the like, the charging interface is easily corroded after the charger is connected with a power supply. For convenience of description, the above accidents are collectively referred to as accidental water inflow of the charging interface in the present application.
Referring to fig. 1, a connection diagram of a charger is shown.
When the charger charges the electronic device 200, the charging interface 100 of the charger is connected with the charging interface of the electronic device 200, and the plug at the other end of the charger is used for connecting a power supply, which may be a commercial power or other power supplies.
When the charging interface 100 is corroded, that is, the metal pin (pin) of the charging interface 100 is electrolyzed, which may cause the charging interface 100 to rust, contact failure or short circuit, and when the charging interface is connected to the electronic device 200, the charging interface of the electronic device 200 may be further corroded, which may not only damage the charging interface of the electronic device 200, but also may cause a safety hazard in the charging process of the electronic device.
Disclosure of Invention
In order to solve the technical problem, the application provides a control circuit and a charger of interface charge, can prevent the interface that charges to take place to corrode when the interface that charges of charger is unexpected to be intake, and then promoted electronic equipment's the security of charging process.
In a first aspect, the present application provides a control circuit of a charging interface, which is applied to a charger, and the circuit includes: the device comprises a controller, a voltage detection circuit and a switch; the first end of the voltage detection circuit is connected with the data end of the charging interface of the charger; the second end of the voltage detection circuit is connected with the controller; the voltage detection circuit is used for detecting the voltage of the data end of the charging interface and sending the voltage to the controller; the first end of the switch is connected with the first power end of the charging interface, and the second end of the switch is connected with the power supply of the charger; the control end of the switch is connected with the controller; the controller is used for controlling the switch to be switched off when the voltage exceeds the voltage threshold value.
Under normal conditions, the voltage of the data end of the charging interface is smaller than the voltage threshold, and the switch is in a conducting state. When the charging interface accidentally intakes water, the data end of the charging interface is in liquid connection with the first power end of the charging interface, and because the voltage of the first power end of the charging interface during normal working is higher than the voltage threshold, the voltage of the data end of the charging interface can be correspondingly increased and then exceeds the voltage threshold.
The charging interface can be a Type-C interface, a Micro-USB interface, a Lighting interface and other types of interfaces.
With reference to the first aspect, in a first possible implementation manner, a voltage detection circuit includes: a first voltage detection branch; the controller includes a first analog-to-digital conversion circuit. The first end of the first voltage detection branch circuit is connected with the first differential port of the data end, and the second end of the first voltage detection branch circuit is connected with the first analog-to-digital conversion circuit. The first voltage detection branch is used for sending the voltage of the first differential port to the first analog-to-digital conversion circuit. The first analog-to-digital conversion circuit is used for converting the voltage of the first differential port into a first digital signal. The controller is used for controlling the switch to be switched off according to the first digital signal.
When the charging interface accidentally intakes water, the first differential interface of the data end is connected with the first power end, because the voltage of the first power end in normal working is higher than the voltage threshold, the voltage of the first differential interface can be increased to exceed the voltage threshold, and when the controller determines that the first digital signal exceeds the voltage threshold, the accidental intake of the charging interface at the moment can be determined. The controller control switch disconnection to make the first power end of the interface that charges and the power disconnection of charger, make the first power end of the interface that charges no longer have an electricity, and then make the interface that charges not corroded.
With reference to the first aspect and any one of the foregoing implementation manners, in a second possible implementation manner, the first voltage detection branch includes: a first voltage dividing resistor and a second voltage dividing resistor. The first end of the first divider resistor is connected with the first differential port of the data end, the second end of the first divider resistor is connected with the first analog-to-digital conversion circuit of the controller, and the second end of the first divider resistor is grounded through the second divider resistor.
By connecting the voltage division circuit comprising the first voltage division resistor and the second voltage division resistor, the input voltage of the first analog-to-digital conversion circuit can be controlled within the voltage range in which the controller normally works, and the controller is prevented from being damaged due to the fact that the input voltage of the first analog-to-digital conversion circuit is too large.
With reference to the first aspect and any one of the foregoing implementation manners, in a third possible implementation manner, the voltage detection circuit includes: and the second voltage detection branch. The first end of the second voltage detection branch is connected with the second differential port of the data end, and the second end of the second voltage detection branch is connected with the second analog-to-digital conversion circuit of the controller and used for sending the voltage of the second differential port to the second analog-to-digital conversion circuit. The second analog-to-digital conversion circuit is used for converting the voltage of the second differential port into a second digital signal. The controller is used for controlling the switch to be switched off according to the second digital signal.
When the charging interface accidentally intakes water, the second differential interface of the data end is connected with the first power supply end, and because the voltage of the first power supply end in normal working is higher than the voltage threshold, the voltage of the second differential interface can exceed the voltage threshold, and when the controller determines that the second digital signal exceeds the voltage threshold, the accidental intake of the charging interface at the moment can be determined. The controller control switch disconnection to make the first power end of the interface that charges and the power disconnection of charger, make the first power end of the interface that charges no longer have an electricity, and then make the interface that charges not corroded.
With reference to the first aspect and any one of the foregoing implementation manners, in a fourth possible implementation manner, the second voltage detection branch includes: a third voltage dividing resistor and a fourth voltage dividing resistor. The first end of the third voltage-dividing resistor is connected with the second differential port of the data end, and the second end of the third voltage-dividing resistor is connected with the second analog-to-digital conversion circuit of the controller. The second end of the third voltage dividing resistor is grounded through the fourth voltage dividing resistor.
By connecting the voltage dividing circuit comprising the third voltage dividing resistor and the fourth voltage dividing resistor, the input voltage of the second analog-to-digital conversion circuit can be controlled within the normal working voltage range of the controller, and the controller is prevented from being damaged due to the fact that the input voltage of the second analog-to-digital conversion circuit is too large.
With reference to the first aspect and any one of the foregoing implementation manners, in a fifth possible implementation manner, the switch is a PMOS transistor, because a parasitic diode exists in the PMOS transistor, an anode of the parasitic diode is connected to a drain of the PMOS transistor, and a cathode of the parasitic diode is connected to a source of the PMOS transistor, in order to avoid a current flowing through the parasitic diode, a control end of the switch is a gate of the PMOS transistor, a first end of the switch is a source of the PMOS transistor, and a second end of the switch is a drain of the PMOS transistor. Namely, the grid electrode of the switch is connected with the controller, the source electrode is connected with the first power supply end, and the drain electrode is connected with the power supply of the charger, so that the parasitic diode is in a reverse cut-off state.
With reference to the first aspect and any one of the foregoing implementation manners, in a sixth possible implementation manner, the control circuit further includes: a first resistor. The first end of the first resistor is connected with the drain electrode of the PMOS tube, the second end of the first resistor is connected with the grid electrode of the PMOS tube, and the first resistor is used for protecting the circuit.
With reference to the first aspect and any one of the foregoing implementation manners, in a seventh possible implementation manner, the controller may be an MCU (micro controller Unit) inside the charger, or may also be an MCU that is separately arranged, and this is not specifically limited in this embodiment of the present application. The MCU may be a DSP (Digital Signal Processor) or a single chip microcomputer.
With reference to the first aspect and any one of the foregoing implementation manners, in an eighth possible implementation manner, the voltage threshold is greater than a voltage of the data terminal when the charger normally operates and is less than or equal to a voltage of the first power terminal when the first power terminal normally operates.
Therefore, when the charging interface accidentally intakes water, the voltage of the data end of the charging interface is increased to exceed the voltage threshold, and when the controller determines that the second digital signal exceeds the voltage threshold, the accidental intake of the charging interface at the moment can be determined. The controller control switch disconnection to make the first power end of the interface that charges and the power disconnection of charger, make the first power end of the interface that charges no longer have an electricity, and then make the interface that charges not corroded.
In a second aspect, the present application further provides another control circuit for a charging interface, which is applied to a charger, and includes: the circuit comprises a controller, a voltage detection circuit, a comparator and a switch. The first end of the voltage detection circuit is connected with the data end of a charging interface of the charger, the second end of the voltage detection circuit is connected with the first input end of the comparator, and the second input end of the comparator is connected with the preset voltage threshold. The output end of the comparator is connected with the controller. The first end of the switch is connected with the first power end of the charging interface, the second end of the switch is connected with the power supply of the charger, and the control end of the switch is connected with the controller. The controller is used for controlling the switch to be switched off according to the output signal of the comparator.
When the charging interface accidentally enters water, the controller controls the switch to be disconnected when the output signal level of the comparator is received to generate jumping, so that the first power end of the charging interface is disconnected with the power supply of the charger, the first power end of the charging interface is enabled to be free of electricity, and the charging interface is enabled not to be corroded.
With reference to the second aspect, in a first possible implementation manner, the comparator includes: a first comparator. The first input end of the first comparator is connected with the first differential port of the data end, the second input end of the first comparator is connected with the preset voltage threshold, and the output end of the first comparator is connected with the controller. The controller is used for controlling the switch to be switched off according to the output signal of the first comparator.
When the interface that charges accidentally intakes, the jump appears in the level of the output of first comparator, and controller control switch disconnection for the first power end of the interface that charges no longer has the electricity, consequently can prevent to charge the interface and take place to corrode when the interface that charges of charger accidentally intakes, and then promoted electronic equipment's the security of charging process.
With reference to the second aspect and any one of the foregoing possible implementation manners, in a second possible implementation manner, the comparator further includes: a second comparator. The first input end of the second comparator is connected with the second differential port of the data end, and the second input end of the second comparator is connected with the preset voltage threshold. The output end of the second comparator is connected with the controller. The controller is used for controlling the switch to be switched off according to the output signal of the second comparator.
When the charging interface accidentally intakes water, the level of the output of the second comparator jumps, and the controller controls the switch to be switched off, so that the first power end of the charging interface is not electrified, the charging interface can be prevented from being corroded when the charging interface of the charger accidentally intakes water, and the safety of the charging process of the electronic equipment is further improved.
The third aspect, this application still provides a charger, and the first end of this charger is used for connecting alternating current power supply, and the second end of charger is equipped with the interface that charges, and the electronic equipment is connected through the interface that charges to the charger, and the charger still includes above arbitrary one control circuit, consequently this charger can prevent to charge when the interface that charges accident is intake and take place to corrode, and then promoted the security of the charging process of electronic equipment.
The application has at least the following advantages:
the application provides a control circuit of interface charges includes controller, voltage detection circuit and switch. The first end of the voltage detection circuit is connected with the data end of the charging interface of the charger, the second end of the voltage detection circuit is connected with the controller, and the voltage detection circuit is used for detecting the voltage of the data end of the charging interface and sending the voltage to the controller. The first end of the switch is connected with the first power end of the charging interface, the second end of the switch is connected with the power supply of the charger, and the control end of the switch is connected with the controller. Under normal conditions, the voltage of the data end of the charging interface is smaller than the voltage threshold value, and the switch is in a conducting state. When the charging interface accidentally intakes water, the data end of the charging interface is in liquid connection with the first power end of the charging interface, and because the voltage of the first power end of the charging interface during normal working is higher than the voltage threshold, the voltage of the data end of the charging interface can be correspondingly increased and then exceeds the voltage threshold.
In conclusion, utilize the control circuit that this application provided, can prevent the interface that charges when the charge interface of charger accident is intake and corrode to because the first power end of the interface that charges no longer has electricity, consequently the interface that charges who intakes when the accident is connected the back with electronic equipment, can not lead to electronic equipment's the interface that charges to corrode yet, and then promoted electronic equipment's the security of charging process.
Drawings
FIG. 1 is a schematic diagram of a connection of a charger provided herein;
FIG. 2 is a schematic diagram illustrating corrosion of a charging interface according to the present disclosure;
fig. 3 is a schematic diagram of a control circuit of a charging interface according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present disclosure;
fig. 9a is a schematic diagram of a control circuit of a further charging interface according to an embodiment of the present disclosure;
fig. 9b is a schematic diagram of a control circuit of a charging interface according to an embodiment of the present application;
fig. 10 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present application;
fig. 11 is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present disclosure;
fig. 12 is a schematic diagram of a control circuit of yet another charging interface according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram of a charger according to an embodiment of the present disclosure;
fig. 14 is a flowchart of a control method of a charging interface according to an embodiment of the present application.
Detailed Description
The embodiment of the application does not specifically limit the type of the electronic device charged by the charger, and the electronic device may be a mobile phone, a notebook computer, a wearable electronic device (e.g., a smart watch), a tablet computer, an Augmented Reality (AR) device, a Virtual Reality (VR) device, an in-vehicle device, and the like.
Furthermore, the Type of the charging interface is not specifically limited in the embodiment of the application, and the charging interface can be a Type-C interface, a Micro-USB interface, a Lighting interface and the like.
In order to make the person skilled in the art better understand the present disclosure, the principle of corrosion formation of the charging interface of the charger is first explained below.
Referring to fig. 2, the schematic diagram of corrosion formation of the charging interface provided in the present application is shown.
When water enters the charging interface accidentally, the data end of the charging interface and the first power end of the charging interface are connected through liquid to form a loop, so that the metal pin is subjected to electrolytic reaction, for example, the first power end of the charging interface can serve as an anode, the data end of the charging interface can serve as a cathode, and Ni and Cu of the anode lose electrons to form Cu2+, Ni2+ enter liquid, so that precipitates such as Cu3(PO4)2 and CuCl2 are separated out from the surface of the metal pin of the charging interface, namely, the charging interface is corroded.
In practical applications, the above corrosion situation may occur in the following scenarios:
for example, when the plug of the charger is connected with a power supply, for example, a mains supply is connected, and the charging interface of the charger is accidentally contacted with water or other liquid, the data terminal of the charging interface is connected with the first power terminal of the charging interface, and at this time, the first power terminal of the charging interface always has voltage (usually, the voltage is greater than or equal to 5V), so that the data terminal of the charging interface and the first power terminal of the charging interface are continuously corroded.
For example, when the electronic device is used, a charging port of the electronic device is easily filled with water (such as when the electronic device is used in rainy days, seas or swimming pools), the charging port of the electronic device is connected to a charging port of a charger after the water is filled into the charging port and when the water is not dried, the charging port is filled with water, and when a plug of the charger is connected to a power supply, a data terminal of the charging port is connected to a first power terminal of the charging port, so that the charging port of the mobile phone and the charging port of the charger are corroded.
The charging interface is corroded, so that the charging interface is rusted, poor in contact or short-circuited, and the like, and after the charging interface is connected with the electronic equipment, the charging interface of the electronic equipment can be further corroded, so that the charging interface of the electronic equipment can be damaged, and potential safety hazards exist in the charging process of the electronic equipment.
In order to solve the problems, the application provides a control circuit, a charger and a method of a charging interface, the control circuit detects the voltage of a data end of the charging interface through a voltage detection circuit and sends the voltage to a controller, when the controller determines that the voltage of the data end exceeds a voltage threshold value, the switch connected between a first power end of the charging interface and a power supply of the charger is controlled to be disconnected, the first power end of the charging interface is enabled to have no power, therefore, the charging interface of the charger can be prevented from being corroded when the charging interface of the charger accidentally enters water, and the safety of the charging process of electronic equipment is further improved.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. It should be understood that the terms first, second, etc. are used herein only for distinguishing the same type of nouns for convenience of description, and do not constitute a limitation on the present application.
The embodiment of the application provides a control circuit of a charging interface, which is applied to a charger capable of charging electronic equipment, and is specifically described below with reference to the accompanying drawings.
Referring to fig. 3, the figure is a schematic diagram of a control circuit of a charging interface according to an embodiment of the present application.
The control circuit includes: a controller 300, a voltage detection circuit 301, and a switch 302.
A first end of the voltage detection circuit 301 is connected to the data terminal 100b of the charging interface 100 of the charger, and a second end of the voltage detection circuit 301 is connected to the controller 300.
Voltage detection circuit 301 is configured to detect a voltage at data terminal 100b of charging interface 100, and send a detection result to controller 300.
A first terminal of the switch 302 is connected to the first power terminal 100a of the charging interface 100, a second terminal of the switch 302 is connected to the charger power 303, and a control terminal of the switch 302 is connected to the controller 300.
The controller 300 is configured to control the switch to be turned off when the voltage detected by the voltage detection circuit 301 exceeds the voltage threshold, so as to disconnect the first power terminal 100a of the charging interface 100 from the power source of the charger, so that the first power terminal 100a no longer has power.
The operation of the control circuit is explained in detail below.
When the charging interface 100 is in a normal state, the data terminal 100b of the charging interface 100 is not connected to the first power terminal 100a of the charging interface, the voltage on the data terminal of the charging interface 100 is smaller than the voltage threshold, and at this time, the controller 300 controls the switch to be in a conducting state, so that the first power terminal 100a of the charging interface 100 is connected to the power supply 303 of the charger.
When the charging interface 100 accidentally intakes water, the data terminal 100b of the charging interface 100 is connected with the first power terminal 100a of the charging interface, because the voltage of the first power terminal 100a of the charging interface 100 in normal operation is higher than the voltage threshold, the voltage of the data terminal of the charging interface can exceed the voltage threshold, and when the controller 300 determines that the voltage detected by the voltage detection circuit 301 exceeds the voltage threshold, the accidental water intake of the charging interface at the moment can be determined. At this time, the controller 300 controls the switch 302 to be turned off, so that the first power terminal 100a of the charging interface 100 is disconnected from the power source 303 of the charger, and the first power terminal 100a of the charging interface is no longer powered, so that the charging interface 100 is not corroded.
The voltage threshold is greater than the voltage of the data terminal 100b when the charger works normally and less than or equal to the voltage of the first power terminal 100b when the charger works normally, and the specific voltage threshold may be set according to an actual situation.
For example, the voltage of the data terminal 100b does not normally exceed 3V when the charger normally operates, and the voltage of the first power terminal 100b normally operates at 5V or more, so the voltage threshold may be set to a voltage value greater than 3V and less than 5V, for example, set to 4V, and when the controller determines that the voltage of the data terminal 100b exceeds 4V, it is determined that the charging interface has been accidentally filled with water.
The switch 302 of the embodiment of the present application may be the following switching device:
BJT (Bipolar Junction Transistor) or Metal Oxide Semiconductor field effect Transistor (MOS Transistor for short). The MOS transistor can be an NMOS transistor or a PMOS transistor.
The switch 302 is a MOS transistor, and specifically a PMOS transistor, for example.
Referring to fig. 4, the schematic diagram of another control circuit of a charging interface according to an embodiment of the present application is shown.
When the switch 302 is a PMOS transistor, since the PMOS transistor has a parasitic diode, an anode of the parasitic diode is connected to a drain of the PMOS transistor, and a cathode of the parasitic diode is connected to a source of the PMOS transistor, in order to avoid current flowing through the parasitic diode, a control terminal of the switch 302 is a gate of the PMOS transistor, a first terminal of the switch 302 is the source of the PMOS transistor, and a second terminal of the switch 302 is the drain of the PMOS transistor. That is, the switch 302 has a gate connected to the controller 300, a source connected to the first power source terminal 100a, and a drain connected to the charger power source 303, so that the parasitic diode is in a reverse blocking state.
When the charging interface 100 is in a normal state, the controller 300 outputs a low level to the gate of the PMOS transistor, and the drain and the source of the PMOS transistor are turned on, so that the first power terminal 100a of the charging interface 100 is connected to the power 303 of the charger.
When the charging interface 100 is accidentally filled with water, the controller 300 outputs a high level to the gate of the PMOS transistor, and the drain and the source of the PMOS transistor are disconnected, so that the first power end 100a of the charging interface 100 is disconnected from the power 303 of the charger.
Further, when the switch 302 is a PMOS transistor, the control circuit may further include: a first resistor (not shown).
The first end of the first resistor is connected with the drain electrode of the PMOS tube, the second end of the first resistor is connected with the grid electrode of the PMOS tube, and the first resistor is used for protecting the circuit.
The controller 300 may be an MCU (micro controller Unit) inside the charger, or may be an MCU independently installed additionally, which is not specifically limited in this embodiment of the present application. The MCU may be a DSP (Digital Signal Processor) or a single chip microcomputer.
In conclusion, utilize the control circuit of the interface that charges that this application provided, when the interface that charges accidentally intakes, the data end of the interface that charges is connected between the first power end of the interface that charges, because the voltage of the first power end of the interface that charges when working normally is higher than the voltage threshold, consequently can make the voltage of the data end of the interface that charges exceed the voltage threshold, when the controller confirms that the voltage that voltage detection circuit detected surpasses the voltage threshold, can confirm that the interface that charges accidentally intakes this moment, control switch disconnection, so that the first power end of the interface that charges and the power disconnection of charger, make the first power end of the interface that charges no longer have the electricity, and then make the interface that charges not corroded. And because the first power end of the interface that charges no longer has electricity, consequently the interface that charges that when accident was intake is connected the back with electronic equipment, can not charge for electronic equipment, can not lead to electronic equipment's the interface that charges to take place to corrode yet, and then promoted electronic equipment's the security of charging process.
The above embodiments illustrate the operation principle of the control circuit, and the following embodiments specifically illustrate the operation principle of the control circuit when the voltage detection circuit detects voltages of different interfaces of the data terminal.
Referring to fig. 5, the schematic diagram of a control circuit of another charging interface provided in the embodiment of the present application is shown.
The voltage detection circuit 301 of the control circuit includes: first voltage sensing branch 301 a.
A first end of the first voltage detecting branch 301a is connected to the first differential port 100b1 at the data end, and a second end of the first voltage detecting branch 301a is connected to the first analog-to-digital converting circuit 300a of the controller 300.
The first voltage detecting branch 301a is used to send the voltage of the first differential port 100b1 to the first analog-to-digital converting circuit 300 a.
The first analog-to-digital conversion circuit 300a is configured to convert the voltage of the first differential port 100b1 into a first digital signal.
The controller 300 is configured to control the switch to open when it is determined that the first digital signal exceeds the voltage threshold.
When the charging interface 100 unexpectedly enters water, the first differential interface 100b1 of the data terminal is connected to the first power terminal 100a, because the voltage of the first power terminal 100a during normal operation is higher than the voltage threshold, the voltage of the first differential interface 100b1 is increased to exceed the voltage threshold, and when the controller 300 determines that the first digital signal exceeds the voltage threshold, it can be determined that the charging interface unexpectedly enters water at this time. At this time, the controller 300 controls the switch 302 to be turned off, so that the first power terminal 100a of the charging interface 100 is disconnected from the power source 303 of the charger, and the first power terminal 100a of the charging interface is no longer powered, so that the charging interface is not corroded.
Further, in order to control the input voltage of the first analog-to-digital conversion circuit 300a within a voltage range in which the controller normally operates, and prevent the controller from being damaged due to an excessive input voltage of the first analog-to-digital conversion circuit 300a, the first voltage detection branch 301a may include a voltage division circuit, which is described in detail below with reference to the drawings.
Referring to fig. 6, the drawing is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present application.
Specifically, the first voltage detecting branch 301a includes: a first divider resistor R1 and a second divider resistor R2.
A first terminal of the first voltage-dividing resistor R1 is connected to the first differential port 100b1 of the data terminal, a second terminal of the first voltage-dividing resistor R1 is connected to the first analog-to-digital conversion circuit 300a of the controller, and a second terminal of the first voltage-dividing resistor R1 is connected to the ground through the second voltage-dividing resistor R2.
At this time, the voltage obtained by the first analog-to-digital conversion circuit 300a is the voltage across the second voltage-dividing resistor R2, so the input voltage of the first analog-to-digital conversion circuit 300a can be reduced, and the controller can be prevented from being damaged due to the excessive input voltage of the first analog-to-digital conversion circuit 300 a.
The specific resistance values of the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 may be set according to practical situations, and this is not particularly limited in this embodiment of the present application.
Further, the input voltage of the first analog-to-digital conversion circuit 300a is denoted by U2, and the voltage of the first differential port 100b1 is denoted by U1, then the controller 300 may determine U1 by:
U1=(1+R1/R2)U2 (1)
the controller 300 converts the U1 into a first digital signal after determining the U1, the controller 300 compares the first digital signal with a voltage threshold, and when the controller 300 determines that the first digital signal exceeds the voltage threshold, it can be determined that the charging interface has accidentally entered water. At this time, the controller 300 controls the switch 302 to be turned off, so that the charging interface is not corroded.
The above embodiment illustrates the operation principle of the control circuit when the voltage detection circuit detects the first differential port, and the following embodiment specifically illustrates the operation principle of the control circuit when the voltage detection circuit detects the second differential port.
Referring to fig. 7, the schematic diagram of another control circuit of a charging interface according to an embodiment of the present application is shown.
The voltage detection circuit 301 of the control circuit includes: second voltage sensing branch 301 b.
A first end of the second voltage detecting branch 301b is connected to the second differential port 100b2 of the data terminal, and a second end of the second voltage detecting branch 301b is connected to the second analog-to-digital converting circuit 300b of the controller 300.
The second voltage detecting branch 301b is used to send the voltage of the second differential port 100b2 to the second analog-to-digital converting circuit 300 b.
The second analog-to-digital conversion circuit 300b is used for converting the voltage of the second differential port 100b2 into a second digital signal.
The controller 300 is configured to control the switch 302 to open when it is determined that the second digital signal exceeds the voltage threshold.
When the charging interface 100 unexpectedly enters water, the second differential port 100b2 of the data terminal is connected to the first power terminal 100a, because the voltage of the first power terminal 100a during normal operation is higher than the voltage threshold, the voltage of the second differential port 100b2 exceeds the voltage threshold, and when the controller 300 determines that the second digital signal exceeds the voltage threshold, it can be determined that the charging interface unexpectedly enters water at this time. At this time, the controller 300 controls the switch 302 to be turned off, so that the first power terminal 100a of the charging interface 100 is disconnected from the power source 303 of the charger, and the first power terminal 100a of the charging interface is no longer powered, so that the charging interface is not corroded.
Further, in order to control the input voltage of the second analog-to-digital conversion circuit 300b within the normal operating voltage range of the controller and prevent the controller from being damaged due to the excessive input voltage of the second analog-to-digital conversion circuit 300b, the second voltage detection branch 301b may include a voltage division circuit, which is described in detail below with reference to the drawings.
Referring to fig. 8, the figure is a schematic diagram of a control circuit of another charging interface provided in an embodiment of the present application.
Specifically, the first voltage detecting branch 301a includes: a third voltage dividing resistor R3 and a fourth voltage dividing resistor R4.
A first end of the third voltage dividing resistor R3 is connected to the second differential port 100b2 of the data terminal, a second end of the third voltage dividing resistor R3 is connected to the second analog-to-digital conversion circuit 300b of the controller, and a second end of the third voltage dividing resistor R3 is grounded via the fourth voltage dividing resistor R4.
At this time, the voltage obtained by the second analog-to-digital conversion circuit 300b is the voltage across the fourth voltage dividing resistor R4, so the input voltage of the second analog-to-digital conversion circuit 300b is reduced, and the controller is prevented from being damaged due to the excessive input voltage of the second analog-to-digital conversion circuit 300 b.
The specific resistance values of the third voltage dividing resistor R3 and the fourth voltage dividing resistor R4 may be set according to practical situations, and this is not specifically limited in this embodiment of the present application.
Further, the input voltage of the second analog-to-digital conversion circuit 300b is represented by U4, and the voltage of the second differential port 100b2 is represented by U3, then the controller 300 can determine U3 by:
U3=(1+R3/R4)U4 (2)
the controller 300 converts the U3 into a second digital signal after determining the U3, the controller compares the second digital signal with a voltage threshold, and when the controller 300 determines that the second digital signal exceeds the voltage threshold, it can be determined that the charging interface has water accidentally entered at the moment. At this time, the controller 300 controls the switch 302 to be turned off, so that the charging interface is not corroded.
The above embodiments respectively describe the operation principle of the control circuit when the voltage detection circuit detects the first differential port or the first differential port, and the following specifically describes the operation principle of the control circuit when the voltage detection circuit detects the first differential port and the second differential port simultaneously with reference to the embodiments.
Referring to fig. 9a, the figure is a schematic diagram of a control circuit of another charging interface according to an embodiment of the present application.
The voltage detection circuit 301 of the control circuit includes: a first voltage detection branch 301a and a second voltage detection branch 301 b.
A first end of the first voltage detecting branch 301a is connected to the first differential port 100b1 of the data terminal, and a second end of the first voltage detecting branch 301a is connected to the first analog-to-digital converting circuit 300a of the controller 300.
The first voltage detecting branch 301a is used to send the voltage of the first differential port 100b1 to the first analog-to-digital converting circuit 300 a.
The first analog-to-digital conversion circuit 300a is configured to convert the voltage of the first differential port 100b1 into a first digital signal.
A first end of the second voltage detecting branch 301b is connected to the second differential port 100b2 of the data terminal, and a second end of the second voltage detecting branch 301b is connected to the second analog-to-digital converting circuit 300b of the controller 300.
The second voltage detecting branch 301b is used to send the voltage of the second differential port 100b2 to the second analog-to-digital converting circuit 300 b.
And a second analog-to-digital conversion circuit 300b for converting the voltage of the second differential port 100b2 into a second digital signal.
The controller 300 is configured to control the switch 302 to open when it is determined that at least one of the first digital signal and the second digital signal exceeds the voltage threshold.
It can be understood that, in order to prevent the controller from being damaged due to the excessive input voltage of the first analog-to-digital conversion circuit 300a and the second analog-to-digital conversion circuit 300b, both the first voltage detection branch 301a and the second voltage detection branch 301b may include a voltage division circuit, and for specific description of the voltage division circuit, reference may be made to the above embodiments, and details of the embodiments of the present application are not repeated herein.
Reference is also made to fig. 9b, which is a schematic diagram of a control circuit of a charging interface provided in an embodiment of the present application.
The controller is an MCU, the switch Q1 is a PMOS (P-channel metal oxide semiconductor) transistor, the first power supply end of the charging interface J1 is represented by VBUS, the drain electrode of the switch Q1 is connected with the power supply of the charger, the source electrode of the switch Q1 is connected with VBUS, and the MCU is connected with the gate electrode of the switch Q1 through a GPIO (general purpose input/output) interface. A first resistor R is connected between the drain and gate of switch Q1.
The first differential port D of the charging interface J1 is connected to the first analog-to-digital conversion circuit ADC1 of the controller, and the first analog-to-digital conversion circuit ADC1 is configured to convert the voltage of the first differential port D into a first digital signal. The second differential port D + of the charging interface J1 is connected to the second analog-to-digital conversion circuit ADC2 of the controller, and the second analog-to-digital conversion circuit ADC2 is configured to convert the voltage of the second differential port D + into a second digital signal.
The MCU is configured to control the switch Q1 to open when it is determined that at least one of the first digital signal and the second digital signal exceeds a voltage threshold.
Utilize the control circuit of the interface that charges that this application provided, when the interface that charges accidentally intake, the first differential interface and the second differential interface of the data end of the interface that charges are connected with the first power end of the interface that charges between, because the voltage of the first power end of the interface that charges when working normally is higher than the voltage threshold, consequently can make the voltage of the data end of the interface that charges exceed the voltage threshold, when the controller confirms that at least one in first digital signal and the second digital signal exceeds the voltage threshold, can confirm that the interface that charges accidentally intakes this moment, control switch disconnection, so that the first power end of the interface that charges and the power disconnection of charger, make the first power end of the interface that charges no longer have the electricity, and then make the interface that charges not corroded. And because the first power end of the interface that charges no longer has electricity, consequently the interface that charges that when accident was intake is connected the back with electronic equipment, can not charge for electronic equipment, can not lead to electronic equipment's the interface that charges to take place to corrode yet, and then promoted electronic equipment's the security of charging process.
In the above embodiment, the analog-to-digital conversion circuit of the controller is used to obtain the digital signal of the data terminal of the charging interface, and the embodiment of the application further provides another control circuit of the charging interface, and the comparator is used to determine whether the voltage of the data terminal of the charging interface exceeds the preset threshold, which is specifically described below with reference to the accompanying drawings.
Referring to fig. 10, the schematic diagram of a control circuit of another charging interface provided in the embodiment of the present application is shown.
The control circuit includes: a controller 300, a voltage detection circuit 301, a switch 302, and a comparator 304.
A first end of the voltage detection circuit 301 is connected to the data terminal 100b of the charging interface 100 of the charger, a second end of the voltage detection circuit 301 is connected to a first input end of the comparator 304, and a second input end of the comparator 304 is connected to the voltage threshold.
Voltage detection circuit 301 is configured to detect a voltage at data terminal 100b of charging interface 100, and send the detected voltage to comparator 304.
A first terminal of the switch 302 is connected to the first power terminal 100a of the charging interface 100, a second terminal of the switch 302 is connected to the charger power 303, and a control terminal of the switch 302 is connected to the controller 300.
The output terminal of the comparator 304 is connected to the IO port of the controller 300. The comparator 304 is used for comparing the magnitude relation between the detection voltage of the voltage detection circuit 301 and the voltage threshold. The comparator 304 outputs a level signal to the IO port of the controller 300.
In one possible implementation manner, when charging interface 100 is in a normal condition, the voltage on the data terminal of charging interface 100 is smaller than the voltage threshold, and comparator 304 outputs a low level to the IO interface of controller 300. When the charging interface 100 accidentally enters water, the data terminal 100b of the charging interface 100 is connected to the first power terminal 100a of the charging interface, because the voltage of the first power terminal 100a of the charging interface 100 during normal operation is higher than the voltage threshold, the voltage of the data terminal of the charging interface exceeds the voltage threshold, and at this time, the comparator 304 outputs a high level to the IO interface of the controller 300.
In another possible implementation manner, when charging interface 100 is in a normal condition, the voltage on the data terminal of charging interface 100 is smaller than the voltage threshold, and comparator 304 outputs a high level to the IO interface of controller 300. When the charging interface 100 accidentally enters water, the data terminal 100b of the charging interface 100 is connected to the first power terminal 100a of the charging interface, because the voltage of the first power terminal 100a of the charging interface 100 during normal operation is higher than the voltage threshold, the voltage of the data terminal of the charging interface exceeds the voltage threshold, and at this time, the comparator 304 outputs a low level to the IO interface of the controller 300.
The controller 300 is configured to control the switch to be turned off when the level of the IO interface jumps, so that the first power end of the charging interface is turned off from the power supply of the charger, and the first power end of the charging interface is not powered, so that the charging interface is not corroded. And because the first power end of the interface that charges no longer has electricity, consequently the interface that charges that when accident was intake is connected the back with electronic equipment, can not charge for electronic equipment, can not lead to electronic equipment's the interface that charges to take place to corrode yet, and then promoted electronic equipment's the security of charging process.
The operation principle of the control circuit when comparing the voltages of different interfaces of the data terminal with the voltage threshold value by using the comparator will be described in detail with reference to the embodiments.
Referring to fig. 11, the schematic diagram of a control circuit of another charging interface provided in the embodiment of the present application is shown.
The comparator includes: a first comparator 304 a.
A first input terminal of the first comparator 304a is connected to the first differential port 100b1 of the data terminal, and a second input terminal of the first comparator 304a is connected to a voltage threshold.
The output terminal of the first comparator 304a is connected to the first IO port 300c of the controller. The first comparator 304a is used for comparing the magnitude relation between the detection voltage of the voltage detection circuit 301 and the voltage threshold. The first comparator 304a outputs a level signal to the first IO port 300c of the controller 300. When water enters the charging interface 100 accidentally, the data terminal 100b of the charging interface 100 is connected to the first power terminal 100a of the charging interface, because the voltage of the first power terminal 100a of the charging interface 100 during normal operation is higher than the voltage threshold, the voltage of the first differential interface 100b1 of the charging interface exceeds the voltage threshold, and at this time, the level output by the second comparator 304b to the first IO interface 300c jumps.
The controller 300 is configured to control the switch 302 to be turned off when the level of the first IO port 300c jumps, so that the first power end 100a of the charging port is no longer powered, and therefore, the charging port of the charger is prevented from being corroded when water enters the charging port accidentally, and the safety of the charging process of the electronic device is improved.
Reference may also be made to fig. 12, which is a schematic diagram of a control circuit of another charging interface provided in an embodiment of the present application.
The comparator includes: a second comparator 304 b.
A first input terminal of the second comparator 304b is connected to the second differential port 100b2 of the data terminal, and a second input terminal of the second comparator 304b is connected to the voltage threshold.
The output terminal of the second comparator 304b is connected to the second IO port 300d of the controller. The second comparator 304b is used for comparing the magnitude relation between the detection voltage of the voltage detection circuit 301 and the voltage threshold. The second comparator 304b outputs a level signal to the second IO port 300d of the controller 300. When water enters the charging interface 100 accidentally, the data terminal 100b of the charging interface 100 is connected to the first power terminal 100a of the charging interface, because the voltage of the first power terminal 100a of the charging interface 100 during normal operation is higher than the voltage threshold, the voltage of the second differential interface 100b2 of the charging interface exceeds the voltage threshold, and at this time, the level output by the second comparator 304b to the first IO interface 300d jumps.
The controller 300 is configured to control the switch 302 to be turned off when the level of the second IO port 300d jumps, so that the first power end 100a of the charging port is no longer powered, and therefore, the charging port of the charger is prevented from being corroded when water enters the charging port accidentally, and the safety of the charging process of the electronic device is improved.
It is understood that the corrosion circuit may further include a first comparator 304a and a second comparator 304b, wherein the first comparator 304a compares the voltage of the first differential port 100b1 with the voltage threshold, and the second comparator 304b compares the voltage of the second differential port 100b2 with the voltage threshold. The controller 300 is configured to control the switch 302 to be turned off when it is determined that at least one of the first IO port and the second IO port has a transition.
Further, for the control circuit using the comparator, the voltage detection circuit 301 may further include a voltage division circuit to protect the comparator, and for the description of the voltage division circuit, reference may be made to the above embodiments, and details of the embodiments of the present application are not repeated herein.
Based on the control circuit of the charging interface provided by the above embodiment, the embodiment of the application further provides a charger, which is specifically described below with reference to the accompanying drawings.
Referring to fig. 13, the figure is a schematic view of a charger according to an embodiment of the present application.
The first end of charger 400 is used for connecting alternating current power supply when charging for electronic equipment, and the second end of charger 400 is equipped with the interface that charges for connecting electronic equipment when charging for electronic equipment.
The control circuit provided by any of the above embodiments of the charger 400 is not described herein again.
The charger provided by the embodiment of the application comprises the control circuit provided by the embodiment, and the control circuit comprises a controller, a voltage detection circuit and a switch. The first end of the voltage detection circuit is connected with the data end of the charging interface of the charger, the second end of the voltage detection circuit is connected with the controller, and the voltage detection circuit is used for detecting the voltage of the data end of the charging interface and sending the voltage to the controller. The first end of the switch is connected with the first power end of the charging interface, the second end of the switch is connected with the power supply of the charger, and the control end of the switch is connected with the controller. Under normal conditions, the voltage of the data end of the charging interface is smaller than the voltage threshold value, and the switch is in a conducting state. When the interface that charges accidentally intakes, the data end of the interface that charges is connected between the first power end of interface that charges, because the voltage of the first power end of interface that charges during normal work is higher than voltage threshold, consequently, can make the voltage of the data end of the interface that charges exceed voltage threshold, when the controller confirms that the voltage that voltage detection circuit detected exceeds voltage threshold, can confirm that the interface that charges accidentally intakes this moment, control switch disconnection, so that the first power end of the interface that charges and the power disconnection of charger, make the first power end of the interface that charges no longer have the electricity, and then make the interface that charges not corroded.
In conclusion, utilize the charger that this application provided, can prevent the interface that charges when the interface that charges of charger accident is intake and take place to corrode to because the first power end of the interface that charges no longer has an electricity, consequently the interface that charges who intakes when the accident is connected the back with electronic equipment, can not lead to electronic equipment's the interface that charges to take place to corrode yet, and then promoted electronic equipment's the security of charging process.
Based on the control circuit of the charging interface provided by the above embodiment, the embodiment of the application also provides a control method of the charging interface, which is specifically described below with reference to the accompanying drawings.
Referring to fig. 14, the figure is a flowchart of a control method of a charging interface according to an embodiment of the present application.
At this time, the control method of the charging interface provided by the embodiment of the application includes the following steps:
s501: and detecting the voltage of the data end of the charging interface.
S502: when the voltage exceeds the voltage threshold, the control switch is turned off.
The method provided by the embodiment can be applied to the control circuit of the charging interface provided by any of the above embodiments. Wherein, when the control circuit includes: when the controller, the voltage detection circuit and the switch are turned on or off, the first end of the voltage detection circuit is connected with the data end of the charging interface of the charger, the second end of the voltage detection circuit is connected with the controller, and the voltage detection circuit is used for detecting the voltage of the data end of the charging interface and sending the voltage to the controller; the first end of the switch is connected with the first power end of the charging interface, the second end of the switch is connected with the power supply of the charger, and the control end of the switch is connected with the controller.
The controller is configured to control the switch to be turned off when it is determined that the voltage detected by the voltage detection circuit exceeds the voltage threshold, so that the first power terminal of the charging interface is disconnected from the power supply of the charger, and the first power terminal is no longer powered.
When the control circuit includes: during controller, voltage detection circuit, comparator and switch, the data end of the interface that charges of charger is connected to voltage detection circuit's first end, and voltage detection circuit's second end is connected the first input of comparator, and the second input of comparator connects the voltage threshold value. The output end of the comparator is connected with the IO port of the controller, the first end of the switch is connected with the first power end of the charging interface, the second end of the switch is connected with the power supply of the charger, and the control end of the switch is connected with the controller.
The comparator is used for comparing the magnitude relation between the detection voltage of the voltage detection circuit and the voltage threshold. When the voltage exceeds a voltage threshold value, the level signal output by the comparator to the IO port of the controller jumps, and when the level of the IO port jumps, the controller determines that the voltage of the data end of the charging interface exceeds the voltage threshold value, and the switch is controlled to be switched off.
By utilizing the control method of the charging interface provided by the embodiment of the application, when the charging interface unexpectedly intakes water, and when the charging interface unexpectedly intakes water, the data terminal of the charging interface is connected with the first power terminal of the charging interface, because the voltage of the first power terminal of the charging interface during normal working is higher than the voltage threshold, the voltage of the data terminal of the charging interface can exceed the voltage threshold, when the controller determines that the voltage detected by the voltage detection circuit exceeds the voltage threshold, the accidental water intake of the charging interface at the moment can be determined, the control switch is disconnected, so that the first power terminal of the charging interface is disconnected with the power supply of the charger, the first power terminal of the charging interface is not electrified, and the charging interface is not corroded.
Therefore, the method can prevent the charging interface of the charger from being corroded when the charging interface of the charger accidentally intakes water, and the first power end of the charging interface is no longer electrified, so that the charging interface of the electronic equipment cannot be corroded after the charging interface accidentally intakes water is connected with the electronic equipment, and the safety of the charging process of the electronic equipment is further improved.
Further, in order to be able to determine that the charging interface has been restored from the water inlet state to the dry state, and can be used normally, the method may further include the following steps:
and the controller controls the switch to be closed after preset time, when the controller determines that the voltage of the data end of the charging interface exceeds the voltage threshold, the switch is controlled to be opened, and the processes are repeated until the controller determines that the voltage of the data end of the charging interface is smaller than the voltage threshold, and the switch is controlled to be closed.
The predetermined time may be set according to actual conditions, for example, may be set to 10 seconds, and this is not particularly limited in the embodiment of the present application. Therefore, after the charging interface is dry, the controller can control the switch to be closed so that the charger can normally charge the electronic device.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application in any way. Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

Claims (13)

1. A control circuit of a charging interface is applied to a charger and comprises: the device comprises a controller, a voltage detection circuit and a switch;
the first end of the voltage detection circuit is connected with the data end of the charging interface of the charger; the second end of the voltage detection circuit is connected with the controller;
the voltage detection circuit is used for detecting the voltage of the data end of the charging interface and sending the voltage to the controller;
the first end of the switch is connected with the first power end of the charging interface, and the second end of the switch is connected with the power supply of the charger; the control end of the switch is connected with the controller;
the controller is used for controlling the switch to be switched off when the voltage exceeds a voltage threshold value.
2. The control circuit of claim 1, wherein the voltage detection circuit comprises: a first voltage detection branch; the controller comprises a first analog-to-digital conversion circuit;
the first end of the first voltage detection branch is connected with the first differential port of the data end; the second end of the first voltage detection branch is connected with the first analog-to-digital conversion circuit, and the first voltage detection branch is used for sending the voltage of the first differential port to the first analog-to-digital conversion circuit;
the first analog-to-digital conversion circuit is used for converting the voltage of the first differential port into a first digital signal;
the controller is used for controlling the switch to be switched off according to the first digital signal.
3. The control circuit of claim 2, wherein the first voltage detection branch comprises: a first voltage dividing resistor and a second voltage dividing resistor;
a first end of the first divider resistor is connected with a first differential port of the data end, and a second end of the first divider resistor is connected with a first analog-to-digital conversion circuit of the controller; and the second end of the first voltage-dividing resistor is grounded through the second voltage-dividing resistor.
4. The control circuit according to claim 1 or 2, wherein the voltage detection circuit includes: a second voltage detection branch;
the first end of the second voltage detection branch is connected with the second differential port of the data end; a second end of the second voltage detection branch is connected with a second analog-to-digital conversion circuit of the controller, and the second voltage detection branch is used for sending the voltage of the second differential port to the second analog-to-digital conversion circuit;
the second analog-to-digital conversion circuit is used for converting the voltage of the second differential port into a second digital signal;
and the controller is used for controlling the switch to be switched off according to the second digital signal.
5. The control circuit of claim 4, wherein the second voltage detection branch comprises: a third voltage dividing resistor and a fourth voltage dividing resistor;
a first end of the third voltage-dividing resistor is connected with a second differential port of the data end, and a second end of the third voltage-dividing resistor is connected with a second analog-to-digital conversion circuit of the controller; and the second end of the third voltage dividing resistor is grounded through the fourth voltage dividing resistor.
6. The control circuit according to any one of claims 1 to 5, wherein the switch is a PMOS transistor, and the control terminal of the switch is a gate of the PMOS transistor; the first end of the switch is the source electrode of the PMOS tube, and the second end of the switch is the drain electrode of the PMOS tube.
7. The control circuit of claim 6, further comprising: a first resistor; the first end of the first resistor is connected with the drain electrode of the PMOS tube, and the second end of the first resistor is connected with the grid electrode of the PMOS tube.
8. The control circuit according to any one of claims 1 to 3, wherein the controller is a single chip microcomputer inside the charger.
9. The control circuit according to claim 1, wherein the voltage threshold is greater than the voltage of the data terminal when the charger operates normally and less than or equal to the voltage of the first power terminal when the first power terminal operates normally.
10. A control circuit of a charging interface is applied to a charger and comprises: the device comprises a controller, a voltage detection circuit, a comparator and a switch;
the first end of the voltage detection circuit is connected with the data end of the charging interface of the charger; the second end of the voltage detection circuit is connected with the first input end of the comparator, and the second input end of the comparator is connected with a preset voltage threshold;
the output end of the comparator is connected with the controller;
the first end of the switch is connected with the first power end of the charging interface, and the second end of the switch is connected with the power supply of the charger; the control end of the switch is connected with the controller;
and the controller is used for controlling the switch to be switched off according to the output signal of the comparator.
11. The control circuit of claim 10, applied to a charger, wherein the comparator comprises: a first comparator;
a first input end of the first comparator is connected with the first differential port of the data end, and a second input end of the first comparator is connected with the preset voltage threshold;
the output end of the first comparator is connected with the controller;
and the controller is used for controlling the switch to be switched off according to the output signal of the first comparator.
12. The control circuit of claim 11, applied to a charger, wherein the comparator further comprises: a second comparator;
a first input end of the second comparator is connected with the second differential port of the data end, and a second input end of the second comparator is connected with the preset voltage threshold;
the output end of the second comparator is connected with the controller;
and the controller is used for controlling the switch to be switched off according to the output signal of the second comparator.
13. A charger is characterized in that a first end of the charger is used for connecting an alternating current power supply; the second end of the charger is provided with a charging interface, the charger is connected with an electronic device through the charging interface, and the charger comprises the control circuit as claimed in any one of claims 1 to 12.
CN201910876995.0A 2019-09-17 2019-09-17 Control circuit and charger of interface charge Pending CN112531796A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910876995.0A CN112531796A (en) 2019-09-17 2019-09-17 Control circuit and charger of interface charge
PCT/CN2020/102287 WO2021051984A1 (en) 2019-09-17 2020-07-16 Control circuit of charging interface, and charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910876995.0A CN112531796A (en) 2019-09-17 2019-09-17 Control circuit and charger of interface charge

Publications (1)

Publication Number Publication Date
CN112531796A true CN112531796A (en) 2021-03-19

Family

ID=74883605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910876995.0A Pending CN112531796A (en) 2019-09-17 2019-09-17 Control circuit and charger of interface charge

Country Status (2)

Country Link
CN (1) CN112531796A (en)
WO (1) WO2021051984A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230025195A1 (en) * 2021-07-21 2023-01-26 Harman International Industries, Incorporated System and method for detecting moisture in a usb type-c port

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202042887U (en) * 2011-05-03 2011-11-16 深圳Tcl新技术有限公司 Charging input overvoltage protecting circuit
CN105826894A (en) * 2015-06-25 2016-08-03 维沃移动通信有限公司 Charging short-circuit protection device of power supply equipment and power supply equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8689033B2 (en) * 2011-07-27 2014-04-01 Freescale Semiconductor, Inc. Power supply and data signal interface circuit with overvoltage protection
CN205791636U (en) * 2016-05-26 2016-12-07 维沃移动通信有限公司 A kind of control circuit and mobile terminal
CN108092370A (en) * 2018-02-18 2018-05-29 李良杰 Safe charging line

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202042887U (en) * 2011-05-03 2011-11-16 深圳Tcl新技术有限公司 Charging input overvoltage protecting circuit
CN105826894A (en) * 2015-06-25 2016-08-03 维沃移动通信有限公司 Charging short-circuit protection device of power supply equipment and power supply equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230025195A1 (en) * 2021-07-21 2023-01-26 Harman International Industries, Incorporated System and method for detecting moisture in a usb type-c port

Also Published As

Publication number Publication date
WO2021051984A1 (en) 2021-03-25

Similar Documents

Publication Publication Date Title
US8063514B2 (en) Power supply selection/detection circuit
US7902794B2 (en) Over-voltage protected battery charger with bypass
US20120250204A1 (en) Protection circuit and input/output circuit
EP3534167A1 (en) Method and device for detecting charging abnormality and power adapter
CN109787305B (en) Charging device and charging system
CN1270431A (en) Circuits for monitoing status of secondary batteries and secondary battery device
CN207117578U (en) Protection circuit
US20070096692A1 (en) Electric power storage device with multiple voltage outputs
CN105490334A (en) Charging system and method for portable electronic devices
US20070145827A1 (en) Apparatus for and method of connecting a power source to a device
CN112531796A (en) Control circuit and charger of interface charge
CN215344037U (en) Battery driving circuit and lithium battery using same
CN211480943U (en) Control circuit and charger of interface charge
CN202210598U (en) Dual anti-creeping socket
CN117293972A (en) Protection circuit for preventing battery equipment from overdischarging
CN108847699B (en) Charging method and electronic device
CN214412262U (en) Protection circuit, circuit board and protection system
CN106712483B (en) A kind of guard method of circuit of synchronous rectification, charger and charger
CN206099420U (en) Overcharge and prevent device
CN212031603U (en) Detection circuit, protection system and consumer
CN207475279U (en) Energy-efficient emergency power supply control switching circuit
CN207937991U (en) a kind of hardware watchdog circuit
CN221202201U (en) Protection circuit for preventing battery equipment from overdischarging
CN213122123U (en) Three-phase electric detection phase sequence intermediate relay circuit
CN115833324B (en) Charge-discharge control circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319