CN114629218A - Intelligent overcharge-preventing method and device compatible with various portable electric equipment - Google Patents

Intelligent overcharge-preventing method and device compatible with various portable electric equipment Download PDF

Info

Publication number
CN114629218A
CN114629218A CN202210525341.5A CN202210525341A CN114629218A CN 114629218 A CN114629218 A CN 114629218A CN 202210525341 A CN202210525341 A CN 202210525341A CN 114629218 A CN114629218 A CN 114629218A
Authority
CN
China
Prior art keywords
current
charging
full
counter
threshold
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.)
Granted
Application number
CN202210525341.5A
Other languages
Chinese (zh)
Other versions
CN114629218B (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 Zhirong 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 Zhuhai Zhirong Technology Co ltd filed Critical Zhuhai Zhirong Technology Co ltd
Priority to CN202210525341.5A priority Critical patent/CN114629218B/en
Publication of CN114629218A publication Critical patent/CN114629218A/en
Application granted granted Critical
Publication of CN114629218B publication Critical patent/CN114629218B/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

Landscapes

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

Abstract

The invention relates to an intelligent anti-overcharging method and device compatible with various portable electric devices, belonging to the technical field of intelligent anti-overcharging, wherein the types of the electric devices are classified according to charging voltage and charging current, whether the electric devices are full is judged by counting through a counter, the judgment condition of charging interruption is that the accumulated counting of the counter is larger than a counting threshold, and the counting threshold is a positive correlation function related to the full current.

Description

Intelligent anti-overcharging method and device compatible with various portable electric equipment
Technical Field
The invention relates to the technical field of intelligent overcharge prevention, in particular to an intelligent overcharge prevention method and device compatible with various portable electric equipment.
Background
The current quick charging technology and material industry develop rapidly, the charging time is greatly shortened, and the battery capacity is gradually improved. Therefore, the charging technology plays an indispensable role in portable electric devices. Portable devices which use a large amount of charging technologies today include notebook computers, smart phones, mobile power supplies, portable outdoor power supplies, intelligent wearable devices, electric tools, small intelligent appliances, and the like. To extend the life of the battery and enhance the safety of charging, intelligent overcharge prevention devices have become an important part of the charging technology. As the number of portable devices increases, the charging voltage and current of the portable devices vary. For example, when the battery of the smartphone A is fully charged, the charging power is maintained at 5V/50 mA; when the battery of the smart phone B is fully charged, the charging power can be maintained at 9V/20 mA; when the battery is fully charged, the charging power of the intelligent wearable device C is maintained at 5V/10 mA. Therefore, the existing intelligent anti-overcharging device is difficult to cover various portable devices in a wide range.
Therefore, how to cover various portable electric devices in a wider range by the overcharge prevention device is a difficult problem to be solved in the future.
Prior art one (chinese patent publication No. CN114069805A, entitled "overcharge protection circuit, power supply circuit, and electronic device"): the voltage of the battery is collected to judge whether the battery is fully charged or not. When the voltage of the battery exceeds a certain threshold, the battery is considered to be fully charged, and the charging is disconnected. The method has fixed threshold and is suitable for specific equipment or electric equipment with similar batteries. At present, when the electric equipment is diversified, the coverage area of the method is too small, and the limitation is too large.
Prior art two (chinese patent publication No. CN201639276U, with patent name "anti-overcharge protection circuit and charger using the circuit"): the charging current is collected to judge whether the battery is fully charged or not. When the charging current is lower than a certain threshold, the battery is considered to be fully charged, and the charging is disconnected. This method cannot be applied to an electric device whose charging current is still large after full charge, and cannot be applied to a device charged with a pulse current.
The prior art three (chinese patent publication No. CN111817397A, patent name "overcharge prevention control method, device and storage medium"): the method comprises the steps of classifying the powered devices, collecting charging voltage and charging current, and judging whether the charging is full or not by using different voltage, current and time thresholds for different device types and different charging stages. With the explosive growth of the types of electric devices, the classification of the electric devices required to be set in the method needs to be thinner and thinner, and the design of the overcharge prevention threshold will be more and more complex. If new electric equipment appears, the classification criterion needs to be upgraded again, and a new overcharge-preventing threshold needs to be changed or added. In addition, the technology has poor application effect in equipment charged by pulse current, and the overcharge protection action is too long.
Disclosure of Invention
The invention aims to provide an intelligent anti-overcharging method and device compatible with various portable electric equipment, so as to be suitable for anti-overcharging protection of various portable electric equipment.
In order to achieve the purpose, the invention provides the following scheme:
an intelligent anti-overcharging method compatible with various portable electric devices comprises the following steps:
collecting charging voltage and charging current of the powered device in a charging process in real time;
classifying the type of the powered device according to the charging voltage and the charging current; the types include a first charging power device and a second charging power device; the charging power of the first charging power equipment is larger than that of the second charging power equipment;
initializing full-charge current, effective current and a counter of the classified powered device; the full-charge current of the first charging power equipment is different from that of the second charging power equipment;
constructing a counter counting threshold function for judging a full state according to the full current; the counter counting threshold function is a positive correlation function of a counting threshold relative to the full current;
when the currently acquired charging current is judged to be effective current data, assigning the value of the currently acquired charging current to the full current, and when the next acquired charging current is judged to be effective current data, assigning the value of the next acquired charging current to the effective current;
if the difference value of the assigned effective current and the assigned full current is less than or equal to the full current difference threshold, the counter is accumulated once;
the full current after being assigned is brought into a counting threshold function of a counter, and a counting threshold is determined;
and when the count accumulated by the counter is greater than the count threshold, judging that the powered device is in a full-charged state, and disconnecting the charging path.
Optionally, the classifying the type of the powered device according to the charging voltage and the charging current specifically includes:
if the charging voltage is greater than the charging power voltage threshold or the charging current is greater than the charging power current threshold, classifying the powered device as a first charging power device;
if the charging voltage is less than or equal to the charging power voltage threshold and the charging current is less than or equal to the charging power current threshold, classifying the powered device as a second charging power device.
Optionally, constructing a counter counting threshold function for judging a full state according to the full current specifically includes:
when the powered device is the first charging power device, a counter counting threshold function for judging the full-charge state is constructed ast 1=f 1(i ref ) (ii) a Wherein,t 1a threshold is counted for a counter of the first charging power device,f 1() A counter count threshold function for the first charging power device,i ref full current for the first charging power device;
when the powered device is the second charging power device, a counter counting threshold function for judging the full-charge state is constructed as
Figure 426413DEST_PATH_IMAGE001
(ii) a Wherein,t 2a threshold is counted for a counter of the second charging power device,f 2() A threshold function is counted for a counter of the second charging power device,
Figure 787774DEST_PATH_IMAGE002
the full current of the second charging power device.
Optionally, when it is determined that the currently acquired charging current is the effective current data, assigning the currently acquired value of the charging current to the full charge current, and when it is determined that the next acquired charging current is the effective current data, assigning the next acquired value of the charging current to the effective current specifically include:
continuous miningTwo charging currents i are integrated1And i2(ii) a The charging current i2Is i1The charging current collected thereafter;
if i2-i1|≥Idata_vaild_thThen, the charging current i is determined2Is invalid data, and returns to the step1And i2”;
If i2-i1|<Idata_vaild_thAnd the full-charge current is not assigned, the charging current i is added2Assigns the value of (i) to the full-charge current, and returns to the step of continuously collecting two charging currents i1And i2”;
If i2-i1|<Idata_vaild_thAnd the full-charge current is assigned, the charging current i is set2Is assigned to the effective current Ivaild
Optionally, if the difference between the assigned effective current and the assigned full current is less than or equal to the full current difference threshold, the counter is incremented once, and then the method further includes:
and if the difference value between the assigned effective current and the assigned full current is greater than the full current difference threshold, returning to the step of initializing the full current, the effective current and the counter.
Optionally, when the count accumulated by the counter is greater than the count threshold, it is determined that the powered device is in a full state, and the charging path is disconnected at the same time, and then the method further includes:
when the count accumulated by the counter is less than or equal to the count threshold, returning to the step of continuously collecting two charging currents i1And i2”。
An intelligent anti-overcharging device that can compatible all kinds of portable consumer, intelligence anti-overcharging device includes: the system comprises a load insertion detection module, a path control module, a data acquisition module and a data processing module;
the load insertion detection module is connected with the access control module and used for generating a device access signal and transmitting the device access signal to the access control module when detecting that a powered device is accessed;
the path control module is arranged between the power supply equipment and the powered equipment, and is used for controlling the conduction of a charging path between the power supply equipment and the powered equipment according to the equipment access signal so as to enable the power supply equipment to supply power to the powered equipment;
the data acquisition module is connected with the data processing module and is used for acquiring the charging voltage and the charging current on the charging path and transmitting the acquired charging voltage and charging current to the data processing module;
the data processing module is connected with the access control module, and the data processing module is used for judging whether the powered device is fully charged by adopting the intelligent anti-overcharging method compatible with various portable electric devices according to charging voltage and charging current, and sending a turn-off signal to the access control module when judging that the powered device is in a fully charged state, so that the access control module turns off the charging access.
Optionally, the path control module is composed of a single or multiple MOS transistors.
Optionally, the data processing module includes:
a classification unit configured to classify a type of the power receiving apparatus according to a charging voltage and a charging current; the types include a first charging power device and a second charging power device; the charging power of the first charging power equipment is larger than that of the second charging power equipment;
an initialization unit configured to initialize the full-charge current, the effective current, and the counter of the classified powered device; the full-charge current of the first charging power equipment is different from that of the second charging power equipment;
the counter counting threshold function constructing unit is used for constructing a counter counting threshold function for judging a full-charge state according to the full-charge current; the counter counting threshold function is a positive correlation function of a counting threshold relative to the full current;
the assignment unit is used for assigning the value of the currently acquired charging current to the full-charge current when the currently acquired charging current is judged to be the effective current data, and assigning the value of the next acquired charging current to the effective current when the next acquired charging current is judged to be the effective current data;
the accumulation unit is used for accumulating the counter once if the difference value of the assigned effective current and the assigned full current is less than or equal to a full current difference threshold;
a counting threshold determining unit, which is used for substituting the full current after assignment into a counting threshold function of the counter and determining a counting threshold;
and the judging unit is used for judging that the powered device is in a full-charge state when the count accumulated by the counter is greater than the count threshold, and sending a shutdown signal to the access control module to enable the access control module to shut down the charging access.
Optionally, the data processing module further includes:
and the pulling-out judging unit is used for sending a shutdown signal to the access control module when judging that the power receiving equipment is pulled out, so that the access control module shuts down the charging access.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention discloses an intelligent anti-overcharging method and device compatible with various portable electric devices, which classifies the types of the electric devices according to charging voltage and charging current, judges whether the electric devices are full or not by counting of a counter, and judges whether the charging is interrupted if the accumulated counting of the counter is larger than a counting threshold which is a positive correlation function related to the full current.
The invention only has two currents i when continuously sampling1And i2Satisfy | i2-i1|<Idata_vaild_thWill be considered valid data, given irefOr ivaild. If the current suddenly jumps during charging, such as pulse current charging or current caused by transient screen lightening during filtering smart phone chargingBecause it does not satisfy the judgment condition | i2-i1|<Idata_vaild_thFiltering out the data which is considered as invalid data, and continuously collecting the next group i1And i2. Therefore, the current change caused by transient bright screen or pulse charging during charging of the smart phone can be filtered, and the recognition of overcharge can be quickened.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required 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 that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of an intelligent overcharge prevention method compatible with various portable electric devices according to the present invention;
fig. 2 is a schematic diagram of an intelligent anti-overcharge method compatible with various portable electric devices according to the present invention;
fig. 3 is a schematic diagram of a process for determining that a powered device is fully charged according to the present invention;
fig. 4 is a schematic structural diagram of the intelligent overcharge prevention device compatible with various portable electric devices provided by the invention.
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.
The invention aims to provide an intelligent anti-overcharging method and device compatible with various portable electric equipment, so as to be suitable for anti-overcharging protection of various portable electric equipment.
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.
The invention provides an intelligent anti-overcharging method compatible with various portable electric devices, as shown in figures 1-2, comprising the following steps:
and step S1, acquiring the charging voltage and the charging current of the powered device in the charging process in real time.
The method comprises the following steps that an initial state is to wait for the powered device to be accessed, and the powered device is identified to be accessed through insertion detection methods such as VBUS detection, DPDM line detection of a link port or CC line detection of a Type C port. After the powered device is connected, if the device is detected to be pulled out in the whole charging process, the powered device enters a standby device connection state again.
And when the powered device is detected to be connected, the charging path is controlled to be conducted, the output voltage and the output current of the adapter are sampled at the moment, and the charging voltage and the charging current in the charging process are collected in real time. And pre-classifying the devices with larger charging power and the devices with smaller charging power/nearly full-charged devices according to the sizes of the output voltage and the output current.
Step S2, classifying the type of the powered device according to the charging voltage and the charging current; the types comprise a first charging power device and a second charging power device; the charging power of the first charging power device is greater than the charging power of the second charging power device.
Exemplary, specific classifications are: if the charging voltage V is larger than the charging power voltage threshold Vlarge_thOr the charging current I is larger than the charging power current threshold Ilarge_thThe powered device is classified as a first charging power device. If the charging voltage is less than or equal to the charging power voltage threshold and the charging current is less than or equal to the charging power current threshold, classifying the powered device as a second charging power device.
According to the magnitude of the output voltage and the output current collected when the charging path is just conducted, the powered device is pre-classified into a device with larger charging power and a device with smaller charging power/a device close to full charge. The first charging power device is a device with a larger charging power, and the second charging power device is a device with a smaller charging power/a device close to full charge.
According to the charging voltage and charging current in the charging process, if the charging voltage V is satisfied during the charging state of the device with smaller charging power/the device close to full charge>Vlarge_thOr I>Ilarge_thIt will jump to the charging state of the device with the higher charging power.
Step S3, initializing a full current, an effective current, and a counter of the classified powered device; the full-charge current of the first charging power device and the second charging power device are different in magnitude.
After the classification is completed, data processing is performed on the sampled current, and the data processing process is as shown in fig. 2.
First, full-current, effective current data i is initializedvaildAnd a Counter.
Step S4, according to the full current, a counter counting threshold function for judging the full state is constructed; the counter count threshold function is a positive correlation of the count threshold with respect to the full current.
In one example, the counter count threshold function is constructed by:
when the powered device is the first charging power device, a counter counting threshold function for judging the full-charge state is constructed ast 1=f 1(i ref ) (ii) a Wherein,t 1a threshold is counted for a counter of the first charging power device,f 1() A counter count threshold function for the first charging power device,i ref full current for the first charging power device;
when the powered device is the second charging power device, a counter counting threshold function for judging the full-charge state is constructed as
Figure 856355DEST_PATH_IMAGE001
(ii) a Wherein,t 2a threshold is counted for a counter of the second charging power device,f 2() A counter count threshold function for the second charging power device,
Figure 322715DEST_PATH_IMAGE002
full current of the second charging power device.
t 1=f 1(i ref ) And
Figure 121038DEST_PATH_IMAGE001
are functions related to the full current, and the larger the full current, the larger the determination threshold t. The full-current of different powered devices is different, and the determination threshold t required by the Counter for charging off is also different.
Step S5, when it is determined that the presently acquired charging current is valid current data, assigning the presently acquired charging current value to the full charge current, and when it is determined that the next acquired charging current is valid current data, assigning the next acquired charging current value to the valid current.
The implementation process is as follows:
continuously collecting two charging currents i1And i2(ii) a Charging current i2Is i1The charging current collected thereafter;
if i2-i1|≥Idata_vaild_thThen, the charging current i is determined2Is invalid data, and returns to the step1And i2”;
If i2-i1|<Idata_vaild_thAnd the full-charge current is not assigned, the charging current i is added2Assigns the value of (i) to the full-charge current, and returns to the step of continuously collecting two charging currents i1And i2”;
If | i2-i1|<Idata_vaild_thAnd the full-charge current is assigned, the charging current i is set2Is assigned to the effective current Ivaild
In step S6, if the difference between the assigned effective current and the assigned full current is less than or equal to the full current difference threshold, the counter is incremented once.
And if the difference value between the assigned effective current and the assigned full current is greater than the full current difference threshold, returning to the step of initializing the full current, the effective current and the counter.
Step S7, the full current after being assigned is brought into a counting threshold function of a counter, and a counting threshold is determined;
in step S8, when the count accumulated by the counter is greater than the count threshold, it is determined that the powered device is in a full charge state, and the charging path is disconnected.
When the count accumulated by the counter is less than or equal to the count threshold, returning to the step of continuously collecting two charging currents i1And i2”。
Referring to fig. 3, for a device with a larger charging power or a device with a smaller charging power/a device close to full charge, the detailed procedure of determining whether the powered device is fully charged is as follows:
for a device with a large charging power, the full-charge current i is initialized firstrefEffective current data ivaildAnd a Counter.
Two successively obtained current values are recorded as i1And i2,i2Is i1Current data collected thereafter. If | i2-i1|≥Idata_vaild_thIf the data is invalid, the data is updated by newly acquired data1And i2And continuing to make a judgment. If i2-i1|<Idata_vaild_thAnd i isrefIf not assigned, i will be at this time2Is given by a value of iref(ii) a If irefAssigned value, will i2Endow i withvaild. This step is intended to filter out pulsed charging currents or disturbances, only smooth charging currents being considered as valid current data.
When i isvaildAfter being updated, if | i is satisfiedvaild- iref|≤ifull_chargeThe Counter is added with one on the original basis, and then the next set of current data i is collected again1And i2There and only when the counter counts more than t = f1(iref) Then, the full state is judged, and the access control moduleThe charging path is turned off. If the period does not satisfy | ivaild- iref|≤ifull_chargeInitialization of iref、ivaildAnd Counter, restarting a new round of algorithm determination.
For the device with smaller charging power/the device close to full charging, the data processing process is approximately the same as that of the device with larger charging power, and the time function for judging full charging is accumulated only by replacing the counter, namely t = f2(
Figure 172740DEST_PATH_IMAGE002
) And judging whether the container is full. Compared to t = f1(iref),t=f2(
Figure 603984DEST_PATH_IMAGE002
) Longer because the less charged/nearly full device is maintained in a less charged state for a longer period of time. And if the charging voltage V is satisfied during the charging state of the device with less charging power/the device close to full charge>Vlarge_thOr I>Ilarge_thIt will jump to the charging state of the device with the higher charging power, as shown in fig. 1.
Wherein ivaildIs the effective current data; i isdata_vaild_thA difference threshold for determining valid current data; i.e. ifull_chargeThe current difference value is a current difference value threshold which is judged to be in a full state; t = f1(iref) And t = f2(
Figure 313183DEST_PATH_IMAGE002
) T is i as the counting threshold of the counter for judging the full staterefAnd t is a function of irefIs reduced. Vlarge_thAnd Ilarge_thThe voltage and current thresholds of the device with larger charging power are judged.
The invention produces the following advantages:
1. the Counter counts the number of the devices to determine whether the devices are full. And the judgment condition of the off-charging Counter is t = f1(iref) (charging power is large)Device) and t = f2(
Figure 838448DEST_PATH_IMAGE002
) (devices with less charging power or near full charge) are all concerned with irefA function of, and irefThe larger t is. For different powered devices, it is full of current irefThe determination threshold t required for the Counter whose charging is interrupted is also different. Therefore, the technology can achieve high coverage and high compatibility, and can automatically adjust the judgment condition of the overshoot protection aiming at different equipment.
2. The product types are increased inevitably in the future, and the overshoot protection device can automatically adjust the protection judgment threshold without upgrading, and is automatically compatible with the products in the future.
3. As shown in the data processing algorithm of FIG. 3, only two currents i are sampled consecutively1And i2Satisfy | i2-i1|<Idata_vaild_thWill be considered valid data, given irefOr ivaild. If the current suddenly jumps during charging, such as pulse current charging or filtering current change caused by transient screen lightening during charging of the smart phone, the judgment condition | i is not satisfied2-i1|<Idata_vaild_thFiltering out the data which is considered as invalid data, and continuously collecting the next group i1And i2. Therefore, the current change caused by transient bright screen or pulse charging during charging of the smart phone can be filtered, and the recognition of overcharge can be quickened.
4. When the pulse current charging is used, the charging current is larger at a certain moment, and the existing charging interruption technology considers that the equipment is not fully charged, so that the judgment is missed. Adding i as in point 32-i1|<Idata_vaild_thAfter the criterion is filtered, the missing judgment caused by the current change of the pulse type charging equipment can be filtered, and the identification of overcharge prevention is accelerated.
5. The invention can be used for charging rechargeable battery devices such as notebook computers, smart phones, mobile power supplies, portable outdoor power supplies, intelligent wearable equipment, electric tools, intelligent small household appliances and the like; the power supply equipment such as adapter, socket, portable power source, car charge, precious rack that charges can also be used.
6. Experimental tests prove that the following methods and functions of the invention are feasible: a method of judging the full charge of the device by processing the charging voltage and current; after the device is judged to be full, the function of preventing the overcharge of the charging path is turned off; the current change caused by transient screen lightening during charging of the smart phone can be filtered; the leakage judgment caused by the current change of the pulse type charging equipment can be filtered; and a new product in the market which does not acquire data is used for an experiment, so that the overcharge prevention function is normal, and the compatibility is high.
Referring to fig. 4, the present invention further provides an intelligent overcharge prevention device compatible with various portable electric devices, the intelligent overcharge prevention device comprising: the device comprises a load insertion detection module, a path control module, a data acquisition module and a data processing module.
The load insertion detection module is connected with the access control module, and the load insertion detection module is used for generating a device access signal when detecting that the powered device is accessed, and transmitting the device access signal to the access control module. The path control module is arranged between the power supply equipment and the powered equipment and used for controlling the conduction of a charging path between the power supply equipment and the powered equipment according to the equipment access signal so as to enable the power supply equipment to supply power to the powered equipment. The data acquisition module is connected with the data processing module and is used for acquiring charging voltage and charging current on the charging path and transmitting the acquired charging voltage and charging current to the data processing module. The data processing module is connected with the access control module, and the data processing module is used for judging whether the powered device is fully charged by adopting the intelligent anti-overcharging method compatible with various portable electric devices according to charging voltage and charging current, and sending a turn-off signal to the access control module when judging that the powered device is in a fully charged state, so that the access control module turns off a charging access.
Preferably, the channel control module is composed of a single MOS tube or a plurality of MOS tubes.
In one example, a data processing module includes: the device comprises a classification unit, an initialization unit, a counter counting threshold function construction unit, an assignment unit, an accumulation unit, a counting threshold determination unit and a judgment unit.
The classification unit is used for classifying the type of the powered device according to the charging voltage and the charging current; the types comprise a first charging power device and a second charging power device; the charging power of the first charging power device is greater than the charging power of the second charging power device. The initialization unit is used for initializing the full-charge current, the effective current and the counter of the classified powered device; the full-charge current of the first charging power device and the second charging power device are different in magnitude. The counter counting threshold function constructing unit is used for constructing a counter counting threshold function for judging a full-charge state according to the full-charge current; the counter count threshold function is a positive correlation of the count threshold with respect to the full current. The assignment unit is used for assigning the value of the currently acquired charging current to the full-charge current when the currently acquired charging current is judged to be the effective current data, and assigning the value of the next acquired charging current to the effective current when the next acquired charging current is judged to be the effective current data. The accumulation unit is used for accumulating once by the counter if the difference value of the assigned effective current and the assigned full current is less than or equal to a full current difference value threshold. And the counting threshold determining unit is used for substituting the assigned full current into a counting threshold function of the counter and determining the counting threshold. And the judging unit is used for judging that the powered device is in a full-charge state when the count accumulated by the counter is greater than the count threshold, and sending a shutdown signal to the access control module to enable the access control module to shut down the charging access.
The data processing module further comprises: and the pulling-out judging unit is used for sending a shutdown signal to the access control module when judging that the power receiving equipment is pulled out, so that the access control module shuts off the charging access.
The intelligent anti-overcharging device can identify the full automatic charging interruption and the over-charging prevention with high compatibility, automatically adjust the judging condition of the anti-overshoot protection aiming at different equipment, filter the current change caused by the transient screen lightening during the charging of the smart phone and filter the missed judgment caused by the current change of the pulse type charging equipment.
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.
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 (10)

