CN104330740A - Terminal charging protecting method and device - Google Patents

Terminal charging protecting method and device Download PDF

Info

Publication number
CN104330740A
CN104330740A CN201410589785.0A CN201410589785A CN104330740A CN 104330740 A CN104330740 A CN 104330740A CN 201410589785 A CN201410589785 A CN 201410589785A CN 104330740 A CN104330740 A CN 104330740A
Authority
CN
China
Prior art keywords
value
power supply
module
average
electric discharge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410589785.0A
Other languages
Chinese (zh)
Inventor
卫亚东
田学红
李仕胜
李仕炽
张海霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING HONGZHIDIANTONG TECHNOLOGY Co Ltd
Original Assignee
BEIJING HONGZHIDIANTONG 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 BEIJING HONGZHIDIANTONG TECHNOLOGY Co Ltd filed Critical BEIJING HONGZHIDIANTONG TECHNOLOGY Co Ltd
Priority to CN201410589785.0A priority Critical patent/CN104330740A/en
Publication of CN104330740A publication Critical patent/CN104330740A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses terminal charging protecting method and device. The method and device are characterized in that the charging current is detected to accurately determine the terminal is fully charged, a power supply can be timely cut off for discharging in case of full charging, so as to reach the purpose of protecting the terminal, according to that the charging current is reduced as the sourcing current capacity of the terminal under saturated charging weakens. The method comprises the following steps: sampling the discharging current at a plurality of times within the current cycle according to the preset sampling cycle to obtain a plurality of sampling values; averaging the plurality of sampling values; determining whether the average values meet the discharging stopping condition of the power supply, wherein the conditions include that the average values are less than the preset threshold, and the times that the accumulated average values at the current time are continuously less than the preset threshold reach the preset upper limit value; if so, controlling the power supply to stop discharging.

Description

A kind of terminal charge guard method and device
Technical field
The present invention relates to terminal charge technical field, particularly relate to a kind of terminal charge guard method and device.
Background technology
When current portable power source charges to terminal device, usually by the electric discharge of a key to run portable power source.After portable power source electric discharge, only when the connection of disconnected end equipment and portable power source, portable power source just stops electric discharge, so just occur that terminal device is full of electricity, but portable power source does not cut out and exports but the situation of discharging always, terminal device can be caused like this to overcharge, damage the problem of battery.
Summary of the invention
In order to solve in prior art, terminal device overcharges, and damages the technical matters of battery.The invention provides a kind of terminal charge guard method and device, to avoid the terminal device not stopping electric discharge causing in time due to portable power source to overcharge, protection power source is without prejudice.The invention provides following technical scheme:
A kind of terminal charge guard method, in previous cycle, described method comprises:
In previous cycle, according to the default sampling period, multiple repairing weld is carried out to discharge current, obtain multiple sampled value;
Described multiple sampled value is averaged;
Judge whether described average meets the condition that power supply stops electric discharge, and described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value;
If meet, then control power supply and stop electric discharge.
Preferably, also comprise:
When described average do not meet power supply stop the condition of electric discharge time, enter next circulation, perform described step of according to the sampling period discharge current being carried out to multiple repairing weld.
Preferably, described multiple sampled value is averaged, comprises:
The mean value of the multiple sampled value of direct calculating;
Or,
After removing maximal value in described multiple sampled value and minimum value, calculate the mean value of residue sampled value.
Preferably, described method also comprises: arrange cycle period timer;
If described average does not meet the condition that power supply stops electric discharge, judge whether described timer timing response occurs, if occur, then enter next circulation, perform described step of according to the default sampling period discharge current being carried out to multiple repairing weld.
The present invention also provides a kind of terminal charge protective device, and described device comprises:
Sampling module, in previous cycle, carries out multiple repairing weld according to the default sampling period to discharge current, obtains multiple sampled value;
Computing module, for being averaged described multiple sampled value;
First judge module, for judging whether described average meets the condition that power supply stops electric discharge, and described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value;
Control module, when meeting the condition of power supply stopping electric discharge for described average, controls power supply and stops electric discharge.
Preferably, also comprise:
First trigger module, for do not meet when described average power supply stop electric discharge condition time, enter next circulation, trigger sampling module perform described according to the default sampling period, multiple repairing weld is carried out to discharge current.
Preferably, described computing module comprises: remove submodule, for removing maximal value in described multiple sampled value and minimum value; Calculating sub module, for calculating the mean value removed and remain sampled value after submodule removes maximal value in described multiple sampled value and minimum value;
Or calculating sub module, also for directly calculating the mean value of multiple sampled value.
Preferably, described method also comprises: arrange module, for arranging cycle period;
Second judge module, when not meeting the condition of power supply stopping electric discharge for described average, judges whether described timer timing response occurs;
Second trigger module, during for described timer generation timing response, enters next circulation, triggers described in sampling module execution and carries out multiple repairing weld according to the default sampling period to discharge current.
From technical scheme provided by the invention, in the process of power supply to terminal charge, start the circulative detection to charging current, such as, following steps are carried out in each circulation: carry out multiple repairing weld according to the sampling period to discharge current, then multiple repairing weld result is averaged, if the number of times that repeatedly accumulative after circulation average is less than predetermined threshold value continuously reaches preset upper limit value, illustrate that charging current is always less, the current capacity that draws of terminal dies down, namely terminal is full of electricity, control power supply and stop electric discharge, overcharge in order to avoid cause, realize the protection to terminal and battery thereof.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of terminal charge guard method embodiment 1 provided by the invention;
Fig. 2 is the process flow diagram of a kind of terminal charge guard method embodiment 2 provided by the invention;
Fig. 3 is the structural representation of a kind of terminal charge protective device embodiment 1 provided by the invention;
Fig. 4 is the structural representation of a kind of terminal charge protective device embodiment 2 provided by the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Do disclosed in detail explanation to technical scheme provided by the invention below, first, shown in figure 1, be the process flow diagram of a kind of terminal charge guard method embodiment 1 provided by the invention, the present embodiment specifically can comprise the steps:
S11: in previous cycle, carries out multiple repairing weld according to the default sampling period to discharge current;
The described sampling period can self-definedly be arranged, but demand fulfillment nyquist sampling theorem, and described repeatedly can self-definedly be arranged equally, theoretically, the number of times of sampling is The more the better, is not construed as limiting here, specifically can arranges according to practical application frequency in sampling.
S12: described multiple sampled value is averaged;
The multiple sampled values obtained in previous cycle are averaged, obtain the average that previous cycle is corresponding, if described average is less than default threshold value, then enter step S13.
S13: judge whether described average meets the condition that power supply stops electric discharge, if meet, enters step S14.
Described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value; In practical operation, counter records average can be adopted to be less than the number of times of predetermined threshold value continuously, to be less than the number of times of predetermined threshold value for the ease of average statistical continuously, can when generation average be greater than predetermined threshold value, reset counter, count when average is less than predetermined threshold value.
S14: control power supply and stop electric discharge.
If the number of times that accumulative average is less than predetermined threshold value continuously reaches default higher limit, illustrate that the continuing current flow of terminal charge is less, because terminal draws current capacity to die down when being full of electricity, electric current will continue less, determine that terminal is full of electricity accordingly, control power supply and stop electric discharge.This step can adopt the opening and closing of steering order or trigger switch to reach the object controlling corona discharge in the specific implementation.
In the technical scheme that the present embodiment provides, in the process of power supply to terminal charge, start the circulative detection to charging current, such as, following steps are carried out in each circulation: carry out multiple repairing weld according to the sampling period to discharge current, then multiple repairing weld result is averaged, if the number of times that repeatedly accumulative after circulation average is less than predetermined threshold value continuously reaches preset upper limit value, illustrate that charging current is always less, the current capacity that draws of terminal dies down, namely terminal is full of electricity, timely control power supply stops electric discharge, economize energy, avoid overcharging terminal simultaneously, realize the protection to terminal and battery thereof.
On the basis of embodiment 1, when average does not meet the condition of power supply stopping electric discharge, enter next circulation, repeat described step S11-step S13, until meet the condition stopping discharging.In addition; in embodiment 1; the time that circulation primary continues is not limited; because the time of terminal charge is general longer; to in the process of terminal charge; without the need to continuous print always, above-mentioned circulation process is performed to corona discharge electric current; not only calculated amount is larger; and waste system resource, for this reason, the present invention also provides a kind of terminal charge guard method embodiment 2; with reference to the process flow diagram shown in figure 2; the present embodiment, by arranging cycle period, reduces the operand in charging process, saves system resource.Wherein the implementation reference example 1 of step in the same manner as in Example 1, repeats no more here, and the present embodiment specifically can comprise the steps:
S21: cycle period timer is set;
In the present embodiment, for being circularly set cycle period, adopting the mode of timer to realize, take cycle period as 200ms is example, whenever 200ms timer generation timing response, then starts a cyclic process.
S22: in previous cycle, carries out multiple repairing weld according to the default sampling period to discharge current, obtains multiple sampled value;
S23: described multiple sampled value is averaged;
Described multiple sampled value is averaged and can adopts following preferred mode: the mean value directly calculating multiple sampled value; Or, after removing maximal value in described multiple sampled value and minimum value, calculate the mean value of residue sampled value.
S24: judge whether described average meets the condition that power supply stops electric discharge;
Described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value; If described average does not meet the condition that power supply stops electric discharge, enter step S25, if described average does not meet the condition that power supply stops electric discharge, namely described average is not less than described predetermined threshold value, or, when described average is less than predetermined threshold value, the number of times that average accumulative to current time is less than predetermined threshold value does not continuously reach preset upper limit value, enters step S26.
S25: judge whether timer timing response occurs;
If occur, enter next cycle period, return step S22, otherwise, then after waiting timer timing to 200ms generation timing response, enter next cycle period, return step S22.
S26: control power supply and stop electric discharge.
Compared with embodiment 1, the present embodiment is for being circularly set cycle period, and in once circulating in time, all calculating is completed, and just can enter next circulation, reduce the operand in certain hour, reduce system power dissipation after also wanting waiting timer timing response to occur.
Accordingly, the present invention also provides a kind of terminal charge protective device embodiment 1, and shown in figure 3, be the structural representation of described device, described device comprises:
Sampling module 31, in previous cycle, carries out multiple repairing weld according to the default sampling period to discharge current, obtains multiple sampled value;
Computing module 32, for being averaged described multiple sampled value;
First judge module 33, for judging whether described average meets the condition that power supply stops electric discharge, and described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value;
Control module 34, when meeting the condition of power supply stopping electric discharge for described average, controls power supply and stops electric discharge.
On the basis of said apparatus embodiment 1, the present invention also provides a kind of terminal charge protective device embodiment 2, and shown in figure 4, described in the present embodiment, device is except the module shown in Fig. 3, can also comprise further:
First trigger module 41, for do not meet when described average power supply stop electric discharge condition time, enter next circulation, trigger sampling module perform described according to the default sampling period, multiple repairing weld is carried out to discharge current.
Module 42 is set, for arranging cycle period timer;
Second judge module 43, when not meeting the condition of power supply stopping electric discharge for described average, judges whether described timer timing response occurs;
Second trigger module 44, during for described timer generation timing response, enters next circulation, triggers described in sampling module execution and carries out multiple repairing weld according to the default sampling period to discharge current.
Preferably, described computing module 32 can comprise: remove submodule 321, for removing maximal value in described multiple sampled value and minimum value; Calculating sub module 322, for calculating the mean value removed and remain sampled value after submodule removes maximal value in described multiple sampled value and minimum value; Or calculating sub module, also for directly calculating the mean value of multiple sampled value.
For convenience of description, various module is divided into describe respectively with function when describing above device.Certainly, the function of each module can be realized in same or multiple software and/or hardware when implementing of the present invention, each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.The above is only the specific embodiment of the present invention, and for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. a terminal charge guard method, is characterized in that, described method comprises:
In previous cycle, according to the default sampling period, multiple repairing weld is carried out to discharge current, obtain multiple sampled value;
Described multiple sampled value is averaged;
Judge whether described average meets the condition that power supply stops electric discharge, and described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value;
If meet, then control power supply and stop electric discharge.
2. method according to claim 1, is characterized in that, also comprises:
When described average do not meet power supply stop the condition of electric discharge time, enter next circulation, perform described step of according to the sampling period discharge current being carried out to multiple repairing weld.
3. method according to claim 1, is characterized in that, is averaged, comprises described multiple sampled value:
The mean value of the multiple sampled value of direct calculating;
Or,
After removing maximal value in described multiple sampled value and minimum value, calculate the mean value of residue sampled value.
4. the method according to any one of claim 1-3, is characterized in that, described method also comprises: arrange cycle period timer;
If described average does not meet the condition that power supply stops electric discharge, judge whether described timer timing response occurs, if occur, then enter next circulation, perform described step of according to the sampling period discharge current being carried out to multiple repairing weld.
5. a terminal charge protective device, is characterized in that, described device comprises:
Sampling module, in previous cycle, carries out multiple repairing weld according to the default sampling period to discharge current, obtains multiple sampled value;
Computing module, for being averaged described multiple sampled value;
First judge module, for judging whether described average meets the condition that power supply stops electric discharge, and described condition comprises: described average is less than predetermined threshold value, and the number of times that average accumulative to current time is less than predetermined threshold value continuously reaches preset upper limit value;
Control module, when meeting the condition of power supply stopping electric discharge for described average, controls power supply and stops electric discharge.
6. device according to claim 5, is characterized in that, also comprises:
First trigger module, for do not meet when described average power supply stop electric discharge condition time, enter next circulation, trigger sampling module perform described according to the default sampling period, multiple repairing weld is carried out to discharge current.
7. device according to claim 5, is characterized in that, described computing module comprises: remove submodule, for removing maximal value in described multiple sampled value and minimum value; Calculating sub module, for calculating the mean value removed and remain sampled value after submodule removes maximal value in described multiple sampled value and minimum value;
Or calculating sub module, also for directly calculating the mean value of multiple sampled value.
8. the device according to any one of claim 5-7, is characterized in that, described method also comprises: arrange module, for arranging cycle period timer;
Second judge module, when not meeting the condition of power supply stopping electric discharge for described average, judges whether described timer timing response occurs;
Second trigger module, during for described timer generation timing response, enters next circulation, triggers described in sampling module execution and carries out multiple repairing weld according to the default sampling period to discharge current.
CN201410589785.0A 2014-07-08 2014-10-28 Terminal charging protecting method and device Pending CN104330740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410589785.0A CN104330740A (en) 2014-07-08 2014-10-28 Terminal charging protecting method and device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410324286 2014-07-08
CN201410324286.9 2014-07-08
CN201410589785.0A CN104330740A (en) 2014-07-08 2014-10-28 Terminal charging protecting method and device

Publications (1)

Publication Number Publication Date
CN104330740A true CN104330740A (en) 2015-02-04

Family

ID=52405502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410589785.0A Pending CN104330740A (en) 2014-07-08 2014-10-28 Terminal charging protecting method and device

Country Status (1)

Country Link
CN (1) CN104330740A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515092A (en) * 2015-12-04 2016-04-20 小米科技有限责任公司 Terminal charging control method and device
CN106645897A (en) * 2016-12-07 2017-05-10 捷开通讯(深圳)有限公司 Dynamic voltage detection method and device
CN106706997A (en) * 2016-11-15 2017-05-24 捷开通讯(深圳)有限公司 Current dynamic detection method and device
CN107009907A (en) * 2017-03-27 2017-08-04 深圳市前海中电新能源科技有限公司 The output method of sampling and device of charging device
CN108132862A (en) * 2017-12-21 2018-06-08 深圳市闻耀电子科技有限公司 Charged state automated testing method and device
CN110021792A (en) * 2018-01-10 2019-07-16 深圳智链物联科技有限公司 Charge control method, device, terminal device and computer storage medium
CN110409089A (en) * 2019-07-24 2019-11-05 常州宏大智能装备产业发展研究院有限公司 Steam baking tube siphon pipe breakage online test method
CN111342559A (en) * 2020-03-12 2020-06-26 深圳赫兹创新技术有限公司 Wireless power supply voltage control method and device
CN112373350A (en) * 2020-11-02 2021-02-19 广州小鹏汽车科技有限公司 Power supply control method, device, vehicle and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6433514B1 (en) * 1999-10-04 2002-08-13 Texas Instruments Incorporated Battery protector
NL1019988C2 (en) * 2002-02-12 2003-08-19 Giant Mfg Co Battery charge indicator for electric cars monitors discharge current is more accurate than voltage measurement
CN102540098A (en) * 2012-01-19 2012-07-04 北京优科利尔能源设备有限公司 Data collecting system of battery pack
US8229689B2 (en) * 2008-08-13 2012-07-24 Southwest Electronic Energy Corporation Method for determining power supply usage
CN202906503U (en) * 2012-09-05 2013-04-24 惠州志顺电子实业有限公司 Control device for mobile power supply and mobile charging power supply

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6433514B1 (en) * 1999-10-04 2002-08-13 Texas Instruments Incorporated Battery protector
NL1019988C2 (en) * 2002-02-12 2003-08-19 Giant Mfg Co Battery charge indicator for electric cars monitors discharge current is more accurate than voltage measurement
US8229689B2 (en) * 2008-08-13 2012-07-24 Southwest Electronic Energy Corporation Method for determining power supply usage
CN102540098A (en) * 2012-01-19 2012-07-04 北京优科利尔能源设备有限公司 Data collecting system of battery pack
CN202906503U (en) * 2012-09-05 2013-04-24 惠州志顺电子实业有限公司 Control device for mobile power supply and mobile charging power supply

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515092A (en) * 2015-12-04 2016-04-20 小米科技有限责任公司 Terminal charging control method and device
CN106706997A (en) * 2016-11-15 2017-05-24 捷开通讯(深圳)有限公司 Current dynamic detection method and device
CN106645897A (en) * 2016-12-07 2017-05-10 捷开通讯(深圳)有限公司 Dynamic voltage detection method and device
CN106645897B (en) * 2016-12-07 2020-01-03 捷开通讯(深圳)有限公司 Voltage dynamic detection method and device
CN107009907A (en) * 2017-03-27 2017-08-04 深圳市前海中电新能源科技有限公司 The output method of sampling and device of charging device
CN108132862A (en) * 2017-12-21 2018-06-08 深圳市闻耀电子科技有限公司 Charged state automated testing method and device
CN110021792B (en) * 2018-01-10 2021-04-27 深圳智链物联科技有限公司 Charging control method and device, terminal equipment and computer storage medium
CN110021792A (en) * 2018-01-10 2019-07-16 深圳智链物联科技有限公司 Charge control method, device, terminal device and computer storage medium
CN110409089A (en) * 2019-07-24 2019-11-05 常州宏大智能装备产业发展研究院有限公司 Steam baking tube siphon pipe breakage online test method
CN110409089B (en) * 2019-07-24 2021-08-03 常州宏大智能装备产业发展研究院有限公司 On-line detection method for damage of siphon tube of steam drying cylinder
CN111342559A (en) * 2020-03-12 2020-06-26 深圳赫兹创新技术有限公司 Wireless power supply voltage control method and device
CN111342559B (en) * 2020-03-12 2021-09-24 深圳赫兹创新技术有限公司 Wireless power supply voltage control method and device
CN112373350A (en) * 2020-11-02 2021-02-19 广州小鹏汽车科技有限公司 Power supply control method, device, vehicle and storage medium
CN112373350B (en) * 2020-11-02 2022-03-18 广州小鹏汽车科技有限公司 Power supply control method, device, vehicle and storage medium

Similar Documents

Publication Publication Date Title
CN104330740A (en) Terminal charging protecting method and device
US9350178B2 (en) Device and method for protecting rechargeable power supply of electronic cigarette
JP2012143151A5 (en)
RU2016144986A (en) BATTERY SYSTEM
CN103713255B (en) A kind of fault detection method, system and controller
EP4053574B1 (en) Short-circuit detection method and apparatus for inverter, and inverter
CN105162181A (en) Charging method and device
CN104467077A (en) Storage battery charging control method
WO2020101784A8 (en) Wireless power transfer system and method
CN114448031A (en) Energy storage system and control method thereof
CN113745673A (en) Battery cluster electrifying method and system, battery management system and battery cluster
US20150171638A1 (en) Charger for rechargeable battery and charging method thereof
KR101947609B1 (en) Battery Discharge Preventing System and Method Using the Same for Hybrid Vehicle
CN104113104A (en) Charging method and system
CN105449758A (en) Charging current adjusting method and mobile terminal
KR102197409B1 (en) Battery Pack And Battery Pack Protection Method Using the same
CN103847532A (en) Power management apparatus and method for electric vehicle
CN107505879B (en) Solar storage battery charging and discharging control chip
US20150155723A1 (en) Multi-functioned smart switching charger with time stage control
CN102185289B (en) Bus coupler charging protection method and system
CN105162178A (en) Control system of supercapacitor energy storage device
WO2014190831A1 (en) Battery control method and device, terminal and computer storage medium
CN203166485U (en) Rechargeable power protection device of electronic cigarette
JP2013031253A (en) Charge control device and charge control method for storage battery
US20180054067A1 (en) Self-Loop Detection Method and Apparatus for Charging Device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150204

WD01 Invention patent application deemed withdrawn after publication