CN108802511A - Method and system for testing battery management unit - Google Patents

Method and system for testing battery management unit Download PDF

Info

Publication number
CN108802511A
CN108802511A CN201710309502.6A CN201710309502A CN108802511A CN 108802511 A CN108802511 A CN 108802511A CN 201710309502 A CN201710309502 A CN 201710309502A CN 108802511 A CN108802511 A CN 108802511A
Authority
CN
China
Prior art keywords
test
case
signal
bms
target detection
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
CN201710309502.6A
Other languages
Chinese (zh)
Other versions
CN108802511B (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.)
Jiangsu Contemporary Amperex Technology Ltd
Original Assignee
Contemporary Amperex 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 Contemporary Amperex Technology Co Ltd filed Critical Contemporary Amperex Technology Co Ltd
Priority to CN201710309502.6A priority Critical patent/CN108802511B/en
Priority to PCT/CN2017/093165 priority patent/WO2018201615A1/en
Publication of CN108802511A publication Critical patent/CN108802511A/en
Application granted granted Critical
Publication of CN108802511B publication Critical patent/CN108802511B/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

Abstract

The embodiment of the invention provides a method and a system for testing a battery management unit. In the embodiment of the invention, a target test case of a battery management system BMS is obtained in response to a test instruction, then a test script corresponding to the target test case is obtained, the test script comprises simulation signal information, then a simulation signal is generated according to the simulation signal information, then the simulation signal is output to the BMS, and state information of the BMS after the simulation signal is input is obtained, so that a test result of the BMS is obtained according to the state information. Therefore, the technical scheme provided by the embodiment of the invention can solve the problems of labor waste and low test efficiency caused by manual simulation of the simulation signal by a tester in the prior art.

Description