1. An intelligent anti-overcharging method compatible with various portable electric devices is characterized by comprising the following steps:
collecting charging voltage and charging current of the powered device in a charging process in real time;
classifying the type of the powered device according to the charging voltage and the charging current; the types include a first charging power device and a second charging power device; the charging power of the first charging power equipment is larger than that of the second charging power equipment;
initializing a full current, an effective current and a counter of the classified powered device; the full-charge current of the first charging power equipment is different from that of the second charging power equipment;
constructing a counter counting threshold function for judging a full state according to the full current; the counter counting threshold function is a positive correlation function of a counting threshold relative to the full current;
when the currently acquired charging current is judged to be effective current data, assigning the value of the currently acquired charging current to the full current, and when the next acquired charging current is judged to be effective current data, assigning the value of the next acquired charging current to the effective current;
if the difference value of the assigned effective current and the assigned full current is less than or equal to the full current difference threshold, the counter is accumulated once;
the full current after being assigned is brought into a counting threshold function of a counter, and a counting threshold is determined;
and when the count accumulated by the counter is greater than the count threshold, judging that the powered device is in a full-charged state, and disconnecting the charging path.
2. The intelligent anti-overcharge method compatible with various types of portable electric devices according to claim 1, wherein the classifying of the types of the electric devices according to the charging voltage and the charging current specifically comprises:
classifying the powered device as a first charging power device if the charging voltage is greater than the charging power voltage threshold or the charging current is greater than the charging power current threshold;
if the charging voltage is less than or equal to the charging power voltage threshold and the charging current is less than or equal to the charging power current threshold, classifying the powered device as a second charging power device.
3. The intelligent overcharge-preventing method compatible with various types of portable electric devices according to claim 1, wherein constructing a counter count threshold function for judging a full charge state according to the full charge current specifically comprises:
when the powered device is the first charging power device, a counter counting threshold function for judging the full-charge state is constructed ast 1=f 1(i ref ) (ii) a Wherein,t 1a threshold is counted for a counter of the first charging power device,f 1() A counter count threshold function for the first charging power device,i ref full current for the first charging power device;
when the powered device is a second charging power device, a counter count threshold function for judging a full charge state is constructed as
Figure 973531DEST_PATH_IMAGE001
(ii) a Wherein,t 2a threshold is counted for a counter of the second charging power device,f 2() A counter count threshold function for the second charging power device,
Figure 680325DEST_PATH_IMAGE002
full current of the second charging power device.
4. The intelligent anti-overcharging method according to claim 1, wherein when the presently acquired charging current is determined to be valid current data, assigning the presently acquired charging current value to a full current, and when the next acquired charging current is determined to be valid current data, assigning the next acquired charging current value to a valid current, specifically comprises:
continuously collecting two charging currents i1And i2(ii) a The charging current i2Is i1The charging current collected thereafter;
if i2-i1|≥Idata_vaild_thThen, the charging current i is determined2Is invalid data, and returns to the step1And i2”;
If i2-i1|<Idata_vaild_thAnd the full-charge current is not assigned, the charging current i is added2Assigns the value of (i) to the full-charge current, and returns to the step of continuously collecting two charging currents i1And i2”;
If i2-i1|<Idata_vaild_thAnd the full-charge current is assigned, the charging current i is set2Is assigned to the effective current Ivaild
5. The intelligent overcharge prevention method of claim 1, wherein if the difference between the assigned effective current and the assigned full current is less than or equal to the full current difference threshold, the counter is incremented once, and then further comprising:
and if the difference value between the assigned effective current and the assigned full current is greater than the full current difference threshold, returning to the step of initializing the full current, the effective current and the counter.
6. The intelligent overcharge prevention method of claim 4, wherein when the count accumulated by the counter is greater than the count threshold, it is determined that the powered device is in a full charge state, and the charging path is disconnected, and then further comprising:
when the count accumulated by the counter is less than or equal to the count threshold, returning to the step of continuously collecting two charging currents i1And i2”。
7. The utility model provides a can compatible all kinds of portable consumer's intelligence prevent overcharge device which characterized in that, intelligence prevent overcharge device includes: the system comprises a load insertion detection module, a path control module, a data acquisition module and a data processing module;
the load insertion detection module is connected with the access control module and used for generating a device access signal and transmitting the device access signal to the access control module when detecting that a powered device is accessed;
the path control module is arranged between the power supply equipment and the powered equipment, and is used for controlling the conduction of a charging path between the power supply equipment and the powered equipment according to the equipment access signal so as to enable the power supply equipment to supply power to the powered equipment;
the data acquisition module is connected with the data processing module and is used for acquiring the charging voltage and the charging current on the charging path and transmitting the acquired charging voltage and charging current to the data processing module;
the data processing module is connected with the access control module, and the data processing module is used for judging whether the powered device is fully charged by adopting the intelligent anti-overcharging method compatible with various portable electric devices according to charging voltage and charging current, and sending a turn-off signal to the access control module when the powered device is judged to be in a fully charged state, so that the access control module turns off the charging access.
8. The intelligent anti-overcharging device of compatible all kinds of portable consumer according to claim 7, characterized in that, the route control module comprises a single or a plurality of MOS pipe.
9. The intelligent anti-overcharging device of compatible all kinds of portable consumer equipment of claim 7, characterized in that, the data processing module includes:
a classification unit configured to classify a type of the power receiving apparatus according to a charging voltage and a charging current; the types include a first charging power device and a second charging power device; the charging power of the first charging power equipment is larger than that of the second charging power equipment;
an initialization unit configured to initialize the full-charge current, the effective current, and the counter of the classified powered device; the full-charge current of the first charging power equipment is different from that of the second charging power equipment;
the counter counting threshold function constructing unit is used for constructing a counter counting threshold function for judging a full-charge state according to the full-charge current; the counter counting threshold function is a positive correlation function of the counting threshold with respect to the full current;
the assignment unit is used for assigning the value of the currently acquired charging current to the full-charge current when the currently acquired charging current is judged to be the effective current data, and assigning the value of the next acquired charging current to the effective current when the next acquired charging current is judged to be the effective current data;
the accumulation unit is used for accumulating the counter once if the difference value of the assigned effective current and the assigned full current is less than or equal to a full current difference value threshold;
a counting threshold determining unit, which is used for substituting the full current after assignment into a counting threshold function of the counter and determining a counting threshold;
and the judging unit is used for judging that the powered device is in a full-charge state when the count accumulated by the counter is greater than the count threshold, and sending a shutdown signal to the access control module to enable the access control module to shut down the charging access.
10. The intelligent anti-overcharging device of compatible all kinds of portable consumer according to claim 9, characterized in that, the data processing module further includes:
and the pulling-out judging unit is used for sending a shutdown signal to the access control module when judging that the power receiving equipment is pulled out, so that the access control module shuts down the charging access.
CN202210525341.5A 2022-05-16 2022-05-16 Intelligent overcharge-preventing method and device compatible with various portable electric equipment Active CN114629218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210525341.5A CN114629218B (en) 2022-05-16 2022-05-16 Intelligent overcharge-preventing method and device compatible with various portable electric equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210525341.5A CN114629218B (en) 2022-05-16 2022-05-16 Intelligent overcharge-preventing method and device compatible with various portable electric equipment

