CN106815144A - A kind of diesel engine electric control system automatic testing arrangement for softwares and method - Google Patents

A kind of diesel engine electric control system automatic testing arrangement for softwares and method Download PDF

Info

Publication number
CN106815144A
CN106815144A CN201611123051.9A CN201611123051A CN106815144A CN 106815144 A CN106815144 A CN 106815144A CN 201611123051 A CN201611123051 A CN 201611123051A CN 106815144 A CN106815144 A CN 106815144A
Authority
CN
China
Prior art keywords
software
test
diesel engine
control system
electric control
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
Application number
CN201611123051.9A
Other languages
Chinese (zh)
Inventor
杨薇
褚全红
孟长江
范燕朝
曹春芳
姚素娟
申晓彦
李菲菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China North Engine Research Institute Tianjin
Original Assignee
China North Engine Research Institute Tianjin
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China North Engine Research Institute Tianjin filed Critical China North Engine Research Institute Tianjin
Priority to CN201611123051.9A priority Critical patent/CN106815144A/en
Publication of CN106815144A publication Critical patent/CN106815144A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3652Software debugging using additional hardware in-circuit-emulation [ICE] arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Engines (AREA)

Abstract

The invention provides a kind of diesel engine electric control system automatic testing arrangement for softwares and method, belong to diesel engine test technical field, described diesel engine electric control system automatic testing arrangement for softwares includes controller, simulation hardware platform and software platform, the simulation hardware platform is connected with controller, the software platform includes that modeling and simulating software, test management software and automatic test case perform software, and the controller and simulation hardware platform, Diesel Engine Model form closed-loop system.Beneficial effects of the present invention:Hardware, model and the test environment that system software can be run are blended, and complete the automatic test that engine runs full working scope, improve testing reliability, reduce person works' intensity and testing time.

Description

