CN105790341B - A kind of method and circuit for detecting battery - Google Patents

A kind of method and circuit for detecting battery Download PDF

Info

Publication number
CN105790341B
CN105790341B CN201410823191.1A CN201410823191A CN105790341B CN 105790341 B CN105790341 B CN 105790341B CN 201410823191 A CN201410823191 A CN 201410823191A CN 105790341 B CN105790341 B CN 105790341B
Authority
CN
China
Prior art keywords
battery
circuit
voltage
state
charging
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
CN201410823191.1A
Other languages
Chinese (zh)
Other versions
CN105790341A (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.)
Actions Technology Co Ltd
Original Assignee
Juxin (zhuhai) Science & 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 Juxin (zhuhai) Science & Technology Co Ltd filed Critical Juxin (zhuhai) Science & Technology Co Ltd
Priority to CN201410823191.1A priority Critical patent/CN105790341B/en
Publication of CN105790341A publication Critical patent/CN105790341A/en
Application granted granted Critical
Publication of CN105790341B publication Critical patent/CN105790341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The present embodiments relate to circuit field, more particularly to a kind of method and circuit for detecting battery, to accurate detection battery status.The embodiment of the present invention includes:Battery circuit is discharged, and detects the first voltage of battery circuit, if first voltage is more than first threshold, judges that battery is present;Otherwise, judgement battery is state one undetermined, and controls charging circuit to charge battery circuit, if controlling charging circuit to judge that battery is state two undetermined after being charged to battery circuit, then control discharge circuit discharges battery circuit, detects the second voltage of battery circuit;If second voltage is less than Second Threshold, judge that battery is not present, otherwise judge that battery is present.Exist in the absence of state and battery due to battery can be distinguished by discharging, charge, then after the process discharged and be but in short-circuit protection state, avoid only by the problem of the obscuring the two states that discharge or charge.

Description

A kind of method and circuit for detecting battery
Technical field
The present invention relates to circuit field, more particularly to a kind of method and circuit for detecting battery.
Background technology
In daily life, by lithium battery power supply equipment, such as mobile phone, tablet personal computer, when the equipment inserts adapter, It needs to be determined that whether the equipment is connected with battery.If the equipment is connected with battery, the charging circuit of device interior is opened, is passed through The adapter charges the battery, and the charge closing circuit when battery is fully charged.If the equipment does not connect battery or in short Line state, but still open device interior charging circuit when, output current will cause charging circuit caused by the charging circuit The voltage of output end rises rapidly, and then forms the accumulation of heat energy and voltage in charging circuit output end, so as to whole Circuit causes to damage, and therefore, if the equipment does not connect battery or battery when being in short-circuit, can not open charging electricity for a long time Road.
Therefore, a kind of method and circuit for detecting battery status is needed badly, to accurate detection battery status.
The content of the invention
The embodiment of the present invention provides a kind of method and circuit for detecting battery, to accurate detection battery status.
The embodiment of the present invention provides a kind of method for detecting battery, comprises the following steps:
Detect whether to connect power supply adaptor;
If being connected with power supply adaptor, control discharge circuit is discharged battery circuit with the first discharge current;And The first voltage of battery circuit is detected after the first duration, if first voltage is more than first threshold, judges that battery is present;It is no Then, judge that battery is state one undetermined, and control charging circuit to charge battery circuit, judge that battery whether there is;
If charging circuit is controlled to judge that battery is state two undetermined, controls discharge circuit after being charged to battery circuit Battery circuit is discharged with the second discharge current, after the second duration, detects the second voltage of battery circuit;If second Voltage is less than Second Threshold, then judges that battery is not present, and otherwise judges that battery is present.
Preferably, the product of the first duration and the first discharge current is less than 1st/20th of battery total capacity.
Preferably, judging that battery is state one undetermined, and control charging circuit to charge battery circuit, judge battery It whether there is, specifically include:
Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to battery circuit Electricity, the tertiary voltage of battery circuit is detected, if tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit shape State;
Otherwise, control charging circuit is charged with the second charging current to battery circuit, after the 3rd duration, detection 4th voltage of battery circuit, if the 4th voltage is less than the 4th threshold value, judge that battery is present, otherwise judge that battery is shape undetermined State two;
Wherein, the 3rd threshold value is less than the 4th threshold value, and the second charging current is more than the first charging current.
Preferably, judging that battery is state one undetermined, and control charging circuit to charge battery circuit, judge battery It whether there is, specifically include:
Control charging circuit is charged with the second charging current to battery circuit;After the 3rd duration, battery is detected 5th voltage of circuit;
If the 5th voltage is less than the 4th threshold value, control charging circuit is filled with the first charging current to battery circuit Electricity, detect the 6th voltage of battery circuit;If the 6th voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit shape State;Otherwise, then judge that battery is present, and be not in short-circuit condition;
If the 5th voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value.
Preferably, the second charging current and the product of the 3rd duration are more than the voltage of charging circuit and the electric capacity of battery circuit Product.
Preferably, judging that battery is state one undetermined, and control charging circuit to charge battery circuit, judge battery It whether there is, specifically include:
Control charging circuit is charged with the first charging current to battery circuit, detects the tertiary voltage of battery circuit;
If tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;If tertiary voltage be more than etc. In the 3rd threshold value, and tertiary voltage is less than the 4th threshold value, then judges that battery is present;
If tertiary voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value.
Preferably, the product of the second discharge current and the second duration is more than multiplying for the first difference and the electric capacity on battery circuit Product;Wherein, the first difference is the difference of charging circuit constant-voltage and second voltage.
In the embodiment of the present invention, if being connected with power supply adaptor, battery circuit is discharged, and after the first duration The first voltage of battery circuit is detected, if first voltage is more than first threshold, judges that battery is present;Otherwise, it is determined that battery is State one undetermined, and control charging circuit to charge battery circuit, judge that battery whether there is, if control charging circuit pair Battery circuit judges that battery be state two undetermined after being charged, then control discharge circuit discharges battery circuit, the After two durations, the second voltage of battery circuit is detected;If second voltage is less than Second Threshold, judge that battery is not present, it is no Then judge that battery is present.
In the presence of not going out battery by discharge judgement, then it is continued to charge, if charging can not judge still In the presence of battery, then it is continued to discharge, further determine battery and whether there is.And by discharging, charging, then discharge Process after, the second voltage of battery circuit is less than Second Threshold, then judge battery be not present, otherwise, it is determined that battery exist, And battery is once in short-circuit protection state.Deposited it can be seen that battery can be distinguished by above method flow in the absence of state and battery But short-circuit protection state is being in, is being avoided only by the problem of the obscuring the two states that discharge or charge.By above-mentioned Method accurately judges to whether there is battery, so as to provide foundation for battery circuit next step handling process, i.e., if it is determined that Battery is present, then needs to open charging circuit as battery charging, if it is determined that battery is not present, then charge closing circuit is needed, to prevent ruining Bad battery circuit.
The embodiment of the present invention provides a kind of circuit for detecting battery, including:
Adaptor detection circuit, for detecting whether connection power supply adaptor;
Control unit, for when adaptor detection circuit detects and is connected with power supply adaptor, control discharge circuit with First discharge current discharges battery circuit;And instructed voltage detection circuit detects the of battery circuit after the first duration One voltage, if first voltage is more than first threshold, judge that battery is present;Otherwise, it is determined that battery is state one undetermined, and control Charging circuit charges to battery circuit, judges that battery whether there is;If control charging circuit charges to battery circuit Judge that battery is state two undetermined, then controls discharge circuit to be discharged with the second discharge current battery circuit, and indicate afterwards Voltage detecting circuit detects the second voltage of battery circuit after the second duration;If second voltage is less than Second Threshold, sentence Determine battery to be not present, otherwise judge that battery is present.
Preferably, the product of the first duration and the first discharge current is less than 1st/20th of battery total capacity.
Preferably, control unit, is specifically used for:
Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to battery circuit Electricity, and the tertiary voltage of instructed voltage detection electric circuit inspection battery circuit, if tertiary voltage is less than the 3rd threshold value, judge battery In the presence of, and it is in short-circuit condition;
Otherwise, control charging circuit is charged with the second charging current to battery circuit, after the 3rd duration, detection 4th voltage of battery circuit, if the 4th voltage is less than the 4th threshold value, judge that battery is present, otherwise judge that battery is shape undetermined State two;
Wherein, the 3rd threshold value is less than the 4th threshold value, and the second charging current is more than the first charging current.
Preferably, control unit, is specifically used for:
Control charging circuit is charged with the second charging current to battery circuit;After the 3rd duration, and indicate electricity 5th voltage of pressure detection electric circuit inspection battery circuit;
If the 5th voltage is less than the 4th threshold value, control charging circuit is filled with the first charging current to battery circuit Electricity, and the 6th voltage of instructed voltage detection electric circuit inspection battery circuit;If the 6th voltage is less than the 3rd threshold value, battery is judged In the presence of, and it is in short-circuit condition;Otherwise, then judge that battery is present, and be not in short-circuit condition;
If the 5th voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value.
Preferably, the second charging current and the product of the 3rd duration are more than the voltage of charging circuit and the electric capacity of battery circuit Product.
Preferably, control unit, is specifically used for:
Control charging circuit is charged with the first charging current to battery circuit, and instructed voltage detection electric circuit inspection electricity The tertiary voltage of pond circuit;
If tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;If tertiary voltage be more than etc. In the 3rd threshold value, and tertiary voltage is less than the 4th threshold value, then judges that battery is present;
If tertiary voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value.
Preferably, the product of the second discharge current and the second duration is more than multiplying for the first difference and the electric capacity on battery circuit Product;Wherein, the first difference is the difference of charging circuit constant-voltage and second voltage.
In the embodiment of the present invention, if being connected with power supply adaptor, battery circuit is discharged, and after the first duration The first voltage of battery circuit is detected, if first voltage is more than first threshold, judges that battery is present;Otherwise, it is determined that battery is State one undetermined, and control charging circuit to charge battery circuit, judge that battery whether there is, if control charging circuit pair Battery circuit judges that battery be state two undetermined after being charged, then control discharge circuit discharges battery circuit, the After two durations, the second voltage of battery circuit is detected;If second voltage is less than Second Threshold, judge that battery is not present, it is no Then judge that battery is present.
In the presence of not going out battery by discharge judgement, then it is continued to charge, if charging can not judge still In the presence of battery, then it is continued to discharge, further determine battery and whether there is.And by discharging, charging, then discharge Process after, the second voltage of battery circuit is less than Second Threshold, then judge battery be not present, otherwise, it is determined that battery exist, And battery is once in short-circuit protection state.Deposited it can be seen that battery can be distinguished by above method flow in the absence of state and battery But short-circuit protection state is being in, is being avoided only by the problem of the obscuring the two states that discharge or charge.By above-mentioned Method accurately judges to whether there is battery, so as to provide foundation for battery circuit next step handling process, i.e., if it is determined that Battery is present, then needs to open charging circuit as battery charging, if it is determined that battery is not present, then charge closing circuit is needed, to prevent ruining Bad battery circuit.
Brief description of the drawings
Fig. 1 is a kind of applicable system architecture schematic diagram of method for detecting battery provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of method for detecting battery provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation for detecting battery provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation for detecting battery provided in an embodiment of the present invention;
A kind of structural representation for discharge circuit that Fig. 5 is provided by the embodiment of the present invention;
A kind of circuit structure diagram for detection circuit that Fig. 6 is provided by the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method and circuit for detecting battery.Suitable for the terminal by lithium battery power supply, The terminal can be computer, Pad etc..When terminal inserts power supply adaptor, if battery in terminal be present, need to open charging circuit Battery is charged, if battery is not present in terminal, needs charge closing circuit, in order to avoid damage battery circuit.Based on this, The method that the embodiment of the present invention is provided can accurate judgement battery status, so as to for next step handling process provide foundation.
In specific implementation, battery circuit generally comprises battery core and protection board, and protection board can realize the defencive function to battery core, Such as conventional overcharges protection, Cross prevention, short-circuit protection, overcurrent protection.
Overcharge protection:When the voltage of battery core end loading is higher than its full piezoelectric voltage (such as 4.25V), protection board can be held battery core Open and overcharge protection, i.e., protection board disconnects the charge path of battery circuit, until the voltage of battery core is reduced to a particular value (such as 4.15V).And when charging circuit is under constant voltage mode, the voltage of battery core can therebetween, such as 4.2V.
Cross prevention:When battery core brownout, protection board can disconnect the discharge path of battery circuit, until battery core voltage Go up to particular value.The particular value is different according to battery core material, generally in 2.0V~2.95V.
Short-circuit protection:When the both positive and negative polarity of battery circuit occurs short-circuit, protection board can disconnect the charging circuit of battery and put The path of circuit, until the external loading equivalent resistance of battery circuit is more than a particular value.The particular value generally 100K~ 500K ohms.
Overcurrent protection:When the electric current flowed out from battery circuit end is more than particular value, protection board can disconnect battery circuit Discharge path, until the external loading equivalent resistance of battery circuit is more than a particular value.The particular value is generally in 100K~500K Ohm.
In handheld device, after after of short duration short circuit short-circuit protection or overcurrent protection state occur for above-mentioned battery, battery electricity The load equivalent resistance of both positive and negative polarity can be less than 80K ohms, therefore the short-circuit protection state and overcurrent protection state of battery outside road It will not be released from, now can be by pulling out the method for battery, or continue the method for charging and release the short-circuit protection state and mistake of battery Flow guard mode.Battery is pulled up from handheld device, is infinity equivalent to outside batteries load equivalent resistance, is filled to battery Electricity, also correspond to eliminate the load resistance of outside batteries.
After Cross prevention being in due to battery, cell voltage 0, now by detecting whether the method for voltage judges battery In the presence of, it is understood that there may be erroneous judgement.Because battery is in short-circuit protection and when overcurrent protection does not release state, cell voltage it is very low or For 0, now judge battery with the presence or absence of also likely to be present erroneous judgement.It can be seen that under above-mentioned three kinds of states, the voltage of battery does not belong to In conventional value, it is thus possible to judgement is interfered, in order to solve the problem, more accurately judges the state of battery, this Inventive embodiments provide a kind of method for detecting battery and a kind of detection circuit.
Specifically, the method that the embodiment of the present invention is provided can determine whether out the battery under five kinds of states, respectively with A, B, C, D, E are represented.A represents that battery is not present.B represents that battery is present, but battery is in short-circuit protection state, and short-circuit protection shape State does not release yet.C represents that battery is present, but the voltage of battery is ultralow.Electricity of the value of the too low voltage in triggering Cross prevention Near pressure.D represents that battery is present, but battery is in short-circuit condition always.E represents that battery is present, in normal condition.This five kinds State is as shown in table 1.
The respective code of the five kinds of states of battery of table 1
When detecting that battery circuit is in A, i.e., when battery is not present, then need charge closing circuit.When detect battery electricity When road is in B, C, E, can normally-open charging circuit battery is charged, and when battery circuit is in B and C, open charging Circuit charges to battery, can release B short-circuit protection state, opens charging circuit and battery is charged, can solve C's The problem of voltage is ultralow, the voltage of the battery under C-state is set slowly to return normal value.It is when detecting that battery circuit is in D, i.e., electric Pond is present, but battery is in short-circuit condition always, then needs to report the message, then short circuit battery is repaired.
The same noun occurred in the embodiment of the present invention in different schemes, such as " first threshold, Second Threshold, the 3rd threshold value, What the 4th threshold value, the 5th threshold value, the 6th threshold value, the first charging current, the second charging current, the 3rd duration " referred to is identical Numerical value, or different numerical value, those skilled in the art can voluntarily decide according to concrete scheme, in the embodiment of the present invention not It is limited.The numerical value that is referred in following specific embodiments based on the identical noun in different schemes is identical to be described.
In order that the purpose of the present invention, technical scheme and beneficial effect are more clearly understood, below in conjunction with accompanying drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only explaining this hair It is bright, it is not intended to limit the present invention.
Fig. 1 illustrates the applicable circuit framework schematic diagram of the embodiment of the present invention.
As shown in figure 1, the circuit framework schematic diagram that the embodiment of the present invention is applicable.The system architecture includes adapter detection Circuit 101, charging circuit 102, discharge circuit 103, voltage detecting circuit 104, timer 105, control unit 106, Yi Ji electricity Pond circuit 107, and the electric capacity 108 in parallel with battery circuit 107.
Charging circuit 102 is used to charge to battery circuit 107, and discharge circuit 103 is used to discharge to battery circuit 107, because Need time restriction for charging process in the embodiment of the present invention and discharge process, thus charging circuit 102 and discharge circuit 103 with Timer 105 connects.Voltage detecting circuit 104 is used to detect the both sides voltage of battery circuit 107, and the one end of battery circuit 107 is grounded, Therefore the connection of voltage detecting circuit 104 and 107 unearthed one end of battery circuit.Adaptor detection circuit 101 is used to detect end Whether the adapter at end accesses, and when adapter accesses, just performs the flow for the detection battery that the embodiment of the present invention is provided.It is suitable Orchestration detection circuit 101, charging circuit 102, discharge circuit 103, voltage detecting circuit 104, timer 105 are and control unit 106 connections, are controlled by control unit 106 according to various information to each circuit.
The method that Fig. 2 illustrates a kind of detection battery that the embodiment of the present invention is provided.
Based on the system architecture shown in Fig. 1, Fig. 2 shows a kind of side for detection battery that the embodiment of the present invention is provided Method, comprise the following steps:
Step 201, detect whether to connect power supply adaptor.In practice, just need to enter battery when power supply adaptor connects Row judges.If battery is present, and normal operating conditions is in, then needs to open charging circuit to battery charging.If battery is not present Or battery is in short-circuit condition, then answers charge closing circuit, in order to avoid damage battery circuit.
Step 202, if being connected with power supply adaptor, control discharge circuit is carried out with the first discharge current to battery circuit Electric discharge;And the first voltage of battery circuit is detected after the first duration, if first voltage is more than first threshold, judge that battery is deposited ;Otherwise, it is determined that battery is state one undetermined, and control charging circuit to charge battery circuit, judge whether battery is deposited .
Step 203, if controlling charging circuit to judge that battery is state two undetermined, is controlled after being charged to battery circuit Discharge circuit is discharged battery circuit with the second discharge current, after the second duration, detects the second electricity of battery circuit Pressure;If second voltage is less than Second Threshold, judge that battery is not present, otherwise judge that battery is present.
In above-mentioned steps 202, control discharge circuit is discharged battery circuit with the first discharge current;And at first After length, stop discharge process, after the first voltage for detecting battery circuit, when first voltage is more than first threshold, then judge electric Pond is present.I.e. when first voltage is more than first threshold, then above-mentioned E-state is determined.Preferably, the first duration and the first electric discharge electricity The product of stream is less than 1st/20th of battery total capacity.
Specifically, because E-state has battery, and battery is in normal operating conditions, therefore with the first discharge current After the first duration of electric discharge is carried out to it, the voltage of the battery circuit under E-state should be greater than first threshold.In the embodiment of the present invention In, may be more than 3V.And due to battery being not present in A condition, therefore when electric discharge first is carried out with the first discharge current to it After length, the voltage of the battery circuit under A condition is 0V.Because the battery under B state is present, but it is now in short-circuit protection shape Under state, therefore after first duration that carries out with the first discharge current discharging to it, the voltage of the battery circuit under B state is still non- It is often low, about close to 0V.Because the cell voltage under C-state is ultralow, therefore when electric discharge first is carried out with the first discharge current to it After length, the voltage of the battery circuit under C-state is still very low, or Cross prevention directly occurs, and is 0V to 3V.Due to D shapes Battery under state is in short-circuit condition always, therefore after first duration that carries out with the first discharge current discharging to it, under D-state The voltage of battery circuit be 0V.
Now first threshold can be set as 3V, then be E-state when the first voltage of battery circuit is more than first threshold, If the first voltage of battery circuit is less than first threshold, due to can not judge which state battery is in, therefore, it is determined that battery For state one undetermined, and charging circuit is controlled to charge the battery circuit, to be determined whether.
After the first discharge circuit the first duration of electric discharge, the first voltage such as institute of table 2 of the battery circuit under each state Show.
The first voltage of table 2
In above-mentioned steps 202, if first voltage is more than first threshold, judges that battery is present, be above-mentioned E-state.If the One voltage is not more than first threshold, then controls charging circuit to charge battery circuit, judges that battery whether there is.
Preferably, control charging circuit charges to battery circuit, the tertiary voltage of battery circuit is detected, if the 3rd electricity Pressure is less than the 3rd threshold value, then judges that battery is present, and in short-circuit condition always, otherwise can not judge that battery whether there is.Compared with Good, the 3rd threshold value is set as 1V.Preferably, can be detected in battery circuit charging process, can also be filled in battery circuit After electricity, stop charging and detected again.The scheme detected in charging process is introduced in the embodiment of the present invention.
Specifically, when the battery under to A, B, C, D-state charges, because the battery under D-state is in always Short-circuit condition, therefore now the voltage of the battery circuit under D-state is 0V to 1V.As it was previously stated, charging electricity of the embodiment of the present invention Road is constant current constant voltage pattern, and constant-voltage is introduced for 4.2V.Therefore due to battery, therefore now A shapes being not present in A condition The voltage of battery circuit under state is 4.2V.Because the battery under B state is present, but once it was under short-circuit protection state, to it Charging can release the short-circuit protection state of B state, and the battery after releasing under B state is in normal operating conditions, therefore now B shapes The voltage of battery circuit under state is about 3V to 4.2V.Because the battery under C-state is present, but voltage is ultralow, therefore now C-shaped The voltage of battery circuit under state can be raised slowly in charging process, about 1V to 3V.
The 3rd threshold value is now set as 1V, then when tertiary voltage is less than three threshold values, that is, is judged as D-state, if the 3rd electricity Then it is tri- kinds of states of A, B, C, but can not judge specially any, it is necessary to determine whether when pressure is not less than three threshold values.
The tertiary voltage that battery circuit is detected in charging process is as shown in table 3.
The tertiary voltage detected in the charging process of table 3
Specifically, in above-mentioned steps 202, if first voltage is more than first threshold, judges that battery is present, be above-mentioned E shapes State.If first voltage is not more than first threshold, judgement battery is state one undetermined, and controls charging circuit to enter battery circuit Row charging, judge that battery whether there is.Following three kinds of schemes are provided in the embodiment of the present invention, for detecting the shape of battery circuit State.
Scheme one:
Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to battery circuit Electricity, the tertiary voltage of battery circuit is detected in charging process, if tertiary voltage is less than the 3rd threshold value, judges that battery is present, And it is in short-circuit condition.Preferably, the first charging current of setting is less than 100mA, the 3rd threshold value need to be less than 1V, be slightly larger than 0V Can.The 3rd threshold value is now set as 1V.
Otherwise, control charging circuit is charged with the second charging current to battery circuit, after the 3rd duration, is stopped Charging, the 4th voltage of battery circuit is detected, if the 4th voltage is less than the 4th threshold value, judges that battery is present, otherwise judge electricity Pond is state two undetermined;Wherein, the 3rd threshold value is less than the 4th threshold value, and the second charging current is more than the first charging current.Preferably, The range of choice of second charging current is wider, changeable, preferably, can make the second charging current much larger than the first charging electricity Stream.4th threshold value may be set to 4V.
Specifically, the battery under battery circuit A, B, C, D-state is charged when with the first charging current, detection electricity The tertiary voltage of pond circuit.From the foregoing, the first charging current is smaller, and the 3rd of battery circuit is detected in charging process Voltage.Because the battery under D-state is in short-circuit condition, thus now the voltage of the battery circuit under D-state be 0V to 1V it Between, close to 0V.As it was previously stated, the embodiment of the present invention is constant current constant voltage pattern based on charging circuit, constant-voltage enters for 4.2V Row is introduced.Therefore due to battery being not present in A condition, therefore now the voltage of the battery circuit under A condition is 4.2V.Due to B Battery under state is present, but is now under short-circuit protection state, and it, which is charged, can release the short-circuit protection state of B state, Battery after releasing under B state is in normal operating conditions, and the voltage of the battery circuit under B state there may be two before short circuit Kind of situation, i.e. the second state under first state under B state and B state, voltage can before short circuit for the first state under B state Can relatively low, about 3V to 4V, voltage may be higher before short circuit for the second state under B state, about 4V to 4.2V.Due to short circuit It is different that the voltage of the B state of eve occurs, therefore it is being charged and discharged by charging circuit and discharge circuit respectively Afterwards, the voltage of the second state under the first state under B state and B state also can be different.Now, the first charging current pair is passed through After B state is charged, the voltage of the battery circuit of the first state under B state is about 3V to 4V, the second shape under B state The voltage of the battery circuit of state is about 4V to 4.2V.Due to the battery under C-state, battery is present, but voltage is ultralow, therefore now The voltage of battery circuit under C-state can be raised slowly in charging process, about 1V to 3V.
The 3rd threshold value is now set as 1V, then when tertiary voltage is less than three threshold values, that is, is judged as D-state, if the 3rd electricity Then it is tri- kinds of states of A, B, C, but can not judge specially any, it is necessary to determine whether when pressure is not less than three threshold values.
Further, the battery under battery circuit A, B, C, D-state is charged when with the first charging current, detects battery The tertiary voltage of circuit, when determining that tertiary voltage is not less than three threshold values, then which in A, B, C of the battery circuit can not judge One state, now need to be further processed.That is control charging circuit is filled with the second charging current to battery circuit Electricity, after the 3rd duration, the 4th voltage of battery circuit is detected, if the 4th voltage is less than the 4th threshold value, judge that battery is deposited Otherwise it can not judge that battery whether there is.
Preferably, the product of the second charging current and the 3rd duration is more than the constant-voltage and battery circuit of charging circuit The product of electric capacity.Charging circuit is constant current constant voltage pattern in the embodiment of the present invention, and the constant-voltage of charging circuit is 4.2V.
Specifically, control charging circuit is charged with the second charging current to battery circuit, after the 3rd duration, Detect the 4th voltage of battery circuit.As it was previously stated, the embodiment of the present invention is constant current constant voltage pattern based on charging circuit, constant pressure is electric Press and be introduced for 4.2V.Therefore due to battery being not present in A condition, therefore now the voltage of the battery circuit under A condition is 4.2V.Because the battery under B state is present, but it is now under short-circuit protection state, is understood based on foregoing teachings, based on B shapes The difference of voltage before state short circuit, after by the duration of the second charging current for charging the 3rd, the electricity of the battery circuit under B state For pressure there is also two kinds of situations, the voltage of the battery circuit of the first state under B state is about 3V to 4V, the second shape under B state The voltage of the battery circuit of state is about 4V to 4.2V.Due to the battery under C-state, battery is present, but voltage is ultralow, is stopping filling Voltage is in 0V between 3V after electricity.
The 4th threshold value is now set as 4V, then when the 4th voltage is less than four threshold values, that is, is judged as C-state.Due to B state Middle two kinds of possibility to be present, the voltage of the first state under B state may be 3V to 4V, the second state under B state be about 4V extremely 4.2V.When B state is 3V to 4V, now the cell voltage of the first state under B state is less than the 4th threshold value.Such case Under, it may be the first state in B state to judge battery circuit, or is C-state, be battery existence.If now battery 4th voltage of circuit is more than the 4th threshold value, then is probably the second state in B state, or A condition, but can not judge to provide Body is any, it is necessary to determine whether.
By above-mentioned discussion, be can detect that in scheme one by charging process twice D-state and the C-state of battery with And the first state in B state, if battery circuit is not belonging to above-mentioned several states, judgement battery is state two undetermined, and is needed Carry out the discharge process of next step.Control discharge circuit is discharged battery circuit with the second discharge current, in the second duration Afterwards, the second voltage of battery circuit is detected;If second voltage is less than Second Threshold, judges that battery is not present, otherwise judge Battery is present.
Preferably, the product of the second discharge current and the second duration is more than multiplying for the first difference and the electric capacity on battery circuit Product;Wherein, the first difference is the difference of charging circuit constant-voltage and second voltage.Charging circuit constant-voltage is of the invention real Apply in example is 4.2V.
Specifically, battery circuit is discharged with the second discharge current, after the second duration, detects battery circuit Second voltage.Due to battery being not present in A condition, therefore now the voltage of the battery circuit under A condition is close to 0V.Due to Battery under B state is present, but has now released the short-circuit protection state of B state by charging, after releasing under B state Battery is in normal operating conditions, therefore now the voltage of the battery circuit under B state is about 4V to 4.2V.
It is more flexible now to set Second Threshold, is 1V to 3.5V, assumes that Second Threshold is in the embodiment of the present invention 3V, then when second voltage is less than Second Threshold, that is, it is judged as A condition, if second voltage is not less than Second Threshold, for B shapes State.
The voltage status of the battery circuit of each each state of step is as shown in table 4 in scheme one.
The voltage status of the battery circuit of each each state of step in the scheme one of table 4
So far, the five kinds of states of A, B, C, D, E being previously mentioned in the embodiment of the present invention are all detected by scheme one, and As a result it is more accurate.
Scheme two:
Judge battery for after state one undetermined, control charging circuit is filled with the second charging current to battery circuit Electricity, after the 3rd duration, stop charging, detect the 5th voltage of battery circuit;If the 5th voltage is less than the 4th threshold value, control Charging circuit processed is charged with the first charging current to battery circuit, and the 6th electricity of battery circuit is detected in charging process Pressure;If the 6th voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;Otherwise, then judge that battery is present, And it is not in short-circuit condition;If the 5th voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;Wherein, 3rd threshold value is less than the 4th threshold value.
Preferably, the first charging current of setting is less than 100mA, the 3rd threshold value need to be less than 1V, now set the 3rd threshold value as 1V. Wherein, the 3rd threshold value is less than the 4th threshold value, and the second charging current is more than the first charging current.Preferably, the second charging current Range of choice is wider, changeable, preferably, the second charging current can be made to be much larger than the first charging current.4th threshold value can be set It is set to 4V.
Preferably, the product of the second charging current and the 3rd duration is more than the constant-voltage and battery circuit of charging circuit The product of electric capacity.Charging circuit is constant current constant voltage pattern in the embodiment of the present invention, and the constant-voltage of charging circuit is 4.2V.
Specifically, the battery under battery circuit A, B, C, D-state is charged when with the second charging current, the 3rd After duration, the 5th voltage of battery circuit is detected.From the foregoing, the second charging current is larger, and examined in charging process Survey the 5th voltage of battery circuit.Because the battery under D-state is in short-circuit condition, therefore the now battery circuit under D-state Voltage be 0V between 1V, close to 0V.As it was previously stated, the embodiment of the present invention is constant pressure constant voltage mode based on charging circuit, Constant-voltage is introduced for 4.2V.Therefore due to being not present battery in A condition, therefore the now battery circuit under A condition Voltage is 4.2V.Because the battery under B state is present, but it is now under short-circuit protection state, it, which is charged, can release B state Short-circuit protection state, the battery after releasing under B state is in normal operating conditions, and the voltage of the battery circuit under B state exists It there may be two kinds of situations, i.e. the second state under first state under B state and B state before short circuit, the first shape under B state State before short circuit voltage may relatively low, about 3V to 4V, voltage may be higher before short circuit for the second state under B state, about 4V to 4.2V.It is different that the voltage of the B state of eve occurs due to short circuit, therefore distinguishes by charging circuit and discharge circuit After charging and discharging, the voltage of the second state under first state and B state under B state also can be different.Now, lead to Cross after the second charging current charges to B state, the voltage of the battery circuit of the first state under B state be about 3V extremely 4V, the voltage of the battery circuit of the second state under B state is about 4V to 4.2V.Due to the battery under C-state, battery is present, But voltage is ultralow, therefore now the voltage of the battery circuit under C-state can be raised slowly in charging process, about 1V to 3V, Close to 1V.
The 4th threshold value is now set as 4V, then when the 5th voltage is less than four threshold values, that is, is judged as D-state, C-state or B First state in state, if the 5th voltage is not less than four threshold values, for the second state in A condition or B state, but nothing Method is judged specially any, it is necessary to determine whether.
Further, battery circuit is charged when with the second charging current, after the 3rd duration, complete charge mistake Journey, detect the 5th voltage of battery circuit.If the 5th voltage is less than the 4th threshold value, judge cell voltage be in C or D-state or First state in B state, further control charging circuit to be charged with the first charging current to battery circuit, charging Cheng Zhong, detect the 6th voltage of battery circuit.
Specifically, the battery under the first state under battery circuit C, D, B state is carried out when with the first charging current Charging, detect the 6th voltage of battery circuit.From the foregoing, the first charging current is smaller, and electricity is detected in charging process 6th voltage of pond circuit.Because the battery under D-state is in short-circuit condition, therefore the now electricity of the battery circuit under D-state It is 0V between 1V to press, close to 0V.Due to the battery under C-state, but voltage is ultralow, therefore the now battery electricity under C-state The voltage on road can be raised slowly, about 1V to 3V.Because the battery under B state is present, but it is now under short-circuit protection state, Therefore now the voltage of the first state under B state may be 3V to 4V.
The 3rd threshold value is now set as 1V, then when the 6th voltage is less than three threshold values, that is, is judged as D-state, i.e. battery is deposited , but for short-circuit condition.If the 6th voltage is not less than three threshold values, for the first state under C-state or B state, For battery existence, and it is in non-shorting state.
Accordingly, battery circuit is charged when with the second charging current, after the 3rd duration, complete charge mistake Journey, detect the 5th voltage of battery circuit.If the 5th voltage is not less than the 4th threshold value, judgement battery is state two undetermined, and Judge the second state that cell voltage is under A or B state, the discharge process of next step need to be carried out.Discharge circuit is controlled with the Two discharge currents discharge battery circuit, after the second duration, detect the second voltage of battery circuit;If second voltage Less than Second Threshold, then judge that battery is not present, otherwise judge that battery is present.
Preferably, the product of the second discharge current and the second duration is more than multiplying for the first difference and the electric capacity on battery circuit Product;Wherein, the first difference is the difference of charging circuit constant-voltage and second voltage.Charging circuit constant-voltage is of the invention real Apply in example is 4.2V.
Specifically, battery circuit is discharged with the second discharge current, after the second duration, detects battery circuit Second voltage.Due to battery being not present in A condition, therefore now the voltage of the battery circuit under A condition is 0V.Due to B shapes Battery is present in the second state under state, but has now released the short-circuit protection state of B state by charging, B after releasing Battery under state is in normal operating conditions, therefore now the voltage of the battery circuit under B state is about 4V to 4.2V.
Second Threshold is now set as 1V to 3.5V, assumes that Second Threshold is 2V in the embodiment of the present invention, then second When voltage is less than Second Threshold, that is, it is judged as A condition, i.e. battery is not present.If second voltage is not less than Second Threshold, for The second state under B state, i.e. battery are present.
The voltage status of the battery circuit of each each state of step is as shown in table 5 in scheme two.
The voltage status of the battery circuit of each each state of step in the scheme two of table 5
So far, the five kinds of states of A, B, C, D, E being previously mentioned in the embodiment of the present invention are all detected by scheme two, and As a result it is more accurate.
Scheme three:
Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to battery circuit Electricity, the tertiary voltage of battery circuit is detected in charging process;If tertiary voltage is less than the 3rd threshold value, judge that battery is present, And it is in short-circuit condition;If tertiary voltage is more than or equal to the 3rd threshold value, and tertiary voltage is less than the 4th threshold value, then judges that battery is deposited ;If the tertiary voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;Wherein, the 3rd threshold value is less than the Four threshold values.
Preferably, the first charging current of setting is less than 100mA, the 3rd threshold value need to be less than 1V, slightly larger than 0V.Now set 3rd threshold value is 1V, and the 4th threshold value may be set to 4V.
Specifically, the battery under battery circuit A, B, C, D-state is charged when with the first charging current, detection electricity The tertiary voltage of pond circuit.From the foregoing, the first charging current is smaller, and the 3rd of battery circuit is detected in charging process Voltage.Because the battery under D-state is in short-circuit condition, thus now the voltage of the battery circuit under D-state be 0V to 1V it Between, close to 0V.As it was previously stated, the embodiment of the present invention is constant current constant voltage pattern based on charging circuit, constant-voltage enters for 4.2V Row is introduced.Therefore due to battery being not present in A condition, therefore now the voltage of the battery circuit under A condition is 4.2V.Due to B Battery under state is present, but is now under short-circuit protection state, and it, which is charged, can release the short-circuit protection state of B state, Battery after releasing under B state is in normal operating conditions, and the voltage of the battery circuit under B state there may be two before short circuit Kind of situation, i.e. the second state under first state under B state and B state, voltage can before short circuit for the first state under B state Can relatively low, about 3V to 4V, voltage may be higher before short circuit for the second state under B state, about 4V to 4.2V.Due to short circuit It is different that the voltage of the B state of eve occurs, therefore it is being charged and discharged by charging circuit and discharge circuit respectively Afterwards, the voltage of the second state under the first state under B state and B state also can be different.Now, the first charging current pair is passed through After B state is charged, the voltage of the battery circuit of the first state under B state is about 3V to 4V, the second shape under B state The voltage of the battery circuit of state is about 4V to 4.2V.Due to the battery under C-state, battery is present, but voltage is ultralow, therefore now The voltage of battery circuit under C-state can be raised slowly in charging process, about 1V to 3V, close to 1V.
The 3rd threshold value is now set as 1V, then when tertiary voltage is less than three threshold values, that is, is judged as D-state, i.e. battery is deposited , but it is in short-circuit condition.If tertiary voltage is not less than three threshold values, for tri- kinds of states of A, B, C.
The 4th threshold value is now set as 4V, then tertiary voltage is not less than the 3rd threshold value, and when being less than four threshold values, that is, judges For C-state or it is first state under B state, as battery existence.
If tertiary voltage is not less than four threshold values, for the second state under A condition or B state, but it can not judge It is specially any, it is necessary to determine whether.
By above-mentioned discussion, in scheme three by a charging process can detect that battery D-state and C-state and First state in B state, if battery circuit is not belonging to above-mentioned several states, judgement battery is state two undetermined, and need to be entered The discharge process of row next step.Control discharge circuit battery circuit is discharged with the second discharge current, the second duration it Afterwards, the second voltage of battery circuit is detected;If second voltage is less than Second Threshold, judges that battery is not present, otherwise judge electricity Pond is present.
Preferably, the product of the second discharge current and the second duration is more than multiplying for the first difference and the electric capacity on battery circuit Product;Wherein, the first difference is the difference of charging circuit voltage and second voltage.Charging circuit voltage is in embodiments of the present invention 4.2V。
Specifically, battery circuit is discharged with the second discharge current, after the second duration, detects battery circuit Second voltage.Due to battery being not present in A condition, therefore now the voltage of the battery circuit under A condition is 0V.Due to B shapes Battery under second state of state is present, but has now made short-circuit protection state under the second state of B state by charging Through releasing, the battery after releasing under the second state of B state is in normal operating conditions, therefore now the second state of B state Under the voltage of battery circuit be about 4V to 4.2V.
Second Threshold is now set as 1V to 3V, assumes that Second Threshold is 3V in the embodiment of the present invention, then the second electricity When pressure is less than Second Threshold, that is, it is judged as A condition, if second voltage is not less than Second Threshold, for the second shape under B state State.
The voltage status of the battery circuit of each each state of step is as shown in table 6 in scheme three.
The voltage status of the battery circuit of each each state of step in the scheme three of table 6
So far, the five kinds of states of A, B, C, D, E being previously mentioned in the embodiment of the present invention are all detected by scheme one, and As a result it is more accurate.
In summary, in the embodiment of the present invention, if being connected with power supply adaptor, battery circuit is discharged, and The first voltage of battery circuit is detected after first duration, if first voltage is more than first threshold, judges that battery is present;Otherwise, Judgement battery is state one undetermined, and by controlling charging circuit to charge battery circuit, judges that battery whether there is, if Judge that battery be state two undetermined after being charged to battery circuit by controlling charging circuit, then control discharge circuit is to battery Circuit is discharged, and after the second duration, detects the second voltage of battery circuit;If second voltage is less than Second Threshold, Judge that battery is not present, otherwise judge that battery is present.
In the presence of not going out battery by discharge judgement, then it is continued to charge, if charging can not judge still In the presence of battery, then it is continued to discharge, further determine battery and whether there is.And by discharging, charging, then discharge Process after, the second voltage of battery circuit is less than Second Threshold, then judge battery be not present, otherwise, it is determined that battery exist, And battery is once in short-circuit protection state.Deposited it can be seen that battery can be distinguished by above method flow in the absence of state and battery But short-circuit protection state is being in, is being avoided only by the problem of the obscuring the two states that discharge or charge.By above-mentioned Method accurately judges to whether there is battery, so as to provide foundation for battery circuit next step handling process, i.e., if it is determined that Battery is present, then needs to open charging circuit as battery charging, if it is determined that battery is not present, then charge closing circuit is needed, to prevent ruining Bad battery circuit.
Fig. 3 illustrates a kind of circuit for detecting battery provided in an embodiment of the present invention.
Conceived based on identical, the embodiments of the invention provide a kind of circuit for detecting battery, as shown in figure 3, including:It is suitable Orchestration detects circuit 301, control unit 302, discharge circuit 303, charging circuit 304, voltage detecting circuit 305, timer 306, battery circuit 307:
Adaptor detection circuit 301, for detecting whether connection power supply adaptor;
Control unit 302, for when adaptor detection circuit 301 detects and is connected with power supply adaptor, control to be discharged Circuit 303 is discharged battery circuit 307 with the first discharge current;And instructed voltage detects circuit 305 after the first duration The first voltage of battery circuit 307 is detected, if first voltage is more than first threshold, judges that battery is present;Otherwise, it is determined that battery For state one undetermined, and control charging circuit 304 to charge battery circuit 307, judge that battery whether there is;If control is filled Circuit 304 judges that battery is state two undetermined after being charged to battery circuit 307, then controls discharge circuit 303 with second Discharge current discharges battery circuit 307, and instructed voltage detection circuit 305 detects battery circuit after the second duration 307 second voltage;If second voltage is less than Second Threshold, judge that battery is not present, otherwise judge that battery is present;
Timer 306, for carrying out timing in discharge circuit 303 or the work of charging circuit 304.
Lithium battery in battery circuit 307 is often connected in parallel with a capacitor 308, for filtering, improves circuit stability.
Charging circuit 304 is charging circuit conventional in the prior art, as shown in figure 4, being provided by the embodiment of the present invention A kind of charging circuit schematic diagram, charging circuit 304 includes constant current/constant voltage charging control circuit 401, is charged for controlling The voltage of circuit, the voltage of the charging circuit under constant voltage mode in the embodiment of the present invention is 4.2V.Charging circuit 304 can provide Different charging currents.
Discharge circuit 303 is discharge circuit conventional in the prior art, as shown in figure 5, being provided by the embodiment of the present invention A kind of discharge circuit circuit structure diagram, discharge circuit 303 includes multiple resistance R1, R2 ... Rn, and each resistance is accordingly matched somebody with somebody A standby switch, switchs K1, K2 ... Kn as shown in Figure 5.Switch one end ground connection, a terminating resistor, the access of the resistance other end In circuit.Also include charge/discharge control circuit 501 in discharge circuit 303, charge/discharge control circuit 501 by closing different switches, Realize the regulation and control of discharge current.
Voltage detecting circuit 305 in the embodiment of the present invention is detection circuit conventional in the prior art, as shown in fig. 6, A kind of circuit structure diagram of the detection circuit provided by the embodiment of the present invention.A little 602 company is picked out in voltage detecting circuit 305 One end of battery circuit 307 is connect, because the other end of battery circuit 307 is grounded, therefore picking out a little in voltage detecting circuit 305 The voltage of battery circuit 307 is can obtain at 602.Voltage detecting circuit 305 includes comparator 601, can be set in comparator 601 Multiple voltage thresholds, as illustrated in the drawing V1, V2 ... Vn.Comparator 601 can be used for picking out voltage detecting circuit 305 a little 602 go out the voltage of the battery circuit 307 of detection compared with each threshold value, feed back comparative result afterwards to control unit 302.
Preferably, control unit 302, is specifically used for:
Control charging circuit 304 charges to battery circuit 307, and instructed voltage detection circuit 305 detects battery electricity The tertiary voltage on road 307, if tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition, otherwise can not Judge that battery whether there is.
Preferably, the product of the first duration and the first discharge current is less than 1st/20th of battery total capacity.
Specifically, if first voltage is more than first threshold, judges that battery is present, be above-mentioned E-state.If first voltage is not More than first threshold, then control charging circuit to charge battery circuit 307, judge that battery whether there is.The present invention is implemented Following three kinds of schemes are provided in example, for detecting the state of battery circuit 307.
Scheme one:
Control unit 302, is specifically used for:
Judge battery for after state one undetermined, control charging circuit 304 is entered with the first charging current to battery circuit 307 Row charging, and instructed voltage detection circuit 305 detects the tertiary voltage of battery circuit 307, if tertiary voltage is less than the 3rd threshold value, Then judge that battery is present, and be in short-circuit condition;
Otherwise, control charging circuit 304 battery circuit 307 is charged with the second charging current, the 3rd duration it Afterwards, the 4th voltage of battery circuit 307 is detected, if the 4th voltage is less than the 4th threshold value, judges that battery is present, otherwise judges electricity Pond is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value, and the second charging current is more than the first charging current.
The voltage status of the battery circuit 307 of each each state of step is as shown in table 4 in scheme one.
Scheme two:
Control unit 302, is specifically used for:
Judge battery for after state one undetermined, control charging circuit 304 is entered with the second charging current to battery circuit 307 Row charging;After the 3rd duration, and instructed voltage detection circuit 305 detects the 5th voltage of battery circuit 307;
If the 5th voltage is less than the 4th threshold value, control charging circuit 304 is entered with the first charging current to battery circuit 307 Row charging, and instructed voltage detection circuit 305 detects the 6th voltage of battery circuit 307;
If the 6th voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;Otherwise, then battery is judged In the presence of, and it is not in short-circuit condition;
If the 5th voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value.
Preferably, the second charging current and the product of the 3rd duration are more than the voltage and battery circuit 307 of charging circuit The product of electric capacity.
The voltage status of the battery circuit 307 of each each state of step is as shown in table 5 in scheme two.
Scheme three:
Control unit 302, is specifically used for:
Judge battery for after state one undetermined, control charging circuit 304 is entered with the first charging current to battery circuit 307 Row charging, and instructed voltage detection circuit 305 detects the tertiary voltage of battery circuit 307;
If tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;If tertiary voltage be more than etc. In the 3rd threshold value, and tertiary voltage is less than the 4th threshold value, then judges that battery is present;
If the tertiary voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
Wherein, the 3rd threshold value is less than the 4th threshold value.
Preferably, the product of the second discharge current and the second duration is more than the first difference and the electric capacity on battery circuit 307 Product;Wherein, the first difference is the difference of charging circuit voltage and second voltage.
The voltage status of the battery circuit 307 of each each state of step is as shown in table 6 in scheme three.
It can be seen from the above:In the embodiment of the present invention, if being connected with power supply adaptor, battery circuit is carried out Discharge, and the first voltage of battery circuit is detected after the first duration, if first voltage is more than first threshold, judge that battery is deposited ;Otherwise, it is determined that battery is state one undetermined, and by controlling charging circuit to charge battery circuit, judge that battery is No presence, if judging after being charged to battery circuit by controlling charging circuit, battery be state two undetermined, and control is discharged Circuit discharges battery circuit, after the second duration, detects the second voltage of battery circuit;If second voltage is less than the Two threshold values, then judge that battery is not present, otherwise judge that battery is present.
In the presence of not going out battery by discharge judgement, then it is continued to charge, if charging can not judge still In the presence of battery, then it is continued to discharge, further determine battery and whether there is.And by discharging, charging, then discharge Process after, the second voltage of battery circuit is less than Second Threshold, then judge battery be not present, otherwise, it is determined that battery exist, And battery is once in short-circuit protection state.Deposited it can be seen that battery can be distinguished by above method flow in the absence of state and battery But short-circuit protection state is being in, is being avoided only by the problem of the obscuring the two states that discharge or charge.By above-mentioned Method accurately judges to whether there is battery, so as to provide foundation for battery circuit next step handling process, i.e., if it is determined that Battery is present, then needs to open charging circuit as battery charging, if it is determined that battery is not present, then charge closing circuit is needed, to prevent ruining Bad battery circuit.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer program product. Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the present invention can use to can use which includes the computer of computer usable program code in one or more The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to including these changes and modification.