Publications (2)

Publication Number Publication Date
CN114629218A true CN114629218A (en) 2022-06-14
CN114629218B CN114629218B (en) 2022-08-05

Family

ID=81907192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210525341.5A Active CN114629218B (en) 2022-05-16 2022-05-16 Intelligent overcharge-preventing method and device compatible with various portable electric equipment

Country Status (1)

Country Link
CN (1) CN114629218B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3944904A (en) * 1973-09-24 1976-03-16 Hase A M Battery charging circuit
CN1239334A (en) * 1998-06-17 1999-12-22 布莱克和戴克公司 Method and apparatus for charging batteries
JP2011234445A (en) * 2010-04-26 2011-11-17 Kyocera Corp Portable terminal, full-charge detection program, and full-charge detection method
US20120112700A1 (en) * 2009-07-10 2012-05-10 Tsuyoshi Morimoto Circuit for counting number of cycles, battery pack and battery system
CN105449788A (en) * 2015-12-31 2016-03-30 东莞新能德科技有限公司 Charging protection circuit
US20170264112A1 (en) * 2014-09-18 2017-09-14 Takashin Co., Ltd. Charging system
CN111817397A (en) * 2020-07-21 2020-10-23 闵紫辰 Overcharge prevention control method and device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3944904A (en) * 1973-09-24 1976-03-16 Hase A M Battery charging circuit
CN1239334A (en) * 1998-06-17 1999-12-22 布莱克和戴克公司 Method and apparatus for charging batteries
US20120112700A1 (en) * 2009-07-10 2012-05-10 Tsuyoshi Morimoto Circuit for counting number of cycles, battery pack and battery system
JP2011234445A (en) * 2010-04-26 2011-11-17 Kyocera Corp Portable terminal, full-charge detection program, and full-charge detection method
US20170264112A1 (en) * 2014-09-18 2017-09-14 Takashin Co., Ltd. Charging system
CN105449788A (en) * 2015-12-31 2016-03-30 东莞新能德科技有限公司 Charging protection circuit
CN111817397A (en) * 2020-07-21 2020-10-23 闵紫辰 Overcharge prevention control method and device and storage medium

