CN107202962A - VMC controller is gathered and evaluation method with electric quantity of lithium battery - Google Patents

VMC controller is gathered and evaluation method with electric quantity of lithium battery Download PDF

Info

Publication number
CN107202962A
CN107202962A CN201710438595.2A CN201710438595A CN107202962A CN 107202962 A CN107202962 A CN 107202962A CN 201710438595 A CN201710438595 A CN 201710438595A CN 107202962 A CN107202962 A CN 107202962A
Authority
CN
China
Prior art keywords
lithium battery
mcu
adc
data
electricity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710438595.2A
Other languages
Chinese (zh)
Other versions
CN107202962B (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.)
Suzhou Bayair Purifying Science And Technology Co Ltd
Original Assignee
Suzhou Bayair Purifying Science And 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 Suzhou Bayair Purifying Science And Technology Co Ltd filed Critical Suzhou Bayair Purifying Science And Technology Co Ltd
Priority to CN201710438595.2A priority Critical patent/CN107202962B/en
Publication of CN107202962A publication Critical patent/CN107202962A/en
Application granted granted Critical
Publication of CN107202962B publication Critical patent/CN107202962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • G01R31/3648Constructional arrangements comprising digital calculation means, e.g. for performing an algorithm

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Tests Of Electric Status Of Batteries (AREA)

Abstract

Gathered present invention is disclosed a kind of VMC controller with electric quantity of lithium battery and evaluation method, this method comprises the following steps:After MCU initialization is finished, ADC DMA channel is opened, and timer is opened, during ADC sampling time timing ga(u)ges, and MCU collects the voltage of lithium battery by ADC and will read each battery core voltage parameter of lithium battery and send to menu function and correlation function and handled;After menu function and correlation function are handled, judge whether the ADC sampling times are timed to by MCU and reach, reached if the ADC sampling times are not timed to, re-start and be back to menu function and correlation function processing;Reached if the ADC sampling times are timed to, MCU judges whether the charged state of lithium battery is in high level state.Technical scheme can calculate the voltage condition of current lithium battery exactly, greatly increase the accuracy that new trend controller judges the electricity precision of lithium battery demand.

Description

