CN106444714A - Building method and device for controlled object model - Google Patents

Building method and device for controlled object model Download PDF

Info

Publication number
CN106444714A
CN106444714A CN201610924539.5A CN201610924539A CN106444714A CN 106444714 A CN106444714 A CN 106444714A CN 201610924539 A CN201610924539 A CN 201610924539A CN 106444714 A CN106444714 A CN 106444714A
Authority
CN
China
Prior art keywords
interface
input
output interface
model
multiple default
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
CN201610924539.5A
Other languages
Chinese (zh)
Other versions
CN106444714B (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.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle 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 Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201610924539.5A priority Critical patent/CN106444714B/en
Publication of CN106444714A publication Critical patent/CN106444714A/en
Application granted granted Critical
Publication of CN106444714B publication Critical patent/CN106444714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a building method and device for a controlled object model. The method includes the steps that an input/output interface of preset testing software and the controlled object model which the preset testing software needs to test are determined, wherein the controlled object model comprises an input interface, a controlled object body model, a controlled object interface model and an output interface; the controlled object body model and the controlled object interface model are programmed according to an acquired testing requirement; a CAN input/output interface and an IO interface which include multiple preset vehicle types are established; the input interface and the output interface are programmed according to the CAN input/output interface and the IO interface. According to the building method and device, by programming the controlled control model which the testing software needs to test, the controlled control model can be rapidly built, configured and switched in software testing; meanwhile, the testing environment building speed is increased, and the testing period is shortened.

Description

A kind of building method of plant model and device
Technical field
The present invention relates to automobile controller field tests, more particularly to a kind of building method of plant model and dress Put.
Background technology
Development with automotive electronics electrical apparatus technology and the extensive application of ECU, automobile become more comfortable, safe, Energy-conservation and environmental protection.But the automotive electronics electric system on the one hand bringing is increasingly sophisticated, therefore setting and test becomes heavy to closing Will, the required design cycle is longer, cost is higher.At present, more innovations depend on electronic technology, and very multi-functional realization Also increasingly rely on control system.The raising of complexity makes comprehensively and efficiently to test more important than ever.
Test can find as early as possible and right a wrong, reduces cost, therefore, no matter in which ring of electronics device system development Section, it is all indispensable.But exist in current automobile controller software test and build plant model time length, configuration The problems such as interface environment speed is slow, test period is long.
Content of the invention
It is an object of the invention to provide a kind of building method of plant model and device, existing such that it is able to solve Plant model time length is built, configuration interface environment speed is slow, survey present in automobile controller software test in technology The problem of examination cycle length.
In order to solve above-mentioned technical problem, the embodiment of the present invention provides a kind of building method of plant model, including:
Determine that the input/output interface of default test software and described default test software need the controlled device of test Model, described plant model includes:Input interface, controlled device ontology model, controlled device interface model and output Interface;
According to the testing requirement getting, solidify described controlled device ontology model and described controlled device interface model;
Set up CAN input/output interface and the IO input/output interface including multiple default vehicles;
According to described CAN input/output interface and IO input/output interface, solidify described input interface and described output connects Mouthful.
Wherein, described foundation includes the CAN input/output interface of multiple default vehicles and the step of IO input/output interface Suddenly, including:
The CAN protocol collecting and setting up multiple default vehicles describes file and the rigid line wiring of described multiple default vehicle Table;
File and the rigid line wiring of described multiple default vehicle are described according to the CAN protocol of described multiple default vehicles Table, the controlled device interface model of generating platform;
By connecting the controlled device interface model of described controlled device ontology model and described hardware and software platform, foundation includes The CAN input/output interface of multiple default vehicles and IO input/output interface.
Wherein, methods described also includes:
File and the rigid line wiring of described multiple default vehicle are described according to the CAN protocol of described multiple default vehicles Table, carries out application and the emulation of instantiation project to described plant model.
Wherein, the described CAN protocol according to described multiple default vehicles describes file and described plant model is carried out The step of the application of instantiation project and emulation includes:
The CAN protocol that the CAN protocol of instantiation project is described file and described multiple default vehicles describes file and carries out Contrast;
If the CAN protocol of described instantiation project describes and there are the CAN protocol of described multiple default vehicle in file and retouch State the CAN signal that file does not comprise, the CAN protocol that described CAN signal is added to described multiple default vehicle describes in file.
Wherein, the described rigid line connection table according to described multiple default vehicles, carries out example to described plant model The step of the application of change project and emulation includes:
The rigid line connection table of instantiation project is contrasted with the rigid line connection table of described multiple default vehicles;
If the rigid line connection table that there are described multiple default vehicle in the rigid line connection table of described instantiation project does not wrap The I/O interface containing, described I/O interface is added in the rigid line connection table of described multiple default vehicle.
What the embodiment of the present invention also provided a kind of plant model builds device, including:
Determining module, the input/output interface and described default test software for determining default test software needs to survey The plant model of examination, described plant model includes:Input interface, controlled device ontology model, controlled device interface Model and output interface;
First curing module, for according to the testing requirement that gets, solidifying described controlled device ontology model and described Controlled device interface model;
Interface sets up module, for setting up CAN input/output interface and the IO input and output including multiple default vehicles Interface;
Second curing module, for according to described CAN input/output interface and IO input/output interface, solidifying described input Interface and described output interface.
Wherein, described interface is set up module and is included:
First sets up unit, and the CAN protocol for collecting and setting up multiple default vehicles describes file and described multiple The rigid line connection table of default vehicle;
Signal generating unit, for describing file and described multiple default car according to the CAN protocol of described multiple default vehicles The rigid line connection table of type, the controlled device interface model of generating platform;
Second sets up unit, for being connect with the controlled device of described hardware and software platform by connecting described controlled device ontology model Mouth model, sets up CAN input/output interface and the IO input/output interface including multiple default vehicles.
Wherein, described device also includes:
Application simulation module, for describing file and described multiple pre- according to the CAN protocol of described multiple default vehicles If the rigid line connection table of vehicle, described plant model is carried out with application and the emulation of instantiation project.
Wherein, described application simulation module includes:
First comparison unit, for describing the CAN of file and described multiple default vehicles by the CAN protocol of instantiation project Agreement describes file and is contrasted;
First adding device, if for described instantiation project CAN protocol describe there are in file described multiple pre- If the CAN protocol of vehicle describes the CAN signal that file does not comprise, described CAN signal is added to described multiple default vehicle CAN protocol describes in file.
Wherein, described application simulation module includes:
Second comparison unit, for by the rigid line wiring of rigid line connection table and described multiple default vehicles of instantiation project Table is contrasted;
Second adding device, if there are described multiple default vehicle in the rigid line connection table for described instantiation project The I/O interface that do not comprise of rigid line connection table, described I/O interface is added in the rigid line connection table of described multiple default vehicle.
The having the beneficial effect that of the technique scheme of the present invention:
In the such scheme of the embodiment of the present invention, connect by the CAN input and output of the testing requirement that gets and foundation Mouth and IO input/output interface, the plant model needing test to test software solidifies, in achievable software test The fast construction of plant model, configuration and switching, improve the speed of building of test environment simultaneously, shorten test period.
Brief description
Fig. 1 is the flow chart of the building method of plant model of the embodiment of the present invention;
Fig. 2 is the test system closed loop environmental structure schematic diagram of the embodiment of the present invention;
Fig. 3 is the composition structural representation building device of the plant model of the embodiment of the present invention;
Fig. 4 is the particular flow sheet of the building method of plant model of the embodiment of the present invention.
Specific embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The present invention is directed to and builds plant model time length present in the test of prior art automobile controller software, joins Put that interface environment speed is slow, the problem of test period length, provide a kind of building method of plant model, achievable software is surveyed In examination, the fast construction of plant model, configuration and switching, improve the speed of building of test environment simultaneously, shorten test week Phase.
First embodiment
As shown in figure 1, the flow chart of the building method of plant model for the embodiment of the present invention.Tool should be schemed below Body illustrates the implementation process of the method.
Step 101, determines that the input/output interface of default test software and described default test software need test Plant model, described plant model includes:Input interface, controlled device ontology model, controlled device interface model And output interface;
It should be noted that the input/output interface of default test software includes:CAN input/output interface, IO input are defeated Outgoing interface and diagnosis interface etc..
Here, CAN input/output interface refers to support input interface and the output interface of CAN protocol.
IO input/output interface refers to physical hardware input equipment and output equipment interface.
The input/output interface of default test software refers to that the input of the corresponding controller running this default test software is defeated Outgoing interface.
As shown in Fig. 2 plant model can be by the input/output interface of default test software with default test software Composition closed loop test system.
Step 102, according to the testing requirement getting, solidifies described controlled device ontology model and described controlled device connects Mouth model;
Here, illustrate, if it is entire car controller that default test software needs the object of test, controlled device body Model is the miscellaneous part in addition to entire car controller;
And controlled device interface model is then the input order of entire car controller and needs to feed back to closing of entire car controller Ring signal.
Step 103, sets up CAN input/output interface and the IO input/output interface including multiple default vehicles;
Here, multiple default vehicles refer to that the species of automotive type is many as far as possible.
It should be noted that step 103 also can further include:
Step 1031, the CAN protocol collecting and setting up multiple default vehicles describes file and described multiple default vehicle Rigid line connection table;
Need exist for illustrating, CAN protocol describes file and is primarily referred to as DBC file.DBC file can be used to describe single Each logical node information in CAN network, can develop for monitoring or analyzing all logic sections in CAN network according to this document The running status of point.
Rigid line connection table can reflect the physics wiring condition of each circuit on automobile.
Step 1032, describes file and described multiple default vehicle according to the CAN protocol of described multiple default vehicles Rigid line connection table, the controlled device interface model of generating platform;
Here, during the controlled device interface model of generating platform, need to consider direction and the test of interface The factors such as the type of platform.
It should be noted that, the controlled device interface model of hardware and software platform covers multiple automotive types and multiple test platform can For user, corresponding interface model is selected according to different testing requirements.
Step 1033, by connecting the controlled device interface model of described controlled device ontology model and described hardware and software platform, Set up CAN input/output interface and the IO input/output interface including multiple default vehicles.
Here it would be desirable to the signal of controlled device ontology model closed loop feedback is entered with the controlled device interface model of hardware and software platform Row connects, and main inclusion CAN signal and I/O signal are fed back.
Here, the CAN signal feeding back to controller includes the state of the status signal of battery, motor taking electric automobile as a example Driving states of signal and car load etc., wherein default test software is run on this controller.
Hard signal IO also needs to consider the characteristic of sensor, the such as conversion of actual value and physical values.If this characteristic with Automotive type has relation in addition it is also necessary to carry out self adaptation setting, and carries out parametrization demarcation with initialization files.
Step 104, according to described CAN input/output interface and IO input/output interface, solidifies described input interface and institute State output interface.
Here, the input interface of solidification controlled device interface model and output interface are specially:
File is described according to the CAN protocol of multiple default vehicles, that is, DBC file, CAN input/output interface is carried out Configuration.Need exist for the difference according to test platform and carry out self-adaptative adjustment, (Hardware-in-the-Loop, hardware exists HIL Ring), SIL (Software-in-the-Loop, software is in ring) and MIL (Model-in-the-Loop, model is in ring) need Join different CAN input/output interfaces, the CAN module configuration of different test platforms can be variant, and such as HIL stand needs to consider The cycle of CAN signal, triggering type, direction and time delay, configuration of CAN passage etc..
According to the rigid line connection table of multiple default vehicles, IO input/output interface is configured.Here mainly consider pin Multiplexing and adaptive selection.The input interface of IO needs to carry out self-adaptative adjustment, HIL, SIL and MIL according to test platform Need to mate different hardware input interfaces, such as HIL stand needs to consider the board information of I/O channel, channel information, just has Effect, numeral or simulation and hardware load etc..
Preferably, method described in the embodiment of the present invention also can further include:
Step 105, describes the hard of file and described multiple default vehicle according to the CAN protocol of described multiple default vehicles Line connection table, carries out application and the emulation of instantiation project to described plant model.
Here, plant model is carried out with the application of instantiation project and emulation can optimize build controlled right further As model.
Here, step 105 also may particularly include:
Step 1051, the CAN protocol of instantiation project is described the CAN protocol description of file and described multiple default vehicles File is contrasted;
Step 1052, if the CAN protocol of described instantiation project describes there are described multiple default vehicle in file CAN protocol describes the CAN signal that file does not comprise, and the CAN protocol that described CAN signal is added to described multiple default vehicle is retouched State in file.
Need exist for illustrating, after the CAN protocol that CAN signal is added to multiple default vehicles describes in file, Return to step 103 is needed to continue executing with foundation to CAN input/output interface and IO input/output interface, multiple to improve further The CAN protocol of default vehicle describes file.
Step 1053, it is right that the rigid line connection table of the rigid line connection table of instantiation project and described multiple default vehicles is carried out Than;
Step 1054, if the rigid line that there are described multiple default vehicle in the rigid line connection table of described instantiation project connects The I/O interface that line table does not comprise, described I/O interface is added in the rigid line connection table of described multiple default vehicle.
Need exist for illustrate, in the rigid line connection table that I/O interface is added to multiple default vehicles after, need return Step 103 continues executing with the foundation to CAN input/output interface and IO input/output interface, to improve multiple default cars further The rigid line connection table of type.
The building method of plant model provided in an embodiment of the present invention, by the testing requirement that gets and foundation CAN input/output interface and IO input/output interface, to test software need test plant model solidify, can Realize the fast construction of plant model in software test, configuration and switching, improve the speed of building of test environment, contracting simultaneously Short test period.
Here, further, after the completion of above-mentioned plant model is built, then can be according to described testing requirement, to institute State plant model and be opened and closed ring debugging.Here debugging specifically includes:
Plant model and controller test software are carried out closed loop be connected;Need exist for the difference according to test platform It is adjusted, HIL, SIL and MIL need to mate different integrated and connected modes, MIL test is carried out in a model by controller It is attached with controlled device, SIL test needs to carry out controller and the respective code of controlled device integrated, and HIL test The input and output of controller are connected using rigid line with the input and output of HIL stand.
Complete model connect and integrated after, according to input testing requirement test environment is opened and closed ring debugging.
Here, apply the above-mentioned plant model built to carry out functional test to automobile, taking of test environment can be improved Build speed, shorten test period.
Second embodiment
As shown in figure 3, the embodiment of the present invention a kind of plant model is also provided build device, including:
Determining module 201, input/output interface and described default test software for determining default test software need Plant model to be tested, described plant model includes:Input interface, controlled device ontology model, controlled device Interface model and output interface;
It should be noted that the input/output interface of default test software includes:CAN input/output interface, IO input are defeated Outgoing interface and diagnosis interface etc..
Here, CAN input/output interface refers to support input interface and the output interface of CAN protocol.
IO input/output interface refers to physical hardware input equipment and output equipment interface.
The input/output interface of default test software refers to that the input of the corresponding controller running this default test software is defeated Outgoing interface.
First curing module 202, for according to the testing requirement getting, solidifying described controlled device ontology model and institute State controlled device interface model;
Here, illustrate, if it is entire car controller that default test software needs the object of test, controlled device body Model is the miscellaneous part in addition to entire car controller;
And controlled device interface model is then the input order of entire car controller and needs to feed back to closing of entire car controller Ring signal.
Interface sets up module 203, defeated for setting up the CAN input/output interface including multiple default vehicles and IO input Outgoing interface;
Second curing module 204, for according to described CAN input/output interface and IO input/output interface, solidification is described Input interface and described output interface.
Specifically, described interface is set up module 203 and also be may particularly include:
First sets up unit, and the CAN protocol for collecting and setting up multiple default vehicles describes file and described multiple The rigid line connection table of default vehicle;
Need exist for illustrating, CAN protocol describes file and is primarily referred to as DBC file.DBC file can be used to describe single Each logical node information in CAN network, can develop for monitoring or analyzing all logic sections in CAN network according to this document The running status of point.
Rigid line connection table can reflect the physics wiring condition of each circuit on automobile.
Signal generating unit, for describing file and described multiple default car according to the CAN protocol of described multiple default vehicles The rigid line connection table of type, the controlled device interface model of generating platform;
Here, during the controlled device interface model of generating platform, need to consider direction and the test of interface The factors such as the type of platform.
It should be noted that, the controlled device interface model of hardware and software platform covers multiple automotive types and multiple test platform can For user, corresponding interface model is selected according to different testing requirements.
Second sets up unit, for being connect with the controlled device of described hardware and software platform by connecting described controlled device ontology model Mouth model, sets up CAN input/output interface and the IO input/output interface including multiple default vehicles.
Here it would be desirable to the signal of controlled device ontology model closed loop feedback is entered with the controlled device interface model of hardware and software platform Row connects, and main inclusion CAN signal and I/O signal are fed back.
Specifically, the device of building of the plant model of the present embodiment may also include:
Application simulation module 205, for describing file and described multiple according to the CAN protocol of described multiple default vehicles The rigid line connection table of default vehicle, carries out application and the emulation of instantiation project to described plant model.
Specifically, described application simulation module 205 also may particularly include:
First comparison unit, for describing the CAN of file and described multiple default vehicles by the CAN protocol of instantiation project Agreement describes file and is contrasted;
First adding device, if for described instantiation project CAN protocol describe there are in file described multiple pre- If the CAN protocol of vehicle describes the CAN signal that file does not comprise, described CAN signal is added to described multiple default vehicle CAN protocol describes in file.
Specifically, described application simulation module 205 also may particularly include:
Second comparison unit, for by the rigid line wiring of rigid line connection table and described multiple default vehicles of instantiation project Table is contrasted;
Second adding device, if there are described multiple default vehicle in the rigid line connection table for described instantiation project The I/O interface that do not comprise of rigid line connection table, described I/O interface is added in the rigid line connection table of described multiple default vehicle.
Plant model provided in an embodiment of the present invention build device, the test being got by the first curing module Demand and interface set up CAN input/output interface and the IO input/output interface that module is set up, and test software are needed test Plant model solidified, the fast construction of plant model in achievable software test, configuration and switching, simultaneously Improve the speed of building of test environment, shorten test period.
3rd embodiment
As shown in figure 4, the particular flow sheet of the building method of plant model for the embodiment of the present invention.Below should Figure illustrates the implementation process of the method.
Step 301, determines the input/output interface of test software;
Here, this step also determines the structure of plant model simultaneously.
Step 302, solidification controlled device ontology model and interface;
Here, it is to be configured according to testing requirement to the solidification of controlled device ontology model and interface.
Step 303, the CAN setting up all standing describes file and rigid line connection table;
Here, all standing refers to that the species of the vehicle of covering is more.
Step 304, the CAN passage of configuration solidification and I/O channel;
Step 305, the application of instantiation project and emulation;
Whether step 306, include whole passages of instantiation project in the rigid line connection table judging all standing;
If so, then execution step 308;Otherwise, then return to step 303;
Step 307, judges the CAN of all standing to describe in file and whether includes the whole CAN signal of instantiation project;
If so, then execution step 308;Otherwise, then return to step 303.
Step 308, the closed-loop regulation of hardware and software platform model.
The above is the preferred embodiment of the present invention it is noted that for those skilled in the art For, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, these improvements and modifications Should be regarded as protection scope of the present invention.

Claims (10)

1. a kind of building method of plant model is it is characterised in that include:
Determine that the input/output interface of default test software and described default test software need the plant model of test, Described plant model includes:Input interface, controlled device ontology model, controlled device interface model and output interface;
According to the testing requirement getting, solidify described controlled device ontology model and described controlled device interface model;
Set up CAN input/output interface and the IO input/output interface including multiple default vehicles;
According to described CAN input/output interface and IO input/output interface, solidify described input interface and described output interface.
2. plant model according to claim 1 building method it is characterised in that described foundation include multiple The CAN input/output interface of default vehicle and the step of IO input/output interface, including:
The CAN protocol collecting and setting up multiple default vehicles describes file and the rigid line connection table of described multiple default vehicle;
File and the rigid line connection table of described multiple default vehicle are described according to the CAN protocol of described multiple default vehicles, raw Become the controlled device interface model of hardware and software platform;
By connecting the controlled device interface model of described controlled device ontology model and described hardware and software platform, foundation includes multiple The CAN input/output interface of default vehicle and IO input/output interface.
3. the building method of plant model according to claim 2 is it is characterised in that methods described also includes:
File and the rigid line connection table of described multiple default vehicle are described according to the CAN protocol of described multiple default vehicles, right Described plant model carries out application and the emulation of instantiation project.
4. plant model according to claim 3 building method it is characterised in that described according to described multiple pre- If the CAN protocol of vehicle describes file, and described plant model is carried out with the application of instantiation project and the step bag of emulation Include:
The CAN protocol that the CAN protocol of instantiation project is described file and described multiple default vehicles describes file and is contrasted;
If the CAN protocol of described instantiation project describes the CAN protocol description literary composition that there are described multiple default vehicle in file The CAN signal that part does not comprise, the CAN protocol that described CAN signal is added to described multiple default vehicle describes in file.
5. plant model according to claim 3 building method it is characterised in that described according to described multiple pre- If the rigid line connection table of vehicle, the step of the application and emulation that carry out instantiation project to described plant model includes:
The rigid line connection table of instantiation project is contrasted with the rigid line connection table of described multiple default vehicles;
If the rigid line connection table that there are described multiple default vehicle in the rigid line connection table of described instantiation project does not comprise I/O interface, described I/O interface is added in the rigid line connection table of described multiple default vehicle.
6. a kind of plant model build device it is characterised in that include:
Determining module, input/output interface and described default test software for determining default test software need test Plant model, described plant model includes:Input interface, controlled device ontology model, controlled device interface model And output interface;
First curing module, for according to the testing requirement that gets, solidifying described controlled device ontology model and described controlled Object interface model;
Interface sets up module, for setting up CAN input/output interface and the IO input/output interface including multiple default vehicles;
Second curing module, for according to described CAN input/output interface and IO input/output interface, solidifying described input interface With described output interface.
7. plant model according to claim 6 build device it is characterised in that described interface sets up module bag Include:
First sets up unit, and the CAN protocol for collecting and setting up multiple default vehicles describes file and described multiple default The rigid line connection table of vehicle;
Signal generating unit, for describing file and described multiple default vehicle according to the CAN protocol of described multiple default vehicles Rigid line connection table, the controlled device interface model of generating platform;
Second sets up unit, for the controlled device interface mould by connecting described controlled device ontology model and described hardware and software platform Type, sets up CAN input/output interface and the IO input/output interface including multiple default vehicles.
8. plant model according to claim 7 build device it is characterised in that also including:
Application simulation module, for describing file and described multiple default car according to the CAN protocol of described multiple default vehicles The rigid line connection table of type, carries out application and the emulation of instantiation project to described plant model.
9. plant model according to claim 8 build device it is characterised in that described application simulation module bag Include:
First comparison unit, for describing the CAN protocol of file and described multiple default vehicles by the CAN protocol of instantiation project Description file is contrasted;
First adding device, if the CAN protocol for described instantiation project describes and there are described multiple default car in file The CAN protocol of type describes the CAN signal that file does not comprise, and described CAN signal is added to the CAN association of described multiple default vehicle In view description file.
10. plant model according to claim 8 build device it is characterised in that described application simulation module Including:
Second comparison unit, for entering the rigid line connection table of instantiation project with the rigid line connection table of described multiple default vehicles Row contrast;
Second adding device, if there are the hard of described multiple default vehicle in the rigid line connection table for described instantiation project The I/O interface that line connection table does not comprise, described I/O interface is added in the rigid line connection table of described multiple default vehicle.
CN201610924539.5A 2016-10-24 2016-10-24 A kind of building method and device of plant model Active CN106444714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610924539.5A CN106444714B (en) 2016-10-24 2016-10-24 A kind of building method and device of plant model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610924539.5A CN106444714B (en) 2016-10-24 2016-10-24 A kind of building method and device of plant model

Publications (2)

Publication Number Publication Date
CN106444714A true CN106444714A (en) 2017-02-22
CN106444714B CN106444714B (en) 2019-01-22

Family

ID=58175890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610924539.5A Active CN106444714B (en) 2016-10-24 2016-10-24 A kind of building method and device of plant model

Country Status (1)

Country Link
CN (1) CN106444714B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920350A (en) * 2018-06-29 2018-11-30 北京新能源汽车股份有限公司 A kind of control method and control device of the generation of test environmental model
CN110109437A (en) * 2019-02-15 2019-08-09 北京车和家信息技术有限公司 Closed loop test system method for building up, device and the equipment of entire car controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009175917A (en) * 2008-01-23 2009-08-06 Toshiba Corp Controlled parameter adjustment method and controlled parameter adjustment program
CN102436184A (en) * 2011-10-08 2012-05-02 厦门大学 EMP (embedded microprocessor)-based double-target machine control real-time simulation system
CN104536856A (en) * 2014-12-12 2015-04-22 北京新能源汽车股份有限公司 Method and device for generating environment model of automobile controller test
EP2940586A1 (en) * 2014-04-29 2015-11-04 Hitachi Ltd. Method and system for testing control software of a controlled system
CN105700512A (en) * 2016-01-26 2016-06-22 北京长城华冠汽车科技股份有限公司 A test system for testing a vehicle control system and a method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009175917A (en) * 2008-01-23 2009-08-06 Toshiba Corp Controlled parameter adjustment method and controlled parameter adjustment program
CN102436184A (en) * 2011-10-08 2012-05-02 厦门大学 EMP (embedded microprocessor)-based double-target machine control real-time simulation system
EP2940586A1 (en) * 2014-04-29 2015-11-04 Hitachi Ltd. Method and system for testing control software of a controlled system
CN104536856A (en) * 2014-12-12 2015-04-22 北京新能源汽车股份有限公司 Method and device for generating environment model of automobile controller test
CN105700512A (en) * 2016-01-26 2016-06-22 北京长城华冠汽车科技股份有限公司 A test system for testing a vehicle control system and a method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920350A (en) * 2018-06-29 2018-11-30 北京新能源汽车股份有限公司 A kind of control method and control device of the generation of test environmental model
CN110109437A (en) * 2019-02-15 2019-08-09 北京车和家信息技术有限公司 Closed loop test system method for building up, device and the equipment of entire car controller
CN110109437B (en) * 2019-02-15 2020-07-28 北京车和家信息技术有限公司 Method, device and equipment for establishing closed-loop test system of vehicle control unit

Also Published As

Publication number Publication date
CN106444714B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN103728968B (en) CAN network and ECU Function Test Automation system
CN204595599U (en) Based on the automobile electronic controller general-utility test platform of CANoe
US9857820B2 (en) Method and device for simulating an electric/electronic load
CN104865948B (en) A kind of automobile controller automatic diagnostic device and method
CN111221325B (en) Hardware-in-loop test system and method
CN104536856A (en) Method and device for generating environment model of automobile controller test
CN104850112A (en) Electric automobile vehicle controller test method and system
CN102472775B (en) For measuring and/or the equipment of generating electrical variables and method
CN111650925A (en) dSPACE-based hybrid electric vehicle hardware-in-loop simulation system construction method
CN106444714A (en) Building method and device for controlled object model
CN109471373A (en) The hardware-in-the-loop test system and device of bidirectional charger controller
CN106575106A (en) Simulation apparatus and method for simulating a peripheral circuit arrangement that can be connected to a regulating device
Graf et al. Real-time HIL-simulation of power electronics
CN202886986U (en) Verification system of control algorithm for motor
CN108089501A (en) Subway permanent magnetism traction convertor control logic modeling method based on Simulink and Sateflow
CN108153288B (en) Test circuit, test method and test equipment of electric door ECU
CN211669543U (en) HIL test system suitable for mixed operation system
Mews et al. From AUTOSAR models to co-simulation for MiL-Testing in the automotive domain
CN106405277B (en) Testing device and method for main processing unit in nuclear power station protection system
CN206833184U (en) Interface module for microcontroller
Allen Simulation and test systems for validation of electric drive and battery management systems
CN105807750A (en) Semi-physical simulation test device and test method for transmission control unit of urban rail vehicle
McNeal et al. Standard tools for hardware-in-the-loop (HIL) modeling and simulation
CN105203946A (en) Embedded core wrapper device and design method thereof
CN201673404U (en) Testing device of automobile electronic control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant