CN107085186A - A kind of UPS battery fault detection system of STM32 - Google Patents
A kind of UPS battery fault detection system of STM32 Download PDFInfo
- Publication number
- CN107085186A CN107085186A CN201710212708.7A CN201710212708A CN107085186A CN 107085186 A CN107085186 A CN 107085186A CN 201710212708 A CN201710212708 A CN 201710212708A CN 107085186 A CN107085186 A CN 107085186A
- Authority
- CN
- China
- Prior art keywords
- data
- fault detection
- detection system
- stm32
- real
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/389—Measuring internal impedance, internal conductance or related variables
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The invention discloses the UPS battery fault detection system of STM32 a kind of, including part of data acquisition, data conversion hop and the real-time monitor portion of host computer, described part of data acquisition is acquired to the total current value of single battery internal resistance value and a Battery pack, the data collected pass through described data transfer middle-position machine, data are completed from serial ports RS485 to the data conversion of network ICP/IP protocol by it, host computer realizes real-time monitor portion to the real-time display monitoring of whole system, the present invention is using the method that the internal resistance of cell and size of current are monitored in the case of not powering off, make detection safeguard more to facilitate;The monitoring process of the present invention is equipped with an electric current on-line monitoring module using a Battery pack in addition can detect the power supply capacity of a Battery pack simultaneously.The present invention can reduce monitoring cost using STM32 single-chip microcomputers;Using serial RS485 communication transmitting datas, more preferably, transmission signal is more stable for autgmentability.
Description
Technical field
The present invention relates to the on-line monitoring technique field of UPS battery, specially a kind of STM32 UPS battery fault detect
System.
Background technology
As banking equipment requires more and more higher to the Performance And Reliability of power supply, UPS is widely used,
The reliable power supply of backup battery is extremely important in ups system, UPS battery internal resistance is detected, it is ensured that battery storage has enough
Energy turn into key issue.For the ups power used in current bank data management system computer room, there is UPS electricity
Pond power reservoir capacity is not enough, and cell degradation can not power off using instrument to monitor battery failures at any time again.
Traditional UPS battery detection has the disadvantage that:Battery pack detachment system need to be increased system in case of system halt risk;Electric discharge
Time is long, and needs manual testing to record, and workload is big, and UPS battery is typically loaded in box cupboard in addition, and test job is carried out tired
It is difficult;Resistance wire is heavy and has through thermal phenomenon, dangerous and working strength is big.
The content of the invention
The present invention proposes STM32 UPS battery fault detection system, solves UPS battery detection in the prior art and fails
The uninterrupted problem on line detection realized.
The technical proposal of the invention is realized in this way:
The UPS battery fault detection system of STM32 a kind of, including part of data acquisition, middle-position machine data conversion transport part
Divide and the real-time monitor portion of host computer, described part of data acquisition is to single battery internal resistance value and total electricity of a Battery pack
Flow valuve is acquired, and the data collected complete data from serial ports RS485 to network TCP/ by described TCP data segment
The data conversion of IP agreement, the real-time monitor portion of host computer is to the real-time display monitoring of whole system.
As a kind of preferred technical scheme of the present invention, described part of data acquisition, data conversion hop and
The real-time monitor portion of host computer includes hardware components and software section.
As a kind of preferred technical scheme of the present invention, described part of data acquisition hardware includes power supply, electric current
On-line checking module, resistance on-line checking module and relay indicating light.
As a kind of preferred technical scheme of the present invention, described data conversion hop hardware comprising power supply,
485 turns of mixed-media network modules mixed-medias of serial ports, SCM peripheral circuit.
As a kind of preferred technical scheme of the present invention, the real-time monitor portion hardware of described host computer includes being used for before
End equipment carries out data interaction and judges whether the information collected sends the monitoring host computer of control instruction or warning message.
As a kind of preferred technical scheme of the present invention, the software section of described part of data acquisition is to utilize single-chip microcomputer
STM32F103RCT6 carries out data acquisition, and adds RS485 to send data-selected scheme, the software section of described data conversion part
Data acquisition is carried out using STM32F103RCT6 and HLK-RM04 and conversion program is designed.
As a kind of preferred technical scheme of the present invention, described resistance on-line checking module includes power supply, temperature
Sensor, relay indicating light, the power supply are directly, from single battery power taking, method to be sparked to list using DC pulse
The collection of the total current value of the individual internal resistance of cell and a Battery pack, the circuit signal collected is transmitted to STM32F103RCT6
The A/D converter of single-chip microcomputer, the temperature signal that described temperature sensor is collected transmits to STM32F103RCT6 and carries out data
Collection.
As a kind of preferred technical scheme of the present invention, described current detection module is included by Hall element and magnetic coil
The Hall current detection circuit and circuit control core STM32F103RCT6 single-chip microcomputers of composition, the Hall element is by voltage
Adjuster, Hall voltage generator, linear amplifier and emitter follower composition, it is magnetic induction intensity that it, which is inputted, output be with
A power switch is also set up in the voltage that input quantity is directly proportional, described Hall current detection circuit, is monitored by the single-chip microcomputer
Power switch state, described STM32F103RCT6 single-chip microcomputers are in piece external expansion A/D translation interfaces.
As a kind of preferred technical scheme of the present invention, described data conversion hop hardware components power supply is
Directly from single battery power taking, 485 turns of mixed-media network modules mixed-medias of serial ports are designed using HLK-RM04, rs 232 serial interface signal are transferred into network, institute
The signal lamp control element and HLK-RM04 modules that the SCM peripheral circuit stated is included in data conversion transmitting procedure are matched somebody with somebody
Put element.
Beneficial effects of the present invention:Compared with prior art, the present invention using the monitoring internal resistance of cell in the case of not powering off and
The method of size of current, makes detection safeguard more and facilitates;The monitoring process of the present invention is equipped with an electricity using a Battery pack in addition
Stream on-line monitoring module can detect the power supply capacity of a Battery pack simultaneously.The present invention can reduce monitoring using STM32 single-chip microcomputers
Cost;Using serial RS485 communication transmitting datas, more preferably, transmission signal is more stable for autgmentability
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the theory diagram of battery online monitoring system of the present invention;
Fig. 2 is battery online monitoring system part of data acquisition electric current on-line checking module principle block diagram of the present invention;
Fig. 3 is battery online monitoring system part of data acquisition internal resistance on-line checking module principle block diagram of the present invention;
Fig. 4 is battery online monitoring system part of data acquisition data conversion hop theory diagram of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
As shown in fig.1, the present invention provides a kind of technical scheme:A kind of UPS battery fault detection system of STM32, by
Part of data acquisition, data conversion hop and the real-time monitor portion composition of host computer, wherein part of data acquisition is to list
Individual internal resistance of cell value and the total current value of a Battery pack are acquired, and the data collected pass through described TCP data segment
Data are completed from serial ports RS485 to the data conversion of network ICP/IP protocol, the real-time monitor portion of host computer is to whole system reality
When display monitoring.Part of data acquisition, data conversion hop and the real-time monitor portion of host computer include hardware components
And software section.
Part of data acquisition hardware includes power supply, electric current on-line checking module, resistance on-line checking module and work
Make indicator lamp.
Shown in reference picture 2, described current detection module includes the Hall being made up of Hall element AN3503 and magnetic coil
Current detection circuit and circuit control core STM32F103RCT6 single-chip microcomputers, the Hall element AN3503 are adjusted by voltage
Device, Hall voltage generator, linear amplifier and emitter follower composition, its input is magnetic induction intensity, and output is and inputted
The voltage being directly proportional is measured, according to the relations I between circuit-under-test electric current and Hall sensor output voltage=(40Uout+100)/4.8
Calculate tested current value;A power switch is also set up in described Hall current detection circuit, electricity is monitored by the single-chip microcomputer
Power on off state, the data collected when switch is not closed are as the zero current value for detecting circuit, when switch closure, single-chip microcomputer
Switching signal is obtained, initial value elimination is carried out when the data for starting Hall sensor to collect subtract zero current value, improves measurement
Precision.Described STM32F103RCT6 single-chip microcomputers are in piece external expansion A/D translation interfaces.Electric current on-line checking module is to one group of electricity
The total current value collection in pond, the circuit signal collected is transmitted to the A/D converter of STM32F103RCT6 single-chip microcomputers.
Shown in reference picture 3, described resistance on-line checking module includes power supply, temperature sensor, relay indicating light,
The power supply is directly, from single battery power taking, using direct-current discharge method, to allow battery to be forced through 60A within the 2-3S times
Constant Direct Current electric current, measurement now battery both end voltage.Collection according to Ohm's law to single battery internal resistance, will be collected
Circuit signal transmit to the A/D converter of STM32F103RCT6 single-chip microcomputers, temperature that described temperature sensor is collected letter
Number transmit to STM32F103RCT6 and carry out data acquisition.
Shown in reference picture 4, described data conversion hop hardware components include power supply, 485 turns of networks of serial ports
Module, SCM peripheral circuit.Described data conversion hop hardware components power supply is directly to be taken from single battery
Electricity, 485 turns of mixed-media network modules mixed-medias of serial ports are designed using HLK-RM04, and rs 232 serial interface signal is transferred into network, described SCM peripheral electricity
Road includes signal lamp control element and HLK-RM04 module configuration elements in data conversion transmitting procedure.
The real-time monitor portion hardware components of host computer of the present invention include being used for and headend equipment carries out data interaction and sentenced
Whether the disconnected information collected sends the monitoring host computer of control instruction or warning message.
The software section of the part of data acquisition of the present invention is to carry out data acquisition using single-chip microcomputer STM32F103RCT6,
And adding RS485 to send data-selected scheme, the software section of described data conversion part uses STM32F103RCT6 and HLK-RM04
Carry out data acquisition and conversion program design.System software is programmed using C language, using modular construction, main to include initially
Change module, A/D sampling processing module sections, the main complete initialization in each port of initialization module, and define use each
Individual port, A/D sampling processings module, which is mainly, to be handled the data that STM32F103RCT6 collections come.When A/D Change-over knots
Shu Hou, STM32F103RCT6 send a signal to CPU, and CPU is handled the digital quantity after conversion, makes numeral method
Current current value.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (9)
1. a kind of STM32 UPS battery fault detection system, it is characterised in that turn including part of data acquisition, middle-position machine data
Hop and the real-time monitor portion of host computer are changed, described part of data acquisition is to single battery internal resistance value and one group of electricity
The total current value in pond is acquired, the data collected by described TCP data segment complete data from serial ports RS485 to
The data conversion of network ICP/IP protocol, the real-time monitor portion of host computer is to the real-time display monitoring of whole system.
2. STM32 according to claim 1 UPS battery fault detection system, it is characterised in that described data acquisition
Partly, data conversion hop and the real-time monitor portion of host computer include hardware components and software section.
3. a kind of STM32 according to claim 2 UPS battery fault detection system, it is characterised in that described data
Collecting part hardware includes power supply, electric current on-line checking module, resistance on-line checking module and relay indicating light.
4. a kind of STM32 according to claim 2 UPS battery fault detection system, it is characterised in that described data
Converting transmission fractional hardware includes power supply, 485 turns of mixed-media network modules mixed-medias of serial ports, SCM peripheral circuit.
5. a kind of STM32 according to claim 2 UPS battery fault detection system, it is characterised in that described is upper
The real-time monitor portion hardware of machine includes being used for and headend equipment carries out data interaction and judges whether the information collected sends control
System instruction or the monitoring host computer of warning message.
6. a kind of STM32 according to claim 2 UPS battery fault detection system, it is characterised in that described data
The software section of collecting part is to carry out data acquisition using single-chip microcomputer STM32F103RCT6, and adds RS485 to send data side
Case, the software section of described data conversion part carries out data acquisition using STM32F103RCT6 and HLK-RM04 and changed
Programming.
7. a kind of STM32 according to claim 3 UPS battery fault detection system, it is characterised in that described resistance
On-line checking module includes power supply, temperature sensor, relay indicating light, and the power supply is directly to be taken from single battery
Electricity, sparks method to single battery internal resistance and the collection of the total current value of a Battery pack using DC pulse, will collect
Circuit signal transmit to STM32F103RCT6;The A/D converter of single-chip microcomputer, the temperature that described temperature sensor is collected
Signal transmits to STM32F103RCT6 and carries out data acquisition.
8. a kind of STM32 according to claim 3 UPS battery fault detection system, it is characterised in that described electric current
The Hall current that on-line checking module includes being made up of Hall element and magnetic coil detects circuit and circuit control core
STM32F103RCT6 single-chip microcomputers, the Hall element is by voltage adjuster, Hall voltage generator, linear amplifier and emitter-base bandgap grading
Follower is constituted, and its input is magnetic induction intensity, and output is the voltage being directly proportional with input quantity, described Hall current detection electricity
A power switch is also set up in road, power switch state is monitored by the single-chip microcomputer, described STM32F103RCT6 single-chip microcomputers exist
Piece external expansion A/D translation interfaces.
9. a kind of STM32 according to claim 4 UPS battery fault detection system, it is characterised in that described data
Converting transmission fractional hardware part power supply is, directly from single battery power taking, 485 turns of mixed-media network modules mixed-medias of serial ports uses HLK-
RM04 is designed, and rs 232 serial interface signal is transferred into network, and described SCM peripheral circuit includes the letter in data conversion transmitting procedure
Number indicator lamp control element and HLK-RM04 module configuration elements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710212708.7A CN107085186A (en) | 2017-04-01 | 2017-04-01 | A kind of UPS battery fault detection system of STM32 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710212708.7A CN107085186A (en) | 2017-04-01 | 2017-04-01 | A kind of UPS battery fault detection system of STM32 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107085186A true CN107085186A (en) | 2017-08-22 |
Family
ID=59614992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710212708.7A Pending CN107085186A (en) | 2017-04-01 | 2017-04-01 | A kind of UPS battery fault detection system of STM32 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107085186A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107884722A (en) * | 2017-11-29 | 2018-04-06 | 福州福光电子有限公司 | A kind of distribution on line formula batteries monitoring device |
CN108646168A (en) * | 2018-05-11 | 2018-10-12 | 上海芯感微电子科技有限公司 | A kind of power module equipped with life prediction function |
CN108776312A (en) * | 2018-08-31 | 2018-11-09 | 湖北蓝博新能源设备股份有限公司 | A kind of battery tester |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477179A (en) * | 2009-01-15 | 2009-07-08 | 艾默生网络能源有限公司 | On-line AC detection method and system for internal resistance of accumulator |
CN204479648U (en) * | 2015-01-28 | 2015-07-15 | 武汉朗宇智能科技有限公司 | A kind of data acquisition monitoring system based on STM32 |
CN205027883U (en) * | 2015-10-15 | 2016-02-10 | 南京鼎尔特科技有限公司 | Battery failure diagnosis device |
CN205941845U (en) * | 2016-08-26 | 2017-02-08 | 武汉朗宇智能科技有限公司 | UPS battery on -line monitoring system based on STM32 |
-
2017
- 2017-04-01 CN CN201710212708.7A patent/CN107085186A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477179A (en) * | 2009-01-15 | 2009-07-08 | 艾默生网络能源有限公司 | On-line AC detection method and system for internal resistance of accumulator |
CN204479648U (en) * | 2015-01-28 | 2015-07-15 | 武汉朗宇智能科技有限公司 | A kind of data acquisition monitoring system based on STM32 |
CN205027883U (en) * | 2015-10-15 | 2016-02-10 | 南京鼎尔特科技有限公司 | Battery failure diagnosis device |
CN205941845U (en) * | 2016-08-26 | 2017-02-08 | 武汉朗宇智能科技有限公司 | UPS battery on -line monitoring system based on STM32 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107884722A (en) * | 2017-11-29 | 2018-04-06 | 福州福光电子有限公司 | A kind of distribution on line formula batteries monitoring device |
CN107884722B (en) * | 2017-11-29 | 2024-05-28 | 福州福光电子有限公司 | Online distributed storage battery monitoring equipment |
CN108646168A (en) * | 2018-05-11 | 2018-10-12 | 上海芯感微电子科技有限公司 | A kind of power module equipped with life prediction function |
CN108776312A (en) * | 2018-08-31 | 2018-11-09 | 湖北蓝博新能源设备股份有限公司 | A kind of battery tester |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202351422U (en) | Automatic detection device of electric energy metering device | |
CN102621516B (en) | Electric energy meter operational abnormity judging method based on large-scale data application background | |
CN107942257A (en) | A kind of storage battery on-line monitoring system and method | |
CN107884654A (en) | A kind of transformer station's multiple spot equipment for monitoring power quality and method | |
CN103149547A (en) | Transformer substation measurement return circuit online monitoring system and state maintenance method | |
CN109061549A (en) | A kind of electric energy meter detecting measurement error | |
CN107085186A (en) | A kind of UPS battery fault detection system of STM32 | |
CN103260263A (en) | Metro stray current wireless monitoring system and method | |
CN107748283A (en) | A kind of micro energy lose electric energy meter metered voltage current monitoring alarm device and its monitoring method | |
CN207924064U (en) | A kind of distribution network line panorama on-line monitoring equipment and system | |
CN204719225U (en) | A kind of Watthour meter remote monitors check system automatically | |
CN104655926B (en) | A kind of built-in terminal and its monitoring method that can monitor power information and electricity charge data | |
CN207336615U (en) | A kind of Zinc-Oxide Arrester electrification detection system | |
CN101852844A (en) | Data calibration device of AC sampling and measuring device and method thereof | |
CN204130657U (en) | Storage battery on-line monitoring maintenance integrated instrument | |
CN203630318U (en) | Test system for power system switching power supply module | |
CN105866553A (en) | Instrument and method for on-line detection of ground resistor | |
CN203164360U (en) | Transformer device insulation online monitoring system | |
CN107144712A (en) | A kind of intelligent wiring box | |
CN105223446A (en) | Lightning arrester remote online monitoring device | |
CN205246753U (en) | Equipment with ammeter function | |
CN205157663U (en) | Remote online arrester monitoring device | |
CN203350429U (en) | On-line real-time error monitoring system for alternating current sampling measurement apparatus | |
CN105699930B (en) | Intelligent electric meter serial ports DL/T645 communication protocol on-line quick detection device | |
CN106990294A (en) | A kind of UPS battery internal resistance detection module based on STM32 |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170822 |