CN108363014A - A kind of battery pack automated testing method based on LabVIEW - Google Patents
A kind of battery pack automated testing method based on LabVIEW Download PDFInfo
- Publication number
- CN108363014A CN108363014A CN201810086692.4A CN201810086692A CN108363014A CN 108363014 A CN108363014 A CN 108363014A CN 201810086692 A CN201810086692 A CN 201810086692A CN 108363014 A CN108363014 A CN 108363014A
- Authority
- CN
- China
- Prior art keywords
- message
- battery pack
- setting
- automatic test
- labview
- 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/367—Software therefor, e.g. for battery testing using modelling or look-up tables
Abstract
The invention discloses a kind of battery pack automated testing method based on LabVIEW, includes the following steps:The setting of automation termination condition is carried out first;Then the importing of operating mode file is carried out, while the parameter of importing is detected;Secondly, the setting of control parameter;Then control message conversion is carried out, control parameter is converted to by CAN message according to communication protocol, and whether detect CAN communication normal, then carries out in next step, otherwise stopping automatic test if normal;Subsequently, CAN message transmission is carried out;CAN message receives;Receive the parsing and display of message;Again, the judgement of system mode is carried out;Data store;Finally carry out the generation of automation report.Beneficial effects of the present invention:File by importing charging and discharging currents and time relationship makes battery pack carry out the automatic test of electric discharge and feedback in the case of unmanned guard, has using simple, highly practical, conveniently advantage.
Description
Technical field
The present invention relates to technical field of new energy, it particularly relates to which a kind of battery pack based on LabVIEW is automatic
Change test method.
Background technology
The development prospect of new-energy automobile is wide, will necessarily become the main traffic trip tool of future world.New energy
Automobile is widely regarded as one of the main path for the problems such as solving automobile exhaust pollution and short petroleum-based energy, with new energy
The technology of automobile improves, and market is universal and fast-developing, is also carried to the properties of product, reliability, safety of its key components and parts
Go out increasingly higher demands.Power battery and battery management system are responsible for automobile as New-energy electric vehicle core component
It energy supply and stores, affects the performance of electric vehicle, service life and safety.In the development process of battery management system, need
Will be by various functions and validation test, test data type is various, is unfavorable for testing crew and is checked.The present invention provides
A kind of battery pack automatization test system based on LabVIEW, simulation vehicle carry out the battery pack comprising battery management system
The automatic test of electric discharge and feedback.
LabVIEW is a kind of graphical programming language that National Instruments release, the language with conventional code type
Speech, which is compared, seems more convenient intuitive.LabVIEW can give full play to the ability of computer, there is powerful data-handling capacity,
Developer can be easy to carry out multi-thread programming, reduce software development difficulty, and the front panel of LabVIEW provides abundant
Traditional instrument control, user can easily create the user interface of oneself using these controls.
Invention content
For above-mentioned technical problem in the related technology, the present invention proposes a kind of battery pack automation based on LabVIEW
Test method can overcome the above-mentioned deficiency of the prior art.
To realize the above-mentioned technical purpose, the technical proposal of the invention is realized in this way:
A kind of battery pack automated testing method based on LabVIEW, includes the following steps:
S1:Automate the setting of termination condition;
S2:The importing of operating mode file;
S3:The detection of parameter is imported, if detecting parameter in operating mode file within the limits prescribed, is carried out in next step, it is no
Then stop automatic test;
S4:The setting of control parameter;
S5:Message conversion is controlled, control parameter is converted to by CAN message according to communication protocol, and whether just to detect CAN communication
Often, it then carries out in next step, otherwise stopping automatic test if normal;
S6:CAN message is sent;
S7:CAN message receives;
S8:Receive the parsing and display of message;
S9:The judgement of system mode is to judge that system is in discharge condition or regenerating condition according to feedack, if electric discharge
It is unsatisfactory for the precondition of regenerating condition, then stops automatic test;
S10:Data store;
S11:Automate the generation of report.
Further, before step S1, should also include the following steps:
S0:PCAN is initialized, and judges whether to automatic test.
Further, in step sl, the setting of the automation termination condition include Estimated Time Of Operation setting,
It is expected that the setting of the setting and expected battery packet electric current of the battery pack voltage reached.
Further, in step s 11, the generation of the automation report refers to by charge/discharge electricity amount energy, direct current
Charge relay is closed number, main positive relay is closed number, main negative relay is closed in number, testing result and detection process
Fault message and charging and discharging currents, system condition, SOC, cell voltage and the curve graph of time, in the form of report present
Out.
Beneficial effects of the present invention:The present invention can make battery pack by importing the file of charging and discharging currents and time relationship
The automatic test that electric discharge and feedback are carried out in the case of unmanned guard has using simple, highly practical, conveniently
Advantage, while database purchase experimental data facilitate the later stage to carry out experimental analysis, and automation terminate to generate it is corresponding from
Dynamicization test report is closed number to the positive relay of master, main negative relay is closed number, the straight relay that fills is closed number, charge and discharge
Power consumption energy counted, and battery pack voltage, SOC, battery pack current and the relationship of time are inserted into graph form
Into report, display is more intuitive.
Description of the drawings
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of stream of the battery pack automated testing method based on LabVIEW described according to embodiments of the present invention
Cheng Tu.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained belong to what the present invention protected
Range.
As shown in Figure 1, a kind of battery pack automatic test side based on LabVIEW described according to embodiments of the present invention
Method includes the following steps:
S1:Automate the setting of termination condition;
S2:The importing of operating mode file;
S3:The detection of parameter is imported, if detecting parameter in operating mode file within the limits prescribed, is carried out in next step, it is no
Then stop automatic test;
S4:The setting of control parameter;
S5:Message conversion is controlled, control parameter is converted to by CAN message according to communication protocol, and whether just to detect CAN communication
Often, it then carries out in next step, otherwise stopping automatic test if normal;
S6:CAN message is sent;
S7:CAN message receives;
S8:Receive the parsing and display of message;
S9:The judgement of system mode is to judge that system is in discharge condition or regenerating condition according to feedack, if electric discharge
It is unsatisfactory for the precondition of regenerating condition, then stops automatic test;
S10:Data store;
S11:Automate the generation of report.
In one embodiment, before step S1, should also include the following steps:
S0:PCAN is initialized, and judges whether to automatic test.
In one embodiment, in step sl, when the setting of the automation termination condition includes predicted operation
Between set, the setting of the setting and expected battery packet electric current of the estimated battery pack voltage reached.
In one embodiment, in step s 11, the generation of the automation report refers to by charge/discharge electricity amount energy
Amount, DC charging relay are closed number, main positive relay is closed number, main negative relay is closed number, testing result and inspection
The curve graph of fault message and charging and discharging currents, system condition, SOC, cell voltage and time during survey, with report
Form shows.
In order to facilitate understand the present invention above-mentioned technical proposal, below by way of in specifically used mode to the present invention it is above-mentioned
Technical solution is described in detail.
When specifically used, the present invention includes the setting module for automating termination condition, the import modul of operating mode file, leads
Enter the detection module of parameter, the setup module of control parameter, control message conversion module, CAN message sending module, CAN message
Receiving module, the parsing for receiving message and display module, the judgment module of system mode, data memory module and automation are reported
Generation module;Wherein,
The setting module of automation termination condition is set to the termination condition of automatic test, including when predicted operation
Between, estimated battery pack voltage, the expected battery packet electric current etc. reached, if the parameter that upper computer detection is fed back to battery management system
Reach above-mentioned termination condition, host computer will stop automatic test, and disconnect what main positive master bore to battery management system transmission
Instruction, and reset AV900 charging/discharging apparatus.
The import modul of operating mode file is read out with setup parameters such as times to the charging and discharging currents in operating mode file.
The detection module for importing parameter is that the parameter in the operating mode file to reading is detected, as charging and discharging currents are necessary
In [- 100,100], if not in this range, host computer can prompt the user with mistake, and stop automatic test.
The setup module of control parameter is configured to other control parameters outside charging and discharging currents.
It is that control parameter is converted to CAN message according to communication protocol to control message conversion module, then passes through CAN message
Sending module carries out CAN message transmission.
CAN message receiving module is received to the message in CAN network, and according to communication protocol by CAN message solution
Analysis is that actual physical values are shown on interface.
The judgment module of system mode be judge that system is in discharge condition or regenerating condition according to feedack, if
It discharges and is unsatisfactory for the precondition of regenerating condition, host computer will stop automatic test, and send and break to battery management system
Open main positive main negative instruction.
Data memory module is to store the data in test process in database in real time, and user's later stage is facilitated to carry out
Experimental analysis.
Automation report generation module be by some information in automatic test course, as charge/discharge electricity amount energy,
DC charging relay is closed number, main positive relay is closed number, main negative relay is closed number, testing result and detected
The curve graph of fault message and charging and discharging currents, system condition, SOC, cell voltage and time in journey, with the shape of report
Formula is presented to experimenter.
The automated testing method for automobile batteries packet gone out using LabVIEW Development of Software Platform, by battery
Packet carries out the automatic test of unmanned guard, and counts and generate test report the dependence test amount in test process and be in
Now give tester, the results showed that this method can rapidly and accurately complete to battery pack carry out test and test volume statistics with
The functions such as display, and this method has scalability, can easily be transplanted in the testing scheme of other products.
In conclusion the present invention can make battery pack in unmanned prison by importing the file of charging and discharging currents and time relationship
Electric discharge and the automatic test of feedback are carried out in the case of keeping, and are had using simple, highly practical, conveniently advantage, together
When database purchase experimental data, facilitate the later stage to carry out experimental analysis, and automation terminates to generate corresponding automation and surveys
Examination report, number is closed to the positive relay of master, main negative relay is closed number, it is straight fill relay be closed number, charge/discharge electricity amount
Energy is counted, and battery pack voltage, SOC, battery pack current and the relationship of time are inserted into report in graph form
In, display is more intuitive.
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
With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.
Claims (4)
1. a kind of battery pack automated testing method based on LabVIEW, which is characterized in that include the following steps:
S1:Automate the setting of termination condition;
S2:The importing of operating mode file;
S3:The detection of parameter is imported, if detecting parameter in operating mode file within the limits prescribed, is carried out in next step, it is no
Then stop automatic test;
S4:The setting of control parameter;
S5:Message conversion is controlled, control parameter is converted to by CAN message according to communication protocol, and whether just to detect CAN communication
Often, it then carries out in next step, otherwise stopping automatic test if normal;
S6:CAN message is sent;
S7:CAN message receives;
S8:Receive the parsing and display of message;
S9:The judgement of system mode is to judge that system is in discharge condition or regenerating condition according to feedack, if electric discharge
It is unsatisfactory for the precondition of regenerating condition, then stops automatic test;
S10:Data store;
S11:Automate the generation of report.
2. a kind of battery pack automated testing method based on LabVIEW according to claim 1, which is characterized in that
Before step S1, should also it include the following steps:
S0:PCAN is initialized, and judges whether to automatic test.
3. a kind of battery pack automated testing method based on LabVIEW according to claim 1, which is characterized in that
In step S1, the setting of the automation termination condition includes setting, being expected the battery pack reached electricity for Estimated Time Of Operation
The setting of the setting and expected battery packet electric current of pressure.
4. a kind of battery pack automated testing method based on LabVIEW according to claim 1, which is characterized in that
In step S11, the generation of the described automation report refer to by charge/discharge electricity amount energy, DC charging relay be closed number,
Main positive relay is closed number, main negative relay is closed number, testing result and the fault message in detection process and charge and discharge
Electric current, system condition, SOC, cell voltage and the curve graph of time, are showed in the form of report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810086692.4A CN108363014A (en) | 2018-01-30 | 2018-01-30 | A kind of battery pack automated testing method based on LabVIEW |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810086692.4A CN108363014A (en) | 2018-01-30 | 2018-01-30 | A kind of battery pack automated testing method based on LabVIEW |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108363014A true CN108363014A (en) | 2018-08-03 |
Family
ID=63007554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810086692.4A Pending CN108363014A (en) | 2018-01-30 | 2018-01-30 | A kind of battery pack automated testing method based on LabVIEW |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108363014A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111239617A (en) * | 2020-02-24 | 2020-06-05 | Tcl移动通信科技(宁波)有限公司 | Control method and device for charge and discharge test, storage medium and system |
CN112255556A (en) * | 2020-04-30 | 2021-01-22 | 蜂巢能源科技有限公司 | Battery pack offline detection method and system |
CN113490355A (en) * | 2021-07-13 | 2021-10-08 | 上海电气集团电池科技有限公司 | Electrical control box for battery pack offline comprehensive test |
CN113702850A (en) * | 2021-08-27 | 2021-11-26 | 深圳市新威尔电子有限公司 | Battery detection method for transmitting CAN message based on process flow |
CN113702849A (en) * | 2021-08-20 | 2021-11-26 | 深圳市新威尔电子有限公司 | Battery detection data processing method |
-
2018
- 2018-01-30 CN CN201810086692.4A patent/CN108363014A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111239617A (en) * | 2020-02-24 | 2020-06-05 | Tcl移动通信科技(宁波)有限公司 | Control method and device for charge and discharge test, storage medium and system |
CN111239617B (en) * | 2020-02-24 | 2023-02-28 | Tcl移动通信科技(宁波)有限公司 | Control method and device for charge and discharge test, storage medium and system |
CN112255556A (en) * | 2020-04-30 | 2021-01-22 | 蜂巢能源科技有限公司 | Battery pack offline detection method and system |
CN112255556B (en) * | 2020-04-30 | 2023-06-02 | 蜂巢能源科技有限公司 | Battery pack offline detection method and system |
CN113490355A (en) * | 2021-07-13 | 2021-10-08 | 上海电气集团电池科技有限公司 | Electrical control box for battery pack offline comprehensive test |
CN113702849A (en) * | 2021-08-20 | 2021-11-26 | 深圳市新威尔电子有限公司 | Battery detection data processing method |
CN113702850A (en) * | 2021-08-27 | 2021-11-26 | 深圳市新威尔电子有限公司 | Battery detection method for transmitting CAN message based on process flow |
CN113702850B (en) * | 2021-08-27 | 2024-04-16 | 深圳市新威尔电子有限公司 | Battery detection method for sending CAN message based on process flow |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363014A (en) | A kind of battery pack automated testing method based on LabVIEW | |
CN109856540A (en) | A kind of recoverying and utilizing method and stage division of retired battery pack | |
CN104798283B (en) | For testing and safeguarding the application of the facility of high-tension battery and the facility | |
CN106019002B (en) | A kind of validation test platform and its test method for battery management system | |
CN105291875B (en) | A kind of electric vehicle rapid charging method | |
CN103698713A (en) | Method for assessing SOH (state of health) of lithium ion battery | |
CN109839602A (en) | Power battery performance and Valuation Method, device, electronic equipment | |
CN206673990U (en) | A kind of detecting system of communication message | |
CN109672588A (en) | Charging method, storage medium and processor | |
CN107634277A (en) | A kind of automobile high in the clouds battery management system based on wireless telecommunications battery core | |
CN105759208A (en) | Function detection platform for battery management system for battery pack | |
CN109613348A (en) | A kind of high-voltaghe compartment tooling automatic detection device | |
Wang et al. | Research on fault diagnosis system of electric vehicle power battery based on OBD technology | |
CN111707943A (en) | Battery simulation-based electric vehicle charging fault early warning method and system | |
CN108832686A (en) | Charge circuit and charge circuit detection method | |
CN108490279A (en) | The test system and method for battery management system | |
CN106384436A (en) | Intelligent charging system and intelligent charging method | |
CN110501651A (en) | Retired battery core holds detection method and device | |
CN113985296A (en) | Hardware-in-loop test system for battery management system | |
CN105612677B (en) | For preventing the battery management unit of the execution of the control algolithm due to the mistake of communication mistake | |
CN109752664A (en) | A kind of charging detects the method and application of battery core internal resistance in battery pack | |
CN209141935U (en) | A kind of system of real-time monitoring electric current, remaining capacity and insulation performance | |
CN108398636A (en) | A kind of DC charging motor model suitable for hardware-in-loop simulation system | |
CN109270471A (en) | A kind of portable power battery device for fast detecting and system | |
CN108345538A (en) | Test report automatic creation system based on LabVIEW and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180803 |