[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111211608A - Charging short-circuit protection circuit and method and power adapter - Google Patents

Charging short-circuit protection circuit and method and power adapter Download PDF

Info

Publication number
CN111211608A
CN111211608A CN202010020823.6A CN202010020823A CN111211608A CN 111211608 A CN111211608 A CN 111211608A CN 202010020823 A CN202010020823 A CN 202010020823A CN 111211608 A CN111211608 A CN 111211608A
Authority
CN
China
Prior art keywords
charging
current
voltage
preset
output
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
CN202010020823.6A
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010020823.6A priority Critical patent/CN111211608A/en
Publication of CN111211608A publication Critical patent/CN111211608A/en
Priority to CN202010844435.XA priority patent/CN113113959A/en
Priority to CN202010845525.0A priority patent/CN111835074A/en
Priority to CN202010844430.7A priority patent/CN113113957A/en
Priority to CN202010844433.0A priority patent/CN111817414A/en
Priority to CN202010844434.5A priority patent/CN113113958A/en
Priority to CN202010845523.1A priority patent/CN113113960A/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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits

Landscapes

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

Abstract

The invention provides a charging short-circuit protection circuit, a method and a power adapter, wherein the circuit comprises: the power supply unit is used for accessing an alternating current power supply voltage; the voltage conversion unit is connected with the power supply unit and used for converting the alternating current power supply voltage and outputting direct current voltage; and the control detection unit is connected with the voltage conversion unit and used for detecting whether a short circuit phenomenon exists in the charging loop or not when the portable equipment is accessed, controlling the voltage value of the direct-current voltage switched and output by the voltage conversion unit according to a detection result, and controlling the connection state of a connection circuit between the control detection unit and the portable equipment so as to charge or stop charging the portable equipment. The invention has low cost, is universal and is easy to realize micro short circuit detection so as to carry out short circuit protection when the portable equipment is charged and improve the charging safety.

Description

Charging short-circuit protection circuit and method and power adapter
Technical Field
The present invention relates to the field of charging protection technologies, and in particular, to a charging short-circuit protection circuit, a charging short-circuit protection method, and a power adapter.
Background
With the increasing popularity of portable devices, such as mobile phones, telephone watches, tablet computers and other devices, the situation that a charging loop is slightly short-circuited in the charging process of the portable devices is increasing.
The micro short circuit is harmful, which may cause damage to the charging system, black burning of the charging interface, and excessive temperature fire. It is important to solve the problem of the micro short circuit of the charging loop.
However, in the market, the number of portable devices capable of detecting the micro short circuit of the charging loop is very small, and the conventional scheme is high in cost, complex in implementation and not universal, so that all portable devices cannot be suitable for use. At present, only a few mobile phone manufacturers on the market add a solution of charging circuit micro short circuit on a high-end flagship model, and the solution can only be applied to a single model and cannot be used universally.
The method comprises the following steps:
1. and manufacturing a special charging adapter, and simultaneously adding the MCU into the charging adapter and the portable equipment to realize real-time communication between the charger and the portable equipment.
2. And a mos switch is integrated in the charging adapter, so that the charging voltage output can be closed. The MCU in the charging adapter is required to have ADC detection and support the current detection function.
3. If the charging adapter and the portable device are connected, the MCU starts handshake communication, the MCU in the portable device informs the MCU in the charging adapter to shut down charging, and then the charging adapter is controlled to output 5V charging voltage or the charging voltage required by the portable device, and at the moment, the output current of the charging adapter is detected. If the output current of the charging adapter is detected to be larger than a certain value, such as 200mA or 300mA, the charging loop between the charging adapter and the portable device is judged to have a micro short circuit. Because the portable device has turned off the charging, the charging adapter output current should be small or 0 at this time.
The disadvantages of this current solution are as follows:
1. the cost is high, and hardware such as an MCU needs to be added to the charging adapter and the portable device.
2. The implementation difficulty is high, and a special handshake communication protocol needs to be customized to realize the communication between the charging adapter and the portable device.
3. A dedicated data line for supporting a communication function needs to be provided for the charging adapter, further increasing the cost.
4. The method is not universal, can only be used for special portable equipment, and cannot realize micro short circuit detection on all portable equipment.
5. Occupation space, need add relevant hardware such as MCU in portable equipment, this is very big to miniaturized portable equipment realization degree of difficulty, for example phone wrist-watch, bracelet etc..
Disclosure of Invention
The invention aims to provide a charging short-circuit protection circuit, a charging short-circuit protection method and a power adapter, which realize low-cost, universal and easily-realized micro short-circuit detection so as to carry out short-circuit protection when portable equipment is charged and improve charging safety.
The technical scheme provided by the invention is as follows:
the invention provides a charging short-circuit protection circuit, comprising:
the power supply unit is used for accessing an alternating current power supply voltage;
the voltage conversion unit is connected with the power supply unit and used for converting the alternating current power supply voltage and outputting direct current voltage;
and the control detection unit is connected with the voltage conversion unit and used for detecting whether a short circuit phenomenon exists in the charging loop or not when the portable equipment is accessed, controlling the voltage value of the direct-current voltage switched and output by the voltage conversion unit according to a detection result, and controlling the connection state of a connection circuit between the control detection unit and the portable equipment so as to charge or stop charging the portable equipment.
Further, the charging short-circuit protection circuit further includes: a switch unit provided at a connection line between a power adapter and the portable device; the control detection unit includes:
the access detection module is used for detecting whether the portable equipment is accessed for charging;
the control module is used for controlling the voltage conversion unit to switch and output the direct-current voltage with the magnitude of a first preset voltage value or a second preset voltage value;
the current detection module is used for switching the magnitude of the output direct-current voltage in the voltage conversion unit and detecting whether a short circuit phenomenon occurs in a charging loop when the portable equipment is connected to be charged;
the control module is further used for controlling the switch unit to be switched from a connection state to a disconnection state if the short circuit phenomenon of the charging loop is determined, so that the connection circuit is disconnected to stop charging; and if the short circuit phenomenon does not occur in the charging loop, controlling the switch unit to keep a connected state, and controlling the voltage conversion unit to switch and output the direct-current charging voltage so as to charge the portable equipment.
Further, the charging short-circuit protection circuit further includes: the current detection resistor is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins; the access detection module comprises: a first access detection submodule; the current detection module includes: the device comprises a current detection submodule, a timing submodule and a processing submodule;
the control module is used for controlling the voltage conversion unit to output a preset direct current voltage in a default mode before detecting whether the portable equipment is connected to charge or not;
the access detection submodule is used for determining that the portable equipment is accessed and charged if the short circuit of the ID pin and the grounding pin of the portable equipment is detected;
the current detection submodule is connected with the current detection resistor and used for detecting whether the output current at the current detection resistor reaches a first preset current value or not when the voltage conversion unit outputs the preset direct-current voltage by default and portable equipment is charged;
the timing submodule is used for judging whether the duration of the output current reaching the first preset current value exceeds a first preset duration or not;
the processing submodule is further used for determining that a short circuit phenomenon occurs in the charging loop if the duration of the output current reaching the first preset current value exceeds the first preset duration; and if the duration of the output current not reaching the first preset current value exceeds the first preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
Further, the charging short-circuit protection circuit further includes: a current detection resistor; the access detection module comprises: a second access detection sub-module; the current detection module includes: the device comprises a current detection submodule, a timing submodule and a processing submodule;
the control module is used for controlling the voltage conversion unit to output the DC charging voltage by default before detecting whether the portable equipment is connected to the charging;
the access detection submodule is connected with the current detection resistor and is used for determining that the access charging of the portable equipment exists when the voltage conversion unit outputs the direct-current charging voltage by default and the duration of the output current reaching a second preset current value at the current detection resistor exceeds a second preset duration;
the control module is used for controlling the voltage conversion unit to convert the output voltage from the direct current charging voltage to a preset direct current voltage when the portable equipment is determined to be charged;
the current detection submodule is connected with the current detection resistor and used for detecting whether the output current at the current detection resistor reaches a second preset current value or not when the voltage conversion unit outputs the preset direct-current voltage;
the timing submodule is used for judging whether the duration of the output current reaching the second preset current value exceeds a second preset duration or not;
the processing submodule is further used for determining that a short circuit phenomenon occurs in the charging loop if the duration of the output current reaching a second preset current value exceeds a second preset duration; and if the duration of the output current reaching the second preset current value does not exceed the second preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
Further, the voltage conversion unit includes: the device comprises an alternating current and direct current conversion module, a first voltage conversion module and a second voltage conversion module;
the alternating current and direct current conversion module is used for converting the alternating current power supply voltage into direct current output voltage;
the first voltage conversion module is connected with the alternating current-direct current conversion module and used for carrying out voltage reduction processing on the direct current output voltage and outputting a preset direct current voltage;
the second voltage conversion module is connected with the alternating current-direct current conversion module and used for carrying out voltage reduction processing on the direct current output voltage and outputting direct current charging voltage;
and the voltage value of the preset direct current voltage is smaller than the voltage value of the direct current charging voltage.
The invention also provides a charging short-circuit protection method, which comprises the following steps:
detecting whether the portable equipment is connected for charging or not;
if the portable equipment is accessed, detecting whether a short circuit phenomenon exists in a charging loop;
and controlling the magnitude of the voltage value of the output direct-current voltage according to the detection result, and controlling the connection state of a connection line between the power adapter and the portable equipment so as to charge or stop charging the portable equipment.
Further, the power adapter includes: the current detection resistor is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins; the method comprises the following steps before the portable equipment is detected whether charging is accessed, wherein the steps comprise:
controlling the self-default output of preset direct current voltage;
the step of detecting whether the portable equipment is connected to charge comprises the following steps:
detecting whether the ID pin is short-circuited with a grounding pin of the portable equipment;
if the ID pin is short-circuited with the grounding pin of the portable equipment, determining that the portable equipment is accessed for charging;
if the portable equipment is accessed, the step of detecting whether the short circuit phenomenon exists in the charging loop comprises the following steps:
detecting whether the output current at the current detection resistor reaches a first preset current value or not, and judging whether the duration of the output current reaching the first preset current value exceeds a first preset duration or not;
if the duration of the output current reaching the first preset current value exceeds the first preset duration, determining that a short circuit phenomenon occurs in the charging loop;
and if the duration of the output current not reaching the first preset current value exceeds the first preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
Further, the power adapter includes: a current detection resistor; the method comprises the following steps before the portable equipment is detected whether charging is accessed, wherein the steps comprise:
when the self-default output direct-current charging voltage is controlled, whether the duration of the output current at the current detection resistor reaching a second preset current value exceeds a second preset duration is detected;
if the duration of the output current reaching the second preset current value exceeds the second preset duration, determining that the portable equipment is charged in an access mode;
if the portable equipment is accessed, the step of detecting whether the short circuit phenomenon exists in the charging loop comprises the following steps:
after switching and outputting a preset direct current voltage, detecting whether the output current at the current detection resistor reaches a second preset current value again;
judging whether the duration of the output current reaching a second preset current value exceeds a second preset duration or not after the preset direct-current voltage is switched and output;
if the duration of the output current reaching the second preset current value exceeds the second preset duration after the preset direct-current voltage is switched and output, determining that a short circuit phenomenon occurs in the charging circuit;
and if the duration of the output current reaching the second preset current value does not exceed the second preset duration after the preset direct-current voltage is switched and output, determining that the short circuit phenomenon does not occur in the charging loop.
Further, the step of controlling the magnitude of the voltage value of the output dc voltage according to the detection result, and controlling the connection state of the connection line between the power adapter and the portable device, so as to charge or stop charging the portable device includes the steps of:
if the short circuit phenomenon of the charging loop is determined, the switch unit is controlled to be switched from a connection state to a disconnection state, so that the connection circuit is disconnected to stop charging;
if the short circuit phenomenon does not occur in the charging loop, controlling the switch unit to keep a connected state and controlling to output direct current charging voltage so as to charge the portable equipment;
wherein, the switch unit is arranged at a connecting line between the power adapter and the portable equipment.
The present invention also provides a power adapter comprising: the charger comprises a PCB and a charger body; the PCB is integrated with the charging short-circuit protection circuit.
The charging short-circuit protection circuit, the charging short-circuit protection method and the power adapter provided by the invention can be used for detecting a micro short circuit with low cost, universality and easiness in realization so as to carry out short-circuit protection when the portable equipment is charged and improve the charging safety.
Drawings
The above features, technical features, advantages and implementations of a charging short-circuit protection circuit, a method and a power adapter will be further described in the following detailed description of preferred embodiments in a clearly understandable manner with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an embodiment of a charging short-circuit protection circuit according to the present invention;
fig. 2 is a schematic structural diagram of another embodiment of a charging short-circuit protection circuit according to the present invention;
fig. 3 is a schematic structural diagram of another embodiment of a charging short-circuit protection circuit according to the present invention;
fig. 4 is a schematic structural diagram of another embodiment of a charging short-circuit protection circuit according to the present invention;
fig. 5 is a schematic structural diagram of another embodiment of a charging short-circuit protection circuit according to the present invention;
FIG. 6 is a flow chart of one embodiment of a charging short protection method of the present invention;
FIG. 7 is a schematic structural diagram of another embodiment of a charging short-circuit protection method according to the present invention;
fig. 8 is a schematic structural diagram of another embodiment of a charging short-circuit protection method according to the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
In particular implementations, the mobile clients described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptops, or tablets having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
The mobile client supports various applications, such as one or more of the following: a drawing application, a presentation application, a network creation application, a word processing application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a digital video camera application, a Web browsing application, a digital music player application, and/or a digital video player application.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
In one embodiment of the present invention, as shown in fig. 1, a charging short-circuit protection circuit includes:
a power supply unit U0 for accessing an ac supply voltage;
specifically, the input ac power supply voltage is an ac power with a set voltage value. The input ac supply voltage is typically 220V mains. A first power input interface of the power supply unit U0 is connected with a live wire, and a second power input interface is connected with a zero wire.
The voltage conversion unit U2 is connected with the power supply unit U0 and is used for converting the alternating current power supply voltage and outputting direct current voltage;
and the control detection unit U1 is connected with the voltage conversion unit U2 and is used for detecting whether a short circuit phenomenon exists in the charging loop if the portable device U3 is connected, controlling the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 according to the detection result, and controlling the connection state of a connection line between the control detection unit U2 and the portable device U3 so as to charge or stop charging the portable device U3.
Specifically, in this embodiment, after the power adapter end detects that the portable device U3 is connected, the short-circuit phenomenon is detected, the voltage value of the dc voltage output by switching the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable device U3 is controlled, so that the charging or the stopping of the charging is performed on the portable device U3, the problems of damage to the charging system due to a micro short circuit, blackness of the charging interface, over-temperature fire and the like are avoided, and the charging safety of the power adapter and the charged portable device U3 is greatly protected.
According to the invention, after the power adapter end detects that the portable equipment U3 is connected, the short-circuit phenomenon is detected, the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable equipment U3 is controlled, so that the portable equipment U3 is charged or stopped to be charged, all the portable equipment U3 to be charged can be used universally, and the problem of universality of micro short-circuit detection is solved. Whether a short circuit phenomenon exists in the charging loop is detected by controlling the detection unit U1, and related hardware such as an MCU (microprogrammed control Unit) does not need to be added into the portable device U3 to be charged. And the power adapter is controlled to output the required charging voltage after the power adapter and the portable device U3 to be charged establish communication through customizing a special handshake communication protocol.
In addition, the invention only needs to add related devices at the power adapter end and process at the power adapter end, thereby reducing the cost, solving the space problem of the portable device U3 to be charged, needing no complex communication protocol and reducing the realization difficulty. Since the portable device U3 to be charged does not need to communicate with the power adapter to notify that charging is turned off, a dedicated data line does not need to be provided for the power adapter, and this micro short detection function can be realized only by a data line having a positive electrode and a negative electrode. The invention can realize low-cost, universal and easily realized micro short circuit detection so as to carry out short circuit protection when charging the portable device U3 and improve the charging safety.
Based on the foregoing embodiment, the charging short-circuit protection circuit further includes: a switch unit provided at a connection line between the power adapter and the portable device U3; as shown in fig. 2, the control detection unit U1 includes:
an access detection module 210, configured to detect whether there is an access charging of the portable device U3;
the control module 220 is configured to control the voltage conversion unit U2 to switch and output a dc voltage with a first preset voltage value or a second preset voltage value;
the current detection module 230 is configured to detect whether a short circuit phenomenon occurs in the charging loop when the voltage conversion unit U2 switches the magnitude of the output dc voltage and detects that charging is performed when the portable device U3 is connected;
the control module 220 is further configured to control the switch unit to switch from the connected state to the disconnected state if it is determined that the short circuit phenomenon occurs in the charging loop, so that the connection line is disconnected to stop charging; if the short circuit phenomenon does not occur in the charging loop, the control switch unit is kept in a connected state, and the control voltage conversion unit U2 is controlled to switch and output the direct current charging voltage so as to charge the portable device U3.
Specifically, the same parts in this embodiment as those in the above embodiments are not described in detail. The switch unit includes a contact switch or a MOS switch (i.e., an N-type MOS transistor Q1), and the like, and can implement a switch that switches between an off state and an on state according to a signal.
Specifically, in this embodiment, after the power adapter detects that the portable device U3 is connected, the power adapter detects a short-circuit phenomenon, and if it is determined that the charging loop has the short-circuit phenomenon, the control switch unit is switched from the connected state to the disconnected state, so that the connection line is disconnected to stop charging. If the short circuit phenomenon of the charging loop is determined not to occur, the control switch unit is kept in a connected state, and the control voltage conversion unit U2 is controlled to switch and output the direct current charging voltage so as to charge the portable device U3. The problems of damage of a charging system, blackness of a charging interface, over-temperature fire and the like caused by micro short circuit are avoided, so that the charging safety of the power adapter and the charged portable device U3 is greatly protected.
Based on the foregoing embodiment, as shown in fig. 3, the charging short-circuit protection circuit further includes: the current detection resistor R1 is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins; the access detection module 210 includes: a first access detection submodule; the current detection module 230 includes: the device comprises a current detection submodule, a timing submodule and a processing submodule;
the control module 220 is configured to control the voltage conversion unit U2 to output a preset dc voltage by default before detecting whether the portable device U3 is charged;
the access detection submodule is used for determining that the portable equipment U3 is accessed for charging if the short circuit of the ID pin and the grounding pin of the portable equipment U3 is detected;
the current detection submodule is connected with the current detection resistor R1 and used for detecting whether the output current at the current detection resistor R1 reaches a first preset current value or not when the voltage conversion unit U2 outputs a preset direct-current voltage by default and the portable device U3 is charged;
the timing submodule is used for judging whether the duration of the output current reaching the first preset current value exceeds a first preset duration or not;
the processing submodule is also used for determining that the short circuit phenomenon occurs in the charging loop if the duration of the output current reaching the first preset current value exceeds the first preset duration; and if the duration of the output current not reaching the first preset current value exceeds the first preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
Specifically, as shown in fig. 3, the left side is a power adapter side, and the right side is a portable device U3 to be charged.
Most portable device U3 at present, such as cell-phone, flat panel, phone wrist-watch, bracelet, treasured that charges etc. its charging voltage (Vbus) must be higher than a definite value and can charge, and the minimum charging voltage (Vbus) to portable device U3 in the industry is 3V at present, and power adapter can charge to the portable device U3 of acceping when being higher than 3.5V. In other words, if the charging voltage (Vbus) output by the power adapter is lower than a voltage of 3.5V, such as 3V. The power adapter does not charge the internal battery of the connected portable device U3 to be charged, and we are required to modify the power adapter.
A control detection unit U1, an N-type MOS tube Q1 and a current detection resistor R1 are added at the end of the power adapter.
The N-type MOS tube Q1 has the following functions: the shutdown of the power adapter output may be achieved. Normally, the power adapter is turned on by default, and the power adapter can be turned off under the control of the control detection unit U1 when detecting the occurrence of the micro short circuit phenomenon.
The current detection resistor R1 functions as: the control detection unit U1 detects a first voltage difference between two ends of the resistor R1 at the current moment through the detection current, and calculates according to the first voltage difference and the resistance value of the detection current detection resistor R1, so that the output current of the power adapter at the current moment is detected.
Controlling the function of the detection unit U1: the output voltage of the power adapter can be controlled through a control line, the output voltage of the power adapter is detected, the on and off of the N-type MOS tube Q1 are controlled, and the output current of the power adapter is read. Meanwhile, whether the portable device U3 to be charged is accessed or not can be detected through the ID pin.
Preferably, the charging short-circuit protection circuit further includes: the temperature-sensitive resistor R2 (the resistance of the temperature-sensitive resistor R2 increases with increasing temperature). The control detection unit U1 obtains the temperature of the power adapter at the current moment according to the second voltage difference and the resistance value of the temperature-sensitive resistor R2 by detecting the second voltage difference at two ends of the temperature-sensitive resistor R2 at the current moment. Once the temperature of the power adapter at the current moment is greater than the preset temperature value, the switch unit can be controlled to be switched from the connection state to the disconnection state, so that the connection line is disconnected to stop charging. Therefore, the charging temperature of the power adapter can be protected from being too high, and the service lives of the power adapter and the portable device U3 to be charged are prolonged.
The control module 220 controls the power adapter to output a preset direct current voltage (including 3V or 2V or 2.5V optional) by default. When the portable device U3 to be charged is plugged in, it is possible to detect that there is a device connected by detecting whether the ID pin is pulled to the ground pin (GND), i.e., detecting that the ID pin is shorted to the ground pin.
When the portable device U3 to be charged is detected to be connected, the output current of the power adapter is immediately started to be detected, if the output current is smaller than a certain value within a certain time, the portable device U3 is connected for charging, and the duration that the output current at the current detection resistor R1 does not reach the first preset current value does not exceed the first preset time, it is determined that the short circuit phenomenon does not occur in the charging loop. For example, if the output current at the continuous 1S current detection resistor R1 is less than 300mA (or 200mA), it is determined that the charging loop is not short-circuited, and then the control module 220 controls the N-type MOS transistor Q1 to be turned on, i.e., controls the N-type MOS transistor Q1 to be kept in a connected state, and controls the voltage conversion unit U2 to switch the output dc charging voltage (e.g., a dc voltage of 5V), so as to start normal charging for charging the portable device U3.
When the portable device U3 to be charged is detected to be connected, the output current of the power adapter is immediately started to be detected, if the output current is larger than or equal to a certain value within a certain time, the portable device U3 is connected for charging, and the duration of the output current at the current detection resistor R1 reaching a first preset current value exceeds a first preset duration, and the short circuit phenomenon of the charging loop is determined. For example, if the output current at the continuous 1S current detection resistor R1 is greater than or equal to 300mA (or 200mA), it is considered that the charging loop has a short circuit, and then the control module 220 controls the N-type MOS transistor Q1 to close, i.e., controls the N-type MOS transistor Q1 to switch from the connected state to the disconnected state, so that the connection line is disconnected to stop charging.
The female seat of power adapter's the interface that charges includes USB interface and Type-C interface that charges. In order to make the ID pin universal, as shown in fig. 4, a charging interface female socket of the power adapter is modified, a ground pin of the charging interface female socket (for example, a USB female socket) is divided into a small pin, so that any pin of the ground pin of the charging interface female socket is separated from the rest pins, the separated pin is used as the ID pin, when an external portable device U3 to be charged is connected, the ID pin is short-circuited with the ground pin of the portable device U3, and then the function of connection and charging detection of the external portable device U3 to be charged is determined.
Specifically, in this embodiment, if the power adapter end detects that the ID pin and the ground pin of the portable device U3 are short-circuited, it is determined that the portable device U3 is connected, and then the power adapter end performs detection of a short-circuit phenomenon, and if the duration of the output current at the current detection resistor R1 reaching the first preset current value exceeds the first preset duration, it is determined that the short-circuit phenomenon occurs in the charging loop, the control switch unit is switched from the connected state to the disconnected state, so that the connection line is disconnected to stop charging. If the duration that the output current at the current detection resistor R1 does not reach the first preset current value exceeds the first preset duration, and when the short circuit phenomenon of the charging loop is determined not to occur, the control switch unit is kept in a connected state, and the voltage conversion unit U2 is controlled to switch and output the direct current charging voltage so as to charge the portable device U3. The problems of damage of a charging system, blackness of a charging interface, over-temperature fire and the like caused by micro short circuit are avoided, so that the charging safety of the power adapter and the charged portable device U3 is greatly protected.
According to the invention, after the power adapter end detects that the portable equipment U3 is connected, the short-circuit phenomenon is detected, the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable equipment U3 is controlled, so that the portable equipment U3 is charged or stopped to be charged, all the portable equipment U3 to be charged can be used universally, and the problem of universality of micro short-circuit detection is solved.
Moreover, only relevant devices need to be added at the power adapter end, and the power adapter end is processed, so that the cost is reduced, the problem of the space of the portable device U3 to be charged is solved, a complex communication protocol is not needed, and the implementation difficulty is reduced. Since the portable device U3 to be charged does not need to communicate with the power adapter to notify that charging is turned off, a dedicated data line does not need to be provided for the power adapter, and this micro short detection function can be realized only by a data line having a positive electrode and a negative electrode. The invention can realize low-cost, universal and easily realized micro short circuit detection so as to carry out short circuit protection when charging the portable device U3 and improve the charging safety.
Based on the foregoing embodiment, as shown in fig. 5, the charging short-circuit protection circuit further includes: a current detection resistor R1; the access detection module 210 includes: a second access detection sub-module; the current detection module 230 includes: the device comprises a current detection submodule, a timing submodule and a processing submodule;
the control module 220 is configured to control the voltage conversion unit U2 to output the dc charging voltage by default before detecting whether the portable device U3 is connected to the charging unit;
the access detection submodule is connected with the current detection resistor R1 and is used for determining that the portable device U3 is accessed for charging when the duration of the output current of the current detection resistor R1 reaching a second preset current value exceeds a second preset duration when the voltage conversion unit U2 outputs the DC charging voltage by default;
the control module 220 is configured to control the voltage conversion unit U2 to switch the output voltage from the dc charging voltage to a preset dc voltage when it is determined that charging access to the portable device U3 exists;
the current detection submodule is connected with the current detection resistor R1 and is used for detecting whether the output current at the current detection resistor R1 reaches a second preset current value or not when the voltage conversion unit U2 outputs a preset direct-current voltage;
the timing submodule is used for judging whether the duration of the output current reaching the second preset current value exceeds a second preset duration or not;
the processing submodule is also used for determining that the short circuit phenomenon occurs in the charging loop if the duration of the output current reaching the second preset current value exceeds the second preset duration; and if the duration of the output current reaching the second preset current value does not exceed the second preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
Specifically, as shown in fig. 5, the left side is a power adapter side, and the right side is a portable device U3 to be charged. The same parts in this embodiment as those in the above embodiments are not described in detail herein.
The control module 220 controls the power adapter to output a charging dc voltage (e.g., 5V) by default. When the portable device U3 to be charged is plugged in, whether an external charging device is connected can be determined by detecting whether there is a charging current (i.e., whether there is an output current in the power adapter for a period of time), that is, when the duration of the output current at the current detection resistor R1 reaching the second preset current value (a current value greater than 0mA) exceeds the second preset duration, it is determined that there is a charged portable device U3 connected.
When it is detected that the portable device U3 to be charged is connected, the control module 220 controls the power adapter to switch the output voltage from the dc charging voltage to a preset dc voltage (including 3V or 2V or 2.5V is optional), and then when the power adapter outputs the dc charging voltage and a duration that the output current at the current detection resistor R1 does not reach a first preset current value does not exceed the first preset duration, it is determined that a short circuit phenomenon does not occur in the charging loop. For example, if the output current at the continuous 1S current detection resistor R1 is less than 300mA (or 200mA), it is determined that the charging loop is not short-circuited, and then the control module 220 controls the N-type MOS transistor Q1 to be turned on, i.e., controls the N-type MOS transistor Q1 to be kept in a connected state, and controls the voltage conversion unit U2 to switch the output dc charging voltage (e.g., a dc voltage of 5V), so as to start normal charging for charging the portable device U3.
When it is detected that the portable device U3 to be charged is connected, the control module 220 controls the power adapter to switch the output voltage from the dc charging voltage to a preset dc voltage (including 3V or 2V or 2.5V is optional), and then when the power adapter outputs the dc charging voltage and a duration of an output current at the current detection resistor R1 reaching a first preset current value exceeds a first preset duration, it is determined that a short circuit occurs in the charging loop. For example, if the output current at the continuous 1S current detection resistor R1 is greater than or equal to 300mA (or 200mA), it is considered that the charging loop has a short circuit, and then the control module 220 controls the N-type MOS transistor Q1 to close, i.e., controls the N-type MOS transistor Q1 to switch from the connected state to the disconnected state, so that the connection line is disconnected to stop charging.
Specifically, in this embodiment, the power adapter end detects the charging current when the portable device U3 is connected for charging, and then determines that the portable device U3 is connected, and then, the power adapter end detects a short-circuit phenomenon, and if the duration of the output current at the current detection resistor R1 reaching the first preset current value exceeds the first preset duration, determines that the charging loop has a short-circuit phenomenon, the control switch unit switches from the connected state to the disconnected state, so that the connection line is disconnected to stop charging. If the duration that the output current at the current detection resistor R1 does not reach the first preset current value exceeds the first preset duration, and when the short circuit phenomenon of the charging loop is determined not to occur, the control switch unit is kept in a connected state, and the voltage conversion unit U2 is controlled to switch and output the direct current charging voltage so as to charge the portable device U3. The problems of damage of a charging system, blackness of a charging interface, over-temperature fire and the like caused by micro short circuit are avoided, so that the charging safety of the power adapter and the charged portable device U3 is greatly protected.
According to the invention, after the power adapter end detects that the portable equipment U3 is connected, the short-circuit phenomenon is detected, the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable equipment U3 is controlled, so that the portable equipment U3 is charged or stopped to be charged, all the portable equipment U3 to be charged can be used universally, and the problem of universality of micro short-circuit detection is solved.
Moreover, only relevant devices need to be added at the power adapter end, and the power adapter end is processed, so that the cost is reduced, the problem of the space of the portable device U3 to be charged is solved, a complex communication protocol is not needed, and the implementation difficulty is reduced. Since the portable device U3 to be charged does not need to communicate with the power adapter to notify that charging is turned off, a dedicated data line does not need to be provided for the power adapter, and this micro short detection function can be realized only by a data line having a positive electrode and a negative electrode. The invention can realize low-cost, universal and easily realized micro short circuit detection so as to carry out short circuit protection when charging the portable device U3 and improve the charging safety. In addition, this embodiment need not reform transform the female seat of the interface that charges of power adapter, owing to need not reform transform the female seat of the interface that charges of power adapter for short-circuit protection's realization cost is lower.
Based on the foregoing embodiment, the voltage conversion unit U2 includes: the device comprises an alternating current and direct current conversion module, a first voltage conversion module and a second voltage conversion module;
the alternating current-direct current conversion module is used for converting alternating current supply voltage into direct current output voltage;
the first voltage conversion module is connected with the alternating current-direct current conversion module and used for carrying out voltage reduction processing on the direct current output voltage and outputting a preset direct current voltage;
the second voltage conversion module is connected with the alternating current-direct current conversion module and used for carrying out voltage reduction processing on the direct current output voltage and outputting direct current charging voltage;
the voltage value of the preset direct current voltage is smaller than the voltage value of the direct current charging voltage.
When the output end of the charging protection circuit is short-circuited, the value of the current flowing through the current detection resistor R1 in the charging loop is increased, so that the voltage at the two ends of the current detection resistor R1 is increased, the gate-source voltage difference of the N-type MOS transistor Q1 in the charging protection circuit is rapidly reduced, and the gate-source voltage difference of the N-type MOS transistor Q1 is rapidly reduced, so that the N-type MOS transistor Q1 is cut off, that is, the connection line between the charging protection circuit and the portable device U3 is disconnected to stop charging. When the output end of the charging protection circuit is not short-circuited, the output voltage of the charging protection circuit is the voltage during charging operation, so that the N-type MOS transistor Q1 is turned on, and the voltage conversion unit U2 is controlled to switch and output the direct-current charging voltage to charge the portable device U3.
When the charging protection circuit is short-circuited, the power adapter stops charging by controlling the cut-off of the N-type MOS tube Q1. Therefore, when the charging protection circuit is short-circuited, the power adapter can be effectively protected to realize short-circuit protection, the charging protection circuit is simple and reliable, the response speed is high, the circuit cost can be effectively saved, the power adapter cannot be damaged due to short circuit, the service life of the power adapter is prolonged, and the maintenance cost is saved.
When the short circuit appears through the protection circuit that charges in this embodiment, through control N type MOS pipe Q1 ending, power adapter stops to charge to can in time stop power adapter when taking place the short circuit to portable equipment U3's charging, improve the security greatly, avoid the loss of property.
In an embodiment of the present invention, as shown in fig. 6, a charging short-circuit protection method includes:
s100, detecting whether the portable device U3 is charged or not;
specifically, the input ac power supply voltage is an ac power with a set voltage value. The input ac supply voltage is typically 220V mains. A first power input interface of the power supply unit U0 is connected with a live wire, and a second power input interface is connected with a zero wire.
S200, if the portable device U3 is connected, detecting whether a short circuit phenomenon exists in a charging loop;
s300, according to the detection result, the voltage value of the output direct-current voltage is controlled, and the connection state of a connection line between the power adapter and the portable device U3 is controlled, so that the portable device U3 is charged or the charging is stopped.
Specifically, in this embodiment, after the power adapter end detects that the portable device U3 is connected, the short-circuit phenomenon is detected, the voltage value of the dc voltage output by switching the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable device U3 is controlled, so that the charging or the stopping of the charging is performed on the portable device U3, the problems of damage to the charging system due to a micro short circuit, blackness of the charging interface, over-temperature fire and the like are avoided, and the charging safety of the power adapter and the charged portable device U3 is greatly protected.
According to the invention, after the power adapter end detects that the portable equipment U3 is connected, the short-circuit phenomenon is detected, the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable equipment U3 is controlled, so that the portable equipment U3 is charged or stopped to be charged, all the portable equipment U3 to be charged can be used universally, and the problem of universality of micro short-circuit detection is solved. Whether a short circuit phenomenon exists in the charging loop is detected by controlling the detection unit U1, and related hardware such as an MCU (microprogrammed control Unit) does not need to be added into the portable device U3 to be charged. And the power adapter is controlled to output the required charging voltage after the power adapter and the portable device U3 to be charged establish communication through customizing a special handshake communication protocol.
In addition, the invention only needs to add related devices at the power adapter end and process at the power adapter end, thereby reducing the cost, solving the space problem of the portable device U3 to be charged, needing no complex communication protocol and reducing the realization difficulty. Since the portable device U3 to be charged does not need to communicate with the power adapter to notify that charging is turned off, a dedicated data line does not need to be provided for the power adapter, and this micro short detection function can be realized only by a data line having a positive electrode and a negative electrode. The invention can realize low-cost, universal and easily realized micro short circuit detection so as to carry out short circuit protection when charging the portable device U3 and improve the charging safety.
In an embodiment of the present invention, as shown in fig. 7, a charging short-circuit protection method includes: the power adapter includes: the current detection resistor R1 is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins;
s010 controls the self to output a preset direct current voltage by default;
s111, detecting whether the ID pin is short-circuited with a grounding pin of the portable device U3;
s121, if the ID pin is short-circuited with the grounding pin of the portable device U3, determining that charging is accessed by the portable device U3;
s211 detects whether the output current at the current detection resistor R1 reaches a first preset current value, and determines whether a duration of the output current reaching the first preset current value exceeds a first preset duration;
s221, if the duration of the output current reaching the first preset current value exceeds the first preset duration, determining that a short circuit phenomenon occurs in the charging loop;
s231, if the duration of the output current not reaching the first preset current value exceeds the first preset duration, determining that the short circuit phenomenon does not occur in the charging loop;
s310, if the short circuit phenomenon of the charging loop is determined, the switch unit is controlled to be switched from a connection state to a disconnection state, and the connection line is disconnected to stop charging;
s320, if the short circuit phenomenon does not occur in the charging loop, controlling the switch unit to keep a connected state, and controlling to output direct current charging voltage so as to charge the portable device U3;
wherein, the switch unit is arranged at the connecting line between the power adapter and the portable device U3.
Specifically, the switch unit includes a contact switch or a MOS switch (i.e., an N-type MOS transistor Q1), and the like, and the switch that can switch between an off state and an on state is implemented according to a signal. Parts in this embodiment that are the same as those in the above embodiments are not described in detail. As shown in fig. 3, the left side is the power adapter side and the right side is the portable device U3 to be charged.
Most portable device U3 at present, such as cell-phone, flat panel, phone wrist-watch, bracelet, treasured that charges etc. its charging voltage (Vbus) must be higher than a definite value and can charge, and the minimum charging voltage (Vbus) to portable device U3 in the industry is 3V at present, and power adapter can charge to the portable device U3 of acceping when being higher than 3.5V. In other words, if the charging voltage (Vbus) output by the power adapter is lower than a voltage of 3.5V, such as 3V. The power adapter does not charge the internal battery of the connected portable device U3 to be charged, and we are required to modify the power adapter.
The control module 220 controls the power adapter to output a preset direct current voltage (including 3V or 2V or 2.5V optional) by default. When the portable device U3 to be charged is plugged in, it is possible to detect that there is a device connected by detecting whether the ID pin is pulled to the ground pin (GND), i.e., detecting that the ID pin is shorted to the ground pin.
When the portable device U3 to be charged is detected to be connected, the output current of the power adapter is immediately started to be detected, if the output current is smaller than a certain value within a certain time, the portable device U3 is connected for charging, and the duration that the output current at the current detection resistor R1 does not reach the first preset current value does not exceed the first preset time, it is determined that the short circuit phenomenon does not occur in the charging loop. For example, if the output current at the continuous 1S current detection resistor R1 is less than 300mA (or 200mA), it is determined that the charging loop is not short-circuited, and then the control module 220 controls the N-type MOS transistor Q1 to be turned on, i.e., controls the N-type MOS transistor Q1 to be kept in a connected state, and controls the voltage conversion unit U2 to switch the output dc charging voltage (e.g., a dc voltage of 5V), so as to start normal charging for charging the portable device U3.
When the portable device U3 to be charged is detected to be connected, the output current of the power adapter is immediately started to be detected, if the output current is larger than or equal to a certain value within a certain time, the portable device U3 is connected for charging, and the duration of the output current at the current detection resistor R1 reaching a first preset current value exceeds a first preset duration, and the short circuit phenomenon of the charging loop is determined. For example, if the output current at the continuous 1S current detection resistor R1 is greater than or equal to 300mA (or 200mA), it is considered that the charging loop has a short circuit, and then the control module 220 controls the N-type MOS transistor Q1 to close, i.e., controls the N-type MOS transistor Q1 to switch from the connected state to the disconnected state, so that the connection line is disconnected to stop charging.
The female seat of power adapter's the interface that charges includes USB interface and Type-C interface that charges. In order to make the ID pin universal, as shown in fig. 4, a charging interface female socket of the power adapter is modified, a ground pin of the charging interface female socket (for example, a USB female socket) is divided into a small pin, so that any pin of the ground pin of the charging interface female socket is separated from the rest pins, the separated pin is used as the ID pin, when an external portable device U3 to be charged is connected, the ID pin is short-circuited with the ground pin of the portable device U3, and then the function of connection and charging detection of the external portable device U3 to be charged is determined.
Specifically, in this embodiment, if the power adapter end detects that the ID pin and the ground pin of the portable device U3 are short-circuited, it is determined that the portable device U3 is connected, and then the power adapter end performs detection of a short-circuit phenomenon, and if the duration of the output current at the current detection resistor R1 reaching the first preset current value exceeds the first preset duration, it is determined that the short-circuit phenomenon occurs in the charging loop, the control switch unit is switched from the connected state to the disconnected state, so that the connection line is disconnected to stop charging. If the duration that the output current at the current detection resistor R1 does not reach the first preset current value exceeds the first preset duration, and when the short circuit phenomenon of the charging loop is determined not to occur, the control switch unit is kept in a connected state, and the voltage conversion unit U2 is controlled to switch and output the direct current charging voltage so as to charge the portable device U3. The problems of damage of a charging system, blackness of a charging interface, over-temperature fire and the like caused by micro short circuit are avoided, so that the charging safety of the power adapter and the charged portable device U3 is greatly protected.
According to the invention, after the power adapter end detects that the portable equipment U3 is connected, the short-circuit phenomenon is detected, the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable equipment U3 is controlled, so that the portable equipment U3 is charged or stopped to be charged, all the portable equipment U3 to be charged can be used universally, and the problem of universality of micro short-circuit detection is solved.
Moreover, only relevant devices need to be added at the power adapter end, and the power adapter end is processed, so that the cost is reduced, the problem of the space of the portable device U3 to be charged is solved, a complex communication protocol is not needed, and the implementation difficulty is reduced. Since the portable device U3 to be charged does not need to communicate with the power adapter to notify that charging is turned off, a dedicated data line does not need to be provided for the power adapter, and this micro short detection function can be realized only by a data line having a positive electrode and a negative electrode. The invention can realize low-cost, universal and easily realized micro short circuit detection so as to carry out short circuit protection when charging the portable device U3 and improve the charging safety.
In an embodiment of the present invention, as shown in fig. 8, a charging short-circuit protection method includes: the power adapter includes: the current detection resistor R1 is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins;
s020 controls the self to output a direct current charging voltage in a default mode;
s112, detecting whether the duration of the output current at the current detection resistor R1 reaching the second preset current value exceeds a second preset duration;
s122, if the duration of the output current reaching the second preset current value exceeds the second preset duration, determining that charging is accessed to the portable device U3;
s212, switching to output a preset dc voltage, and then detecting whether the output current at the current detection resistor R1 reaches a second preset current value;
s222, judging whether the duration of the output current reaching the second preset current value exceeds a second preset duration or not after the preset direct-current voltage is switched and output;
s232, if the duration of the output current reaching the second preset current value exceeds the second preset duration after the preset direct-current voltage is switched and output, determining that a short circuit phenomenon occurs in the charging loop;
s242, determining that the charging circuit is not short-circuited if the duration of the output current reaching the second preset current value does not exceed the second preset duration after the preset dc voltage is switched to be output;
s310, if the short circuit phenomenon of the charging loop is determined, the switch unit is controlled to be switched from a connection state to a disconnection state, and the connection line is disconnected to stop charging;
s320, if the short circuit phenomenon does not occur in the charging loop, controlling the switch unit to keep a connected state, and controlling to output direct current charging voltage so as to charge the portable device U3;
wherein, the switch unit is arranged at the connecting line between the power adapter and the portable device U3.
Specifically, as shown in fig. 5, the left side is a power adapter side, and the right side is a portable device U3 to be charged. The same parts as those in the above embodiments are not described in detail. Specifically, the switch unit includes a contact switch or a MOS switch (i.e., an N-type MOS transistor Q1), and the like, and the switch that can switch between an off state and an on state is implemented according to a signal. Parts in this embodiment that are the same as those in the above embodiments are not described in detail.
The control module 220 controls the power adapter to output a charging dc voltage (e.g., 5V) by default. When the portable device U3 to be charged is plugged in, whether an external charging device is connected can be determined by detecting whether there is a charging current (i.e., whether there is an output current in the power adapter for a period of time), that is, when the duration of the output current at the current detection resistor R1 reaching the second preset current value (a current value greater than 0mA) exceeds the second preset duration, it is determined that there is a charged portable device U3 connected.
When it is detected that the portable device U3 to be charged is connected, the control module 220 controls the power adapter to switch the output voltage from the dc charging voltage to a preset dc voltage (including 3V or 2V or 2.5V is optional), and then when the power adapter outputs the dc charging voltage and a duration that the output current at the current detection resistor R1 does not reach a first preset current value does not exceed the first preset duration, it is determined that a short circuit phenomenon does not occur in the charging loop. For example, if the output current at the continuous 1S current detection resistor R1 is less than 300mA (or 200mA), it is determined that the charging loop is not short-circuited, and then the control module 220 controls the N-type MOS transistor Q1 to be turned on, i.e., controls the N-type MOS transistor Q1 to be kept in a connected state, and controls the voltage conversion unit U2 to switch the output dc charging voltage (e.g., a dc voltage of 5V), so as to start normal charging for charging the portable device U3.
When it is detected that the portable device U3 to be charged is connected, the control module 220 controls the power adapter to switch the output voltage from the dc charging voltage to a preset dc voltage (including 3V or 2V or 2.5V is optional), and then when the power adapter outputs the dc charging voltage and a duration of an output current at the current detection resistor R1 reaching a first preset current value exceeds a first preset duration, it is determined that a short circuit occurs in the charging loop. For example, if the output current at the continuous 1S current detection resistor R1 is greater than or equal to 300mA (or 200mA), it is considered that the charging loop has a short circuit, and then the control module 220 controls the N-type MOS transistor Q1 to close, i.e., controls the N-type MOS transistor Q1 to switch from the connected state to the disconnected state, so that the connection line is disconnected to stop charging.
Specifically, in this embodiment, the power adapter end detects the charging current when the portable device U3 is connected for charging, and then determines that the portable device U3 is connected, and then, the power adapter end detects a short-circuit phenomenon, and if the duration of the output current at the current detection resistor R1 reaching the first preset current value exceeds the first preset duration, determines that the charging loop has a short-circuit phenomenon, the control switch unit switches from the connected state to the disconnected state, so that the connection line is disconnected to stop charging. If the duration that the output current at the current detection resistor R1 does not reach the first preset current value exceeds the first preset duration, and when the short circuit phenomenon of the charging loop is determined not to occur, the control switch unit is kept in a connected state, and the voltage conversion unit U2 is controlled to switch and output the direct current charging voltage so as to charge the portable device U3. The problems of damage of a charging system, blackness of a charging interface, over-temperature fire and the like caused by micro short circuit are avoided, so that the charging safety of the power adapter and the charged portable device U3 is greatly protected.
According to the invention, after the power adapter end detects that the portable equipment U3 is connected, the short-circuit phenomenon is detected, the voltage value of the direct-current voltage switched and output by the voltage conversion unit U2 is controlled according to the detection result, and the connection state of the connection line between the power adapter end and the portable equipment U3 is controlled, so that the portable equipment U3 is charged or stopped to be charged, all the portable equipment U3 to be charged can be used universally, and the problem of universality of micro short-circuit detection is solved.
Moreover, only relevant devices need to be added at the power adapter end, and the power adapter end is processed, so that the cost is reduced, the problem of the space of the portable device U3 to be charged is solved, a complex communication protocol is not needed, and the implementation difficulty is reduced. Since the portable device U3 to be charged does not need to communicate with the power adapter to notify that charging is turned off, a dedicated data line does not need to be provided for the power adapter, and this micro short detection function can be realized only by a data line having a positive electrode and a negative electrode. The invention can realize low-cost, universal and easily realized micro short circuit detection so as to carry out short circuit protection when charging the portable device U3 and improve the charging safety. In addition, this embodiment need not reform transform the female seat of the interface that charges of power adapter, owing to need not reform transform the female seat of the interface that charges of power adapter for short-circuit protection's realization cost is lower.
In the above embodiment, the first preset duration and the second preset duration are not limited, and are set according to requirements and experience.
In one embodiment of the present invention, a power adapter includes: the charger comprises a PCB and a charger body; the PCB is integrated with a charging short-circuit protection circuit according to any one of the embodiments corresponding to the above-mentioned figures 1-5.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be construed as the protection scope of the present invention.

Claims (10)

1. A charging short protection circuit, comprising:
the power supply unit is used for accessing an alternating current power supply voltage;
the voltage conversion unit is connected with the power supply unit and used for converting the alternating current power supply voltage and outputting direct current voltage;
and the control detection unit is connected with the voltage conversion unit and used for detecting whether a short circuit phenomenon exists in the charging loop or not when the portable equipment is accessed, controlling the voltage value of the direct-current voltage switched and output by the voltage conversion unit according to a detection result, and controlling the connection state of a connection circuit between the control detection unit and the portable equipment so as to charge or stop charging the portable equipment.
2. The charging short protection circuit of claim 1, further comprising: a switch unit provided at a connection line between a power adapter and the portable device; the control detection unit includes:
the access detection module is used for detecting whether the portable equipment is accessed for charging;
the control module is used for controlling the voltage conversion unit to switch and output the direct-current voltage with the magnitude of a first preset voltage value or a second preset voltage value;
the current detection module is used for switching the magnitude of the output direct-current voltage in the voltage conversion unit and detecting whether a short circuit phenomenon occurs in a charging loop when the portable equipment is connected to be charged;
the control module is further used for controlling the switch unit to be switched from a connection state to a disconnection state if the short circuit phenomenon of the charging loop is determined, so that the connection circuit is disconnected to stop charging; and if the short circuit phenomenon does not occur in the charging loop, controlling the switch unit to keep a connected state, and controlling the voltage conversion unit to switch and output the direct-current charging voltage so as to charge the portable equipment.
3. The charging short protection circuit of claim 2, further comprising: the current detection resistor is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins; the access detection module comprises: a first access detection submodule; the current detection module includes: the device comprises a current detection submodule, a timing submodule and a processing submodule;
the control module is used for controlling the voltage conversion unit to output a preset direct current voltage in a default mode before detecting whether the portable equipment is connected to charge or not;
the access detection submodule is used for determining that the portable equipment is accessed and charged if the short circuit of the ID pin and the grounding pin of the portable equipment is detected;
the current detection submodule is connected with the current detection resistor and used for detecting whether the output current at the current detection resistor reaches a first preset current value or not when the voltage conversion unit outputs the preset direct-current voltage by default and portable equipment is charged;
the timing submodule is used for judging whether the duration of the output current reaching the first preset current value exceeds a first preset duration or not;
the processing submodule is further used for determining that a short circuit phenomenon occurs in the charging loop if the duration of the output current reaching the first preset current value exceeds the first preset duration; and if the duration of the output current not reaching the first preset current value exceeds the first preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
4. The charging short protection circuit of claim 2, further comprising: a current detection resistor; the access detection module comprises: a second access detection sub-module; the current detection module includes: the device comprises a current detection submodule, a timing submodule and a processing submodule;
the control module is used for controlling the voltage conversion unit to output the DC charging voltage by default before detecting whether the portable equipment is connected to the charging;
the access detection submodule is connected with the current detection resistor and is used for determining that the access charging of the portable equipment exists when the voltage conversion unit outputs the direct-current charging voltage by default and the duration of the output current reaching a second preset current value at the current detection resistor exceeds a second preset duration;
the control module is used for controlling the voltage conversion unit to convert the output voltage from the direct current charging voltage to a preset direct current voltage when the portable equipment is determined to be charged;
the current detection submodule is connected with the current detection resistor and used for detecting whether the output current at the current detection resistor reaches a second preset current value or not when the voltage conversion unit outputs the preset direct-current voltage;
the timing submodule is used for judging whether the duration of the output current reaching the second preset current value exceeds a second preset duration or not;
the processing submodule is further used for determining that a short circuit phenomenon occurs in the charging loop if the duration of the output current reaching a second preset current value exceeds a second preset duration; and if the duration of the output current reaching the second preset current value does not exceed the second preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
5. The charging short protection circuit according to any one of claims 1 to 4, wherein the voltage conversion unit includes: the device comprises an alternating current and direct current conversion module, a first voltage conversion module and a second voltage conversion module;
the alternating current and direct current conversion module is used for converting the alternating current power supply voltage into direct current output voltage;
the first voltage conversion module is connected with the alternating current-direct current conversion module and used for carrying out voltage reduction processing on the direct current output voltage and outputting a preset direct current voltage;
the second voltage conversion module is connected with the alternating current-direct current conversion module and used for carrying out voltage reduction processing on the direct current output voltage and outputting direct current charging voltage;
and the voltage value of the preset direct current voltage is smaller than the voltage value of the direct current charging voltage.
6. A charging short-circuit protection method is characterized by comprising the following steps:
detecting whether the portable equipment is connected for charging or not;
if the portable equipment is accessed, detecting whether a short circuit phenomenon exists in a charging loop;
and controlling the magnitude of the voltage value of the output direct-current voltage according to the detection result, and controlling the connection state of a connection line between the power adapter and the portable equipment so as to charge or stop charging the portable equipment.
7. The charging short-circuit protection method according to claim 6, wherein the power adapter comprises: the current detection resistor is arranged, and an ID pin is arranged on a charging interface female seat of the power adapter; the ID pin is obtained by separating any pin of the grounding pin of the charging interface female socket from the rest pins; the method comprises the following steps before the portable equipment is detected whether charging is accessed, wherein the steps comprise:
controlling the self-default output of preset direct current voltage;
the step of detecting whether the portable equipment is connected to charge comprises the following steps:
detecting whether the ID pin is short-circuited with a grounding pin of the portable equipment;
if the ID pin is short-circuited with the grounding pin of the portable equipment, determining that the portable equipment is accessed for charging;
if the portable equipment is accessed, the step of detecting whether the short circuit phenomenon exists in the charging loop comprises the following steps:
detecting whether the output current at the current detection resistor reaches a first preset current value or not, and judging whether the duration of the output current reaching the first preset current value exceeds a first preset duration or not;
if the duration of the output current reaching the first preset current value exceeds the first preset duration, determining that a short circuit phenomenon occurs in the charging loop;
and if the duration of the output current not reaching the first preset current value exceeds the first preset duration, determining that the short circuit phenomenon does not occur in the charging loop.
8. The charging short-circuit protection method according to claim 6, wherein the power adapter comprises: a current detection resistor; the method comprises the following steps before the portable equipment is detected whether charging is accessed, wherein the steps comprise:
controlling the self-default output direct current charging voltage;
the step of detecting whether the portable equipment is connected to charge comprises the following steps:
detecting whether the duration of the output current at the current detection resistor reaching a second preset current value exceeds a second preset duration;
if the duration of the output current reaching the second preset current value exceeds the second preset duration, determining that the portable equipment is charged in an access mode;
if the portable equipment is accessed, the step of detecting whether the short circuit phenomenon exists in the charging loop comprises the following steps:
after switching and outputting a preset direct current voltage, detecting whether the output current at the current detection resistor reaches a second preset current value again;
judging whether the duration of the output current reaching a second preset current value exceeds a second preset duration or not after the preset direct-current voltage is switched and output;
if the duration of the output current reaching the second preset current value exceeds the second preset duration after the preset direct-current voltage is switched and output, determining that a short circuit phenomenon occurs in the charging circuit;
and if the duration of the output current reaching the second preset current value does not exceed the second preset duration after the preset direct-current voltage is switched and output, determining that the short circuit phenomenon does not occur in the charging loop.
9. The charging short-circuit protection method according to claim 6, wherein the controlling the magnitude of the voltage value of the output DC voltage according to the detection result and the connection state of the connection line between the power adapter and the portable device so as to charge or stop charging the portable device comprises the steps of:
if the short circuit phenomenon of the charging loop is determined, the switch unit is controlled to be switched from a connection state to a disconnection state, so that the connection circuit is disconnected to stop charging;
if the short circuit phenomenon does not occur in the charging loop, controlling the switch unit to keep a connected state and controlling to output direct current charging voltage so as to charge the portable equipment;
wherein, the switch unit is arranged at a connecting line between the power adapter and the portable equipment.
10. A power adapter, comprising: the charger comprises a PCB and a charger body; any one of 1-5 charging short-circuit protection circuits is integrated on the PCB.
CN202010020823.6A 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter Pending CN111211608A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
CN202010020823.6A CN111211608A (en) 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter
CN202010844435.XA CN113113959A (en) 2020-01-09 2020-08-20 A charger
CN202010845525.0A CN111835074A (en) 2020-01-09 2020-08-20 Multi-output charging head
CN202010844430.7A CN113113957A (en) 2020-01-09 2020-08-20 Short-circuit protection method and charger
CN202010844433.0A CN111817414A (en) 2020-01-09 2020-08-20 Charger and short circuit prompting method in charging process
CN202010844434.5A CN113113958A (en) 2020-01-09 2020-08-20 Charger and access detection method of to-be-charged equipment
CN202010845523.1A CN113113960A (en) 2020-01-09 2020-08-20 Short-circuit protection method in charging process and charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010020823.6A CN111211608A (en) 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter

Publications (1)

Publication Number Publication Date
CN111211608A true CN111211608A (en) 2020-05-29

Family

ID=70789584

Family Applications (7)

Application Number Title Priority Date Filing Date
CN202010020823.6A Pending CN111211608A (en) 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter
CN202010845523.1A Pending CN113113960A (en) 2020-01-09 2020-08-20 Short-circuit protection method in charging process and charger
CN202010844433.0A Pending CN111817414A (en) 2020-01-09 2020-08-20 Charger and short circuit prompting method in charging process
CN202010844435.XA Pending CN113113959A (en) 2020-01-09 2020-08-20 A charger
CN202010844430.7A Pending CN113113957A (en) 2020-01-09 2020-08-20 Short-circuit protection method and charger
CN202010845525.0A Pending CN111835074A (en) 2020-01-09 2020-08-20 Multi-output charging head
CN202010844434.5A Pending CN113113958A (en) 2020-01-09 2020-08-20 Charger and access detection method of to-be-charged equipment

Family Applications After (6)

Application Number Title Priority Date Filing Date
CN202010845523.1A Pending CN113113960A (en) 2020-01-09 2020-08-20 Short-circuit protection method in charging process and charger
CN202010844433.0A Pending CN111817414A (en) 2020-01-09 2020-08-20 Charger and short circuit prompting method in charging process
CN202010844435.XA Pending CN113113959A (en) 2020-01-09 2020-08-20 A charger
CN202010844430.7A Pending CN113113957A (en) 2020-01-09 2020-08-20 Short-circuit protection method and charger
CN202010845525.0A Pending CN111835074A (en) 2020-01-09 2020-08-20 Multi-output charging head
CN202010844434.5A Pending CN113113958A (en) 2020-01-09 2020-08-20 Charger and access detection method of to-be-charged equipment

Country Status (1)

Country Link
CN (7) CN111211608A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112290610A (en) * 2020-08-25 2021-01-29 歌尔科技有限公司 Charging control circuit and charging control method
CN113346586A (en) * 2021-06-09 2021-09-03 高创(苏州)电子有限公司 Charging control method and device and display equipment
CN114069777A (en) * 2021-10-30 2022-02-18 深圳天德钰科技股份有限公司 Charging device, system and charging method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114325473B (en) * 2021-12-24 2024-03-08 广州星际悦动股份有限公司 Short circuit detection circuit, short circuit detection method, short circuit detection device, electronic equipment and storage medium

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3959374B2 (en) * 2003-06-30 2007-08-15 Tdk株式会社 USB interface system
CN101191813A (en) * 2007-03-09 2008-06-04 中兴通讯股份有限公司 Short circuit detection device
JP4621231B2 (en) * 2007-06-29 2011-01-26 富士通テン株式会社 Power supply protection device and electronic control device
CN101398459B (en) * 2008-10-28 2011-02-09 华为终端有限公司 Method and device for identifying charger type
CN101963835B (en) * 2009-07-24 2013-04-24 鸿富锦精密工业(深圳)有限公司 Electronic equipment and method for dynamically allocating USB port power
CN102097704B (en) * 2010-12-30 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic device
CN103698640B (en) * 2013-12-31 2016-04-27 青岛歌尔声学科技有限公司 A kind of intelligent charge testing circuit and portable power source
CN105322397B (en) * 2015-10-13 2018-01-23 深圳市祝你快乐科技有限公司 USB port connector and its implementation with charging protection function
WO2017107147A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Usb connector, and detection method
US10545908B2 (en) * 2016-02-29 2020-01-28 Texas Instruments Incorporated Methods and apparatus to enable status change detection in a low power mode of a microcontroller unit
CN106487060A (en) * 2016-11-04 2017-03-08 捷开通讯(深圳)有限公司 Electronic equipment and its charge control system
CN106602513A (en) * 2017-01-13 2017-04-26 顺丰科技有限公司 Short circuit protection charging interface and control method thereof
CN206697953U (en) * 2017-03-01 2017-12-01 顺丰科技有限公司 Charging inlet short-circuit detecting device and mobile terminal
CN107525997A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of USB charging circuits short circuit detection method and power supply adaptor
CN109962507A (en) * 2017-12-22 2019-07-02 北京小米移动软件有限公司 Charge port short-circuit protection method and device
CN108270266A (en) * 2018-01-22 2018-07-10 维沃移动通信有限公司 A kind of charging method and charger
CN108681514B (en) * 2018-05-02 2020-04-10 Oppo广东移动通信有限公司 Device detection method and device, storage medium and electronic device
CN208384040U (en) * 2018-07-05 2019-01-15 深圳市车电网络有限公司 A kind of charging pile powers on safety check system
CN109560581B (en) * 2018-11-13 2020-12-01 Oppo广东移动通信有限公司 Charging processing method, charging processing circuit, electronic device, and storage medium
CN109450023B (en) * 2018-11-19 2021-08-31 Oppo(重庆)智能科技有限公司 Charging circuit, charging processing method, electronic device, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112290610A (en) * 2020-08-25 2021-01-29 歌尔科技有限公司 Charging control circuit and charging control method
CN112290610B (en) * 2020-08-25 2022-08-16 歌尔科技有限公司 Charging control circuit and charging control method
CN113346586A (en) * 2021-06-09 2021-09-03 高创(苏州)电子有限公司 Charging control method and device and display equipment
CN114069777A (en) * 2021-10-30 2022-02-18 深圳天德钰科技股份有限公司 Charging device, system and charging method

Also Published As

Publication number Publication date
CN113113959A (en) 2021-07-13
CN111835074A (en) 2020-10-27
CN113113958A (en) 2021-07-13
CN113113957A (en) 2021-07-13
CN113113960A (en) 2021-07-13
CN111817414A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
JP7428835B2 (en) Charging circuit and charging cable
CN111211608A (en) Charging short-circuit protection circuit and method and power adapter
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
US7969506B2 (en) Cradle for connecting to portable electronic apparatus
JP7121865B2 (en) Reverse charging device, method and device for adjusting reverse charging current
TWI451703B (en) Mobile terminal aware of external device and control method for the same
KR20090028196A (en) Apparatus and method for charging in mobile phone
EP2388885A2 (en) Electronic device and charging method thereof
WO2020259700A1 (en) Anomaly detection method and device, and storage medium
US20170005495A1 (en) Method and apparatus for charging electronic device with usb connection
KR20020014870A (en) Mobile phone charger using a usb
EP1550045A2 (en) Device operable as both a host and a non-host (i.e. dual-mode device)
US20130119783A1 (en) Charging electronic devices
CN106655344B (en) Charging method and device for mobile terminal
WO2018090174A1 (en) Charging method and related device
US20210305822A1 (en) Charging device and method thereof
WO2020233445A1 (en) Power adapter and charging method
EP3674904B1 (en) Electronic device having type c usb interface, control method for type c usb interface, and storage medium
TWI612750B (en) Electronic device and charging method thereof
JP2017191606A (en) Access device
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
JP2006094523A (en) Apparatus and method of short circuit detection of battery terminal
WO2018076653A1 (en) Charging method and device, and terminal
CN109286218B (en) Charging mode switching method, charging circuit, electronic device and charging system
US11126235B2 (en) Detection of transmission medium state for power delivery

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200529