A kind of test method and system of battery management unit
【Technical field】
The present invention relates to technical field of measurement and test more particularly to the test methods and system of a kind of battery management unit.
【Background technology】
In the prior art, when needing to survey battery management unit (Battery management system, BMS) It when examination, generally requires the emulation signal that tester adjusts and simulates qualified BMS manually, and will simulate manually These emulation signals input to BMS, in order to realize the test to BMS based on these emulation signals.
In realizing process of the present invention, inventor has found that at least there are the following problems in the prior art:
In the prior art, it needs to rely on the manual analog simulation signal of tester, and the emulation signal simulated is manual BMS is inputed to, it is thus desirable to consume more human cost, also, the emulation signal that simulates manually of tester is accurate Spend relatively low, length of testing speech is longer, reduces testing efficiency.
【Invention content】
In view of this, an embodiment of the present invention provides a kind of test method of battery management unit and system, to solve Pass through manpower waste and the relatively low problem of testing efficiency caused by the manual analog simulation signal of tester in the prior art.
On the one hand, an embodiment of the present invention provides a kind of test methods of battery management unit, including:
It is instructed in response to test, obtains the target detection use-case of battery management system BMS;
The corresponding test script of the target detection use-case is obtained, the test script includes emulation signal message;
According to the emulation signal message, emulation signal is generated;
Emulation signal is exported to the BMS;
Obtain status informations of the BMS after inputting the emulation signal;
According to the status information, the test result of the BMS is obtained.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the emulation letter Number include:At least one in voltage signal, current signal, digital signal, pulse width modulation (PWM) signal and CAN message signal It is a.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the target are surveyed Example on probation includes:Test event and test target;
Wherein, the test event includes:Total system test, data input and output DIO tests and automobile open system frame At least one of structure AUTOSAR tests.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method obtains the mesh The corresponding test script of test case is marked, including:
The target detection use-case is matched with several candidate test cases;
When there is the candidate test case to match with the target detection use-case, candidate's test case correspondence is obtained Test script, using as the corresponding test script of the target detection use-case.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method obtains the mesh The corresponding test script of test case is marked, further includes:
When there is no the candidate test case to match with the target detection use-case, prompt message is exported;
The test script that is inputted according to the prompt message is obtained, using as the corresponding test foot of the target detection use-case This.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the method is also Including:
It is corresponding to store the test script inputted according to the prompt message and the target detection use-case.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the target are surveyed Further include in the corresponding test script of example on probation:Emulate the transmission condition of signal;
Emulation signal is exported to before the BMS, the method further includes:
Detect whether the transmission condition for meeting the emulation signal;
When detecting to meet the transmission condition of the emulation signal, execution exports the emulation signal to the BMS The step of.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the method is also Including:
Export the test result of the BMS.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method exports the BMS Test result, including:
According to the emulation signal and the status information, the test report is generated;
Export the test report.
On the other hand, an embodiment of the present invention provides a kind of test systems of battery management unit, including:
First acquisition unit obtains the target detection use-case of battery management system BMS for being instructed in response to test;
Second acquisition unit, for obtaining the corresponding test script of the target detection use-case, the test script includes Emulate signal message;
First generation unit, for according to the emulation signal message, generating emulation signal;
First output unit is exported for that will emulate signal to the BMS;
Third acquiring unit, for obtaining status informations of the BMS after inputting the emulation signal;
4th acquiring unit, for according to the status information, obtaining the test result of the BMS.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the emulation letter Number include:At least one in voltage signal, current signal, digital signal, pulse width modulation (PWM) signal and CAN message signal It is a.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the target are surveyed Example on probation includes:Test event and test target;
Wherein, the test event includes:Total system test, data input and output DIO tests and automobile open system frame At least one of structure AUTOSAR tests.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the system is also Including:Matching unit;
The matching unit, for matching the target detection use-case with several candidate test cases;
The second acquisition unit, for when exist match with the target detection use-case candidate test case when, The corresponding test script of candidate's test case is obtained, the step of using test script corresponding as the target detection use-case.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the system is also Including:Second output unit;
Second output unit, for when there is no the candidate test cases to match with the target detection use-case When, export prompt message;
The second acquisition unit is additionally operable to obtain the test script inputted according to the prompt message, using as described The corresponding test script of target detection use-case.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the system is also Including:
Storage unit, the test script inputted according to the prompt message for corresponding storage are used with the target detection Example.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the target are surveyed Further include in the corresponding test script of example on probation:Emulate the transmission condition of signal;
The system also includes:Detection unit;
The detection unit, for detecting whether meeting the transmission condition of the emulation signal;
First output unit, for when detecting to meet the transmission condition of the emulation signal, execution will be described The step of emulation signal is exported to the BMS.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the system is also Including:
Third output unit, the test result for exporting the BMS.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the system is also Including the second generation unit;
Second generation unit, for according to the emulation signal and the status information, generating the test report;
The third output unit is specifically used for exporting the test report.
A technical solution in above-mentioned technical proposal has the advantages that:
In the embodiment of the present invention, it can be instructed in response to test, automatically obtain target detection use-case and its corresponding survey Training sheet, and run the test script and generate emulation signal, and the emulation signal of generation is inputed into BMS automatically, it should based on this Emulate test of the signal realization to BMS;In this process, it is no longer necessary to which emulation signal is intended and inputted to user hand dynamic model, with target The corresponding test script of test case with automatic running and can obtain test result, human cost be saved, when saving test It is long, improve testing efficiency, also, emulation signal is simulated and modulated manually due to not needing user, avoid due to The relatively low problem of accuracy present in manual analog simulation signal, to which the accuracy for reducing emulation signal is relatively low to surveying The adverse effect of test result improves the accuracy rate of test result.Based on this, technical solution energy that the embodiment of the present invention is provided Enough solutions are wasted by manpower caused by the manual analog simulation signal of tester in the prior art and testing efficiency is lower asks Topic.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow diagram of the test method for the battery management system that the embodiment of the present invention is provided;
Fig. 2 is the hardware architecture diagram of VT systems during the embodiment of the present invention provides;
Fig. 3 is the hardware board schematic diagram in the VT systems that the embodiment of the present invention is provided;
Fig. 4 is the functional block diagram of the test system for the battery management system that the embodiment of the present invention is provided.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the" It is also intended to including most forms, unless context clearly shows that other meanings.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
It will be appreciated that though may describe to obtain using term first, second, third, etc. in embodiments of the present invention single Member etc., but these acquiring units should not necessarily be limited by these terms.These terms are only used for acquiring unit being distinguished from each other out.For example, In the case where not departing from range of embodiment of the invention, first acquisition unit can also be referred to as second acquisition unit, similarly, Second acquisition unit can also be referred to as first acquisition unit.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
It is wasted and is surveyed by manpower caused by the manual analog simulation signal of tester in the presence of the prior art Less efficient problem is tried, an embodiment of the present invention provides following resolving ideas:Certainly based on the corresponding test script of test case It is dynamic to generate emulation signal, and the emulation signal of generation is automatically entered to BMS, to obtain the test result of BMS.
Under the guiding of the thinking, this programme embodiment provides following feasible embodiment.
Embodiment one
The embodiment of the present invention provides a kind of test method of battery management system.
Referring to FIG. 1, the flow diagram of the test method of its battery management system provided by the embodiment of the present invention, As shown in Figure 1, this approach includes the following steps:
S101 instructs in response to test, obtains the target detection use-case of BMS.
The test method for the BMS that the embodiment of the present invention is provided can be applied in the test system of BMS.
Specifically, in the embodiment of the present invention, the target detection use-case of BMS can include but is not limited to:Test event and survey Try target.
Wherein, test target is used to indicate partly tests for which in BMS, for example, can using entire BMS as Test target;In another example can also be using certain units in BMS as test target.Test event is used to indicate to testing mesh Mark carries out the test in terms of which, and test event can include but is not limited to:Total system test, data input and output DIO tests At least one of with automobile open system framework AUTOSAR test, the embodiment of the present invention is to this without being particularly limited to.
S102, obtains the corresponding test script of target detection use-case, and test script includes emulation signal message.
S103 generates emulation signal according to emulation signal message.
It should be noted that in the embodiment of the present invention, emulation signal can include but is not limited to:Voltage signal, electric current letter Number, at least one of digital signal, pulse width modulation (PWM) signal and CAN message signal.
During actually realizing this programme, for different target detection use-cases, the emulation signal of generation is also different. If for example, carrying out system testing to BMS, the emulation signal generated may include above-mentioned six kinds of signals;If carrying out DIO to BMS Test, then the emulation signal generated may include:Voltage signal, current signal, digital signal and pwm signal etc.;If to BMS into Row AUTOSAR tests, then the emulation signal generated may include:Voltage signal, CAN message signal and software variable signal etc.. It is only for for example, being not intended to limit the scope of the invention.
S104 exports emulation signal to BMS.
S105 obtains status informations of the BMS after input emulates signal.
S106 obtains the test result of BMS according to status information.
The test method of BMS provided in an embodiment of the present invention can be applied in the test system of BMS, and user can basis It needs to operate in test system, and test instruction is sent to the test system.
During practical application this programme, it can be previously stored with candidate test case in the test system of BMS, use Family can be operated in candidate test case, selection target test case, which can trigger generation test instruction, ring It should be instructed in the test, determine target detection use-case.Alternatively, life can also be triggered by inputting the title of target detection use-case It is instructed at test.
It should be noted that in the embodiment of the present invention, it can be by the storage corresponding with test script of candidate test case, this Sample can execute the step that the corresponding test script of target detection use-case is obtained in S102 after determining target detection use-case Suddenly.
In addition, it is contemplated that may not have the case where target detection use-case in candidate test case.If for example, BMS The test instruction that test system receives is issued by searching for mode, then, it is possible in the test system that can have BMS The case where target detection use-case is not stored.
Therefore, can be when executing S102 during a concrete implementation, the target detection that will be got in S101 Use-case is matched with several candidate test cases, in this way, when there is the candidate test case to match with target detection use-case When, so that it may to obtain the corresponding test script of candidate's test case, using as the corresponding test script of target detection use-case.
Alternatively, when there is no the candidate test case to match with target detection use-case, prompt message can be exported, with It can be according to the prompt message input test script, it is thus possible to obtain the test inputted according to the prompt message convenient for user Script, using as the corresponding test script of target detection use-case.
Specifically, during actually realizing the step, if desired user is according to the prompt message input test script, These scripts can be transplanted, be used for reference and be encapsulated from other corresponding test scripts of candidate's test case as needed.Example Such as, can be by the corresponding test script of candidate test case, a part of test script with identical artificial intelligence is answered System, and affix in test script input by user.
It should be noted that when target detection use-case is matched with several candidate test cases, it is contemplated that candidate surveys Example on probation can have it is multiple, as long as an at this point, candidate test case phase in target detection use-case and candidate test case Match, is considered as the presence of the candidate test case to match with target detection use-case, at this point, the corresponding test of candidate's test case Script is exactly the corresponding test script of target detection use-case.On the other hand, when target detection use-case and whole candidate tests are used When example all mismatches, it just will be considered that there is no the candidate test cases to match with target detection use-case.
When specifically being matched to target detection use-case and candidate test case, the identification information that both can utilize into Row matching thinks exist when the identification information that there is candidate test case is consistent with the identification information of target detection use-case The candidate test case to match with target detection use-case.Identification information can be preset according to actual needs, and the present invention is real Example is applied to this without being particularly limited to.
For example, identification information is the title of test case, then the title of several candidate test cases is used with target detection The title of example is matched successively, if there are the titles complete one of the title and target detection use-case of a candidate test case It causes, determines the candidate test case for existing and matching with target detection use-case.
Alternatively, in another example, if identification information is test event and test target, by the test of several candidate test cases Project is matched successively with the test event of target detection use-case, meanwhile, by the test target of several candidate test cases with The test target of target detection use-case is matched successively, when there are a candidate test case, this candidate test case Test event and test target all with the test event and all completely the same test target of target detection use-case when, determine exist with The candidate test case that target detection use-case matches;Alternatively, as long as there are a mismatches in the two matching process, determine There is no the candidate test cases to match with target detection use-case.
In the embodiment of the present invention, if after obtaining the test script inputted according to prompt message, storage evidence can be corresponded to and carried Show the test script and target detection use-case of information input, in this way, being equivalent to the candidate test stored in the test system to BMS Correspondence between use-case and test script is updated, to encounter identical target survey carrying out test to BMS later When example on probation, does not need user and input identical test script again, but can be according to the correspondence of corresponding storage before this The corresponding test script of target detection use-case is got, the step of executing automatically and complete S102.
In the embodiment of the present invention, after executing S102 and getting the corresponding test script of target detection use-case, so that it may with straight It connects and executes the step of generating emulation signal in S103.
It should be noted that including emulation signal message in the embodiment of the present invention, in test script, signal message is emulated It can include but is not limited to:Emulate the concrete numerical value of signal.Based on this, in S103, so that it may with according to the information of emulation signal Simulations signal.
For example, when the emulation signal message instruction in test script:It, can be with when voltage signal is 5V, current signal is 1A The voltage signal that numerical value is 5V and the current signal that numerical value is 1A are automatically generated according to these emulation signal messages.
The test system of BMS provided in an embodiment of the present invention can have been obtained according to the information of artificial intelligence compared with high precision The emulation signal of degree, for example, the accuracy of power supply signal can reach ± 100mV, the accuracy of voltage signal can reach 200mV, the accuracy less than 100 Ω resistance signals can reach ± 2 Ω, the resistance signal between 100 Ω and 10k Ω Accuracy can reach ± 2%, and the accuracy of the resistance signal between 10k Ω and 150k Ω can reach ± 2%.
And, it is no longer necessary to user modulates manually and analog simulation signal, is also just no longer influenced by user hand and moves analog signal The influence of caused numberical range can so that emulating signal has broader numberical range.For example, the numberical range of voltage signal 0~40V can be increased to, and the numberical range of resistance signal increases to:10 Ω~150k Ω.
Moreover, in the embodiment of the present invention, the test system response time of BMS quickly, generates imitative according to emulation signal message The duration of true signal is substantially reduced.For example, the duration for generating resistance signal is about 500 μ s, and can be with when voltage signal The formation speed of 20V/ μ s carries out.
Based on this, during a concrete implementation, after executing S103 and generating emulation signal, so that it may with direct It executes in S104 and emulation signal is sent to the step in BMS.
Alternatively, during another concrete implementation, it is contemplated that also wrapped in the corresponding test script of target detection use-case It includes:The transmission condition of signal is emulated, at this point it is possible to before executing S104, detects whether the transmission condition for meeting emulation signal, When detecting to meet the transmission condition of emulation signal, can just execute will emulate signal in S104 is sent to step in BMS.Or S104 is not carried out when detecting to be unsatisfactory for the transmission condition of emulation signal in person, until meeting the transmission item of emulation signal Part.
When the above-mentioned second way execute S104 when, emulate signal transmission condition can carry out according to actual needs it is pre- If.For example, the moment can be preset as, when reaching a certain default at the time of, detects the transmission condition for meeting emulation signal, hold The forwarding step of row S104;Alternatively, when at the time of if not up to this is default, the emulation signal of generation is not sent.Also, based on not Same emulation signal, can be arranged different transmission conditions, no longer be repeated herein.
In the embodiment of the present invention, after executing S104, S105 can be sequentially executed, BMS is obtained and emulates signal in input Status information later.It is understood that the difference based on each candidate test case, the status information of the BMS of acquisition also may be used With difference, alternatively, can also be identical, it is preset according to actual needs during actually realizing this programme, the present invention is real Example is applied to this without being particularly limited to.
Based on the status information of the BMS got in S105, the test result of this BMS can be obtained, therefore, in reality In application process, the test result of the BMS can also be exported.
The test result of output can there are many manifestation modes, for example, survey can be exported in the form of exporting test report Test result.During a concrete implementation, test report can be generated, and export according to emulation signal and status information The test report.It can include but is not limited in the test report:Test process, emulation signal, BMS input emulation signal it At least one of status information and conclusion afterwards.The embodiment of the present invention for test report specific format without especially limiting It is fixed, for example, can be the test report of XML format, or, or the test report of html format.
The technical solution of the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, it can be instructed in response to test, automatically obtain target detection use-case and its corresponding survey Training sheet, and run the test script and generate emulation signal, and the emulation signal of generation is inputed into BMS automatically, it should based on this Emulate test of the signal realization to BMS;In this process, it is no longer necessary to which emulation signal is intended and inputted to user hand dynamic model, with target The corresponding test script of test case with automatic running and can obtain test result, human cost be saved, when saving test It is long, improve testing efficiency, also, emulation signal is simulated and modulated manually due to not needing user, avoid due to The relatively low problem of accuracy present in manual analog simulation signal, to which the accuracy for reducing emulation signal is relatively low to surveying The adverse effect of test result improves the accuracy rate of test result.Based on this, technical solution energy that the embodiment of the present invention is provided Enough solutions are wasted by manpower caused by the manual analog simulation signal of tester in the prior art and testing efficiency is lower asks Topic.
Embodiment two
The test method of test method based on the battery management unit that above-described embodiment one is provided, the BMS can lead to The test system for crossing the BMS for including VT systems, CANOE systems and vTESTStudio systems is realized.
Wherein, CANOE systems are to integrate Bus simulator, record and the automotive networking of test exploitation software platform, Integration testing environment is built for test system and automatic test course provides powerful support.Specifically, CANOE systems can be with Including:Network communication and upper-layer protocol emulation, test process record, test script generate, test panel exploitation, test pattern and Function library is integrated etc..CANOE systems can also provide flexible test panel design function, and user can intuitively control and test Journey, and check the state of BMS systems.CANOE systems support CAN, LIN, FlexRay, MOST, J1939 and Ethernet simultaneously Etc. different bus types.
Referring to FIG. 2, Fig. 2 is the embodiment of the present invention provide in VT systems hardware architecture diagram.As shown in Figure 2 VT systems provide hardware supported for CANOE systems, and VT systems use modularized design, provide abundant optional I/O boards, be used for Emulation signal inputs and detects its output, while having the control interface of current acquisition interface and power supply.With other test equipments It compares, VT systems also have following characteristic:Highgrade integration, it is imitative to signal that onboard Signal-regulated kinase can cover automobile industry True and acquisition requirement, part board have the function of onboard direct fault location, meet diagnostic test demand.VT systems seamless can collect At CANOE, the demand of network test, such as alternation of bed, network management and diagnosing protocol can be completely covered.
VTESTStudio systems write software for test case, and the editor for providing user's input target detection use-case is flat Platform.Also, vTESTStudio systems can provide the graphical development interface of tabular, in addition, being also integrated with demand management, becoming Type management and Bug Tracking interface can facilitate user to carry out the development and maintenance of test case.Specifically, vTESTStudio System can be used for:Create and editor's cycle tests, define test case executes sequence, can using CAN, LIN and Element in the database (DBC, LDF, FIBEX) of FlexRay can use the element in diagnostic data base (CDD, ODX), with Graphics mode parameterizes test pattern, and the test case in link and the libraries modification CAPL exports in the form of test specification List is tested, and, inspection review etc. is provided.
Specifically, referring to FIG. 3, hardware board schematic diagram in the VT systems that Fig. 3, which is the embodiment of the present invention, to be provided.Figure Hardware board shown in 3 is the general name of the hardware board of VT systems, can also include various to have independence in the hardware board The board of function.During a concrete implementation, the model of hardware board shown in Fig. 3 can be VN1640.
For example, the hardware board of VT systems can include but is not limited to:Power supply media board, digital board, simulation card, cable Board and power supply board.
Wherein, power supply board is for connecting VT systems and power supply.During a concrete implementation, the type for board of powering Number can be Desktop Power Supply for VT system boards.
Wherein, power supply media board can be used for connecting BMS and the VT systems, and VT systems are directly connected with power supply, and VT System can provide power supply by power supply media board for BMS, and BMS voltage signals and electric current can be inputed to by the power supply media board Signal.During a concrete implementation, the model of power supply media board can be VT7001A.
Wherein, digital board is used to connect functional unit and VT systems in BMS, can be controlled by controlling digital board Whether the connection between functional unit in VT systems and BMS disconnects.It is understood that when VT systems and a certain functional unit Between connection disconnect when, VT systems can not input emulation signal give the functional unit, meanwhile, can not also acquire the work function list The status information of member;When the connection between VT systems and a certain functional unit does not disconnect, VT systems can input emulation signal The functional unit is given, it is also possible to acquire the status information of the work functional unit.During a concrete implementation, number The model of letter stencil card can be VT2516A.
Wherein, simulation card is for connecting BMS and VT systems, for exporting the emulation signal of generation into BMS.One During a concrete implementation, the model of simulation card can be VT2004A.
Wherein, cable board is for connecting VT systems and computer, specifically, can be connected by cable, when connection is completed Afterwards, user can test BMS with controlling VT systems by being operated on computers.In a concrete implementation mistake The model of Cheng Zhong, cable board can be VT8012.
Hereinafter, illustrating the testing procedure of the test system of this BMS.
First, by each board in VT systems and between BMS and computer connection is established according to above-mentioned relation.
Later, user can issue test instruction by CANOE systems on computers, then, the test system of the BMS can To detect whether to have the candidate test case to match with target detection use-case, the interface of CANOE systems in CANOE systems Display is as shown in Figure 2.
It, can be with when being detected in CANOE systems there is no when the candidate test case to match with target detection use-case The prompting interface of automatic output vTESTStudio systems, prompts user in vTESTStudio systems to target detection use-case Test script can be obtained the test script of target detection use-case into edlin after editor.User passes through vTESTStudio systems After input test script, the file that suffix is vtuexe can be automatically generated, CANOE systems can be by target detection use-case and this The file of vtuexe suffix corresponds to storage.
It later, can be in toolbar Test, Test Setup, the Test Setup for Test Units of CANOE systems The file of middle loaded ribbon vtuexe suffix, also, when the user clicks the Start of Start and Test Configurations when, It proceeds by and sends emulation signal and obtain status informations of the BMS after input emulates signal.To after the completion of test, directly Binding beam, and the status information based on the BMS got after input emulates signal, automatically generate the survey of XML and html format Examination report.
It is understood that the present invention implements a kind of specific reality that provided technical solution is scheme shown in embodiment one Existing mode, only to illustrate this programme, not limiting the application.
The technical solution of the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, it can be instructed in response to test, automatically obtain target detection use-case and its corresponding survey Training sheet, and run the test script and generate emulation signal, and the emulation signal of generation is inputed into BMS automatically, it should based on this Emulate test of the signal realization to BMS;In this process, it is no longer necessary to which emulation signal is intended and inputted to user hand dynamic model, with target The corresponding test script of test case with automatic running and can obtain test result, human cost be saved, when saving test It is long, improve testing efficiency, also, emulation signal is simulated and modulated manually due to not needing user, avoid due to The relatively low problem of accuracy present in manual analog simulation signal, to which the accuracy for reducing emulation signal is relatively low to surveying The adverse effect of test result improves the accuracy rate of test result.Based on this, technical solution energy that the embodiment of the present invention is provided Enough solutions are wasted by manpower caused by the manual analog simulation signal of tester in the prior art and testing efficiency is lower asks Topic.
Embodiment three
Test method based on the battery management unit that above-described embodiment one is provided, the embodiment of the present invention further provide Realize the system embodiment of each step and method in above method embodiment.
Referring to FIG. 4, the functional block diagram of the test system of its battery management unit provided by the embodiment of the present invention. As shown in figure 4, the system includes:
First acquisition unit 61 obtains the target detection use-case of battery management system BMS for being instructed in response to test;
Second acquisition unit 62, for obtaining the corresponding test script of target detection use-case, test script includes that emulation is believed Number information;
First generation unit 63, for according to emulation signal message, generating emulation signal;
First output unit 64 is exported for that will emulate signal to BMS;
Third acquiring unit 65, for obtaining status informations of the BMS after input emulates signal;
4th acquiring unit 66, for according to status information, obtaining the test result of BMS.
In the embodiment of the present invention, emulation signal includes:Voltage signal, current signal, digital signal, pulse width modulation At least one of pwm signal and CAN message signal.
In the embodiment of the present invention, target detection use-case includes:Test event and test target;
Wherein, test event includes:Total system test, data input and output DIO tests and automobile open system framework At least one of AUTOSAR tests.
During a concrete implementation, which further includes:Matching unit 67;
Matching unit 67, for matching target detection use-case with several candidate test cases;
Second acquisition unit 62 is additionally operable to, when there is the candidate test case to match with target detection use-case, obtain The corresponding test script of candidate's test case, using as the corresponding test script of target detection use-case.
At this point, the system further includes:Second output unit 68;
Second output unit 68, for when there is no the candidate test case to match with target detection use-case, exporting Prompt message;
Second acquisition unit 62 is additionally operable to obtain the test script inputted according to prompt message, to use as target detection The corresponding test script of example.
Specifically, the system further includes:
Storage unit 69 stores the test script inputted according to prompt message and target detection use-case for corresponding.
In the embodiment of the present invention, further include in the corresponding test script of target detection use-case:Emulate the transmission condition of signal;
At this point, the system further includes:Detection unit 70;
Detection unit 70, for detecting whether meeting the transmission condition of emulation signal;
First output unit 64, for when detecting to meet the transmission condition of emulation signal, it is defeated that execution will emulate signal The step of going out to BMS.
Specifically, in the embodiment of the present invention, which further includes:
Third output unit 71, the test result for exporting BMS.
During a concrete implementation, system further includes the second generation unit 72;
Second generation unit 72, for according to emulation signal and status information, generating test report.
Third output unit 71 is specifically used for output test report.
Method shown in FIG. 1 is able to carry out by each unit in this present embodiment, the part that the present embodiment is not described in detail, It can refer to the related description to Fig. 1.
The technical solution of the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, it can be instructed in response to test, automatically obtain target detection use-case and its corresponding survey Training sheet, and run the test script and generate emulation signal, and the emulation signal of generation is inputed into BMS automatically, it should based on this Emulate test of the signal realization to BMS;In this process, it is no longer necessary to which emulation signal is intended and inputted to user hand dynamic model, with target The corresponding test script of test case with automatic running and can obtain test result, human cost be saved, when saving test It is long, improve testing efficiency, also, emulation signal is simulated and modulated manually due to not needing user, avoid due to The relatively low problem of accuracy present in manual analog simulation signal, to which the accuracy for reducing emulation signal is relatively low to surveying The adverse effect of test result improves the accuracy rate of test result.Based on this, technical solution energy that the embodiment of the present invention is provided Enough solutions are wasted by manpower caused by the manual analog simulation signal of tester in the prior art and testing efficiency is lower asks Topic.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various The medium of program code can be stored.
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 substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (18)