A kind of diesel engine electric control system automatic testing arrangement for softwares and method
Technical field
The invention belongs to diesel engine test technical field, more particularly, to a kind of diesel engine electric control system software automatic test Device and method.
Background technology
The system testing of diesel engine electric control system software is a complexity, time-consuming work, is substantially with manual test Main, the consumption plenty of time is in repetition muscle power operation, and all artificial work of the result of test case judges every time so that difference is surveyed The test result difference that examination personnel obtain is very big, and the poor repeatability of test, testing efficiency is low.At present, though in the market have it is various from The execution software of dynamicization test case, but diesel engine electric control system software belongs to strong real-time control software, is also needed to during test Using real-time simulation means of testing, simulation hardware platform, engine mockup and automatic test job are blended, could realized The functions such as automatic loading, configuration and the operation of different diesel engine operating conditions, and do not have a kind of special energy both at home and abroad at present Enough devices for directly carrying out diesel engine electric control system software automatic test.
The content of the invention
In view of this, the present invention is directed to propose a kind of diesel engine electric control system automatic testing arrangement for softwares and method, to solve Certainly the weak point of above mentioned problem, realizes the autorun of diesel engine electric control system software, improves testing reliability, reduces Person works' intensity.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of diesel engine electric control system automatic testing arrangement for softwares, including controller, simulation hardware platform and software platform, The simulation hardware platform is connected with controller, and the software platform includes modeling and simulating software, test management software and automatic Test case performs software,
The modeling and simulating software, sets up real-time diesel simulation model, using the mathematical modulo of engine various pieces Type replaces engine body, each actuator and sensor signal of dynamic analog diesel engine need of work, simulated diesel engine The course of work;
The test management software, configures the software environment of real-time testing control program, realizes that simulation, numeral and communication are total The configuration of line interface, and the running status of whole system is monitored and controlled;
The automatic test case performs software, realizes the management of test event, the design of cycle tests and execution, and Test report is automatically generated.
Further, the simulation hardware platform includes programmable power supply, sensor signal analog module, actuator signal Acquisition module and fault simulation module.
Another embodiment of the present invention additionally provides a kind of diesel engine electric control system Software Automatic Testing Method, the diesel oil Electrical Control systems soft ware automatic test approach, comprises the following steps:
A. engine simulation model is set up using modeling and simulating software;
B. test management software configures diesel engine electric control system test software environment and integrated emulation hardware platform, and associates Engine mockup;
C. the project file of test management software, configuration file are mapped to the testing engineering that test case performs software, Cycle tests is built by test case execution software, test script is write;
D. system software test plan is formulated, automatic test is performed, and generate test report.
Relative to prior art, a kind of diesel engine electric control system automatic testing arrangement for softwares of the present invention and method have There is following advantage:
(1) diesel engine electric control system automatic testing arrangement for softwares of the present invention can run system software Hardware, model and test environment are blended, and complete the automatic test that engine runs full working scope, realize test resource automatic deployment Prepare, test script is performed automatically, test report is automatically generated, and improves testing efficiency and reliability.
(2) diesel engine electric control system Software Automatic Testing Method of the present invention instead of traditional manual test, pole The time of engine rig test and the input of tester are reduced greatly, effectively shortens the Project-developing cycle.
Brief description of the drawings
The accompanying drawing for constituting a part of the invention is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate, for explaining the present invention, not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the diesel engine electric control system automatic testing arrangement for softwares structural representation described in the embodiment of the present invention;
Fig. 2 is the diesel engine electric control system Software Automatic Testing Method flow chart described in the embodiment of the present invention;
Fig. 3 is the diesel engine electric control system software automatic test type sequence figure described in the embodiment of the present invention.
Specific embodiment
It should be noted that in the case where not conflicting, the embodiment in the present invention and the feature in embodiment can phases Mutually combination.
Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in figure 1, a kind of diesel engine electric control system automatic testing arrangement for softwares, including controller, simulation hardware platform And software platform, the simulation hardware platform is connected with controller, and the software platform includes modeling and simulating software, trial Software and automatic test case perform software,
The modeling and simulating software, sets up real-time diesel simulation model, using the mathematical modulo of engine various pieces Type replaces engine body, each actuator and sensor signal of dynamic analog diesel engine need of work, simulated diesel engine The course of work;The test management software, configures the software environment of real-time testing control program, realizes simulation, numeral and communication The configuration of EBI, and the running status of whole system is monitored and controlled;The automatic test case performs software, realizes The management of test event, the design of cycle tests and execution, and test report are automatically generated.
The simulation hardware platform includes programmable power supply, sensor signal analog module, actuator signal acquisition module With fault simulation module, using the teaching of the invention it is possible to provide diesel engine run when various sensor analog signals, engine rotational speed signal, switch and The I/O signals such as indicator lamp, and actuator control signal.
In the present embodiment, the simulation hardware platform is TestBase, and the test management software is Veristand, The modeling and simulating software is the one kind in Matlab or Simulink, and it is INTES that the test case performs software.
As shown in Fig. 2 another embodiment of the present invention additionally provides a kind of diesel engine electric control system software automatic test side Method, the diesel engine electric control system Software Automatic Testing Method, comprises the following steps:
A. engine simulation model is set up using Matlab or Simulink;
B. test management software Veristand configuration diesel engine electric control system test software environment and integrated emulation hardware are flat Platform, and relational engine model;
C. Veristand project files, configuration file are mapped to INTES testing engineerings, test sequence is built by INTES Arrange, write test script;
D. system software test plan is formulated, automatic test is performed, and generate test report.
Below so that diesel engine is in the control performance checking of the rotating speed point of 800r/min as an example, as shown in figure 3, control software is certainly The execution of dynamic test depends on building for cycle tests, according to test logic, test sequence is built using the maneuver library of INTES softwares Row, after waiting system is stable, set system operation in 800r/min perseverance rotating speed patterns, by aims of systems rotating speed, engine The information such as rotating speed, gas pedal, engine torque and injection oil mass are added in Capture controls as monitoring variable, from 10% gas pedal starts, and interval 10% increases gas pedal value, waits engine to transport respectively under different pedal loading conditions Row 3min, monitoring variable is captured into test report.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (3)

1. a kind of diesel engine electric control system automatic testing arrangement for softwares, it is characterised in that:Including controller, simulation hardware platform and Software platform, the simulation hardware platform is connected with controller, and the software platform includes that modeling and simulating software, trial are soft Part and automatic test case perform software,
The modeling and simulating software, sets up real-time diesel simulation model, using the Mathematical Modeling generation of engine various pieces For engine body, each actuator and sensor signal of dynamic analog diesel engine need of work, the work of simulated diesel engine Process;
The test management software, configures the software environment of real-time testing control program, realizes that simulation, numeral and communication bus connect The configuration of mouth, and the running status of whole system is monitored and controlled;
The automatic test case performs software, realizes the management of test event, the design of cycle tests and execution, and test That reports automatically generates.
2. a kind of diesel engine electric control system automatic testing arrangement for softwares according to claim 1, it is characterised in that:It is described imitative True hardware platform includes programmable power supply, sensor signal analog module, actuator signal acquisition module and fault simulation module.
3. a kind of diesel engine electric control system Software Automatic Testing Method, it is characterised in that:The diesel engine electric control system software is certainly Dynamic method of testing, comprises the following steps:
A. engine simulation model is set up using modeling and simulating software;
B. test management software configures diesel engine electric control system test software environment and integrated emulation hardware platform, and association is started Machine model;
C. the project file of test management software, configuration file are mapped to the testing engineering that test case performs software, are passed through Test case performs software and builds cycle tests, writes test script;
D. system software test plan is formulated, automatic test is performed, and generate test report.
CN201611123051.9A 2016-12-08 2016-12-08 A kind of diesel engine electric control system automatic testing arrangement for softwares and method Pending CN106815144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611123051.9A CN106815144A (en) 2016-12-08 2016-12-08 A kind of diesel engine electric control system automatic testing arrangement for softwares and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611123051.9A CN106815144A (en) 2016-12-08 2016-12-08 A kind of diesel engine electric control system automatic testing arrangement for softwares and method

Publications (1)

Publication Number Publication Date
CN106815144A true CN106815144A (en) 2017-06-09

Family

ID=59106751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611123051.9A Pending CN106815144A (en) 2016-12-08 2016-12-08 A kind of diesel engine electric control system automatic testing arrangement for softwares and method

Country Status (1)