Claims (14)

  1. A kind of 1. method for detecting battery, it is characterised in that comprise the following steps:
    Detect whether to connect power supply adaptor;
    If being connected with the power supply adaptor, control discharge circuit is discharged battery circuit with the first discharge current;And The first voltage of the battery circuit is detected after the first duration, if the first voltage is more than first threshold, judges battery In the presence of;Otherwise, it is determined that battery is state one undetermined, and control charging circuit to charge the battery circuit, judge battery It whether there is;
    If charging circuit is controlled to judge that battery is state two undetermined, controls discharge circuit after being charged to the battery circuit Battery circuit is discharged with the second discharge current, after the second duration, detects the second voltage of the battery circuit;If The second voltage is less than Second Threshold, then judges that battery is not present, and otherwise judges that battery is present.
  2. 2. the method as described in claim 1, it is characterised in that the product of first duration and first discharge current is small In 1st/20th of battery total capacity.
  3. 3. the method as described in claim 1, it is characterised in that the judgement battery is state one undetermined, and controls charging electricity Road is charged to the battery circuit, is judged that battery whether there is, is specifically included:
    Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to the battery circuit Electricity, the tertiary voltage of the battery circuit is detected, if the tertiary voltage is less than the 3rd threshold value, judge that battery is present, and locate In short-circuit condition;
    Otherwise, control charging circuit is charged with the second charging current to the battery circuit, after the 3rd duration, detection 4th voltage of the battery circuit, if the 4th voltage is less than the 4th threshold value, judges that battery is present, otherwise judge battery For state two undetermined;
    Wherein, the 3rd threshold value is less than the 4th threshold value, and second charging current is more than the first charging current.
  4. 4. the method as described in claim 1, it is characterised in that the judgement battery is state one undetermined, and controls charging electricity Road is charged to the battery circuit, is judged that battery whether there is, is specifically included:
    Judge battery for after state one undetermined, control charging circuit is filled with the second charging current to the battery circuit Electricity;After the 3rd duration, the 5th voltage of the battery circuit is detected;
    If the 5th voltage is less than the 4th threshold value, control charging circuit is carried out with the first charging current to the battery circuit Charging, detect the 6th voltage of the battery circuit;If the 6th voltage is less than the 3rd threshold value, judge that battery is present, and In short-circuit condition;Otherwise, then judge that battery is present, and be not in short-circuit condition;
    If the 5th voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
    Wherein, the 3rd threshold value is less than the 4th threshold value.
  5. 5. the method as described in claim 3 or 4, it is characterised in that second charging current multiplies with the 3rd duration Product of the product more than the voltage and the electric capacity of the battery circuit of the charging circuit.
  6. 6. the method as described in claim 1, it is characterised in that the judgement battery is state one undetermined, and controls charging electricity Road is charged to the battery circuit, is judged that battery whether there is, is specifically included:
    Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to the battery circuit Electricity, detect the tertiary voltage of the battery circuit;
    If the tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;If the tertiary voltage is big In equal to the 3rd threshold value, and the tertiary voltage is less than the 4th threshold value, then judges that battery is present;
    If the tertiary voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
    Wherein, the 3rd threshold value is less than the 4th threshold value.
  7. 7. the method as described in claim 3,4 or 6, it is characterised in that second discharge current and second duration Product is more than the first difference and the product of the electric capacity on the battery circuit;Wherein, first difference is the charging circuit The difference of constant-voltage and second voltage.
  8. A kind of 8. circuit for detecting battery, it is characterised in that including:
    Adaptor detection circuit, for detecting whether connection power supply adaptor;
    Control unit, for when the adaptor detection circuit detects and is connected with the power supply adaptor, control electric discharge to be electric Battery circuit is discharged with the first discharge current on road;And instructed voltage detection circuit detects the battery after the first duration The first voltage of circuit, if the first voltage is more than first threshold, judge that battery is present;Otherwise, it is determined that battery is undetermined State one, and control charging circuit to charge the battery circuit, judge that battery whether there is;If control charging circuit pair The battery circuit judges that battery is state two undetermined after being charged, then controls discharge circuit with the second discharge current to battery Circuit is discharged, and indicates that the voltage detecting circuit detects the second voltage of the battery circuit after the second duration; If the second voltage is less than Second Threshold, judge that battery is not present, otherwise judge that battery is present.
  9. 9. circuit as claimed in claim 8, it is characterised in that the product of first duration and first discharge current is small In 1st/20th of battery total capacity.
  10. 10. circuit as claimed in claim 8, it is characterised in that described control unit, be specifically used for:
    Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to the battery circuit Electricity, and the tertiary voltage of battery circuit described in instructed voltage detection electric circuit inspection, if the tertiary voltage is less than the 3rd threshold value, Judge that battery is present, and be in short-circuit condition;
    Otherwise, control charging circuit is charged with the second charging current to the battery circuit, after the 3rd duration, detection 4th voltage of the battery circuit, if the 4th voltage is less than the 4th threshold value, judges that battery is present, otherwise judge battery For state two undetermined;
    Wherein, the 3rd threshold value is less than the 4th threshold value, and second charging current is more than the first charging current.
  11. 11. circuit as claimed in claim 8, it is characterised in that described control unit, be specifically used for:
    Judge battery for after state one undetermined, control charging circuit is filled with the second charging current to the battery circuit Electricity;After the 3rd duration, and the 5th voltage of battery circuit described in instructed voltage detection electric circuit inspection;
    If the 5th voltage is less than the 4th threshold value, control charging circuit is carried out with the first charging current to the battery circuit Charging, and the 6th voltage of battery circuit described in instructed voltage detection electric circuit inspection;If the 6th voltage is less than the 3rd threshold value, Then judge that battery is present, and be in short-circuit condition;Otherwise, then judge that battery is present, and be not in short-circuit condition;
    If the 5th voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
    Wherein, the 3rd threshold value is less than the 4th threshold value.
  12. 12. the circuit as described in claim 10 or 11, it is characterised in that second charging current and the 3rd duration Product is more than the product of the voltage of the charging circuit and the electric capacity of the battery circuit.
  13. 13. circuit as claimed in claim 8, it is characterised in that described control unit, be specifically used for:
    Judge battery for after state one undetermined, control charging circuit is filled with the first charging current to the battery circuit Electricity, and the tertiary voltage of battery circuit described in instructed voltage detection electric circuit inspection;
    If the tertiary voltage is less than the 3rd threshold value, judge that battery is present, and be in short-circuit condition;If the tertiary voltage is big In equal to the 3rd threshold value, and the tertiary voltage is less than the 4th threshold value, then judges that battery is present;
    If the tertiary voltage is more than or equal to the 4th threshold value, judgement battery is state two undetermined;
    Wherein, the 3rd threshold value is less than the 4th threshold value.
  14. 14. the circuit as described in claim 10,11 or 13, it is characterised in that when second discharge current is with described second Long product is more than the first difference and the product of the electric capacity on the battery circuit;Wherein, first difference is the charging The difference of circuit constant-voltage and second voltage.
CN201410823191.1A 2014-12-22 2014-12-22 A kind of method and circuit for detecting battery Active CN105790341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410823191.1A CN105790341B (en) 2014-12-22 2014-12-22 A kind of method and circuit for detecting battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410823191.1A CN105790341B (en) 2014-12-22 2014-12-22 A kind of method and circuit for detecting battery

Publications (2)

Publication Number Publication Date
CN105790341A CN105790341A (en) 2016-07-20
CN105790341B true CN105790341B (en) 2018-03-06

Family

ID=56388747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410823191.1A Active CN105790341B (en) 2014-12-22 2014-12-22 A kind of method and circuit for detecting battery

Country Status (1)

Country Link
CN (1) CN105790341B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107064803B (en) * 2016-12-16 2019-12-13 蔚来汽车有限公司 on-line detection method for short circuit in battery
CN109950939B (en) * 2017-12-20 2021-09-24 炬芯科技股份有限公司 Charger state detection circuit, device circuit, and charger state detection method
CN109490789B (en) * 2018-12-21 2021-07-13 歌尔科技有限公司 Battery on-site detection circuit and method and intelligent wearable equipment
CN110890773A (en) * 2019-12-01 2020-03-17 苏州易换骑网络科技有限公司 Battery discharge control method
CN111064247A (en) * 2019-12-18 2020-04-24 上海南芯半导体科技有限公司 Battery state detection method for battery charging

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1766656A (en) * 2004-10-27 2006-05-03 华为技术有限公司 Cell on-position detecting method for terminal device
JP4535910B2 (en) * 2005-03-16 2010-09-01 株式会社リコー Secondary battery protection circuit, battery pack and electronic device
CN103490389A (en) * 2013-09-25 2014-01-01 无锡中星微电子有限公司 Battery protecting circuit and system
CN103545564A (en) * 2012-07-16 2014-01-29 联想(北京)有限公司 Charging battery unit and defect detecting method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1766656A (en) * 2004-10-27 2006-05-03 华为技术有限公司 Cell on-position detecting method for terminal device
JP4535910B2 (en) * 2005-03-16 2010-09-01 株式会社リコー Secondary battery protection circuit, battery pack and electronic device
CN103545564A (en) * 2012-07-16 2014-01-29 联想(北京)有限公司 Charging battery unit and defect detecting method thereof
CN103490389A (en) * 2013-09-25 2014-01-01 无锡中星微电子有限公司 Battery protecting circuit and system