1. a kind of test method of battery management system, which is characterized in that the method includes:
It is instructed in response to test, obtains the target detection use-case of battery management system BMS;
The corresponding test script of the target detection use-case is obtained, the test script includes emulation signal message;
According to the emulation signal message, emulation signal is generated;
Emulation signal is exported to the BMS;
Obtain status informations of the BMS after inputting the emulation signal;
According to the status information, the test result of the BMS is obtained.
2. according to the method described in claim 1, it is characterized in that, the emulation signal includes:Voltage signal, current signal, At least one of digital signal, pulse width modulation (PWM) signal and CAN message signal.
3. according to the method described in claim 1, it is characterized in that, the target detection use-case includes:Test event and test Target;
Wherein, the test event includes:Total system test, data input and output DIO tests and automobile open system framework At least one of AUTOSAR tests.
4. according to the method described in claim 1, it is characterized in that, obtain the corresponding test script of the target detection use-case, Including:
The target detection use-case is matched with several candidate test cases;
When there is the candidate test case to match with the target detection use-case, the corresponding survey of candidate's test case is obtained Training sheet, using as the corresponding test script of the target detection use-case.
5. according to the method described in claim 4, it is characterized in that, obtain the corresponding test script of the target detection use-case, Further include:
When there is no the candidate test case to match with the target detection use-case, prompt message is exported;
The test script that is inputted according to the prompt message is obtained, using as the corresponding test script of the target detection use-case.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
It is corresponding to store the test script inputted according to the prompt message and the target detection use-case.
7. according to the method described in claim 1, it is characterized in that, also being wrapped in the corresponding test script of the target detection use-case It includes:Emulate the transmission condition of signal;
Emulation signal is exported to before the BMS, the method further includes:
Detect whether the transmission condition for meeting the emulation signal;
When detecting to meet the transmission condition of the emulation signal, execution exports the emulation signal to the step of the BMS Suddenly.
8. according to the method described in claim 1, it is characterized in that, the method further includes:
Export the test result of the BMS.
9. according to the method described in claim 8, it is characterized in that, export the test result of the BMS, including:
According to the emulation signal and the status information, the test report is generated;
Export the test report.
10. a kind of test system of battery management unit, which is characterized in that the system comprises:
First acquisition unit obtains the target detection use-case of battery management system BMS for being instructed in response to test;
Second acquisition unit, for obtaining the corresponding test script of the target detection use-case, the test script includes emulation Signal message;
First generation unit, for according to the emulation signal message, generating emulation signal;
First output unit is exported for that will emulate signal to the BMS;
Third acquiring unit, for obtaining status informations of the BMS after inputting the emulation signal;
4th acquiring unit, for according to the status information, obtaining the test result of the BMS.
11. system according to claim 10, which is characterized in that the emulation signal includes:Voltage signal, electric current letter Number, at least one of digital signal, pulse width modulation (PWM) signal and CAN message signal.
12. system according to claim 10, which is characterized in that the target detection use-case includes:Test event and survey Try target;
Wherein, the test event includes:Total system test, data input and output DIO tests and automobile open system framework At least one of AUTOSAR tests.
13. system according to claim 10, which is characterized in that the system also includes:Matching unit;
The matching unit, for matching the target detection use-case with several candidate test cases;
The second acquisition unit, for when there is the candidate test case to match with the target detection use-case, obtaining The corresponding test script of candidate's test case, using as the corresponding test script of the target detection use-case.
14. system according to claim 13, which is characterized in that the system also includes:Second output unit;
Second output unit, it is defeated for when there is no the candidate test case to match with the target detection use-case Go out prompt message;
The second acquisition unit is additionally operable to obtain the test script inputted according to the prompt message, using as the target The corresponding test script of test case.
15. system according to claim 14, which is characterized in that the system also includes:
Storage unit stores the test script inputted according to the prompt message and the target detection use-case for corresponding.
16. system according to claim 10, which is characterized in that in the corresponding test script of the target detection use-case also Including:Emulate the transmission condition of signal;
The system also includes:Detection unit;
The detection unit, for detecting whether meeting the transmission condition of the emulation signal;
First output unit, for when detecting to meet the transmission condition of the emulation signal, executing the emulation Signal exports the step of to the BMS.
17. system according to claim 10, which is characterized in that the system also includes:
Third output unit, the test result for exporting the BMS.
18. system according to claim 17, which is characterized in that the system also includes the second generation units;
Second generation unit, for according to the emulation signal and the status information, generating the test report;
The third output unit is specifically used for exporting the test report.
CN201710309502.6A 2017-05-04 2017-05-04 Method and system for testing battery management unit Active CN108802511B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710309502.6A CN108802511B (en) 2017-05-04 2017-05-04 Method and system for testing battery management unit
PCT/CN2017/093165 WO2018201615A1 (en) 2017-05-04 2017-07-17 Testing method and system for use with battery management unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710309502.6A CN108802511B (en) 2017-05-04 2017-05-04 Method and system for testing battery management unit

Publications (2)

Publication Number Publication Date
CN108802511A true CN108802511A (en) 2018-11-13
CN108802511B CN108802511B (en) 2020-05-05

Family

ID=64015775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710309502.6A Active CN108802511B (en) 2017-05-04 2017-05-04 Method and system for testing battery management unit

Country Status (2)

Country Link
CN (1) CN108802511B (en)
WO (1) WO2018201615A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109596927A (en) * 2018-12-29 2019-04-09 蜂巢能源科技有限公司 Test method and test macro for battery management system BMS
CN111123891A (en) * 2019-12-24 2020-05-08 国联汽车动力电池研究院有限责任公司 BMS-based quick charging test method, system, equipment and storage medium
CN111682993A (en) * 2020-08-11 2020-09-18 广州汽车集团股份有限公司 Automobile CAN bus signal simulation method and device
CN112255548A (en) * 2019-09-30 2021-01-22 蜂巢能源科技有限公司 Battery management system test method and system
CN112632883A (en) * 2020-12-21 2021-04-09 南京华大九天科技有限公司 Method, device, equipment and medium for testing simulation result of device model
CN114994586A (en) * 2022-08-02 2022-09-02 广东电网有限责任公司惠州供电局 Storage battery inspection instrument inspection and verification device and method
CN117007897A (en) * 2023-10-07 2023-11-07 山西省安装集团股份有限公司 Electrical equipment testing system applied to electrotometer laboratory

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329652A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Regression test automatic system and method
CN102006604A (en) * 2010-01-28 2011-04-06 北京邮电大学 Method and system for testing security of IP multimedia subsystem core network
CN202838014U (en) * 2012-08-23 2013-03-27 宁德时代新能源科技有限公司 Integrated testing device of power battery management system
CN103698686A (en) * 2013-12-11 2014-04-02 华为技术有限公司 Signal testing method and signal testing equipment
CN103713271A (en) * 2013-12-13 2014-04-09 惠州市亿能电子有限公司 BMS current detection unit automatic calibration device and calibration method
CN103995777A (en) * 2014-05-29 2014-08-20 上海科梁信息工程有限公司 Automatic embedded software block box testing system and method
CN104333093A (en) * 2014-11-20 2015-02-04 宁德时代新能源科技有限公司 Electric cabinet management method and device and battery management system
CN104834591A (en) * 2014-05-22 2015-08-12 北汽福田汽车股份有限公司 Method and system for testing AUTOSAR software component
CN205210212U (en) * 2015-12-07 2016-05-04 武汉力神动力电池系统科技有限公司 Battery management system's test system
CN105652124A (en) * 2016-02-18 2016-06-08 清华大学苏州汽车研究院(吴江) Labview-based automobile battery management test system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101762800B (en) * 2010-01-28 2013-04-03 北京航空航天大学 Battery managing system testing platform
KR101255248B1 (en) * 2011-07-04 2013-04-16 로베르트 보쉬 게엠베하 Battery management system and control method thereof
KR101426163B1 (en) * 2012-11-30 2014-08-01 사단법인 전북대학교자동차부품금형기술혁신센터 Bms simulatior
CN103543640B (en) * 2013-09-30 2015-11-18 广东电网公司电力科学研究院 The test macro of battery management system
CN106526376A (en) * 2016-11-04 2017-03-22 宁德时代新能源科技股份有限公司 Simulation test system and simulation test method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329652A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Regression test automatic system and method
CN102006604A (en) * 2010-01-28 2011-04-06 北京邮电大学 Method and system for testing security of IP multimedia subsystem core network
CN202838014U (en) * 2012-08-23 2013-03-27 宁德时代新能源科技有限公司 Integrated testing device of power battery management system
CN103698686A (en) * 2013-12-11 2014-04-02 华为技术有限公司 Signal testing method and signal testing equipment
CN103713271A (en) * 2013-12-13 2014-04-09 惠州市亿能电子有限公司 BMS current detection unit automatic calibration device and calibration method
CN104834591A (en) * 2014-05-22 2015-08-12 北汽福田汽车股份有限公司 Method and system for testing AUTOSAR software component
CN103995777A (en) * 2014-05-29 2014-08-20 上海科梁信息工程有限公司 Automatic embedded software block box testing system and method
CN104333093A (en) * 2014-11-20 2015-02-04 宁德时代新能源科技有限公司 Electric cabinet management method and device and battery management system
CN205210212U (en) * 2015-12-07 2016-05-04 武汉力神动力电池系统科技有限公司 Battery management system's test system
CN105652124A (en) * 2016-02-18 2016-06-08 清华大学苏州汽车研究院(吴江) Labview-based automobile battery management test system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田真: ""整车控制器硬件在环测试流程及测试用例库设计"", 《汽车工程学报》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109596927A (en) * 2018-12-29 2019-04-09 蜂巢能源科技有限公司 Test method and test macro for battery management system BMS
CN112255548A (en) * 2019-09-30 2021-01-22 蜂巢能源科技有限公司 Battery management system test method and system
CN112255548B (en) * 2019-09-30 2023-06-13 蜂巢能源科技有限公司 Battery management system test method and system thereof
CN111123891A (en) * 2019-12-24 2020-05-08 国联汽车动力电池研究院有限责任公司 BMS-based quick charging test method, system, equipment and storage medium
CN111123891B (en) * 2019-12-24 2021-05-28 国联汽车动力电池研究院有限责任公司 BMS-based quick charging test method, system, equipment and storage medium
CN111682993A (en) * 2020-08-11 2020-09-18 广州汽车集团股份有限公司 Automobile CAN bus signal simulation method and device
CN112632883A (en) * 2020-12-21 2021-04-09 南京华大九天科技有限公司 Method, device, equipment and medium for testing simulation result of device model
CN112632883B (en) * 2020-12-21 2022-04-29 南京华大九天科技有限公司 Method, device, equipment and medium for testing simulation result of device model
CN114994586A (en) * 2022-08-02 2022-09-02 广东电网有限责任公司惠州供电局 Storage battery inspection instrument inspection and verification device and method
CN117007897A (en) * 2023-10-07 2023-11-07 山西省安装集团股份有限公司 Electrical equipment testing system applied to electrotometer laboratory
CN117007897B (en) * 2023-10-07 2023-12-08 山西省安装集团股份有限公司 Electrical equipment testing system applied to electrotometer laboratory

Also Published As

Publication number Publication date
WO2018201615A1 (en) 2018-11-08
CN108802511B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN108802511A (en) Method and system for testing battery management unit
CN105866575B (en) Vehicle-mounted display comprehensive testing device and testing method
US9864355B2 (en) Test device for testing a virtual electronic control unit
CN112817872A (en) Development test system and method
Hernandez-Jayo et al. Remote measurement and instrumentation laboratory for training in real analog electronic experiments
US9201764B2 (en) Method and device for creating and testing a control unit program
CN109324601A (en) The test platform of robot controller or control system based on hardware in loop
CN107390110A (en) A kind of method, apparatus and system tested automatically PCBA
CN108052744A (en) Avionic software simulation synthetic test and verification platform
CN104461854B (en) A kind of Ship Equipment software generic simulation test platform
CN108984403A (en) The verification method and device of FPGA logical code
Enisz et al. Reconfigurable real-time hardware-in-the-loop environment for automotive electronic control unit testing and verification
CN104834591B (en) Test the method for testing and system of AUTOSAR component softwares
US20100332211A1 (en) Programmable and reconfigurable hardware for real power system emulation
CN112285586A (en) BMS test method, device and system, simulation test equipment and storage medium
CN106020167A (en) GPIB bus interface-based collision avoidance system testing equipment and test method thereof
CN207541496U (en) A kind of automated diagnostic tester device based on vehicle body domain controller
CN108875368A (en) A kind of safety detection method, apparatus and system
CN116448158A (en) Method and device for testing combination instrument in vehicle and electronic device
CN116450516A (en) Chip verification result verification method, device, equipment and storage medium
CN112305936B (en) Satellite attitude and orbit control semi-physical simulation test method, system, device and storage medium
CN109032947A (en) For the test method of operating system, device, equipment and storage medium
CN114578786A (en) Vehicle test system
CN110978051B (en) Robot simulation device, system, method, readable medium, and electronic apparatus
CN110362906B (en) Method and system for simulating vehicle-mounted voltage dynamic change environment

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201118

Address after: 213300 No. 1000 North Avenue, Kunlun Street, Liyang City, Changzhou City, Jiangsu Province

Patentee after: CONTEMPORARY AMPEREX TECHNOLOGY Ltd. (JIANGSU)

Address before: 352100, Xingang Road, Ningde Town, Jiaocheng District, Fujian, 1

Patentee before: Contemporary Amperex Technology Co.,Ltd.