Country Link
CN (1) CN106815144A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108490921A (en) * 2018-04-23 2018-09-04 江苏恩达通用设备有限公司 A kind of engine testing system
CN110443084A (en) * 2018-05-03 2019-11-12 中国航发商用航空发动机有限责任公司 Aero-engine closed-loop simulation method and system, emulation platform and its construction device
CN110580835A (en) * 2019-07-10 2019-12-17 中国人民解放军陆军工程大学 Engine electric control oil injection experiment teaching demonstration platform of armored vehicle diesel engine
CN110716531A (en) * 2019-10-14 2020-01-21 中国北方发动机研究所(天津) On-line checking method for real-time simulation model of diesel engine
CN110780659A (en) * 2019-10-14 2020-02-11 中国北方发动机研究所(天津) Fault simulation and test system and method for diesel engine electric control system
CN113325823A (en) * 2021-05-31 2021-08-31 重庆川仪速达机电有限公司 Automatic testing system and method for diesel engine monitor
CN114721957A (en) * 2022-04-14 2022-07-08 合肥卓讯云网科技有限公司 Software and hardware automatic testing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681532A (en) * 2012-05-11 2012-09-19 杭州速玛科技有限公司 Simulating test system for BCM (body control module)
CN104794258A (en) * 2015-03-03 2015-07-22 联合汽车电子有限公司 Automobile hardware-in-loop simulation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681532A (en) * 2012-05-11 2012-09-19 杭州速玛科技有限公司 Simulating test system for BCM (body control module)
CN104794258A (en) * 2015-03-03 2015-07-22 联合汽车电子有限公司 Automobile hardware-in-loop simulation system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
曹春芳 等: ""柴油机电控系统软件仿真测试系统研究及应用"", 《电子制作》 *
董新宇 等: ""基于LabVIEW的柴油机智能检测软件设计"", 《仪表技术》 *
褚全红 等: ""基于Simulink的柴油引燃式天然气发动机控制模型开发"", 《车用发动机》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108490921A (en) * 2018-04-23 2018-09-04 江苏恩达通用设备有限公司 A kind of engine testing system
CN108490921B (en) * 2018-04-23 2019-03-12 江苏恩达通用设备有限公司 A kind of engine testing system
CN110443084A (en) * 2018-05-03 2019-11-12 中国航发商用航空发动机有限责任公司 Aero-engine closed-loop simulation method and system, emulation platform and its construction device
CN110443084B (en) * 2018-05-03 2023-07-18 中国航发商用航空发动机有限责任公司 Aeroengine closed-loop simulation method and system, simulation platform and construction device thereof
CN110580835A (en) * 2019-07-10 2019-12-17 中国人民解放军陆军工程大学 Engine electric control oil injection experiment teaching demonstration platform of armored vehicle diesel engine
CN110716531A (en) * 2019-10-14 2020-01-21 中国北方发动机研究所(天津) On-line checking method for real-time simulation model of diesel engine
CN110780659A (en) * 2019-10-14 2020-02-11 中国北方发动机研究所(天津) Fault simulation and test system and method for diesel engine electric control system
CN113325823A (en) * 2021-05-31 2021-08-31 重庆川仪速达机电有限公司 Automatic testing system and method for diesel engine monitor
CN114721957A (en) * 2022-04-14 2022-07-08 合肥卓讯云网科技有限公司 Software and hardware automatic testing method and device

Similar Documents

Publication Publication Date Title
CN106815144A (en) A kind of diesel engine electric control system automatic testing arrangement for softwares and method
CN103970128B (en) A kind of Wind turbines controller online real-time simulation test system
CN109324601B (en) Test platform of robot controller or control system based on hardware-in-the-loop
CN201829070U (en) Hardware-in-the-loop simulating experiment platform for automatic transmission
CN106650072A (en) Detecting system and method for virtual synchronous generator grid connection based on hardware-in-the-loop simulation
CN106444420B (en) A kind of locomotive semi-hardware type simulation test system and method
CN107340441A (en) A kind of fuel cell car power assembly integrated test system
CN109100954A (en) A kind of controller hardware assemblage on-orbit platform method for building up
CN202548642U (en) Automobile hardware in loop automatic testing device
CN104536856A (en) Method and device for generating environment model for automobile controller test
CN104699068A (en) Universal simulator for aircraft engines
CN105933173A (en) Electric power system intelligent device automatic testing system
CN205121329U (en) Electric motor car hardware is at ring test system
CN204028691U (en) Aeromotor hardware is in loop test system
CN104898647A (en) Automatic calibration simulation testing system for ECU stand
CN102722107A (en) Intelligent integrated development and test system for high-voltage frequency converter and establishment method thereof
CN104598373B (en) A kind of embedded software test method of multi-technical fusion
CN109782626A (en) A kind of wind power master control real-time simulation test macro based on RT-LAB
CN103135545B (en) Automatic gearbox controller semi-physical simulation test system
CN102890499A (en) Method for loop testing of vehicle control unit software of pure electric automobile
CN103631256B (en) A kind of method of engine signal analog simulation test board and test ECU thereof
CN105425609A (en) System for testing electric control hardware of low-speed diesel engine
CN103543739B (en) A kind of for verifying analogue system and the method for engine idle on off control
CN102880166A (en) Hardware-in-loop (HIL) testing platform of velocity measuring system (VMS)
CN108664732A (en) A kind of emulation modelling method of nuclear power plant's standby diesel-generator unit based on interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170609

RJ01 Rejection of invention patent application after publication