Also Published As

Publication number Publication date
CN105790341A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105790341B (en) A kind of method and circuit for detecting battery
CN106026257B (en) A kind of mobile terminal
CN105978093B (en) A kind of mobile terminal
CN1316710C (en) Accumulator, super capacitor charge-discharge equalizing method and equipment
CN103545882B (en) Battery in-situ test method and device and battery charge system
CN104993534B (en) A kind of mobile terminal and its charge control method
CN102545335A (en) Balanced charge-discharge circuit and balanced charge-discharge method
CN201918748U (en) Charging circuit for electronic equipment
US20140266049A1 (en) Detection and prevention of short formation in battery cells
CN102315492A (en) Power battery pack maintenance device and working method thereof
CN105794079A (en) Method and apparatus for adjusting voltage threshold for battery by measuring internal resistance of battery, and corresponding method and sensor circuit for measuring internal resistance of battery
CN109149674A (en) Battery module and electronic equipment
CN106329643A (en) Charging control method and charging control system
CN104092262B (en) Charging control device and charging control method
CN105911891A (en) Control method with protection function and battery management system
TW200917622A (en) Battery charging method and device thereof
CN105048574A (en) Full-cycle control system for supporting arbitrary parallel connection of different types of charging-discharging devices and control method thereof
CN102231516B (en) Battery protection board, power battery and power battery pack
CN107579566A (en) Battery charger and charging method
CN204794046U (en) Polymer battery protection shield circuit
CN105048579B (en) It is a kind of to solve the problems, such as between different battery packs the mutually method of discharge and recharge
CN107171373A (en) Battery protecting method and device, terminal
CN105790376A (en) Activation method of over-discharged lead acid valve-regulated battery
CN206595737U (en) A kind of lithium battery charging system
CN106571496B (en) Scalable modularization power battery system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 519085 High-tech Zone, Tangjiawan Town, Zhuhai City, Guangdong Province

Patentee after: ACTIONS TECHNOLOGY Co.,Ltd.

Address before: 519085 High-tech Zone, Tangjiawan Town, Zhuhai City, Guangdong Province

Patentee before: ACTIONS (ZHUHAI) TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder