CN204807679U - Portable battery performance measurement appearance - Google Patents

Portable battery performance measurement appearance Download PDF

Info

Publication number
CN204807679U
CN204807679U CN201520250980.0U CN201520250980U CN204807679U CN 204807679 U CN204807679 U CN 204807679U CN 201520250980 U CN201520250980 U CN 201520250980U CN 204807679 U CN204807679 U CN 204807679U
Authority
CN
China
Prior art keywords
battery
current
chip microcomputer
gear
voltage
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.)
Expired - Fee Related
Application number
CN201520250980.0U
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.)
China Jiliang University
Original Assignee
China Jiliang University
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 China Jiliang University filed Critical China Jiliang University
Priority to CN201520250980.0U priority Critical patent/CN204807679U/en
Application granted granted Critical
Publication of CN204807679U publication Critical patent/CN204807679U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本实用新型的便携式电池性能测量仪主要包括电压、电流检测部分以及单片机系统、输出显示和报警部分,其是基于STC12C5A60S2单片机,通过单片机自带AD对电压进行检测和采集,以ACS712ELC-20A为电流采集器对电池容量进行检测。它的工作过程是单片机检测电池的工作电流以及工作电压以及开路电压,按一定的算法求出剩余容量,并送LCD显示屏显示。当测量完毕时、单片机发出信号驱动蜂鸣器,蜂鸣器鸣叫。本系统,设计简单,成本低,适用于对最常用并且最直观的开路电压、内阻、容量参数进行测量检测。

The portable battery performance measuring instrument of the utility model mainly includes a voltage and current detection part and a single-chip microcomputer system, an output display and an alarm part. It is based on the STC12C5A60S2 single-chip microcomputer, and the voltage is detected and collected through the self-contained AD of the single-chip microcomputer, and the ACS712ELC-20A is used as the current The collector detects the battery capacity. Its working process is that the single-chip microcomputer detects the working current, working voltage and open circuit voltage of the battery, calculates the remaining capacity according to a certain algorithm, and sends it to the LCD display for display. When the measurement is completed, the single-chip microcomputer sends a signal to drive the buzzer, and the buzzer sounds. This system is simple in design and low in cost, and is suitable for measuring and detecting the most commonly used and intuitive open circuit voltage, internal resistance, and capacity parameters.

Description

一种便携式电池性能测量仪A portable battery performance measuring instrument

技术领域: Technical field:

本实用新型属于电池测量电路设计领域,具体设计一种基于STC12C5A60S2单片机程序控制的电池性能测量仪。 The utility model belongs to the field of battery measuring circuit design and specifically designs a battery performance measuring instrument based on STC12C5A60S2 single-chip computer program control.

背景技术: Background technique:

随着时代的发展,电池已成为日常生活中重要的消耗品。我国通讯、电力电子等相关行业的飞速发展,使人们对锂离子电池等电池的利用率和维护工作的重视程度不断提高,电池性能检测的市场需求随之越来越大。目前,各类电子产品对电池的需求不断增加,对电池的质量要求越高。电池检测与维护对人身安全和实际使用需求具有重要意义。本文设计的便携式电池性能检测系统通过电流对时间的积分来测量电池实际容量,并通过单片机自身的AD采集测量电压。通过显示屏直接观察电池的电压、容量和内阻的重要参数,可以有效地识别劣质电池,从而减少对电子设备以及人身的潜在威胁。本系统,设计简单,成本低,适用于工业和个人使用。 With the development of the times, batteries have become an important consumable in daily life. The rapid development of my country's communication, power electronics and other related industries has made people pay more and more attention to the utilization rate and maintenance of lithium-ion batteries and other batteries, and the market demand for battery performance testing has also increased. At present, the demand for batteries of various electronic products continues to increase, and the quality requirements for batteries are higher. Battery detection and maintenance are of great significance to personal safety and actual use requirements. The portable battery performance detection system designed in this paper measures the actual capacity of the battery through the integration of current to time, and collects and measures the voltage through the AD of the single-chip microcomputer itself. By directly observing important parameters of battery voltage, capacity and internal resistance through the display screen, inferior batteries can be effectively identified, thereby reducing potential threats to electronic equipment and people. The system is simple in design and low in cost, and is suitable for industrial and personal use.

发明内容: Invention content:

本实用新型的目的是克服了现有电池测量仪器的高成本体积大的缺点,提供一种基于单片机的新型便携电池测量仪器,电路制作方便、可靠,稳定性好,控制精度高,实用性强。 The purpose of this utility model is to overcome the shortcomings of high cost and large volume of the existing battery measuring instruments, and provide a new type of portable battery measuring instrument based on a single-chip microcomputer. The circuit is easy to make, reliable, good in stability, high in control precision and strong in practicability .

为实现以上技术目的,本实用新型采用的方案是: For realizing above technical purpose, the scheme that the utility model adopts is:

一种便携电池性能测量仪,所述的单片机采用STC系列的STC12C5A60S2/AD/PWM系列单片机;所述的电流检测模块是采用ACS712ELC-20A为电流采集器;所述的电池档位自动切换电路分为锂电池和干电池2个档位,电阻分压取值,由继电器切换;所述的恒定电流电路是由一个三极管2SC2500和3个电阻组成,放电电流由电阻的比值和阻值确定。 A portable battery performance measuring instrument, the single-chip microcomputer adopts the STC12C5A60S2/AD/PWM series single-chip microcomputer of the STC series; the described current detection module adopts ACS712ELC-20A as the current collector; There are 2 gears for lithium batteries and dry batteries, and the value of the resistor divider is switched by a relay; the constant current circuit is composed of a triode 2SC2500 and 3 resistors, and the discharge current is determined by the ratio and resistance of the resistors.

其整体结构的特征在于它是由电流检测模块、电压检测模块、电池档位自动选择模块、电池快速放电档位以及恒定电流放电档位组成。通过单片机自带AD对电压进行检测和采集,以ACS712ELC-20A为电流采集器对电池容量进行检测。STC12C5A60S2/AD/PWM系列单片机是STC公司生产的单时钟/机器周期(1T)的单片机,是高速、低功耗、超强抗干扰的新一代8051单片机,指令代码完全兼容传统8051,但速度快8-12倍。内部集成MAX810专用复位电路,2路PWM,8路高速10位A/D转换(250K/S),针对电机控制,强干扰场合。电压测量模块使用单片机自带高速AD采集口采集;电池档位自动选择模块,通过4个电阻分压,构成锂电池和干电池两个档位,通过AD采集判断以及一个继电器自动切换锂电池档位和干电池档位。快速放电档位和恒定电流档位由一个继电器进行电路切换,恒定电流是由一个三极管2SC2500和3个电阻组成电池恒定流放电电路,放电电流由电阻的比值和阻值确定。 Its overall structure is characterized in that it is composed of a current detection module, a voltage detection module, a battery gear automatic selection module, a battery rapid discharge gear and a constant current discharge gear. The voltage is detected and collected through the built-in AD of the single-chip microcomputer, and the battery capacity is detected with the ACS712ELC-20A as the current collector. STC12C5A60S2/AD/PWM series single-chip microcomputer is a single-clock/machine cycle (1T) single-chip microcomputer produced by STC. It is a new generation of 8051 single-chip microcomputer with high speed, low power consumption and super anti-interference. The instruction code is fully compatible with traditional 8051, but the speed is fast. 8-12 times. Internally integrated MAX810 dedicated reset circuit, 2-way PWM, 8-way high-speed 10-bit A/D conversion (250K/S), for motor control and strong interference occasions. The voltage measurement module uses the high-speed AD acquisition port of the single-chip microcomputer to collect; the battery gear automatic selection module, through 4 resistors, forms two gears of lithium battery and dry battery, and judges through AD acquisition and a relay to automatically switch the lithium battery gear and dry battery stalls. The fast discharge gear and the constant current gear are switched by a relay. The constant current is a battery constant current discharge circuit composed of a triode 2SC2500 and 3 resistors. The discharge current is determined by the ratio and resistance of the resistors.

本实用新型的有益效果是: The beneficial effects of the utility model are:

(1)利用STC12C5A60S2单片机自带的8路高速10位A/D转换(250K/S)进行电压采集,速度快、精度高、精度可达到1μV。 (1) Use the 8-way high-speed 10-bit A/D conversion (250K/S) of the STC12C5A60S2 single-chip microcomputer for voltage acquisition, with fast speed and high precision, and the precision can reach 1μV.

(2)利用ACS712ELC-20A为电流采集器测电流,输入与输出之间的响应时间为5μs,可以测量正负20A电流,对应模拟量输出100mV/A,测量电流更加准确高速。 (2) Use ACS712ELC-20A to measure current for the current collector. The response time between input and output is 5μs. It can measure plus or minus 20A current. The corresponding analog output is 100mV/A, and the current measurement is more accurate and high-speed.

(3)该单片机是高速、低功耗、超强抗干扰能力,成本低,电路制作方便、可靠,测量精度高,实用性强,可应用于实验教学、工程实践和日常生活中。 (3) The single-chip microcomputer has high speed, low power consumption, super anti-interference ability, low cost, convenient and reliable circuit production, high measurement accuracy and strong practicability, and can be used in experimental teaching, engineering practice and daily life.

附图说明 Description of drawings

图1为本实用新型的硬件原理框图 Fig. 1 is the hardware principle block diagram of the utility model

图2为本实用新型的ACS712典型应用 Fig. 2 is the typical application of ACS712 of the present utility model

图3为本实用新型的各模块测量电路 Fig. 3 is each module measuring circuit of the present utility model

图4为本实用新型的主程序流程简图 Fig. 4 is the main program flow diagram of the utility model

具体实施方式 Detailed ways

下面结合附图和具体实施方式对本实用新型作进一步详细说明。 The utility model is described in further detail below in conjunction with accompanying drawing and specific embodiment.

系统硬件框图如图1所示,主要包括电压、电流检测部分以及单片机系统、输出显示和报警部分。主要工作过程是单片机检测电池的工作电流以及工作电压以及开路电压,按一定的算法求出剩余容量,并送LCD显示屏显示。当测量完毕时、单片机发出信号驱动蜂鸣器,蜂鸣器鸣叫。 The system hardware block diagram is shown in Figure 1, mainly including the voltage and current detection part and the single-chip microcomputer system, output display and alarm part. The main working process is that the single-chip microcomputer detects the working current, working voltage and open circuit voltage of the battery, calculates the remaining capacity according to a certain algorithm, and sends it to the LCD display for display. When the measurement is completed, the single-chip microcomputer sends a signal to drive the buzzer, and the buzzer sounds.

本系统采用电流时间积分法测量电池容量,然后进行数据处理,最后实时传送给LED1602,通过1602LCD显示屏对功能进行选择以及测试结果的显示。 This system uses the current time integral method to measure the battery capacity, then processes the data, and finally transmits it to LED1602 in real time, and selects the function and displays the test results through the 1602LCD display.

本系统测量电压是利用STC12C5A60S2单片机自带的8路高速10位A/D转换(250K/S)进行电压采集,其检测速度快,精度可达到1μV。 The voltage measurement of this system is to use the 8-way high-speed 10-bit A/D conversion (250K/S) of the STC12C5A60S2 microcontroller for voltage acquisition. The detection speed is fast and the accuracy can reach 1μV.

本系统利用Allegro霍尔电流传感器进行电流测量,其型号为ACS712ELC-20A。典型应用如图2,ACS712ELC-20A的全温度范围的精度为±1.5%,在25~85℃时,精度特性更好,输入与输出之间的响应时间为5μs,可以测量±20A范围内的电流,其对应模拟量输出100mV/A。 This system uses the Allegro Hall current sensor for current measurement, its model is ACS712ELC-20A. A typical application is shown in Figure 2. The accuracy of the full temperature range of ACS712ELC-20A is ±1.5%, and the accuracy characteristics are better at 25-85°C. The response time between input and output is 5μs, and it can measure ±20A range Current, which corresponds to an analog output of 100mV/A.

各模块测量电路如图3,VT1、R1、R4、R5等组成电池恒流放电电路,放电电流由R5、R4的比值和R1的阻值确定,放电电流定为200mA。选择STC12C5A60S2单片机8路AD中的其中一路P1.0作为电池的电压采集口。通过P2.1控制继电器K1,进行放电切换,当P2.1输出低电平时,继电器动作,进入快速放电状态,当P2.1输出高电平,继电器复位,此时P2.3为低电平时,三极管不导通处于高阻态状态,电池近似处于开路状态,当P2.3为高电平时,三极管导通,电池处于恒定电流状态。 The measurement circuit of each module is shown in Figure 3. VT 1 , R 1 , R 4 , R 5 etc. constitute the battery constant current discharge circuit. The discharge current is determined by the ratio of R 5 , R 4 and the resistance value of R 1. The discharge current is set at 200mA . Select one of the 8-channel ADs of the STC12C5A60S2 single-chip microcomputer, P1.0, as the voltage acquisition port of the battery. The relay K 1 is controlled by P2.1 to perform discharge switching. When P2.1 outputs a low level, the relay acts and enters a rapid discharge state. When P2.1 outputs a high level, the relay resets, and at this time P2.3 is low. Normally, the triode is not conducting and is in a high-impedance state, and the battery is approximately in an open circuit state. When P2.3 is high, the triode is conducting and the battery is in a constant current state.

自动档位的切换,本模块通过第一步测量的开路电压,判断所测电池的种类,然后通过P2.2控制继电器,进行档位切换,从而设置截止电压,当放电电压低于规定的电压时,比较器LM358输出低电平送给P2.4,单片机识别后,进行报警,进而测量过程结束,并把结果实时传输到LCD屏上。 Automatic gear switching, this module judges the type of the battery to be tested through the open circuit voltage measured in the first step, and then controls the relay through P2.2 to switch gears to set the cut-off voltage. At this time, the comparator LM358 outputs a low level and sends it to P2.4. After the microcontroller recognizes it, it will alarm, and then the measurement process ends, and the result is transmitted to the LCD screen in real time.

内阻的测量,ACS712ELC-20A芯片的输入与输出之间的响应时间为5μs。通过控制继电器K1,选择快速放电档位,进行5ms点位采集,采集此刻的电流和电压值。通过内阻的计算公式:R=(V0-V)/I,进行计算。每200ms采集一次,采集4次求平均值。最终得出电池的内阻值,并送到LCD上显示。 For the measurement of internal resistance, the response time between the input and output of ACS712ELC-20A chip is 5μs. By controlling the relay K 1 , select the fast discharge gear, and perform 5ms point collection to collect the current and voltage values at the moment. The calculation is carried out through the calculation formula of internal resistance: Rin = (V 0 -V)/I. Collect once every 200ms, collect 4 times and calculate the average value. Finally, the internal resistance value of the battery is obtained and sent to the LCD for display.

程序使用C语言编写,程序由主程序和定时中断服务子程序、延时子程序等部分组成。主程序流程简图如图4。 The program is written in C language, and the program is composed of the main program, the timer interrupt service subroutine, and the delay subroutine. The main program flow diagram is shown in Figure 4.

本实施例中的VCC均采用5V供电,精度控制可达到1μV以内,可以测量±20A范围内的电流。本系统,设计简单,成本低,可应用与电路设计、实践教学和日常生活中。 The VCC in this embodiment is powered by 5V, the precision control can reach within 1μV, and the current in the range of ±20A can be measured. The system is simple in design and low in cost, and can be applied in circuit design, practical teaching and daily life.

Claims (5)

1.一种便携式电池性能测量仪,整体结构的特征在于包括:电流检测模块、电压检测模块、电池档位自动选择模块,电池快速放电档位以及恒定电流放电档位;其中所述的电流检测模块是以ACS712ELC-20A为电流采集器,通过程序辅助而实现;电压测量模块使用单片机自带高速AD采集口采集;电池档位自动选择模块,通过4个电阻分压,构成锂电池和干电池两个档位,通过AD采集判断以及一个继电器自动切换锂电池档位和干电池档位;快速放电档位和恒定电流档位由一个继电器进行电路切换,恒定电流是由一个三极管2SC2500和3个电阻组成电池恒定流放电电路,放电电流由电阻的比值和阻值确定。1. A portable battery performance measuring instrument, the overall structure is characterized in that it includes: a current detection module, a voltage detection module, a battery gear automatic selection module, a battery rapid discharge gear and a constant current discharge gear; wherein the current detection The module uses ACS712ELC-20A as the current collector, which is realized through program assistance; the voltage measurement module uses the high-speed AD acquisition port of the single-chip microcomputer to collect; the battery gear automatic selection module is divided by 4 resistors to form a lithium battery and a dry battery. The gears are judged by AD acquisition and a relay automatically switches between the lithium battery gear and the dry battery gear; the fast discharge gear and the constant current gear are switched by a relay, and the constant current is composed of a triode 2SC2500 and 3 resistors Battery constant current discharge circuit, the discharge current is determined by the ratio and resistance of the resistors. 2.根据权利要求1所述的一种便携式电池性能测量仪,其特征在于:所述的单片机采用STC系列的STC12C5A60S2/AD/PWM系列单片机。2. A portable battery performance measuring instrument according to claim 1, characterized in that: said single-chip microcomputer adopts STC12C5A60S2/AD/PWM series single-chip microcomputer of STC series. 3.根据权利要求1所述的一种便携式电池性能测量仪,其特征在于:所述的电流检测模块是采用ACS712ELC-20A为电流采集器。3. A portable battery performance measuring instrument according to claim 1, characterized in that: said current detection module uses ACS712ELC-20A as a current collector. 4.根据权利要求1所述的一种便携式电池性能测量仪,其特征在于:所述的电池档位自动切换电路分为锂电池和干电池2个档位,电阻分压取值,由继电器切换。4. A portable battery performance measuring instrument according to claim 1, characterized in that: said battery gear automatic switching circuit is divided into two gears of lithium battery and dry battery, and the value of the resistance divider is switched by a relay . 5.根据权利要求1所述的一种便携式电池性能测量仪,其特征在于:所述的恒定电流电路是由一个三极管2SC2500和3个电阻组成,放电电流由电阻的比值和阻值确定。5. A portable battery performance measuring instrument according to claim 1, characterized in that: said constant current circuit is composed of a triode 2SC2500 and 3 resistors, and the discharge current is determined by the ratio and resistance value of the resistors.
CN201520250980.0U 2015-04-20 2015-04-20 Portable battery performance measurement appearance Expired - Fee Related CN204807679U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520250980.0U CN204807679U (en) 2015-04-20 2015-04-20 Portable battery performance measurement appearance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520250980.0U CN204807679U (en) 2015-04-20 2015-04-20 Portable battery performance measurement appearance

