CN106843807A - The adjustment method that vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned - Google Patents
The adjustment method that vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned Download PDFInfo
- Publication number
- CN106843807A CN106843807A CN201611194892.9A CN201611194892A CN106843807A CN 106843807 A CN106843807 A CN 106843807A CN 201611194892 A CN201611194892 A CN 201611194892A CN 106843807 A CN106843807 A CN 106843807A
- Authority
- CN
- China
- Prior art keywords
- modbus
- software
- files
- ion batteries
- batteries piles
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electric Status Of Batteries (AREA)
- Stored Programmes (AREA)
- Secondary Cells (AREA)
Abstract
The adjustment method quickly analyzed the present invention relates to a kind of vehicle-mounted Li-ion batteries piles and positioned, it is characterized in that:The software of software and display configuration screen including master board, by the software transplanting standard MODBUS slaves agreement of master board and by communication Real Data Exchangs are carried out with display configuration screen, by Li-ion batteries piles parameters real-time report, the unusual condition occurred for battery pack is to be capable of achieving quick positioning.Beneficial effect:Compared with prior art, circuit of the present invention is simple, low cost, and compatibility is good, quick to analyze and positioning.Those skilled in the art are operable.
Description
Technical field
The invention belongs to MCU software fields, more particularly to the tune that a kind of vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned
Method for testing.
Background technology
Vehicle-mounted Li-ion batteries piles use more and more.Vehicle-mounted Li-ion batteries piles are used onboard, necessarily with vehicle-mounted master
Control carries out CAN communication, and is accomplished by carrying out data analysis, vehicle-mounted Li-ion batteries piles using CAN analyzers in debugging of dispatching from the factory
Debugging is very cumbersome.The data of collection need special software and have the skilled person person could to analyze, it is difficult to accomplish quickly
The quick positioning of analysis.
The content of the invention
It is an object of the invention to overcome the shortcomings of above-mentioned technology, and a kind of vehicle-mounted Li-ion batteries piles are provided and are quickly analyzed
And the adjustment method of positioning, solve the debugging of vehicle-mounted Li-ion batteries piles cumbersome and can not quickly analyze asking for quick positioning
Topic.
The present invention to achieve the above object, using following technical scheme:A kind of vehicle-mounted Li-ion batteries piles quickly analysis and
The adjustment method of positioning, it is characterized in that:The software of software and display configuration screen including master board, by the soft of master board
Part transplants standard MODBUS slaves agreement and carries out Real Data Exchangs with display configuration screen by communication, by Li-ion batteries piles
Parameters real-time report, the unusual condition occurred for battery pack is to be capable of achieving quick positioning.
The software transplanting standard MODBUS slave agreements of the master board based on stm32 single-chip microcomputers are by Modbus_
4 files are configured according to the peripheral hardware of master board in port files.
The function of configuration is needed to be respectively
XMBPortTimersInit (USHORT usTim1Timerout50us) function:
Any one timer with 50us as timing cycle in single-chip microcomputer.This method is configured using timer 4
Porttimer.c files are the software timer associated profile of MODBUS slave agreements;
Port.c files are the software register associated profile of MODBUS slave agreements;
Portevent.c files are the associated profile of MODBUS slave protocol events marks;
Portserial.c files are the associated profile of MODBUS slave agreement interruption reset conditions;
In main program initialization, following 2 functions are called:
eMBInit(MB_RTU,0x01,0x01,115200,MB_PAR_NONE);
eMBEnable();
Wherein eMBInit functions are the relevant parameter for configuring MODBUS slaves
MB_RTU:Use RTU patterns
First 0X01:MODBUS slave addresses
Second 0X01:Which serial ports of configuration needed
115200:Serial communication baud rate
MB_PAR_NONE:Represent no parity check
EMBEnable functions are startup MODBUS programs;
In the systemic circulation of main program, eMBPoll () function is regularly called, its effect is that timing detects whether to receive main frame
The valid data of transmission, and data are processed.
Beneficial effect:Compared with prior art, circuit of the present invention is simple, low cost, and compatibility is good, quick to analyze and determine
Position.Those skilled in the art are operable
Brief description of the drawings
Fig. 1 is software principle figure of the invention;
Fig. 2 is CAN schematic diagram datas;
Fig. 3 is configuration software communication scheme.
Specific embodiment
Specific embodiment of the invention is described in detail with reference to preferred embodiment.
Accompanying drawing is referred to, a kind of vehicle-mounted Li-ion batteries piles quickly analysis and the adjustment method for positioning is present embodiments provided,
The software of software and display configuration screen including master board, by the software transplanting standard MODBUS slave agreements of master board
And Real Data Exchangs are carried out with display configuration screen by communication, by Li-ion batteries piles parameters real-time report, for electricity
The unusual condition that pond group occurs is to be capable of achieving quick positioning.
Accompanying drawing 1 is referred to, the software transplanting standard MODBUS slave agreements of the master board are by Modbus_port files
4 files carry out easy configuration according to the peripheral hardware of master board in folder
The function of configuration is needed to be respectively
XMBPortTimersInit (USHORT usTim1Timerout50us) function:
Any one timer with 50us as timing cycle in single-chip microcomputer.This method is configured using timer 4
Wherein:
Porttimer.c files are the software timer associated profile of MODBUS slave agreements;
Port.c files are the software register associated profile of MODBUS slave agreements;
Portevent.c files are the associated profile of MODBUS slave protocol events marks;
Portserial.c files are the associated profile of MODBUS slave agreement interruption reset conditions;
In main program initialization, following 2 functions are called:
eMBInit(MB_RTU,0x01,0x01,115200,MB_PAR_NONE);
eMBEnable();
Wherein eMBInit functions are the relevant parameter for configuring MODBUS slaves,
EMBEnable functions are startup MODBUS programs,
In the systemic circulation of main program, eMBPoll () function is regularly called, its effect is that timing detects whether to receive main frame
The valid data of transmission, and data are processed.
Accompanying drawing 2 is the data read using CAN analyzers.Data are initial data at oval marks, it is impossible to find out that it is arrived
Bottom represents what implication, it is necessary to specific process confirms the information of data;
Accompanying drawing 3 is the schematic diagram data after being communicated with configuration software, and each information of battery pack is very clear as shown in the figure, side
Just debugging is quickly positioned with problem
What the above-mentioned adjustment method quickly analyzed a kind of vehicle-mounted Li-ion batteries piles with reference to embodiment and positioned was carried out
Describe in detail, be it is illustrative can include several embodiments according to limited scope rather than limited, therefore not
Depart from changing and modifications under present general inventive concept, should belong within protection scope of the present invention.
Claims (2)
1. the adjustment method that a kind of vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned, it is characterized in that:Including the soft of master board
The software of part and display configuration screen, by the software transplanting standard MODBUS slaves agreement of master board and by communication with show
Configuration screen carries out Real Data Exchangs, by Li-ion batteries piles parameters real-time report, for the abnormal shape that battery pack occurs
Condition is to be capable of achieving quick positioning.
2. the adjustment method that vehicle-mounted Li-ion batteries piles according to claim 1 are quickly analyzed and positioned, it is characterized in that:Institute
The software transplanting standard MODBUS slave agreements for stating master board are according to master control by 4 files in Modbus_port files
The peripheral hardware of making sheet is configured,
Wherein:
Porttimer.c files are the software timer associated profile of MODBUS slave agreements;
Port.c files are the software register associated profile of MODBUS slave agreements;
Portevent.c files are the associated profile of MODBUS slave protocol events marks;
Portserial.c files are the associated profile of MODBUS slave agreement interruption reset conditions;
In main program initialization, following 2 functions are called:
eMBInit(MB_RTU,0x01,0x01,115200,MB_PAR_NONE);
eMBEnable();
Wherein:EMBInit functions are the relevant parameter for configuring MODBUS slaves;
MB_RTU:Use RTU patterns
First 0X01:MODBUS slave addresses
Second 0X01:Which serial ports of configuration needed
115200:Serial communication baud rate
MB_PAR_NONE:Represent no parity check
EMBEnable functions are startup MODBUS programs
In the systemic circulation of main program, eMBPoll () function is regularly called, can regularly detect whether to receive having for main frame transmission
Effect data, and data are processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611194892.9A CN106843807A (en) | 2016-12-22 | 2016-12-22 | The adjustment method that vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611194892.9A CN106843807A (en) | 2016-12-22 | 2016-12-22 | The adjustment method that vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106843807A true CN106843807A (en) | 2017-06-13 |
Family
ID=59136158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611194892.9A Pending CN106843807A (en) | 2016-12-22 | 2016-12-22 | The adjustment method that vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106843807A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6988182B2 (en) * | 2002-02-13 | 2006-01-17 | Power Measurement Ltd. | Method for upgrading firmware in an electronic device |
CN1897623A (en) * | 2006-06-26 | 2007-01-17 | 株洲南车时代电气股份有限公司 | Method and apparatus for controlling, diagnosing and telecommunication managing locomotive and automobile |
US20100321153A1 (en) * | 2009-06-22 | 2010-12-23 | Consolidated Edison Company Of New York, Inc. | Apparatus and method for performing a sequence of operational instructions |
CN102231717A (en) * | 2011-06-22 | 2011-11-02 | 上海纳杰电气成套有限公司 | Method for rapidly making MODBUS protocol conversion gateway |
CN103792928A (en) * | 2014-02-24 | 2014-05-14 | 东南大学 | Industrial field data collecting and analyzing system based on Modbus |
CN104335192A (en) * | 2012-06-06 | 2015-02-04 | 霍尼韦尔国际公司 | Process controller having multi-channel serial communications link |
CN105278918A (en) * | 2015-10-15 | 2016-01-27 | 珠海格力电器股份有限公司 | Reading method of register and register using reading method |
-
2016
- 2016-12-22 CN CN201611194892.9A patent/CN106843807A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6988182B2 (en) * | 2002-02-13 | 2006-01-17 | Power Measurement Ltd. | Method for upgrading firmware in an electronic device |
CN1897623A (en) * | 2006-06-26 | 2007-01-17 | 株洲南车时代电气股份有限公司 | Method and apparatus for controlling, diagnosing and telecommunication managing locomotive and automobile |
US20100321153A1 (en) * | 2009-06-22 | 2010-12-23 | Consolidated Edison Company Of New York, Inc. | Apparatus and method for performing a sequence of operational instructions |
CN102231717A (en) * | 2011-06-22 | 2011-11-02 | 上海纳杰电气成套有限公司 | Method for rapidly making MODBUS protocol conversion gateway |
CN104335192A (en) * | 2012-06-06 | 2015-02-04 | 霍尼韦尔国际公司 | Process controller having multi-channel serial communications link |
CN103792928A (en) * | 2014-02-24 | 2014-05-14 | 东南大学 | Industrial field data collecting and analyzing system based on Modbus |
CN105278918A (en) * | 2015-10-15 | 2016-01-27 | 珠海格力电器股份有限公司 | Reading method of register and register using reading method |
Non-Patent Citations (2)
Title |
---|
FREEMODBUS COMMUNITY: "FreeModbus", 《HTTPS://D1.AMOBBS.COM/BBS_UPLOAD782111/FILES_LARGE/ARMOK01136884.PDF》 * |
SIEMENS: "MAG8000电池流量计MODBUS RTU 通讯指南", 《HTTPS://SUPPORT.INDUSTRY.SIEMENS.COM/CS/DOCUMENT/84526916/MAG800》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103312852B (en) | A kind of mobile terminal electric current automatic test device and method of testing thereof | |
CN101859275A (en) | Method, system and mobile terminal for monitoring application program | |
CN205070993U (en) | Power line communication module testing arrangement | |
CN105976134A (en) | Enterprise energy management information collection system and method based on ZigBee wireless networking technology | |
CN108806224A (en) | Concentrator based on bandwidth carrier communication | |
CN106843807A (en) | The adjustment method that vehicle-mounted Li-ion batteries piles are quickly analyzed and positioned | |
CN204794175U (en) | Intelligent charging and discharging equipment | |
CN204359928U (en) | A kind of intelligent electric energy meter Auto-Test System | |
CN202632518U (en) | Pollutant source monitoring data acquisition and transmission instrument | |
CN204515030U (en) | A kind of lightning protection comprehensive detection system | |
CN208690403U (en) | 3C Product Battery formation partial volume system | |
CN205228328U (en) | Phone's frame examines utensil | |
CN104485898B (en) | The adjustment method and system of binary channels power amplifier | |
CN206748604U (en) | A kind of passenger ticket counts perforating plier | |
CN204214599U (en) | A kind of automobile cooling fan dynamic balancing measurement instrument | |
CN206684924U (en) | A kind of meter reading system of intelligent water meter | |
CN202905892U (en) | Lithium ion battery test-battery tab shaping cutting integrated device | |
CN207474187U (en) | A kind of plate resistor sputters lateral electrode device | |
CN202093391U (en) | Multifunctional digital signal input card | |
CN206056660U (en) | A kind of green plantss growing environment multifunctional examining measurement equipment | |
CN104698613A (en) | LCM detection system | |
CN204882733U (en) | Pull -plug type power meter structure | |
CN205191931U (en) | Water heater with data interchange function | |
CN201766716U (en) | RRU research and development test system | |
CN203178450U (en) | Field rapid evaluation system for performance of fuel cell standby power supply |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170613 |
|
WD01 | Invention patent application deemed withdrawn after publication |