CN107256190A - Battery method in place is detected in a kind of EC programs - Google Patents

Battery method in place is detected in a kind of EC programs Download PDF

Info

Publication number
CN107256190A
CN107256190A CN201710500849.9A CN201710500849A CN107256190A CN 107256190 A CN107256190 A CN 107256190A CN 201710500849 A CN201710500849 A CN 201710500849A CN 107256190 A CN107256190 A CN 107256190A
Authority
CN
China
Prior art keywords
battery
voltage
judge
thermistor
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710500849.9A
Other languages
Chinese (zh)
Inventor
陈乃阔
赵全烈
吴登勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201710500849.9A priority Critical patent/CN107256190A/en
Publication of CN107256190A publication Critical patent/CN107256190A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Abstract

The present invention, which is disclosed, detects battery method in place in a kind of EC programs, be related to field of battery management;Obtain the both end voltage of inside battery thermistor; judge whether both end voltage exceedes overtemperature protection voltage; exist no more than then battery; otherwise detected by way of communication; if communicating successfully, represent that battery is present, otherwise battery has flag bit clearing; repeat the operation of the both end voltage of reading inside battery thermistor, proceed to judge;The problems such as over-discharge occurs in battery can be prevented to battery in EC programs with the presence or absence of detecting using the inventive method, can play a part of preventing battery from overheating again.

Description

Battery method in place is detected in a kind of EC programs
Technical field
The present invention, which is disclosed, detects battery method in place in a kind of EC programs, be related to field of battery management, specifically Detect the method that battery whether there is in the EC programs of portable set.
Background technology
In a portable device, Intelligent lithium battery and intelligent charger are widely used.The discharge and recharge of Intelligent lithium battery The upload of journey and battery information, is all that embedded controller EC is controlled.EC is embedded controller contracting Write, for perform specified independent control function and with complex process data capability control system.By embedded microelectronics skill Art chip is come the electronic equipment or device that control, so that the device can complete monitoring, the various automations such as control Processing task.EC is typically connected by SMBUS buses with Intelligent lithium battery and intelligent charger, and uses lpc bus and main frame Communicated.
Under operating system, the state that the icon of battery can also exist according to battery is shown, and Intelligent lithium battery Charging process is carried out under conditions of battery presence, and after battery is pulled out, battery has flag bit clearing, it is impossible to carry out The operation of battery.And the charging process of Intelligent lithium battery is controlled by EC, charge step is broadly divided into four-stage:Wake-up is filled Electricity, be pre-charged, charge normal and be full of.There is flag bit whether to judge battery generally according to battery, and battery whether there is To battery charging and discharging and other on it is battery-operated judge it is particularly significant.The present invention provides detection battery in a kind of EC programs and existed The method of position, to battery in EC programs with the presence or absence of detecting, prevents the problems such as over-discharge occurs in battery, can play anti-again The only effect of battery overheat.
The content of the invention
There is provided battery side in place is detected in a kind of EC programs with problem in view of the shortcomings of the prior art by the present invention Method, the not only display of battery charging and discharging flow and battery under system provides condition, can also prevent battery from over-discharge occur The problems such as, it can play a part of preventing battery from overheating again.
Concrete scheme proposed by the present invention is:
Battery method in place is detected in a kind of EC programs, the both end voltage of inside battery thermistor is obtained, two ends electricity is judged Whether pressure exceedes overtemperature protection voltage, exists no more than then battery, is otherwise detected by way of communication, if communicating into Work(, represents that battery is present, otherwise battery has flag bit clearing, repeats to read the both end voltage of inside battery thermistor Operation, proceed judge.
When judging that both end voltage is no more than overtemperature protection voltage, battery overheat flag is reset, otherwise passes through communication Mode detected, is to judge that adapter whether there is if battery overheat flag is zero and communicated successfully, in the absence of then opening Dynamic battery overheat protecting flow, otherwise judges whether that battery overheat flag is 1 and communicated successfully, is that then battery has mark Position, otherwise there is flag bit clearing in battery, repeat read inside battery thermistor both end voltage operation, continue into Row judges.
Described method, the thermistor output end of battery is connected with EC ADC pins, calculated according to hardware circuit The value of Thermal protection voltage.
Described method, the voltage at thermistor two ends is obtained using analog-digital converter.
Described method, is detected by way of SMBUS bus communications.
Usefulness of the present invention is:
The present invention provides a kind of detection battery method in place in EC programs, obtains the both end voltage of inside battery thermistor, Judge whether both end voltage exceedes overtemperature protection voltage, exist no more than then battery, otherwise detected by way of communication, If communicating successfully, represent that battery is present, otherwise battery has flag bit clearing, repeat to read inside battery thermistor The operation of both end voltage, proceeds to judge;
It can prevent battery from over-discharge etc. occur and asking to battery in EC programs with the presence or absence of detecting using the inventive method Topic, can play a part of preventing battery from overheating again.
Brief description of the drawings
Fig. 1 the inventive method schematic flow sheets.
Embodiment
The present invention provides a kind of detection battery method in place in EC programs, obtains the two ends electricity of inside battery thermistor Pressure, judges whether both end voltage exceedes overtemperature protection voltage, exists no more than then battery, is otherwise examined by way of communication Survey, if communicating successfully, represent that battery is present, otherwise battery has flag bit clearing, repeat to read inside battery temperature-sensitive electricity The operation of the both end voltage of resistance, proceeds to judge.
With reference to accompanying drawing and specific implementation, the present invention will be further described.
Using the inventive method, the voltage inside battery thermistor two ends is obtained using analog-digital converter, two ends are judged Whether voltage exceedes overtemperature protection voltage, exists no more than then battery, is otherwise examined by way of SMBUS bus communications Survey, if communicating successfully, represent that battery is present, otherwise battery has flag bit clearing, repeat to read inside battery temperature-sensitive electricity The operation of the both end voltage of resistance, proceeds to judge.
, can be by the voltage at thermistor two ends when the above method is implemented, the corresponding temperature of acquisition of tabling look-up, if setting electricity Pond temperature needs to carry out overtemperature protection to battery when exceeding certain temperature, then now the voltage at thermistor two ends is just protected for overheat Voltage is protected, the thermistor output end of battery can be also connected with EC ADC pins, overtemperature protection electricity is calculated according to hardware circuit The value of pressure;
Then judge whether both end voltage exceedes overtemperature protection voltage using the inventive method, during no more than overtemperature protection voltage, Battery overheat flag is reset, otherwise detected by way of SMBUS bus communications, if battery overheat flag is zero And communicate successfully, it is to judge that adapter whether there is, in the absence of battery overheat protecting flow is then started, otherwise judges whether electricity Pond overheat flag is 1 and communicated successfully, is that battery has flag bit, otherwise battery has flag bit clearing, repeats The operation of the both end voltage of inside battery thermistor is read, proceeds to judge.
The flow of above-mentioned startup battery overheat protecting can write program according to course diagram, and when battery is overheated, startup is fallen Timing shutdown process, and pointed out by indicator lamp, to start battery protective effect.
So can prevent battery from occurring excessive to battery in EC programs with the presence or absence of detecting using the inventive method The problems such as electric discharge, it can play a part of preventing battery from overheating again.

Claims (5)

1. battery method in place is detected in a kind of EC programs, it is characterized in that the both end voltage of inside battery thermistor is obtained, Judge whether both end voltage exceedes overtemperature protection voltage, exist no more than then battery, otherwise detected by way of communication, If communicating successfully, represent that battery is present, otherwise battery has flag bit clearing, repeat to read inside battery thermistor The operation of both end voltage, proceeds to judge.
2. according to the method described in claim 1, it is characterized in that judge both end voltage be no more than overtemperature protection voltage when, by battery Overheat flag to reset, otherwise detected by way of communication, be then if battery overheat flag is zero and communicated successfully Judge that adapter whether there is, in the absence of battery overheat protecting flow is then started, otherwise judge whether that battery overheat flag is 1 And communicate successfully, it is that battery has flag bit, otherwise battery has flag bit clearing, repeats to read inside battery temperature-sensitive The operation of the both end voltage of resistance, proceeds to judge.
3. method according to claim 1 or 2, it is characterized in that by the thermistor output end of battery and EC ADC pins It is connected, the value of overtemperature protection voltage is calculated according to hardware circuit.
4. method according to claim 3, it is characterized in that obtaining the voltage at thermistor two ends using analog-digital converter.
5. method according to claim 4, it is characterized in that being detected by way of SMBUS bus communications.
CN201710500849.9A 2017-06-27 2017-06-27 Battery method in place is detected in a kind of EC programs Pending CN107256190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710500849.9A CN107256190A (en) 2017-06-27 2017-06-27 Battery method in place is detected in a kind of EC programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710500849.9A CN107256190A (en) 2017-06-27 2017-06-27 Battery method in place is detected in a kind of EC programs

Publications (1)

Publication Number Publication Date
CN107256190A true CN107256190A (en) 2017-10-17

Family

ID=60024316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710500849.9A Pending CN107256190A (en) 2017-06-27 2017-06-27 Battery method in place is detected in a kind of EC programs

Country Status (1)

Country Link
CN (1) CN107256190A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086516A (en) * 2006-06-07 2007-12-12 华为技术有限公司 Battery in-position detection system when charging of electronic apparatus
CN103353566A (en) * 2013-07-23 2013-10-16 成都四威航空电源有限公司 Cell in-place detection circuit for simulation circuit apparatus
CN103545882B (en) * 2013-10-11 2015-07-22 华为技术有限公司 Battery in-situ test method and device and battery charge system
CN205049711U (en) * 2015-10-21 2016-02-24 艾体威尔电子技术(北京)有限公司 Battery detection device on throne
CN105572593A (en) * 2014-10-11 2016-05-11 中兴通讯股份有限公司 Device and method for battery in-position detection, and charging system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086516A (en) * 2006-06-07 2007-12-12 华为技术有限公司 Battery in-position detection system when charging of electronic apparatus
CN103353566A (en) * 2013-07-23 2013-10-16 成都四威航空电源有限公司 Cell in-place detection circuit for simulation circuit apparatus
CN103545882B (en) * 2013-10-11 2015-07-22 华为技术有限公司 Battery in-situ test method and device and battery charge system
CN105572593A (en) * 2014-10-11 2016-05-11 中兴通讯股份有限公司 Device and method for battery in-position detection, and charging system
CN205049711U (en) * 2015-10-21 2016-02-24 艾体威尔电子技术(北京)有限公司 Battery detection device on throne

Similar Documents

Publication Publication Date Title
US6661200B2 (en) Rechargeable power supply system and method of protection against abnormal charging
US7024574B2 (en) Method and structure for switching between two battery units for driving an electrically driven device
JP5098912B2 (en) Battery pack and charge control system
US8203312B2 (en) Battery pack and control method
KR100987606B1 (en) Apparatus and method for correcting measurements of remaining capacity of battery pack
JP2607024B2 (en) How to monitor battery discharge
TWI476977B (en) Method and system for float charging a battery
WO2004097956A3 (en) Dual use thermistor for battery cell thermal protection and battery pack overcharge/undercharge protection
US10488906B2 (en) Power delivery based on temperature and other factors in a power storage adapter
WO2014180243A1 (en) Mobile terminal
JP2007189789A (en) Battery pack and electronic equipment
US10020548B2 (en) Gauging method for battery discharge-capacity corresponding to temperature and electronic device using the same
US20150145467A1 (en) Rechargeable battery temperature detection method, power management device and electronic system
KR20120133462A (en) Apparatus and Method for warning against overheat of battery pack
CN102984368B (en) A kind of mobile terminal for automatically identifying genuine battery and recognition methods thereof
TW201813183A (en) Battery device, electronic device and methods for protecting the electronic device
US8756025B2 (en) Temperature sensing of electric batteries
CN110504503B (en) Starting battery control system and control method for automobile
CN110221679B (en) Reinforcing device and method for realizing low-temperature operation of reinforcing device
US20100033131A1 (en) Portable device and control method thereof
CN107256190A (en) Battery method in place is detected in a kind of EC programs
JP3630228B2 (en) POWER SUPPLY DEVICE, BATTERY, ELECTRIC DEVICE, AND MEMORY EFFECT DETECTION METHOD
CN104009262A (en) Battery protection method and electronic device applying the same
TWI628894B (en) A charger circuit and a power system
CN106685017B (en) A kind of charge protection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171017

RJ01 Rejection of invention patent application after publication