Publications (1)

Publication Number Publication Date
CN204807679U true CN204807679U (en) 2015-11-25

Family

ID=54592483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520250980.0U Expired - Fee Related CN204807679U (en) 2015-04-20 2015-04-20 Portable battery performance measurement appearance

Country Status (1)

Country Link
CN (1) CN204807679U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107271919A (en) * 2017-07-24 2017-10-20 姜舒宁 Retaining capacity of storage battery quick determination method and device
CN107612095A (en) * 2017-10-26 2018-01-19 汤萍萍 Battery detecting protection circuit
CN115902754A (en) * 2022-11-22 2023-04-04 云南电网有限责任公司临沧供电局 A Portable Secondary Load Measuring Instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107271919A (en) * 2017-07-24 2017-10-20 姜舒宁 Retaining capacity of storage battery quick determination method and device
CN107612095A (en) * 2017-10-26 2018-01-19 汤萍萍 Battery detecting protection circuit
CN115902754A (en) * 2022-11-22 2023-04-04 云南电网有限责任公司临沧供电局 A Portable Secondary Load Measuring Instrument

Similar Documents

Publication Publication Date Title
CN103033760A (en) Battery charging and discharging tester
CN103901345B (en) A kind of accumulator electric quantity detection apparatus and method
CN203164326U (en) Digital display type detection device of resistor strain sensor
CN203104067U (en) A constant voltage and current limiting charger
CN109696637A (en) Lithium disposable battery capacity monitoring method
CN204807679U (en) Portable battery performance measurement appearance
CN203164381U (en) Battery charging and discharging tester
CN104280157A (en) Low-power-consumption transmitter
CN203385442U (en) Indoor air quality monitor
CN204515412U (en) A kind of SCM Based color sensor testing circuit
CN102992131A (en) Elevator energy efficiency testing device and method
CN207457464U (en) A kind of accumulator wireless monitor system based on technology of Internet of things
CN203492673U (en) Intelligent shutoff noodle maker
CN203719707U (en) Portable mining gas flow detecting device
CN203405472U (en) Wheel Speed Measuring Device Based on AVR Single Chip Microcomputer
CN202815193U (en) Battery test device
CN205861865U (en) A kind of electric vehicle motor performance synthesis test control device
CN204089270U (en) A kind of mining lithium battery intelligent management system
CN204535750U (en) A kind of energy-saving type frequency conversion device on-Line Monitor Device
CN205246835U (en) Lithium battery power management system based on DS2788
CN204260729U (en) Based on the low power-consumption intelligent clinical thermometer of motion sensor
CN203658872U (en) Swimming pool temperature and liquid level monitoring and alarm instrument
CN202330511U (en) Three-phase harmonic electricity meter
CN106124986A (en) A kind of motor measurement apparatus
CN205809253U (en) A kind of motor measurement apparatus

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151125

Termination date: 20160420

CF01 Termination of patent right due to non-payment of annual fee