VMC controller is gathered and evaluation method with electric quantity of lithium battery
Technical field
Gathered the present invention relates to a kind of new trend controller with electric quantity of lithium battery and evaluation method, belong to VMC technology neck Domain.
Background technology
With the fast development of domestic industry, environment is contaminated, and air quality is deteriorated, and haze happens occasionally, people The quality of air is increasingly paid close attention to, and needs a good living environment, the proposition of VMC allows people to air matter Amount sees hope.VMC refers to what is be made up of the ventilating fan that can take a breath and purify air, pipeline and some annexes A set of independent air processing system, ventilating fan can be by outdoor live gas by filtering, purification, and is pipelined to Interior, while the air of foul indoor is discharged outdoor.
Lithium battery is high due to its energy density, and small volume is lightweight, environment friendly and pollution-free, the remarkable advantage such as memory-less effect Progressively turn into the first choice of energy field, lithium battery is as the power source of new trend controller in use due to cell voltage It is not linear relationship between dump energy, working time, so it is remaining simply to use voltage sample, function to calculate Electricity.It is typically to increase a dedicated for monitoring battery in real time in the charging of lithium battery and its protection circuit in the prior art State I C, the chip can monitor the parameters such as voltage, electric current, discharge and recharge situation and the dump energy of battery in real time, it is possible to These data storages are got up, and there is provided handled accordingly to MCU.This mode is adapted to mobile phone, digital camera, audio/video player Used Deng portable electric appts, because management of these equipment to electricity is more strict.Another is to utilize external high accuracy Leakage resistance and high-precision amplifier are examined, is obtained accurately in shorter cycle down-sampling with the faster single-chip microcomputer of arithmetic speed Value, because VMC controller judges that demand is less accurate to the electricity precision of lithium battery, so both the above scheme is from work( The demand of new trend controller can be met on energy, but cost is too high, loses more than gain.
The content of the invention
The purpose of the present invention is exactly to be used to solve the above-mentioned problems in the prior art there is provided a kind of new trend controller Electric quantity of lithium battery is gathered and evaluation method.
The purpose of the present invention will be achieved by the following technical programs:VMC controller is gathered with electric quantity of lithium battery With evaluation method, this method comprises the following steps --
S1:After MCU initialization is finished, ADC DMA channel is opened, and timer is opened, during ADC sampling time timing ga(u)ges, MCU collects the voltage of lithium battery by ADC and will read each battery core voltage parameter of lithium battery and sends to menu function and phase Function is closed to be handled;
S2:After menu function and correlation function are handled, judge whether the ADC sampling times are timed to by MCU and reach, if ADC Sampling time, which is not timed to, to be reached, then re-starts and be back to menu function and correlation function processing;If the ADC sampling times determine When reach, then MCU judge lithium battery charged state whether be in high level state;
S3:If MCU judges that the charged state of lithium battery is in high level state, display lithium battery is charging and ADC is adopted Reset during the timing ga(u)ge of sample time;If the charged state of lithium battery is not high level state, ADC sample datas are cached Sampling, handles the sample data that measurement is obtained with bubbling algorithm, obtains the ascending order data of a sample data, logarithm Computing of averaging is carried out in middle sample data according to middle sequence, and then obtains metastable data, according to electric resistance partial pressure The current voltage of ratio calculation lithium battery, then MCU contrast charging and discharging lithium battery curve map, show electric quantity of lithium battery situation and Reset during ADC sampling time timing ga(u)ges;
S4:Corresponding judgement is made after MCU contrast charging and discharging lithium battery curve maps and is handled, when the electricity of lithium battery is shown as low During electricity, at this moment system can send alarm, when the electricity of lithium battery is shown as normal electricity scope, the normal work of system Make, when the electricity of lithium battery is shown as ultralow electricity, system can be closed.
Preferably, the sample data is 32 groups of data.
Preferably, the bubbling algorithm comprises the following steps --
S1:ADC buffer inlets, exponent number is counted(i)1 is put, judges that exponent number is counted(i)Whether 32 are less than, if not, judging that data change Whether become flag bit into 0, if being not 0, then return, be such as 0, then export the array sorted, EP (end of program);
S2:As exponent number is counted(i)Less than 32, then data change mark position 0, count(j)Set to 0, then judge to count(j)Whether Less than 32-i, then carry out judging data cached in this way【j】Whether it is more than data cached【j+1】, such as larger than, then data change mark Position 1, it is data cached【j】With caching array【j+1】Exchange, count(j)From increasing 1, exponent number counting is returned to(i)It is such as small from increasing 1 In then counting(j)From increasing 1, exponent number counting is returned to(i)From increasing 1.
The advantage of technical solution of the present invention is mainly reflected in:Technical scheme can calculate current lithium electricity exactly The voltage condition in pond, greatly increases the accuracy that new trend controller judges the electricity precision of lithium battery demand, reduces The product cost of new trend controller.
Brief description of the drawings
Fig. 1 is new trend controller lithium battery voltage detection circuit diagram of the present invention.
Fig. 2 is new trend controller lithium battery voltage sampling routine figure of the present invention.
Fig. 3 is that 32 groups of magnitudes of voltage of new trend controller lithium battery of the present invention carry out the programme diagram of bubbling algorithm.
Embodiment
The purpose of the present invention, advantage and feature, will be carried out by the non-limitative illustration of preferred embodiment below diagram and Explain.These embodiments are only the prominent examples using technical solution of the present invention, it is all take equivalent substitution or equivalent transformation and The technical scheme of formation, all falls within the scope of protection of present invention.
Gathered present invention is disclosed a kind of new trend controller with electric quantity of lithium battery and evaluation method.The lithium electricity of new trend controller Cell voltage detects circuit as shown in figure 1, lithium battery voltage detection circuit includes resistance R3, resistance R4, MCU, charging IC, resistance R3 first end is connected with lithium battery, and resistance R3 the second end is electrically connected with MCU ADC interface, resistance R4 first end, Resistance R4 the second end ground connection, MCU data output is electrically connected with the data input port for the IC that charges.MCU passes through with charging IC RS serial ports is connected, and charging IC charged state I/O port is connected to MCU inputting testing terminal.
MCU selects the single-chip microcomputer of 32, and MCU refers to micro-control unit, and ADC refers to analog-to-digital converting module, ADC precision For 12, resistance R3 and R4 are precision resister, and MCU, ADC, precision resister R3 and precision resister R4 constitute partial pressure electricity Road, it is ensured that input voltage is no more than MCU reference voltage, charging IC charged state I/O port is connected to MCU input test side Mouthful, decision level state is passed through by port MCU, so that it may know whether lithium battery is in charged state.MCU is adopted by ADC Collection, obtains the voltage of current lithium battery, then compares the charging and discharging curve figure of voltage and lithium battery, just obtains current lithium electricity The charge condition in pond.
New trend controller lithium battery voltage sampling routine figure, as shown in Fig. 2 VMC controller is adopted with electric quantity of lithium battery Collection comprises the following steps with evaluation method --
S1:After MCU initialization is finished, ADC DMA channel is opened, and timer is opened, during ADC sampling time timing ga(u)ges, MCU collects the voltage of lithium battery by ADC and will read each battery core voltage parameter of lithium battery and sends to menu function and phase Function is closed to be handled;DMA English spelling for " Direct Memory Access ", i.e. direct memory access, be it is a kind of not By CPU directly from the data exchange mode of memory access data.In dma mode, DMA uses special hardware writes data Calculator memory is transferred directly to, so as to improve the data throughout of system, CPU need only assign instruction to dma controller, allow Dma controller carrys out the transmission of processing data, and Data Transfer Done is given CPU feedback of the information again, thus largely mitigated Cpu resource occupation rate, can greatly save system resource.
S2:After menu function and correlation function are handled, judge whether the ADC sampling times are timed to by MCU and reach, if The ADC sampling times, which are not timed to, to be reached, then re-starts and be back to menu function and correlation function processing;If ADC samples Between be timed to and reach, then MCU judges whether the charged state of lithium battery is in high level state;
S3:If MCU judges that the charged state of lithium battery is in high level state, display lithium battery is charging and ADC is adopted Reset during the timing ga(u)ge of sample time;If the charged state of lithium battery is not high level state, ADC sample datas are cached Sampling, the sample data is preferably 32 groups of data, and it can also be other numbers that the sample data, which is not limited only to 32 groups of sample datas, According to being handled with bubbling algorithm the obtained sample data of measurement, the ascending order data of a sample data obtained, to data Middle sequence carries out computing of averaging in middle sample data, specifically, enters to being sorted in data in 16 groups of middle data Capable calculating of averaging, when sample data chooses other values, change can also be ensued in middle sample data value by sorting Change, and then obtain metastable data, according to the current voltage of electric resistance partial pressure ratio calculation lithium battery, then MCU contrasts lithium Battery charging and discharging curve map, resets when showing electric quantity of lithium battery situation and ADC sampling time timing ga(u)ges;
S4:Corresponding judgement is made after MCU contrast charging and discharging lithium battery curve maps and is handled, when the electricity of lithium battery is shown as low During electricity, at this moment system can send alarm, when the electricity of lithium battery is shown as normal electricity scope, the normal work of system Make, when the electricity of lithium battery is shown as ultralow electricity, system can be closed.
The bubbling algorithm comprises the following steps --
S1:ADC buffer inlets, exponent number is counted(i)1 is put, judges that exponent number is counted(i)Whether 32 are less than, if not, judging that data change Whether become flag bit into 0, if being not 0, then return, be such as 0, then export the array sorted, EP (end of program);
S2:As exponent number is counted(i)Less than 32, then data change mark position 0, count(j)Set to 0, then judge to count(j)Whether Less than 32-i, then carry out judging data cached in this way【j】Whether it is more than data cached【j+1】, such as larger than, then data change mark Position 1, it is data cached【j】With caching array【j+1】Exchange, count(j)From increasing 1, exponent number counting is returned to(i)It is such as small from increasing 1 In then counting(j)From increasing 1, exponent number counting is returned to(i)From increasing 1.
Technical scheme can calculate the voltage condition of current lithium battery exactly, greatly increase new air control Device processed judges the electricity precision of lithium battery the accuracy of demand, reduces the product cost of new trend controller.

Claims (3)

1. VMC controller is gathered and evaluation method with electric quantity of lithium battery, it is characterised in that:This method includes following step Suddenly --
S1:After MCU initialization is finished, ADC DMA channel is opened, and timer is opened, during ADC sampling time timing ga(u)ges, MCU collects the voltage of lithium battery by ADC and will read each battery core voltage parameter of lithium battery and sends to menu function and phase Function is closed to be handled;
S2:After menu function and correlation function are handled, judge whether the ADC sampling times are timed to by MCU and reach, if ADC Sampling time, which is not timed to, to be reached, then re-starts and be back to menu function and correlation function processing;If the ADC sampling times determine When reach, then MCU judge lithium battery charged state whether be in high level state;
S3:If MCU judges that the charged state of lithium battery is in high level state, display lithium battery is charging and ADC is adopted Reset during the timing ga(u)ge of sample time;If the charged state of lithium battery is not high level state, ADC sample datas are cached Sampling, handles the sample data that measurement is obtained with bubbling algorithm, obtains the ascending order data of a sample data, logarithm Computing of averaging is carried out in middle sample data according to middle sequence, and then obtains metastable data, according to electric resistance partial pressure The current voltage of ratio calculation lithium battery, then MCU contrast charging and discharging lithium battery curve map, show electric quantity of lithium battery situation and Reset during ADC sampling time timing ga(u)ges;
S4:Corresponding judgement is made after MCU contrast charging and discharging lithium battery curve maps and is handled, when the electricity of lithium battery is shown as low During electricity, at this moment system can send alarm, when the electricity of lithium battery is shown as normal electricity scope, the normal work of system Make, when the electricity of lithium battery is shown as ultralow electricity, system can be closed.
2. VMC controller according to claim 1 is gathered and evaluation method with electric quantity of lithium battery, it is characterised in that: The sample data is 32 groups of data.
3. VMC controller according to claim 1 is gathered and evaluation method with electric quantity of lithium battery, it is characterised in that: The bubbling algorithm comprises the following steps --
S1:ADC buffer inlets, exponent number is counted(i)1 is put, judges that exponent number is counted(i)Whether 32 are less than, if not, judging that data change Whether become flag bit into 0, if being not 0, then return, be such as 0, then export the array sorted, EP (end of program);
S2:As exponent number is counted(i)Less than 32, then data change mark position 0, count(j)Set to 0, then judge to count(j)Whether Less than 32-i, then carry out judging data cached in this way【j】Whether it is more than data cached【j+1】, such as larger than, then data change mark Position 1, it is data cached【j】With caching array【j+1】Exchange, count(j)From increasing 1, exponent number counting is returned to(i)It is such as small from increasing 1 In then counting(j)From increasing 1, exponent number counting is returned to(i)From increasing 1.
CN201710438595.2A 2017-06-12 2017-06-12 Lithium battery electric quantity collecting and judging method for fresh air system controller Active CN107202962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710438595.2A CN107202962B (en) 2017-06-12 2017-06-12 Lithium battery electric quantity collecting and judging method for fresh air system controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710438595.2A CN107202962B (en) 2017-06-12 2017-06-12 Lithium battery electric quantity collecting and judging method for fresh air system controller

Publications (2)

Publication Number Publication Date
CN107202962A true CN107202962A (en) 2017-09-26
CN107202962B CN107202962B (en) 2021-09-03

Family

ID=59907515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710438595.2A Active CN107202962B (en) 2017-06-12 2017-06-12 Lithium battery electric quantity collecting and judging method for fresh air system controller

Country Status (1)

Country Link
CN (1) CN107202962B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109932659A (en) * 2017-12-15 2019-06-25 蔚来汽车有限公司 Battery of electric vehicle electricity statistical method and battery of electric vehicle electricity statistical module
CN110261791A (en) * 2019-07-22 2019-09-20 天能电池集团股份有限公司 A kind of battery group cycle life fast appraisement method
CN110275467A (en) * 2019-06-25 2019-09-24 江苏理工学院 Control system based on circuit physical parameter detecting
CN111142028A (en) * 2020-02-20 2020-05-12 广东天波信息技术股份有限公司 Method and device for measuring electric quantity of lithium battery
CN113640681A (en) * 2021-08-12 2021-11-12 河南卓正电子科技有限公司 Battery power supply device process voltage detection circuit and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387663A (en) * 2007-10-08 2009-03-18 杭州利尔达科技有限公司 Ultra low power consumption full-decompression measuring set and measurement method
CN102074991A (en) * 2011-01-24 2011-05-25 启明信息技术股份有限公司 Method and device for full balance control of power battery of electric automobile
CN202127255U (en) * 2011-01-24 2012-01-25 启明信息技术股份有限公司 Power battery full-balance controller for electric automobile
CN103472399A (en) * 2013-09-03 2013-12-25 福州开发区星云电子自动化有限公司 Working condition collection system of power lithium battery packs
CN204228658U (en) * 2014-12-08 2015-03-25 南京信息工程大学 A kind of water quality of river monitoring device
CN105093126A (en) * 2015-08-12 2015-11-25 中航锂电(洛阳)有限公司 Battery state discrimination method based on battery management system
CN105116819A (en) * 2015-07-29 2015-12-02 中国汽车技术研究中心 Battery management main system suitable for new energy automobile and control method thereof
CN204945236U (en) * 2015-09-24 2016-01-06 安徽江淮汽车股份有限公司 The voltage detecting system of cell
CN105467326A (en) * 2015-12-23 2016-04-06 南京工程学院 Device and method for detecting surplus capacity of power battery

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387663A (en) * 2007-10-08 2009-03-18 杭州利尔达科技有限公司 Ultra low power consumption full-decompression measuring set and measurement method
CN102074991A (en) * 2011-01-24 2011-05-25 启明信息技术股份有限公司 Method and device for full balance control of power battery of electric automobile
CN202127255U (en) * 2011-01-24 2012-01-25 启明信息技术股份有限公司 Power battery full-balance controller for electric automobile
CN103472399A (en) * 2013-09-03 2013-12-25 福州开发区星云电子自动化有限公司 Working condition collection system of power lithium battery packs
CN204228658U (en) * 2014-12-08 2015-03-25 南京信息工程大学 A kind of water quality of river monitoring device
CN105116819A (en) * 2015-07-29 2015-12-02 中国汽车技术研究中心 Battery management main system suitable for new energy automobile and control method thereof
CN105093126A (en) * 2015-08-12 2015-11-25 中航锂电(洛阳)有限公司 Battery state discrimination method based on battery management system
CN204945236U (en) * 2015-09-24 2016-01-06 安徽江淮汽车股份有限公司 The voltage detecting system of cell
CN105467326A (en) * 2015-12-23 2016-04-06 南京工程学院 Device and method for detecting surplus capacity of power battery

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张秀再 等: "河流水质实时监测系统", 《测控技术与仪器仪表》 *
董翠颖 等: "动力锂电池组智能管理系统设计", 《电子设计应用》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109932659A (en) * 2017-12-15 2019-06-25 蔚来汽车有限公司 Battery of electric vehicle electricity statistical method and battery of electric vehicle electricity statistical module
CN110275467A (en) * 2019-06-25 2019-09-24 江苏理工学院 Control system based on circuit physical parameter detecting
CN110261791A (en) * 2019-07-22 2019-09-20 天能电池集团股份有限公司 A kind of battery group cycle life fast appraisement method
CN111142028A (en) * 2020-02-20 2020-05-12 广东天波信息技术股份有限公司 Method and device for measuring electric quantity of lithium battery
CN113640681A (en) * 2021-08-12 2021-11-12 河南卓正电子科技有限公司 Battery power supply device process voltage detection circuit and method
CN113640681B (en) * 2021-08-12 2024-09-13 河南卓正电子科技有限公司 Battery power supply device process voltage detection circuit and method

Also Published As

Publication number Publication date
CN107202962B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN107202962A (en) VMC controller is gathered and evaluation method with electric quantity of lithium battery
CN109991554B (en) Battery electric quantity detection method and device and terminal equipment
CN108254696A (en) The health state evaluation method and system of battery
CN106772072A (en) A kind of SOC estimation method and device based on battery behavior curve
CN106602638A (en) Intelligent management system and method for lithium battery pack
CN204514991U (en) A kind of intelligent electric meter
CN105807231B (en) Method and system for detecting residual capacity of storage battery
CN107064806A (en) Lithium battery capacity decay rate calculation method
CN208984125U (en) A kind of quick detection device of Portable, multiple parameter grain feelings
CN116381494A (en) Method and device for predicting maximum available capacity of battery, electronic equipment and storage medium
CN108802654A (en) A kind of the automatic Calibration acquisition system and method for forming and capacity dividing test power supply
CN203249964U (en) Power battery voltage acquisition system
CN107037375A (en) Method and device for measuring direct current internal resistance of battery
CN116449235A (en) Method and system for processing test data of energy storage battery
CN108006894A (en) A kind of Portable type central air-conditioning energy efficiency monitoring method for early warning
CN110441703A (en) A kind of evaluation method and its detection system of the lithium battery SOC of mobile charging system
CN109768595A (en) A kind of series-connected cell group twin voltage mixed equilibrium control method
CN105480106B (en) Electric automobile lithium battery managing device and control method
CN202013206U (en) On-the-spot portable humiture detection and calibration device
CN112363071A (en) Non-rechargeable battery residual capacity estimation system and method and electronic equipment
CN204330998U (en) For cell degradation detector and the cell degradation detection system of electric battery
CN111044911A (en) Circuit and method for quickly calibrating residual electric quantity of lithium battery
CN107085934B (en) Performance detection method and system for electricity consumption information acquisition equipment
CN207662980U (en) A kind of Portable type central air-conditioning energy efficiency monitoring device
CN110133517A (en) A kind of battery charge state estimating apparatus based on Kalman filtering algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant