CN112383125B - Active overcharge prevention device and method - Google Patents

Active overcharge prevention device and method Download PDF

Info

Publication number
CN112383125B
CN112383125B CN202110051364.2A CN202110051364A CN112383125B CN 112383125 B CN112383125 B CN 112383125B CN 202110051364 A CN202110051364 A CN 202110051364A CN 112383125 B CN112383125 B CN 112383125B
Authority
CN
China
Prior art keywords
module
power supply
communication interface
pull
equipment
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.)
Active
Application number
CN202110051364.2A
Other languages
Chinese (zh)
Other versions
CN112383125A (en
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.)
Zhuhai Zhirong Technology Co.,Ltd.
Original Assignee
Zhuhai Smart Ware 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=74581889&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN112383125(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Zhuhai Smart Ware Technology Co ltd filed Critical Zhuhai Smart Ware Technology Co ltd
Priority to CN202110051364.2A priority Critical patent/CN112383125B/en
Publication of CN112383125A publication Critical patent/CN112383125A/en
Application granted granted Critical
Publication of CN112383125B publication Critical patent/CN112383125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/00302Overcharge protection
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage

Landscapes

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

Abstract

The invention relates to an active overcharge prevention device and method. The active anti-overcharge device includes: a power supply apparatus and a power receiving apparatus; the powered device comprises a device to be charged, a charging management module, a communication interface module and a plug-in and plug-out detection module; the power supply equipment is connected with the device to be charged through the communication interface module and the charging management module, and supplies power to the device to be charged; the charging management module and the plug access and extraction detection module are both connected with the communication interface module, and the plug access and extraction detection module is used for acquiring the voltage of the communication interface module and judging the equipment state of the power supply equipment according to the voltage; the charging management module is used for controlling the power supply equipment to supply power to the device to be charged according to the electric quantity and the equipment state of the device to be charged. The invention controls whether to charge the power receiving end or not by judging the power receiving end, thereby preventing the battery of the power receiving end from being damaged due to over-charging and preventing the electric quantity of the power supply end from being consumed without end.

Description

Active overcharge prevention device and method
Technical Field
The invention relates to the technical field of charging, in particular to an active anti-overcharging device and method.
Background
The charging requirements of the user on the powered device with the battery are: the power supply can be disconnected after being fully charged so as to prevent overcharging, and the power supply can be turned on again for charging after the electric quantity is lower than a threshold value.
The overcharge prevention device in the prior art is generally arranged at a power supply end, and whether the device is fully charged or not is judged by output voltage or output current or output power, and a common method is as follows: 1. the power supply equipment does not carry out output power-off treatment, for example, most adapters, the output is always opened to ensure that the equipment can be fully charged, but because the output is always opened, the equipment is always in a charging state, the service life of a battery is influenced, and meanwhile, the overcharging risk exists. 2. The power supply equipment output does no-load detection, namely, after the output current is smaller than a certain threshold, the equipment is considered to be full of or pulled out, so that the output is closed, for example, most of mobile power supplies or adapters can ensure that part of equipment is full of the output, the overcharge is prevented, and meanwhile, the electric quantity is saved. 3. The power supply equipment sets different full-charging timeout time according to output voltage, current or power, the output is closed after the preset time is exceeded, but the types of the powered equipment are various, and the powered equipment is in different stages, the voltage, the current and the power are possibly different, so that the timeout time is difficult to set, when the preset time is long, the output is not closed for a long time after partial equipment is full, and when the preset time is short, the output is closed because partial equipment is not full. Meanwhile, due to the fact that the anti-overcharging strategy in the prior art is implemented at the power supply end, the power supply end closes output after judging that the powered device is fully charged, and when the powered device needs to be charged again, the output of the power supply end cannot be opened under the condition of no external intervention.
Because the prior art has the condition that the judgment on the full charge of the equipment is inaccurate, the full charge is not full, or the charging voltage is maintained for a long time after the full charge, so that the overcharge or the energy loss are caused, and particularly for the equipment with a battery at a power supply end, the electric quantity of the battery is uselessly consumed without turning off the output.
Disclosure of Invention
The invention aims to provide an active anti-overcharge device and method, which control whether to turn on the output of a power supply end to charge the power supply end by judging the power supply end, so as to prevent the battery of the power supply end from being damaged and the electric quantity of the power supply end from being consumed endlessly due to overcharge.
In order to achieve the purpose, the invention provides the following scheme:
an active anti-overcharge device comprising:
a power supply apparatus and a power receiving apparatus; the powered device comprises a device to be charged and used, a charging and using management module, a communication interface module and a plug access and extraction detection module;
the power supply equipment is connected with the device to be charged through the communication interface module and the charging management module, and the power supply equipment supplies power to the device to be charged;
the charging management module and the plug access and extraction detection module are both connected with the communication interface module, the plug access and extraction detection module is connected with the charging management module, the plug access and extraction detection module is used for acquiring the voltage of the communication interface module and judging the equipment state of the power supply equipment according to the voltage, and the equipment state comprises that the power supply equipment is accessed to a powered equipment, the output power supply of the power supply equipment is turned on and the output power supply of the power supply equipment is not turned on;
the charging management module is used for controlling the power supply equipment to supply power to the device to be charged according to the electric quantity of the device to be charged, the power consumption condition of the device to be charged and the equipment state; the plug access pull-out detection module comprises: the device comprises a voltage detection judgment module, a pull-down resistor control module, a first detection resistor module and a second detection resistor module;
the voltage detection and judgment module is respectively connected with the communication interface module and the pull-down resistor control module; the voltage detection and judgment module is used for acquiring the voltage of the communication interface module and judging the equipment state of the power supply equipment according to the voltage;
the pull-down resistance control module is respectively connected with the first detection resistance module, the second detection resistance module and the charging management module; the first detection resistance module and the second detection resistance module are connected with the input end of the communication interface module, and the pull-down resistance control module is used for controlling the opening and closing of the first detection resistance module and the second detection resistance module according to the electric quantity of the to-be-charged electric device, the power consumption condition of the to-be-charged electric device and the voltage of the communication interface module acquired by the voltage detection judgment module.
Optionally, the communication interface module includes: the first communication interface controls the detection module, the first connection module, the second connection module, the third switch and the fourth switch; the first connection module is connected with the first communication interface control detection module through the third switch; the second connection module is connected with the first communication interface control detection module through the fourth switch; the first connecting module is connected with the first detection resistance module, and the second connecting module is connected with the second detection resistance module.
Optionally, the first connection module includes: the input end of the communication interface module is respectively connected with the first pull-up resistor and the first pull-down resistor through the first single-pole double-throw switch; the first pull-down resistor is connected with the first communication interface control detection module through the third switch.
Optionally, the second connection module includes: the input end of the communication interface module is respectively connected with the second pull-up resistor and the second pull-down resistor through the second single-pole double-throw switch; the second pull-down resistor is connected with the first communication interface control detection module through the fourth switch.
Optionally, the first connection module includes: and one end of the third pull-down resistor is connected with the input end of the communication interface module, and the other end of the third pull-down resistor is connected with the first communication interface control detection module through the third switch.
Optionally, the second connection module includes: and one end of the fourth pull-down resistor is connected with the input end of the communication interface module, and the other end of the fourth pull-down resistor is connected with the first communication interface control detection module through the fourth switch.
Optionally, the communication interface module includes: the first single-pole three-throw switch, the first resistance module and the second communication interface control detection module; the first resistance module comprises a third pull-up resistance and a fifth pull-down resistance; the input end of the communication interface module is respectively connected with the third pull-up resistor, the fifth pull-down resistor and the second communication interface control detection module through the first single-pole-three-throw switch.
Optionally, the communication interface module further includes: a second single-pole-three-throw switch and a second resistance module; the second resistance module comprises a fourth pull-up resistance and a sixth pull-down resistance; the input end of the communication interface module is connected with the fourth pull-up resistor, the sixth pull-down resistor and the second communication interface control detection module through the second single-pole-three-throw switch.
An active overcharge prevention method is applied to the active overcharge prevention device, and the method comprises the following steps:
acquiring the equipment state of the power supply equipment detected by a plug access and extraction detection module at the current moment;
if the equipment state at the current moment is that the power supply equipment is not connected with the communication interface module, returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment;
if the equipment state at the current moment is that the power supply equipment is connected to the communication interface module, acquiring the electric quantity of the to-be-charged electric device at the current moment and the power consumption condition of the to-be-charged electric device, and judging whether the to-be-charged electric device needs to be charged at the current moment to obtain a first judgment result;
if the first judgment result is negative, updating the equipment state, and acquiring the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment;
when the equipment state at the current moment is that the output power supply of the power supply equipment is not turned on, returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment;
when the equipment state at the current moment is that the output power supply of the power supply equipment is turned on, the output power supply is turned off, and the step of obtaining the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment is returned;
if the first judgment result is yes, updating the equipment state, and acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment;
when the equipment state at the current moment is that the output power supply of the power supply equipment is turned on, controlling the power supply equipment to supply power to the device to be charged, updating the equipment state, and returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment;
and when the equipment state at the current moment is that the output power supply of the power supply equipment is not turned on, controlling the output power supply of the power supply equipment to be turned on and returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the power supply end is controlled according to the state of the power receiving end, so that the power receiving equipment determines whether to charge, fully charge or recharge according to the electric quantity and the power consumption condition of the power receiving end, the battery damage of the power receiving end and the non-terminal consumption of the electric energy of the power supply end caused by overcharging are prevented, and the power supply end is particularly serious when the power supply end is a battery device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of an active overcharge prevention device provided in embodiment 1 of the present invention;
fig. 2 is a flowchart of a method of the active overcharge prevention device according to embodiment 1 of the present invention;
fig. 3 is a schematic structural diagram of a more specific active overcharge prevention device provided in embodiment 1 of the present invention;
fig. 4 is a flowchart of a working process of the power supply device according to embodiment 1 of the present invention;
fig. 5 is a flowchart of an operation process of a powered device according to embodiment 1 of the present invention;
fig. 6 is a schematic diagram of a socket assembly according to embodiment 2 of the present invention, in which fig. 6(a) is a schematic diagram of a connection relationship between the socket and a cable when a resistor is pulled up, and fig. 6(b) is a schematic diagram of a connection relationship between the socket and the cable when a current source is pulled up;
fig. 7 is a schematic structural diagram of an active overcharge prevention device with a DRP Type-C module as a communication interface according to embodiment 2 of the present invention;
fig. 8 is a flowchart illustrating a working process of a powered device when a communication interface module provided in embodiment 2 of the present invention is set as a DRP Type-C module;
fig. 9 is a schematic structural diagram of an active anti-overcharge device with a UFP Type-C module as a communication interface according to embodiment 2 of the present invention;
fig. 10 is a flowchart of a working process of a powered device when a communication interface module provided in embodiment 2 of the present invention is set as a UFP Type-C module;
fig. 11 is a circuit diagram of a communication interface module according to embodiment 3 of the present invention.
Description of the symbols: a1-a device to be charged, A2-a power supply device, A3-a communication interface module, A4-a plug access and pull-out detection module, A5-a charging management module, 2.1-a first detection resistor module, 2.2-a second detection resistor module, 3.1-a second connection module, 3.2-a first connection module, 4.1-a first pull-up resistor, 4.2-a first pull-down resistor, 6.1-a third pull-down resistor, 8.1-a first single-pole three-throw switch, 8.2-a first resistor module, 8.3-a second communication interface control detection module, 8.4-a third pull-up resistor and 8.5-a fifth pull-down resistor.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
As shown in fig. 1, the present embodiment provides an active anti-overcharge device, in the present embodiment, an anti-overcharge policy is implemented by a powered device, the powered device determines whether to charge, fully charge or recharge according to its own power and power consumption (power consumption of other parts of the device, the device to be charged includes a battery and other modules, such as a screen, a processor, a graphics card, a memory, a motor and a sound device, where the power consumption of the module to be charged refers to the power consumption of other modules besides the battery, such as a notebook computer, when the charger is inserted for use, the battery power shows 100%, but since the notebook computer is still running a program, the modules such as the screen and the processor are still consuming power, and the charger is needed to supply power at this time), the powered device controls the power supply device to turn on output, turn off output and turn back on output in a communication manner, the active anti-overcharge device includes: a power supply apparatus a2 and a power receiving apparatus; the powered device comprises a device to be charged A1, a charging management module A5, a communication interface module A3 and a plug-in and plug-out detection module A4, the power supply apparatus a2 is connected with the device-to-be-charged a1 through the communication interface module A3 and the charging management module a5, the power supply apparatus A2 supplies power to the device to be charged A1, the charging management module A5 and the plug-in and plug-out detection module A4 are both connected with the communication interface module A3, the plug connection and disconnection detection module is connected with the charging management module A5, the plug connection and disconnection detection module A4 is used for acquiring the voltage of the communication interface module A3 and judging the equipment state of the power supply equipment A2 according to the voltage, the device status includes that the power supply device a2 is connected to a powered device, the output power of the power supply device is on, and the output power of the power supply device is not on; the charging management module A5 is used for controlling the power supply equipment A2 to supply power to the device A1 to be charged according to the power quantity of the device A1 to be charged, the power consumption condition of the device and the equipment state. The plug insertion and extraction detection module A4 comprises: the device comprises a voltage detection judgment module, a pull-down resistance control module, a first detection resistance module 2.1 and a second detection resistance module 2.2, wherein the voltage detection judgment module is respectively connected with the communication interface module A3 and the pull-down resistance control module; the voltage detection and judgment module is used for acquiring the voltage of the communication interface module A3 and judging the equipment state of the power supply equipment A2 according to the voltage; the pull-down resistor control module is respectively connected with the first detection resistor module 2.1, the second detection resistor module 2.2 and the charging management module; the first detection resistance module 2.1 and the second detection resistance module 2.2 are connected with the input end of the communication interface module A3, and the pull-down resistance control module is used for controlling the on/off of the first detection resistance module 2.1 and the second detection resistance module 2.2 according to the electric quantity of the to-be-charged electric device a1, the power consumption condition of the to-be-charged electric device and the voltage.
As shown in fig. 2, the present embodiment provides an active anti-overcharge method corresponding to the above active anti-overcharge device, where the method includes:
101: and acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment. The device state includes that the power supply device is connected to a powered device, an output power of the power supply device is turned on, and an output power of the power supply device is not turned on.
102: and if the equipment state at the current moment is that the power supply equipment is not connected with the communication interface module, returning to the step of acquiring the equipment state of the power supply equipment detected by the plug connection and extraction detection module at the current moment.
103: if the equipment state at the current moment is that the power supply equipment is connected to the communication interface module, acquiring the electric quantity of the to-be-charged electric device at the current moment and the power consumption condition of the to-be-charged electric device, and judging whether the to-be-charged electric device needs to be charged at the current moment to obtain a first judgment result.
104: and if the first judgment result is negative, updating the equipment state, and acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment.
105: and when the equipment state at the current moment is that the output power supply of the power supply equipment is not turned on, returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment.
106: and when the equipment state at the current moment is that the output power supply of the power supply equipment is turned on, the output power supply is turned off, and the step of obtaining the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment is returned.
107: and if the first judgment result is yes, updating the equipment state, and acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment.
108: and when the equipment state at the current moment is that the output power supply of the power supply equipment is turned on, controlling the power supply equipment to supply power to the device to be charged, updating the equipment state, and returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment.
109: and when the equipment state at the current moment is that the output power supply of the power supply equipment is not turned on, controlling the output power supply of the power supply equipment to be turned on and returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment.
As shown in fig. 3, a more specific embodiment of the active overcharge prevention device is provided, and the power supply module of the power supply equipment is used for providing power and is controlled by the communication interface module of the power supply equipment to turn on or off the output power.
The power supply equipment is connected with and disconnected from the detection module: and detecting whether the powered device is connected or disconnected according to the state of the signal channel. After detecting the powered device is connected, the communication interface module may respond to a communication command (here, a command to turn on or off the power output of the power supply device); after the powered device is detected to be pulled out, the communication interface module and the power supply module are restored to the default state, and the access and pull-out detection mechanism is realized through the voltage change of the signal channel or whether a communication signal is received within a certain time.
Communication interface module of power supply unit: and communicating with the power receiving equipment communication interface module to obtain a command for turning on or off the output power supply, wherein the communication mode can be a simple level change or a communication protocol.
Communication interface module of powered device: and communicating with the power supply equipment communication interface module to send a command for turning on or off the output power supply, wherein the communication mode can be a simple level change or a communication protocol.
Plug-in and plug-out detection module (plug-in and plug-out detection module a 4) of powered device: the method comprises the steps of detecting whether a power supply device is connected or disconnected according to the state of a signal channel, sending a communication command by a communication interface module after detecting that the power supply device is connected, and recovering the communication interface module and a charging and power utilization management module to default states after detecting that the power supply device is disconnected.
Charging and power utilization management module of power receiving apparatus (charging management module a 5): and taking power from the power channel and determining whether to send a command to turn on or turn off an output power supply of the power supply equipment according to the battery power or equipment power consumption condition of the device to be charged.
A power supply channel: the channel for energy transmission between devices may be wired or wireless.
Signal path: the channel for communication transmission between devices may be wired or wireless, may be a single wire or multiple wires, and the special power channel may also be used as a signal channel.
The specific operation process of the power supply apparatus provided in this embodiment is shown in fig. 4, and for the power supply apparatus, detecting that the powered apparatus accesses and receives the power on command may be the same process, or may be two separate processes: the detection of the unplugging of the powered device and the receipt of the power-off command may be the same process or may be separate processes.
The specific operation process of the powered device provided in this embodiment is as shown in fig. 5, for powered device, detecting that the power supply device accesses and sends a power on command may be the same process, and may be two separate processes: the detection of the unplugging of the power supply device and the sending of the command to shut down the power supply may be the same process or may be separate processes.
Example 2
USB Type-C is a USB interface that has been developed in recent years, and is currently applied more and more widely to personal PCs, notebooks, mobile phones, portable power sources, TWS charging cabinets, and other devices. Type-C has three roles with Power:
source: for the power supply equipment, the CC1/CC2 is pulled up through an Rp resistor, and power is supplied to the outside after the Type-C connection is successful. The adapter for Type-C is Source.
Sink: for the powered device, CC1/CC2 is pulled down to the ground through Rd, and power is supplied and taken from the outside after the Type-C connection is successful. The USB flash disk of Type-C, the TWS charging bin of most Type-C all belong to Sink.
DRP: the device is a double-role device, the CC1/CC2 is in a Toggle state, and is pulled down through Rd or pulled up through Rp (or pulled up through a current source) in a time-sharing mode, and power can be supplied to the outside or power can be taken from the outside after the Type-C connection is successful. Notebook computers, mobile phones and mobile power supplies generally belong to the DRP. When the DRP equipment is connected with the Source equipment, the DRP equipment is represented as Sink; when the DRP equipment is connected with Sink equipment, the DRP equipment is represented as Source; when the DRP equipment is connected with the DRP equipment, the roles are random.
If one of the two devices connected with the Type-C is pulled up at Rp and the other is pulled down at Rd, and the duration is longer than the connection time of the Type-C (the protocol is specified to be 100 ms-200 ms), the connection is successful, the device at the Rp serves as Source to supply power to the outside, and the device at the Rd serves as Sink to get power; if Rp or Rd is removed, so that the level of the CC1 or the CC2 in the connected state exceeds the range of the connection level, after 0-20 ms, Source considers that the Type-C connection is disconnected, Vbus is closed, and Sink detects that the Vbus is closed, the connection is disconnected.
In the Type-C interface, as shown in FIG. 6, the receptacle has two sides, one side containing CC1 and the other side containing CC2, with CC in the male and Type-C cable containing two male connectors. When the cable is connected to the Type-C socket, when the Source is pulled up by the resistance Rp, as shown in FIG. 6(a), CC1 or CC2 in the socket is connected to the CC in the cable, and when the Source is pulled up by the current Source Ip, as shown in FIG. 6(b), CC2 or CC1 of the socket is connected to the CC in the cable. Rp is a pull-up resistor at the Source end, and Ip is a current Source of the Source; and Rd is a pull-down resistor at the Sink end.
The CC in the cable is connected with CC1 or CC2 of source and sink, and the mapping relation of four CC lines existing in the forward insertion or reverse insertion of the cable is shown as four lines in the cable in FIG. 6.
Type-C connection and disconnection time interpretation:
when not connected by default, CC1 and CC2 of Source are pulled up through Rp resistor or Ip current Source; CC1 or CC2 of Sink is pulled down through Rd; when the Source and the sink are connected, the CC level is in a specific level interval according to different currents broadcasted by the Source.
The Source connection is successful: when the Source detects that the level of the CC is in a connection range and exceeds the tCCDebounce and the Vbus is in vSafe0V (generally, vSafe0V is 0V), the connection is considered to be successful, and 5V to Vbus are output; the protocol specifies a time range for tccddebounce of (100ms, 200 ms).
And when the Sink detects that the level of the CC is in a connection range and exceeds the tCCDebounce and detects Vbus (generally, the detection of the Vbus means that the Vbus is detected to be 5V), the Sink considers that the connection is successful, and the protocol provides that the time range of the tCCDebounce is (100ms, 200 ms).
Disconnecting the Source connection: when the Source detects that the CC level does not exceed tSRCDisconnect within the connection range, the connection is considered to be disconnected, and the Vbus output is closed; the protocol specifies that tsrccisconnect be in the time range of (0ms, 20 ms).
Disconnecting the Sink connection: when the sink detects that Vbus is shifted out, the connection is considered to be disconnected.
The present embodiment is different from the above-described embodiments in that the communication interface module in the present embodiment includes: a first communication interface controls a detection module (Type-C logic control and detection module in fig. 7 and 9), a first connection module 3.2, a second connection module 3.1, a third switch and a fourth switch; the first connection module 3.2 is connected with the first communication interface control detection module through the third switch; the second connection module 3.1 is connected with the first communication interface control detection module through the fourth switch; the first connecting module 3.2 is connected with the first detection resistance module 2.1, and the second connecting module 3.1 is connected with the second detection resistance module 2.2.
The communication interface module of this embodiment may be set as a DRP Type-C module, and the first connection module 3.2 in the DRP Type-C module includes: the communication interface module comprises a first single-pole double-throw switch, a first pull-up resistor 4.1 and a first pull-down resistor 4.2, wherein the input end of the communication interface module is respectively connected with the first pull-up resistor 4.1 and the first pull-down resistor 4.2 through the first single-pole double-throw switch; the first pull-down resistor 4.2 is connected with the first communication interface control detection module through the third switch.
The second connection module 3.1 comprises: the input end of the communication interface module a3 is connected to the second pull-up resistor and the second pull-down resistor through the second single-pole double-throw switch respectively; the second pull-down resistor is connected with the first communication interface control detection module through the fourth switch, and when the charging management module a5 sends an active disconnection communication connection command to the communication module, the charging management module a will also control the pull-down resistor control module to turn on the pull-down resistor in the first detection module or the second detection module.
As shown in FIG. 7, the Type-C logic control and detection module is used to drive the CC1/CC2 to be in Rp pull-up or Rd pull-down or to disconnect Rd (i.e. not drive CC), and to perform Type-C connection and disconnection detection.
The charging and electricity utilization management module (charging and electricity utilization management module A5) is used for taking electricity from Vbus, acquiring the electric quantity of a device A1 to be charged and the electricity consumption condition of the device to be charged, sending a command to the Type-C logic control and detection module according to the electricity utilization requirement, driving Rd to be pulled down or disconnected, and sending the command of disconnecting Rd to the pull-down resistance control module of the pull-out detection module.
The plug-in.
When the power supply equipment is Source, the output power supply is turned off after the type-C is disconnected, and the CC1/CC2 returns to the Rp pull-up unconnected state again; when the power supply equipment is in a DRP state, the type-C is disconnected and then the output power supply is turned off, and the CC1/CC2 returns to a Toggle state again.
And the pull-down resistor control module in the pull-out detection module is used for opening a pull-down resistor channel by the pull-down resistor control module after receiving the information of disconnection Rd, so that a weak pull-down resistor Rx is arranged on the ground in the connection state CC1 or CC2 of the power supply equipment, the pull-out detection failure caused by the floating electricity on the CC1/CC2 is prevented, the pull-down resistor Rx is recommended to be 1M ohm, and the pull-down resistor control module disconnects the pull-down resistor channel after receiving the information of the power supply equipment.
A CC1/CC2 voltage detection and pulling-out judgment module (for judging whether the power supply equipment is pulled out) in the pulling-out detection module: when the fact that the time of the low level of the power supply equipment CC1/CC2 is greater than the Type-C disconnection time is detected, the power supply equipment is considered to be pulled out, equipment pulling information is sent to a Type-C logic control and detection module, and the DRP equipment is made to return to a Toggle state again or the sink equipment is made to return to an Rd pull-down state again; meanwhile, the pulling-out information of the sending equipment is sent to the pull-down resistor module, so that the pull-down resistor module is disconnected from a pull-down resistor channel.
Fig. 8 is a working process of the powered device when the communication interface module is set as the DRP Type-C module in this embodiment, and the following describes in detail the working process of the powered device when the communication interface module is set as the DRP Type-C module in this embodiment:
the drive CC1/CC2 (the two lines of CC1/CC2 are used for ensuring that the power supply is used in both positive insertion and reverse insertion) is used as toggle: when the DRP device is not connected, the CC1/CC2 is in a toggle state, namely the SW1 switch is controlled by the Type-C logic control detection module, so that signals of the CC1 and the CC2 are switched between Rp and Rd in a specific period.
Judging whether the connection as source is successful: when the DRP equipment Toggle to the Rp, if the time of the equipment connected with the DRP equipment in the Rd exceeds tCCDebounce, the Type-C connection is successful, at the moment, the DRP equipment is represented as Source, external power supply is provided, and after the fact that the Type-C connection is disconnected is detected, the external power supply is closed, and the DRP equipment returns to the Toggle state.
As Sink connections: when DRP equipment toggle to Rd, if the time of the equipment connected with the DRP equipment in Rp exceeds tCCDebounce, the Type-C connection is successful, and the DRP equipment is represented as Sink.
Normal charging or power utilization and recording connection state CC1/CC 2: the DRP device is used as Sink, and takes electricity from the outside to charge or use electricity. Whether the current connection state is recorded as CC1 or CC2 is set to CCx so that the correct connection line can be determined when reconnection is required. And turning on a pulling-out judgment module of the CCx so as to detect the pulling-out of the power supply equipment.
When the equipment is not pulled out, judging whether the equipment is full or has power consumption requirement: the DRP equipment is used as Sink to acquire the battery power state or power consumption requirement of the DRP equipment when charging. Different strategies are adopted according to the full state or the power demand.
Controlling SW3 or SW4 to disconnect the Rd path of CCx: the powered device actively disconnects the pull-down path of the Rd to disconnect type-C, and the power supply device can turn off the output power supply and return to the default state of type-C after detecting that the type-C is disconnected; meanwhile, the DRP as the powered device does not return to the Toggle state.
Control SW5 or SW6 to turn on the Rx pulldown resistance of CCx: therefore, the power supply equipment connection state CC1 or CC2 has a weak pull-down resistor Rx to the ground, and the pull-out detection failure caused by the floating electricity on the CC1/CC2 is prevented.
Equipment pulling out: and when the low level time of the external CC1/CC1 is detected to exceed the disconnection time of Type-C, the external device is considered to be pulled out.
Control SW5 or SW6 turns off the Rx pulldown resistor of CCx: after the power supply equipment is pulled out, the pulling-out judgment module is recovered to the default state.
Controlling SW3 or SW4 to open the Rd pull down path of CCx: after the power supply equipment is pulled out, the logic of the Type-C is restored to the default state.
There is a need for charging or power consumption: before the external power supply device is not pulled out, if the power amount of the power receiving device as the DRP is lower than a set threshold (different thresholds may be provided according to the requirements) or the power utilization requirement, the external power supply device needs to be turned on again.
The control SW5 or SW6 disconnects the Rx pulldown resistor of CCx. the pull-out decision module reverts to the default state when the Type-C connection needs to be reestablished.
Controlling SW3 or SW4 to turn on the Rd path of CCx: because the external power supply equipment is not pulled out, after the DRP is connected with the pull-down path of the Rd again, the Type-C connection is reestablished, and the power supply equipment outputs a power supply to the outside again.
As shown in fig. 9, the communication interface module of this embodiment can be configured as a UFP Type-C module, which simplifies the Type-C part compared to the case where the communication interface module is a DRP Type-C module. The first connection module 3.2 in a UFP Type-C module comprises: and one end of the third pull-down resistor 6.1 is connected with the input end of the communication interface module, and the other end of the third pull-down resistor 6.1 is connected with the first communication interface control detection module through the third switch.
The second connection module 3.1 comprises: and one end of the fourth pull-down resistor is connected with the input end of the communication interface module, and the other end of the fourth pull-down resistor is connected with the first communication interface control detection module through the fourth switch. Fig. 10 is a flowchart illustrating a working process of the powered device in which the communication interface module is the UFP Type-C module in this embodiment, and the control process is simpler than that when the communication interface module is the DRP Type-C module.
In the embodiment, charging and stopping are realized by controlling the existence of the Rd by the powered device by utilizing the characteristic that whether the Type-C Rd pull-down exists or not can control the power supply device to turn on or turn off the output power supply. Because the powered device can in time acquire the full charge state of itself, consequently can realize being full of and break Type-C and connect, prevent to overcharge. And the charging may be turned back on when the device finds that the charge is below the threshold.
Example 3
As shown in fig. 11, the communication interface module provided in this embodiment includes: the first single-pole three-throw switch 8.1, the first resistance module 8.2 and the second communication interface control detection module 8.3; the first resistor module 8.2 comprises a third pull-up resistor 8.4 and a fifth pull-down resistor 8.5; the input end of the communication interface module is connected with the third pull-up resistor 8.4, the fifth pull-down resistor 8.5 and the second communication interface control detection module through the first single-pole-three-throw switch 8.1.
The communication interface module further comprises: a second single-pole-three-throw switch and a second resistance module; the second resistance module comprises a fourth pull-up resistance and a sixth pull-down resistance; the input end of the communication interface module is connected with the fourth pull-up resistor, the sixth pull-down resistor and the second communication interface control detection module through the second single-pole-three-throw switch.
In the embodiment, charging and stopping are realized by controlling the existence of the Rd by the powered device by utilizing the characteristic that whether the Type-C Rd pull-down exists or not can control the power supply device to turn on or turn off the output power supply. Because the powered device can in time acquire the full charge state of itself, consequently can realize being full of and break Type-C and connect, prevent to overcharge. And the charging may be turned back on when the device finds that the charge is below the threshold.
According to the specific implementation mode provided by the invention, the invention has the following technical effects:
1. an anti-overcharge method is initiated by a powered device.
2. The power supply apparatus and the power receiving apparatus realize a manner of turning on and off the power supply by communication.
3. The powered device detects whether the power supply device is pulled out after the Type-C connection is disconnected.
4. The power receiving equipment controls the power supply output to be turned on and off, so that the problem of insufficient or overcharged power supply can be completely avoided.
5. When the power supply device is not unplugged, the powered device can actively initiate to turn on the power supply device when the power quantity is not enough or the power demand is needed.
6. Under the condition of ensuring that the powered device can be fully charged, the power consumption of the power supply device can be saved.
7. The invention can be applied to Type-C interface equipment, including notebook computer/mobile phone/mobile power supply/TWS charging cabin and other equipment with batteries, and can communicate through CC1/CC2 or DPDM.
8. The invention can be applied to non-Type-C interface equipment, including wireless charging, USB-B, USB-Lighting and other communication interface equipment, such as mobile phone/charging bin/mobile power supply/earphone and other equipment with batteries, and can communicate through DPDM and VBUS.
9. The invention can be applied to wireless charging equipment, including mobile phone/charging chamber/earphone and other equipment with batteries, and can communicate wirelessly.
10. The invention can be applied to equipment with special cables, including TWS earphones, round hole charging notebooks, electric toothbrushes and the like, and communication is carried out through a specific contact point or contact line.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (9)

1. An active anti-overcharge device, comprising:
a power supply apparatus and a power receiving apparatus; the powered device comprises a device to be charged and used, a charging and using management module, a communication interface module and a plug access and extraction detection module;
the power supply equipment is connected with the device to be charged through the communication interface module and the charging management module, and the power supply equipment supplies power to the device to be charged;
the charging management module and the plug access and extraction detection module are both connected with the communication interface module, the plug access and extraction detection module is connected with the charging management module, the plug access and extraction detection module is used for acquiring the voltage of the communication interface module and judging the equipment state of the power supply equipment according to the voltage, and the equipment state comprises that the power supply equipment is accessed to a powered equipment, the output power supply of the power supply equipment is turned on and the output power supply of the power supply equipment is not turned on;
the charging management module is used for acquiring the electric quantity of the to-be-charged electric device and the power consumption condition of the to-be-charged electric device, and controlling the power supply equipment to supply power to the to-be-charged electric device according to the electric quantity of the to-be-charged electric device, the power consumption condition of the to-be-charged electric device and the equipment state;
the plug access pull-out detection module comprises: the device comprises a voltage detection judgment module, a pull-down resistor control module, a first detection resistor module and a second detection resistor module;
the voltage detection and judgment module is respectively connected with the communication interface module and the pull-down resistor control module; the voltage detection and judgment module is used for acquiring the voltage of the communication interface module and judging the equipment state of the power supply equipment according to the voltage;
the pull-down resistance control module is respectively connected with the first detection resistance module, the second detection resistance module and the charging management module; the first detection resistance module and the second detection resistance module are connected with the input end of the communication interface module, and the pull-down resistance control module is used for controlling the opening and closing of the first detection resistance module and the second detection resistance module according to the electric quantity of the to-be-charged electric device, the power consumption condition of the to-be-charged electric device and the voltage of the communication interface module acquired by the voltage detection judgment module.
2. The active anti-overcharge device of claim 1, wherein the communication interface module comprises: the first communication interface controls the detection module, the first connection module, the second connection module, the third switch and the fourth switch; the first connection module is connected with the first communication interface control detection module through the third switch; the second connection module is connected with the first communication interface control detection module through the fourth switch; the first connecting module is connected with the first detection resistance module, and the second connecting module is connected with the second detection resistance module.
3. The active anti-overcharge device of claim 2, wherein the first connection module comprises: the input end of the communication interface module is respectively connected with the first pull-up resistor and the first pull-down resistor through the first single-pole double-throw switch; the first pull-down resistor is connected with the first communication interface control detection module through the third switch.
4. The active anti-overcharge device of claim 3, wherein the second connection module comprises: the input end of the communication interface module is respectively connected with the second pull-up resistor and the second pull-down resistor through the second single-pole double-throw switch; the second pull-down resistor is connected with the first communication interface control detection module through the fourth switch.
5. The active anti-overcharge device of claim 2, wherein the first connection module comprises: and one end of the third pull-down resistor is connected with the input end of the communication interface module, and the other end of the third pull-down resistor is connected with the first communication interface control detection module through the third switch.
6. The active anti-overcharge device of claim 5, wherein the second connection module comprises: and one end of the fourth pull-down resistor is connected with the input end of the communication interface module, and the other end of the fourth pull-down resistor is connected with the first communication interface control detection module through the fourth switch.
7. The active anti-overcharge device of claim 1, wherein the communication interface module comprises: the first single-pole three-throw switch, the first resistance module and the second communication interface control detection module; the first resistance module comprises a third pull-up resistance and a fifth pull-down resistance; the input end of the communication interface module is respectively connected with the third pull-up resistor, the fifth pull-down resistor and the second communication interface control detection module through the first single-pole-three-throw switch.
8. The active anti-overcharge device of claim 7, wherein the communication interface module further comprises: a second single-pole-three-throw switch and a second resistance module; the second resistance module comprises a fourth pull-up resistance and a sixth pull-down resistance; the input end of the communication interface module is connected with the fourth pull-up resistor, the sixth pull-down resistor and the second communication interface control detection module through the second single-pole-three-throw switch.
9. An active anti-overcharge method applied to the active anti-overcharge apparatus of any one of claims 1 to 8, the method comprising:
acquiring the equipment state of the power supply equipment detected by a plug access and extraction detection module at the current moment;
if the equipment state at the current moment is that the power supply equipment is not connected with the communication interface module, returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment;
if the equipment state at the current moment is that the power supply equipment is connected to the communication interface module, acquiring the electric quantity of the to-be-charged electric device and the power consumption condition of the to-be-charged electric device at the current moment, and judging whether the to-be-charged electric device needs to be charged at the current moment to obtain a first judgment result;
if the first judgment result is negative, updating the equipment state, and acquiring the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment;
when the equipment state at the current moment is that the output power supply of the power supply equipment is not turned on, returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment;
when the equipment state at the current moment is that the output power supply of the power supply equipment is turned on, the output power supply is turned off, and the step of obtaining the equipment state of the power supply equipment detected by the plug access unplugging detection module at the current moment is returned;
if the first judgment result is yes, updating the equipment state, and acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment;
when the equipment state at the current moment is that the output power supply of the power supply equipment is turned on, controlling the power supply equipment to supply power to the device to be charged, updating the equipment state, and returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment;
and when the equipment state at the current moment is that the output power supply of the power supply equipment is not turned on, controlling the output power supply of the power supply equipment to be turned on and returning to the step of acquiring the equipment state of the power supply equipment detected by the plug access and extraction detection module at the current moment.
CN202110051364.2A 2021-01-15 2021-01-15 Active overcharge prevention device and method Active CN112383125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110051364.2A CN112383125B (en) 2021-01-15 2021-01-15 Active overcharge prevention device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110051364.2A CN112383125B (en) 2021-01-15 2021-01-15 Active overcharge prevention device and method

Publications (2)

Publication Number Publication Date
CN112383125A CN112383125A (en) 2021-02-19
CN112383125B true CN112383125B (en) 2021-04-27

Family

ID=74581889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110051364.2A Active CN112383125B (en) 2021-01-15 2021-01-15 Active overcharge prevention device and method

Country Status (1)

Country Link
CN (1) CN112383125B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115441559A (en) * 2022-11-09 2022-12-06 珠海智融科技股份有限公司 Power supply system and method for self-adaptive adapter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106026257A (en) * 2016-06-24 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal
CN109286219A (en) * 2018-11-13 2019-01-29 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582594B (en) * 2008-05-16 2011-07-27 富港电子(东莞)有限公司 Charging control circuit
KR20190100601A (en) * 2018-02-21 2019-08-29 삼성전자주식회사 An electronic apparatus and a method for controlling voltage output to an external electronic device according to voltage sensed at a signal terminal connected to the external electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106026257A (en) * 2016-06-24 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal
CN109286219A (en) * 2018-11-13 2019-01-29 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112383125A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
US20070222301A1 (en) Methods and apparatus for charging a battery in a peripheral device
US8836282B2 (en) Method and apparatus for recharging batteries in a more efficient manner
US7271568B2 (en) Battery charger for portable devices and related methods
CN101997253B (en) Connection apparatus
KR101933066B1 (en) Charging method, mobile device, charging device and charging system
US9214807B2 (en) Systems and methods for delivering power in response to a connection event
US7439706B2 (en) Battery determination system for battery-powered devices
US8949631B2 (en) USB power supply method and device, and end device and system using the same
US10845398B2 (en) Interface circuitry for bidirectional power connector
US7795842B2 (en) Adjustable cut-off voltage for mobile device battery
US8729867B2 (en) Sink current adaptation based on power supply detection
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
CN114967894B (en) Electronic device, device identification method and charging system
CN111987753A (en) Charging control method and related equipment
CN112383125B (en) Active overcharge prevention device and method
CN114696384A (en) Power supply control method and power supply controller of terminal and terminal
CN108181978B (en) Power control method and device for electronic equipment
KR100734128B1 (en) USB Charging and Data Link system combined with external battery and external memory device
US20080203970A1 (en) Battery-powered apparatus for portable system
CN110597375A (en) External equipment power supply device
CN218549547U (en) Plug-in type electrifying device, battery device and terminal equipment
US20230361592A1 (en) Charger and charging system
CN217332804U (en) Insertion detection circuit, Lightning plug, Lightning data line and charger
KR200255509Y1 (en) Computer

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 519000 room 1401-1405, building 4, No. 101, University Road, Tangjiawan Town, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Zhirong Technology Co.,Ltd.

Address before: 519000 room 1505, building 3, 101 University Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI SMART WARE TECHNOLOGY CO.,LTD.

CP03 Change of name, title or address