Summary of the invention
The object of the invention is to solve the problem, a kind of electronic product battery abnormal detector and detection method thereof are provided, changed with the pressure detected between battery and electronic product body by pressure sensitive unit, thus judge whether cell shapes occurs the changes such as bulging, analyze battery by analysis and processing unit again and whether occur exception, when the abnormality of the battery occurs, the actions such as warning or shutdown are performed, to ensure to use battery and electronic product more safely and reliably.
For realizing above-mentioned object, the present invention adopts following technical proposals:
A kind of electronic product battery abnormal detector, comprises with lower unit:
Pressure sensitive unit, is separately positioned on the front and back of battery, for responsible collection battery to the force value of electronic product body;
AD conversion unit, is electrically connected with described pressure sensitive unit, and the pressure simulation signal for being collected by pressure sensitive unit converts digital signal to and is sent to analysis and processing unit;
Analysis and processing unit, be electrically connected with described AD conversion unit, data buffer storage unit and output control unit respectively, described analysis and processing unit inside is provided with threshold value, described analysis and processing unit is used for the digital signal being responsible for the described AD conversion unit output of process, judge whether battery exceeds described threshold value to the changing value of the force value of electronic product body, when described changing value exceeds described threshold value, described analysis and processing unit sends interrupt processed command to described output control unit;
Output control unit, is electrically connected with described analysis and processing unit, for receiving the interrupt processed command of described analysis and processing unit, and performs action of reporting to the police or shut down;
Data buffer storage unit, is electrically connected with described analysis and processing unit, for by Real-time Collection to force value do buffer-stored, and wait for calling of described analysis and processing unit.
Further, described pressure sensitive unit comprises pressure transducer, and described pressure transducer adopts capacitive touch and is the pressure transducer of voltage analog output.
Further, described pressure transducer is the pressure transducer of unidirectional amount.
Further, described analysis and processing unit inside arranges a functional switch module; Described functional switch module is used for selection and opens or closes battery abnormal detection function.
Further, described threshold value is call code table, described in call code table and comprise one or more threshold value, user can have the threshold value of otherness according to the different choice of the electronic product used or battery.
Further, described data buffer storage unit is serial Electrically Erasable Read Only Memory.
A kind of electronic product battery method for detecting abnormality, the electronic product battery abnormal detector described in employing, comprises the following steps:
A () pressure sensitive unit gathers battery to the force value of electronic product body, and obtain the first force value;
B described first force value is converted into the first pressure on the number signal and is sent to analysis and processing unit by () AD conversion unit;
C described first pressure on the number signal is stored in data buffer storage unit by () described analysis and processing unit temporarily;
D () described pressure sensitive unit gathers the force value of battery to electronic product body again through a schedule time, obtain the second force value;
E described second force value is converted into the second pressure on the number signal by () described AD conversion unit, be sent to analysis and processing unit;
F () described analysis and processing unit calls the described first pressure on the number signal stored, analyze and judge whether the changing value between described second pressure on the number signal and described first pressure on the number signal exceedes the threshold value of described analysis and processing unit inside setting, if described changing value exceedes threshold value, then perform step (g); If described changing value does not exceed threshold value, then perform step (h);
G () described analysis and processing unit sends interrupt processed command to output control unit;
H () pressure sensitive unit is waited for and is gathered battery to the force value of electronic product body next time.
Further, after step (g), further comprising the steps:
Described output control unit receives described analysis and processing unit interrupt processed command, and performs warning or close the operation of described electronic product.
Further, described analysis and processing unit inside arranges a functional switch module, and described electronic product battery method for detecting abnormality is before the step (a), further comprising the steps:
Open function switch module.
Further, described threshold value is call code table, described in call code table and comprise one or more threshold value, described electronic product battery method for detecting abnormality is before the step (a), further comprising the steps:
According to the difference of electronic product or battery, the threshold value of described analysis and processing unit inside is pre-set.
The invention has the advantages that, utilize the characteristic of described pressure sensitive unit to change with the pressure detected between battery and electronic product body, thus judge whether cell shapes occurs the changes such as bulging.Because force value during battery generation bulging has directivity, and easily judged it is the deformation of battery self by the method comparison that described analysis and processing unit is built-in, or outside is to electronic product applied pressure, therefore judges possibility by accident less.In addition, electronic product battery abnormal detector of the present invention is easy to use, with low cost, is convenient to promote.
Embodiment
Elaborate below in conjunction with the embodiment of accompanying drawing to electronic product battery abnormal detector of the present invention and detection method thereof.
The present invention is changed with the pressure detected between battery and electronic product body by pressure sensitive unit, thus judge whether cell shapes occurs the changes such as bulging, analyze battery by analysis and processing unit again and whether occur exception, when the abnormality of the battery occurs, perform the actions such as warning or shutdown, to ensure to use battery and electronic product more safely and reliably.Wherein said battery mainly refers to the battery in the electronic product not easily dismantled, and described electronic product comprises but is not limited to mobile phone, tracker, panel computer, e-book, fixed CDMA WLL and game machine etc.
See Fig. 1 and Fig. 2, wherein Fig. 1 is the structured flowchart of electronic product battery abnormal detector of the present invention, and Fig. 2 is described pressure sensitive unit installation site schematic diagram.Electronic product battery abnormal detector 100 of the present invention, comprises with lower unit: pressure sensitive unit 110, AD conversion unit 120, analysis and processing unit 130, data buffer storage unit 140, output control unit 150 and power supply unit 160.
Wherein, pressure sensitive unit 110, for responsible collection battery to the force value of electronic product body.Described pressure sensitive unit comprises pressure transducer (i.e. the first pressure transducer 111 and the second pressure transducer 112), and described pressure transducer adopts capacitive touch and is the pressure transducer of voltage analog output.Such as, the pressure transducer of employing is TSP-08 or TSP-10.Principle of work according to capacitance pressure transducer, is learnt, the capacitance of plate condenser is determined by the area coverage of the specific inductive capacity of medium between parallel flat, dull and stereotyped spacing and flat board, when change wherein certain parameter, can change electric capacity at once.In the specific embodiment of the invention, adopt the method (or perhaps change due to the pressure of bulging to electronic product body of battery, the gap between battery and electronic product body also changes thereupon) changing gap to obtain variable electric capacity.The electric capacity of change is converted to the voltage of change again, passes to AD conversion unit 120.Described pressure transducer has the features such as detection of dynamic, highly sensitive, easy to use and structure be simple.As shown in Figure 2, the first pressure transducer 111 and the second pressure transducer 112 are arranged on the front and back of battery respectively.Battery front side contacts with electronic product body back cover, and the first pressure transducer 111 gathers pressure F1 between battery front side and electronic product body back cover.Cell backside contacts with electronic product internal shield cover, and the second pressure transducer 112 gathers pressure F2 between cell backside and radome.When battery uses the abnormal bulging of appearance, be applied to the pressure increase of body back cover and radome.Because force value during battery generation bulging has directivity, and easily judged it is the deformation of battery self by the method comparison that described analysis and processing unit 130 is built-in, or outside is to electronic product applied pressure, therefore judges possibility by accident less.The step that described algorithm adopts is as follows: when (1) battery normal mounting is in electronic product, have initial F1 and F2, get its absolute value, be recorded in data buffer storage unit 140 by analysis and processing unit 130.(2) first threshold, Second Threshold and the 3rd threshold value can be pre-set in analysis and processing unit 130.Wherein first threshold represents under normal circumstances, when there is front bulging in battery allow the pressure that increases, Second Threshold represents under normal circumstances, when there is back side bulging in battery allow the pressure that increases, 3rd threshold value table is shown under normal circumstances, when there is two-sided bulging in battery allow the pressure (3) that increases when the abnormality of the battery occurs, inside battery gaseous tension increases, battery is made to occur front, the back side or two-sided bulging, the pressure increased is respectively | Δ F1|, | Δ F2| and | Δ F1|+| Δ F2|, when the pressure that in three, any one increases exceedes the respective threshold (first threshold of setting, Second Threshold and the 3rd threshold value), then start output control unit 150 to perform warning or close electronic product operation.Such as, arranging first threshold is 6, and Second Threshold is the 4, three threshold value is 8.When front supercharging is more than 6, or backside pressurization is more than 4, or front supercharging and backside pressurization and more than 8, be all judged as that threshold value exceeds standard.
Described pressure transducer is the pressure transducer of unidirectional amount.Due to the size of a unidirectional amount detected pressures, the not direction of detected pressures, and force value is taken absolute value, so the force value obtained be on the occasion of.In embodiment of the present invention, adopt the pressure transducer of unidirectional amount, fastly can record battery pressure change to external world easily.Except using the pressure transducer of unidirectional amount, multidirectional piezometric force snesor or other sensors can also be used, so that the size and Orientation of detected pressures.
AD conversion unit 120, is electrically connected with described pressure sensitive unit 110, and the pressure simulation signal collected for pressure sensitive unit converts digital signal to and is sent to analysis and processing unit 130.Wherein, AD conversion unit 120 comprises a modulus conversion chip.Described modulus conversion chip adopts LTC2450-1.Because this chip size is less, the size of whole electronic product battery abnormal detector therefore can be made thereupon also can to reduce, be applicable to more miniaturized electronic product like this.
Analysis and processing unit 130, be electrically connected with described AD conversion unit 120, data buffer storage unit 140 and output control unit 150 respectively, described analysis and processing unit 130 inside is provided with threshold value, the digital signal that described analysis and processing unit 130 exports for the described AD conversion unit 120 of responsible process, judge whether battery exceeds described threshold value to the changing value of the force value of electronic product body, when described changing value exceeds described threshold value, described analysis and processing unit 130 sends interrupt processed command to described output control unit 150.Described analysis and processing unit 130 comprises a microprocessor.Described micro-process adopts MC9S08QG8 processor, and it has features such as accelerating analog-to-digital conversion rate, Highgrade integration, high degree of flexibility and low-power consumption.Described analysis and processing unit inside arranges a functional switch module; Described functional switch module is for selecting the battery abnormal detection function opening or closing described electronic product battery abnormal detector 100.Described threshold value is call code table, described in call code table and comprise one or more threshold value, user can have the threshold value of otherness according to the different choice of the electronic product used or battery.
Data buffer storage unit 140, is electrically connected with described analysis and processing unit 130, for by Real-time Collection to force value do buffer-stored, and wait for calling of described analysis and processing unit 130.Described data buffer storage unit is serial Electrically Erasable Read Only Memory (Electrically Erasable Programmable Read-Only Memory is called for short EEPROM).Described serial Electrically Erasable Read Only Memory comprises the communication interface of internal integrate circuit bus (Inter-Integrated Circuit, being called for short I2C, is a kind of two-way scale-of-two bus).The memory capacity of described serial Electrically Erasable Read Only Memory is no less than 2K byte.The reading and writing data speed of described serial Electrically Erasable Read Only Memory is musec order, writes requirement in real time for meeting data.When data are write completely, address resets by analysis and processing unit 130 automatically, covers and write new data from first address.
Output control unit 150, is electrically connected with described analysis and processing unit 130, for receiving the interrupt processed command of described analysis and processing unit, and performs warning or closes electronic product operation.
Power supply unit 160, is electrically connected with pressure sensitive unit 110, AD conversion unit 120, analysis and processing unit 130 and data buffer storage unit 140 respectively, powers for being responsible for whole electronic product battery abnormal detector.
In order to solve the problem, present invention also offers a kind of electronic product battery method for detecting abnormality, adopt described electronic product battery abnormal detector.(Fig. 3 is the implementation step schematic diagram of the embodiment of electronic product battery method for detecting abnormality of the present invention) shown in Figure 3, the implementation step of the embodiment of described method is as follows:
Refer step S301: open function switch module.This step is optional step.Except artificially opening this functional switch module, or can by factory default parameters for open function switch module is to reach same effect.
Refer step S302: according to the difference of electronic product or battery, the threshold value of analysis and processing unit inside is pre-set.This step is optional step, a value can be set to by unified for the threshold value of all electronic products, also according to the difference of actual electronic product (such as, mobile phone, tracker, panel computer, e-book, fixed CDMA WLL and game machine etc.), described threshold value can be arranged respectively to electronic product multiple threshold values different accordingly.Equally, which also can be different according to the position (i.e. front, the back side or two sides) of the model of battery or battery bulging, arrange different threshold values.
Refer step S303: pressure sensitive unit gathers battery to the force value of electronic product body, and obtains the first force value.
In this step, when pressure sensitive unit gathers the force value of battery to electronic product body, battery is in normal condition.In the specific embodiment of the invention, pressure sensitive unit comprises the first pressure transducer and the second pressure transducer, and described first pressure transducer and the second pressure transducer jointly gather the double sided pressure value (i.e. battery produce body back cover and body radome pressure) of battery and be recorded as the first force value.Wherein, need (namely take absolute value and be added) be added up to be the first force value the double sided pressure value of battery.Battery to the pressure that body back cover produces is | F1|, and battery to the pressure that body radome produces is | F2|, then the first force value is | F1|+|F2|.Except specific embodiment of the present invention, pressure transducer gathers outside the double sided pressure value of battery, in other embodiment of the present invention, pressure transducer only can also gather the positive pressure value (i.e. battery produce body back cover pressure) of battery, or the backside pressure value of battery (i.e. battery produce body radome pressure), is recorded as the first force value.User can determine according to the threshold value setting in analysis and processing unit or actual conditions.
Refer step S304: described first force value is converted into the first pressure on the number signal and is sent to analysis and processing unit by AD conversion unit.
Refer step S305: described first pressure on the number signal is stored in data buffer storage unit by described analysis and processing unit temporarily.
Refer step S306: described pressure sensitive unit gathers the force value of battery to electronic product body again through a schedule time, obtains the second force value.
Through use after a while, battery may change (such as bulging).In the specific embodiment of the invention, described first pressure transducer and the second pressure transducer again jointly gather the double sided pressure value (i.e. battery produce body back cover and body radome pressure) of battery and are recorded as the second force value.Wherein, need (namely take absolute value and be added) be added up to be the second force value the double sided pressure value of battery.Now battery to the pressure that body back cover produces is | F1 ' |, battery to the pressure that body radome produces is | F2 ' |, then the second force value is | F1 ' |+| F2 ' |.
Refer step S307: described second force value is converted into the second pressure on the number signal by described AD conversion unit, is sent to analysis and processing unit.Wherein, can be arranged by the embedded software of described electronic product battery abnormal detector, periodically gather the force value of battery to electronic product body to make pressure sensitive unit.The time gathered can predetermined set be one week, one month, a season, half a year or 1 year etc.Like this, battery is gathered regularly to the force value of electronic product body, to ensure the normal condition of battery.
Refer step S308: described analysis and processing unit calls the described first pressure on the number signal stored, analyze and judge whether the changing value between described second pressure on the number signal and described first pressure on the number signal exceedes the threshold value of described analysis and processing unit inside setting, if described changing value exceedes threshold value, then perform refer step S309; If described changing value does not exceed threshold value, then perform refer step S311.
Wherein, the changing value between described second pressure on the number signal and the first pressure on the number signal is Δ F=| Δ F1|+| Δ F2|; In formula | Δ F1|=|F1 ' |-| F1|; | Δ F2|=|F2 ' |-| F2|.(| Δ F1| represents the pressure change that battery produces body back cover, | Δ F2| represents the pressure change that battery produces body radome).By calculating the difference of the first force value and the second force value, obtain change value of pressure Δ F.Then, change value of pressure Δ F and the threshold value arranged are compared.
Refer step S309: described analysis and processing unit sends the order of interrupt processing to output control unit.
Refer step S310: described output control unit accepts described analysis and processing unit interrupt processed command, and perform warning or close electronic product.Wherein, output control unit can be connected with external alert device, be an alarm command when output control unit receives interrupt processed command, then trigger external warning device sends chimes of doom automatically, exception may be there is to point out user's battery, need to check, ensure that safety and reliability ground uses battery and electronic product.Equally, be a shutdown command when output control unit receives interrupt processed command, then perform the operation of closing electronic product by the shutdown module of described electronic product battery abnormal detector.When battery bulging is very serious, by closing electronic product, electronic product can be avoided to cause unnecessary damage (such as, the circuit board short circuit of electronic product due to abnormal use, body spontaneous combustion, self-destruction phenomenon), and also improve the serviceable life of electronic product.
Refer step S311: pressure sensitive unit is waited for and gathered battery to the force value of electronic product body next time.
The above is only the preferred embodiment of the present invention; it should be pointed out that 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.