Also Published As

Publication number Publication date
CN114629218B (en) 2022-08-05

Similar Documents

Publication Publication Date Title
US9673643B2 (en) Battery presence detecting method, apparatus and charging system
KR101682386B1 (en) A portable charging apparatus and a charging method thereof and a charging system
CN201918748U (en) Charging circuit for electronic equipment
CN102938572B (en) Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
EP1742140A2 (en) Cradle for connecting to portable electronic apparatus
US20170324258A1 (en) Multifunctional Data Mobile Power Supply and Charging Method
CN110221163A (en) A kind of the connecting detection method and detection circuit of USB Type-C interface
CN102842739A (en) Battery charging method, apparatus, and system
CN104993534A (en) Mobile terminal and charge control method thereof
CN110402517A (en) Battery pack
CN104883445A (en) Method and device for starting up mobile terminal with low-power battery
CN115237235B (en) USB equipment shift-out identification circuit and method and power supply system
CN102222942A (en) Power supply circuit and charging method for electronic equipment
CN202978308U (en) Movable power supply device
CN116260228B (en) Battery in-place detection circuit for digital power supply and charging control method thereof
CN109802456B (en) Automatic battery identification method
CN114801876A (en) Precharge control method, precharge control device, storage medium, processor and electronic device
CN104795864B (en) A kind of mobile terminal and charged state detection method of accurate detection charged state
CN105790341B (en) A kind of method and circuit for detecting battery
CN114629218B (en) Intelligent overcharge-preventing method and device compatible with various portable electric equipment
CN111999662B (en) Method for detecting external switch state of battery of UPS
CN106786959B (en) Charge control method, device and terminal
CN104836290A (en) Detection method for plugging and unplugging of charger of mobile terminal and detection system
CN104917245A (en) Charging management circuit, mobile terminal and charging control method of mobile terminal
EP0712194A2 (en) Fast charging of different types of batteries

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