CN106444714B - Method and device for building controlled object model - Google Patents

Method and device for building controlled object model Download PDF

Info

Publication number
CN106444714B
CN106444714B CN201610924539.5A CN201610924539A CN106444714B CN 106444714 B CN106444714 B CN 106444714B CN 201610924539 A CN201610924539 A CN 201610924539A CN 106444714 B CN106444714 B CN 106444714B
Authority
CN
China
Prior art keywords
variety
interface
input
default
model
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.)
Active
Application number
CN201610924539.5A
Other languages
Chinese (zh)
Other versions
CN106444714A (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 method and a device for building a controlled object model, wherein the method comprises the following steps: determining an input/output interface of preset test software and a controlled object model to be tested by the preset test software, wherein the controlled object model comprises: the system comprises an input interface, a controlled object body model, a controlled object interface model and an output interface; according to the obtained test requirement, the controlled object body model and the controlled object interface model are solidified; establishing a CAN input/output interface and an IO input/output interface comprising a plurality of preset vehicle types; and according to the CAN input/output interface and the IO input/output interface, solidifying the input interface and the output interface. According to the invention, through solidifying the controlled object model to be tested by the test software, the controlled object model can be quickly built, configured and switched in the software test, meanwhile, the building speed of the test environment is improved, and the test period is shortened.

Description

A kind of building method and device of plant model
Technical field
The present invention relates to automobile controller testing fields, more particularly to the building method and dress of a kind of plant model It sets.
Background technique
With the development of automotive electronics electrical apparatus technology and the extensive use of electronic control unit, automobile become more comfortable, safety, Energy conservation and environmental protection.But one side bring automotive electronics electric system is increasingly sophisticated, therefore setting and test become heavy to closing It wants, the required design cycle is longer, cost is higher.Currently, more innovate depends on electronic technology, and very multi-functional realization Also control system is increasingly relied on.The raising of complexity is so that test more important than in the past comprehensively and efficiently.
Test can find and right a wrong as early as possible, reduce cost, therefore, no matter electronics device system development which ring Section, it is all indispensable.But exists 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.
Summary of the invention
The purpose of the present invention is to provide a kind of building method of plant model and devices, existing so as to solve Build that the plant model time is long, configuration interface environment speed is slow, surveys in technology present in automobile controller software test Try the problem of period length.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of building method of plant model, comprising:
The input/output interface and the default test software for determining default test software need controlled device to be tested Model, the plant model include: input interface, controlled device ontology model, controlled device interface model and output Interface;
According to the testing requirement got, solidify the controlled device ontology model and the controlled device interface model;
Foundation includes that there are many CAN input/output interfaces and IO input/output interface of default vehicle;
According to the CAN input/output interface and IO input/output interface, solidifies the input interface and the output connects Mouthful.
Wherein, the foundation includes the step there are many CAN input/output interface of default vehicle and IO input/output interface Suddenly, comprising:
It collects and the CAN protocol for establishing a variety of default vehicles describes the rigid line wiring of file and a variety of default vehicles Table;
The rigid line wiring of file and a variety of default vehicles is described according to the CAN protocol of a variety of default vehicles Table, the controlled device interface model of generating platform;
By connecting the controlled device interface model of the controlled device ontology model and the hardware and software platform, foundation includes The CAN input/output interface and IO input/output interface of a variety of default vehicles.
Wherein, the method also includes:
The rigid line wiring of file and a variety of default vehicles is described according to the CAN protocol of a variety of default vehicles Table carries out the application and emulation of instantiation project to the plant model.
Wherein, the CAN protocol according to a variety of default vehicles describes file to plant model progress The step of application and emulation of instantiation project includes:
The CAN protocol that the CAN protocol for the project that instantiates describes file and a variety of default vehicles is described into file progress Comparison;
If the CAN protocol of the instantiation project describes in file, there are the CAN protocols of a variety of default vehicles to retouch The CAN signal that file does not include is stated, the CAN protocol that the CAN signal is added to a variety of default vehicles is described in file.
Wherein, the rigid line connection table according to a variety of default vehicles carries out example to the plant model The step of application and emulation of change project includes:
The rigid line connection table for the project that instantiates and the rigid line connection table of a variety of default vehicles are compared;
If there are the rigid line connection tables of a variety of default vehicles not to wrap in the rigid line connection table of the instantiation project The I/O interface is added in the rigid line connection table of a variety of default vehicles by the I/O interface contained.
What the embodiment of the present invention also provided a kind of plant model builds device, comprising:
Determining module, input/output interface and the default test software for determining default test software need to survey The plant model of examination, the plant model include: 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 the controlled device ontology model and described Controlled device interface model;
Interface establishes module, includes that there are many CAN input/output interface of default vehicle and IO input and output for establishing Interface;
Second curing module, for solidifying the input according to the CAN input/output interface and IO input/output interface Interface and the output interface.
Wherein, the interface establishes module and includes:
First establishing unit, the CAN protocol for collecting and establishing a variety of default vehicles describe file and described a variety of The rigid line connection table of default vehicle;
Generation unit, for describing file and a variety of default vehicles according to the CAN protocol of a variety of default vehicles The rigid line connection table of type, the controlled device interface model of generating platform;
Second establishes unit, connects for the controlled device by connecting the controlled device ontology model and the hardware and software platform Mouth mold type, foundation include that there are many CAN input/output interfaces and IO input/output interface of default vehicle.
Wherein, described device further include:
Application simulation module, for describing file and described a variety of pre- according to the CAN protocol of a variety of default vehicles If the rigid line connection table of vehicle carries out the application and emulation of instantiation project to the plant model.
Wherein, the application simulation module includes:
First comparison unit, for the CAN protocol for the project that instantiates to be described to the CAN of file Yu a variety of default vehicles Agreement describes file and compares;
First adding unit, if the CAN protocol for the instantiation project describes in file, there are described a variety of pre- If the CAN protocol of vehicle describes the CAN signal that file does not include, the CAN signal is added to a variety of default vehicles CAN protocol describes in file.
Wherein, the application simulation module includes:
Second comparison unit, for the rigid line connection table of project and the rigid line wiring of a variety of default vehicles will to be instantiated Table compares;
Second adding unit, if for there are a variety of default vehicles in the rigid line connection table of the instantiation project The rigid line connection table I/O interface that does not include, the I/O interface is added in the rigid line connection table of a variety of default vehicles.
The advantageous effects of the above technical solutions of the present invention are as follows:
In the above scheme of the embodiment of the present invention, connect by the CAN input and output of the testing requirement and foundation that get Mouth and IO input/output interface need plant model to be tested to be solidified, it can be achieved that in software test test software Fast construction, configuration and the switching of plant model, while improving the speed of building of test environment, shortening test period.
Detailed description of the invention
Fig. 1 is the flow chart of the building method of the plant model of the embodiment of the present invention;
Fig. 2 is the test macro closed loop environmental structure diagram of the embodiment of the present invention;
Fig. 3 is the composed structure schematic diagram for building device of the plant model of the embodiment of the present invention;
Fig. 4 is the specific flow chart of the building method of the plant model of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
The plant model time is long, matches for building present in the test of prior art automobile controller software by the present invention The problem that interface environment speed is slow, test period is long is set, provides a kind of building method of plant model, it can be achieved that software is surveyed The fast construction of plant model, configuration and switching in examination, while the speed of building of test environment is improved, shortening test week Phase.
First embodiment
As shown in Figure 1, the flow chart of the building method for the plant model of the embodiment of the present invention.It should scheme to have below Body illustrates the implementation process of this method.
Step 101, it is to be tested to determine that the input/output interface of default test software and the default test software need Plant model, the plant model include: 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: that CAN input/output interface, IO input are defeated Outgoing interface and diagnosis interface etc..
Here, CAN input/output interface refers to the input interface and output interface for supporting 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 controller of the corresponding operation default test software is defeated Outgoing interface.
As shown in Fig. 2, plant model and default test software can pass through the input/output interface of default test software Form closed loop test system.
Step 102, according to the testing requirement got, solidify the controlled device ontology model and the controlled device connects Mouth mold type;
Here, for example, if it is entire car controller, controlled device ontology that default test software, which needs object to be tested, Model is the other component 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 for entire car controller Ring signal.
Step 103, foundation includes that there are many CAN input/output interfaces and IO input/output interface of default vehicle;
Here, a variety of default vehicles refer to that the type of automotive type is more as far as possible.
It should be noted that step 103 can also further comprise:
Step 1031, it collects and the CAN protocol for establishing a variety of default vehicles describes file and a variety of default vehicles Rigid line connection table;
What needs to be explained here is that CAN protocol, which describes file, is primarily referred to as DBC file.DBC file can be used to describe single Each logical node information in CAN network can be developed according to this document for monitoring or analyzing all logic sections in CAN network The operating status of point.
Rigid line connection table can reflect the physics wiring condition of each circuit on automobile.
Step 1032, file and a variety of default vehicles are described according to the CAN protocol of a variety of 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 a variety of automotive types and a variety of test platforms can Corresponding interface model is selected according to different testing requirements for user.
Step 1033, by connecting the controlled device interface model of the controlled device ontology model and the hardware and software platform, Foundation includes that there are many CAN input/output interfaces and IO input/output interface of default vehicle.
Here, by need controlled device ontology model closed loop feedback signal and hardware and software platform controlled device interface model into Row connection mainly includes that CAN signal and I/O signal are fed back.
Here by taking electric car as an example, the CAN signal for feeding back to controller includes the state of the status signal of battery, motor Signal and the driving states of vehicle etc., wherein default test software is run on the controller.
Hard signal IO also needs to consider the characteristic of sensor, such as the conversion of true value and physical values.If the characteristic with Automotive type has relationship, it is also necessary to is adaptively arranged, and carry out parametrization calibration with initialization files.
Step 104, according to the CAN input/output interface and IO input/output interface, solidify the input interface and institute State output interface.
Here, solidify the input interface and output interface of controlled device interface model specifically:
File, that is, DBC file are described according to the CAN protocol of a variety of default vehicles, CAN input/output interface is carried out Configuration.It needs exist for adaptively being adjusted according to the difference of test platform, (Hardware-in-the-Loop, hardware exist HIL Ring), SIL (Software-in-the-Loop, software is in ring) and MIL (Model-in-the-Loop, model is in ring) need With different CAN input/output interfaces, the CAN module configuration of different test platforms can be variant, as HIL rack needs to consider Period of CAN signal, triggering type, direction and delay time, the configuration in the channel CAN etc..
IO input/output interface is configured according to the rigid line connection table of a variety of default vehicles.Here mainly consider pin Multiplexing and adaptive selection.The input interface needs of IO are adaptively adjusted according to test platform, HIL, SIL and MIL Need to match different hardware input interfaces, as HIL rack needs to consider the board information of I/O channel, channel information, just has Effect, number or simulation and hardware load etc..
Preferably, method described in the embodiment of the present invention can also further comprise:
Step 105, the hard of file and a variety of default vehicles is described according to the CAN protocol of a variety of default vehicles Line connection table carries out the application and emulation of instantiation project to the plant model.
Here, controlled pair built can be advanced optimized by carrying out the application of instantiation project and emulation to plant model As model.
Here, step 105 also may particularly include:
Step 1051, the CAN protocol that the CAN protocol for the project that instantiates describes file and a variety of default vehicles is described File compares;
Step 1052, if the CAN protocol of the instantiation project describes in file, there are a variety of default vehicles CAN protocol describes the CAN signal that file does not include, and the CAN protocol that the CAN signal is added to a variety of default vehicles is retouched It states in file.
What needs to be explained here is that after the CAN protocol that CAN signal is added to a variety of default vehicles describes in file, Return step 103 is needed to continue to execute the foundation to CAN input/output interface and IO input/output interface, it is a variety of further to improve The CAN protocol of default vehicle describes file.
Step 1053, the rigid line connection table of the rigid line connection table for the project that instantiates and a variety of default vehicles is carried out pair Than;
Step 1054, if there are the rigid lines of a variety of default vehicles to connect in the rigid line connection table of the instantiation project The I/O interface is added in the rigid line connection table of a variety of default vehicles by the I/O interface that line table does not include.
What needs to be explained here is that needing to return after in the rigid line connection table that I/O interface is added to a variety of default vehicles Step 103 continues to execute the foundation to CAN input/output interface and IO input/output interface, further to improve a variety of default vehicles The rigid line connection table of type.
The building method of plant model provided in an embodiment of the present invention passes through the testing requirement and foundation got CAN input/output interface and IO input/output interface, need plant model to be tested to solidify test software, can It realizes fast construction, configuration and the switching of plant model in software test, while improving the speed of building of test environment, contracting Short test period.
It here, further, then can be according to the testing requirement, to institute after the completion of above-mentioned plant model is built It states plant model and ring debugging is opened and closed.Here debugging specifically includes:
Plant model and controller test software are subjected to closed loop connection;Need exist for the difference according to test platform It is adjusted, HIL, SIL and MIL need to match different integrated and connection types, and MIL test carries out in a model by controller It is attached with controlled device, SIL test needs to integrate controller and the respective code of controlled device, and HIL is tested The input and output of controller are connected with the input and output of HIL rack using rigid line.
After completing model connection and integrating, ring debugging is opened and closed to test environment according to the testing requirement of input.
Here, functional test is carried out to automobile using the above-mentioned plant model built, taking for test environment can be improved Speed is built, test period is shortened.
Second embodiment
As shown in figure 3, the embodiment of the present invention a kind of plant model is also provided build device, comprising:
Determining module 201, input/output interface and the default test software for determining default test software need Plant model to be tested, the plant model include: 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: that CAN input/output interface, IO input are defeated Outgoing interface and diagnosis interface etc..
Here, CAN input/output interface refers to the input interface and output interface for supporting 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 controller of the corresponding operation default test software is defeated Outgoing interface.
First curing module 202, for solidifying the controlled device ontology model and institute according to the testing requirement got State controlled device interface model;
Here, for example, if it is entire car controller, controlled device ontology that default test software, which needs object to be tested, Model is the other component 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 for entire car controller Ring signal.
Interface establishes module 203, includes that there are many CAN input/output interface of default vehicle and IO input are defeated for establishing Outgoing interface;
Second curing module 204, for according to the CAN input/output interface and IO input/output interface, described in solidification Input interface and the output interface.
It also may particularly include specifically, the interface establishes module 203:
First establishing unit, the CAN protocol for collecting and establishing a variety of default vehicles describe file and described a variety of The rigid line connection table of default vehicle;
What needs to be explained here is that CAN protocol, which describes file, is primarily referred to as DBC file.DBC file can be used to describe single Each logical node information in CAN network can be developed according to this document for monitoring or analyzing all logic sections in CAN network The operating status of point.
Rigid line connection table can reflect the physics wiring condition of each circuit on automobile.
Generation unit, for describing file and a variety of default vehicles according to the CAN protocol of a variety of 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 a variety of automotive types and a variety of test platforms can Corresponding interface model is selected according to different testing requirements for user.
Second establishes unit, connects for the controlled device by connecting the controlled device ontology model and the hardware and software platform Mouth mold type, foundation include that there are many CAN input/output interfaces and IO input/output interface of default vehicle.
Here, by need controlled device ontology model closed loop feedback signal and hardware and software platform controlled device interface model into Row connection mainly includes that 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 that
Application simulation module, for describing file and described a variety of pre- according to the CAN protocol of a variety of default vehicles If the rigid line connection table of vehicle carries out the application and emulation of instantiation project to the plant model.
Specifically, the application simulation module also may particularly include:
First comparison unit, for the CAN protocol for the project that instantiates to be described to the CAN of file Yu a variety of default vehicles Agreement describes file and compares;
First adding unit, if the CAN protocol for the instantiation project describes in file, there are described a variety of pre- If the CAN protocol of vehicle describes the CAN signal that file does not include, the CAN signal is added to a variety of default vehicles CAN protocol describes in file.
Specifically, the application simulation module also may particularly include:
Second comparison unit, for the rigid line connection table of project and the rigid line wiring of a variety of default vehicles will to be instantiated Table compares;
Second adding unit, if for there are a variety of default vehicles in the rigid line connection table of the instantiation project The rigid line connection table I/O interface that does not include, the I/O interface is added in the rigid line connection table of a variety of default vehicles.
Plant model provided in an embodiment of the present invention builds device, the test got by the first curing module Demand and interface establish the CAN input/output interface and IO input/output interface of module foundation, need to test to test software Plant model solidified, it can be achieved that the fast construction of plant model, configuration and switching in software test, simultaneously That improves test environment builds speed, shortens test period.
3rd embodiment
As shown in figure 4, the specific flow chart of the building method for the plant model of the embodiment of the present invention.Below should Figure illustrates the implementation process of this method.
Step 301, the input/output interface of test software is determined;
Here, this step also determines the structure of plant model simultaneously.
Step 302, solidify controlled device ontology model and interface;
It here, to the solidification of controlled device ontology model and interface is configured according to testing requirement.
Step 303, the CAN for establishing all standing describes file and rigid line connection table;
Here, all standing refers to that the type of the vehicle of covering is more.
Step 304, the cured channel CAN and I/O channel are configured;
Step 305, the application and emulation of project are instantiated;
Step 306, judge in the rigid line connection table of all standing whether include instantiation project whole channels;
If so, thening follow the steps 308;Otherwise, then return step 303;
Step 307, judge the CAN of all standing describe in file whether include instantiation project whole CAN signal;
If so, thening follow the steps 308;Otherwise, then return step 303.
Step 308, the closed-loop regulation of hardware and software platform model.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (10)

1. a kind of building method of plant model characterized by comprising
The input/output interface and the default test software for determining default test software need plant model to be tested, The plant model includes: input interface, controlled device ontology model, controlled device interface model and output interface;
According to the testing requirement got, solidify the controlled device ontology model and the controlled device interface model;
Foundation includes that there are many CAN input/output interfaces and IO input/output interface of default vehicle;
According to the CAN input/output interface and IO input/output interface, solidify the plant model input interface and The output interface of the plant model.
2. the building method of plant model according to claim 1, which is characterized in that it is described foundation include there are many The step of CAN input/output interface and IO input/output interface of default vehicle, comprising:
It collects and the CAN protocol for establishing a variety of default vehicles describes the rigid line connection table of file and a variety of default vehicles;
The rigid line connection table of file and a variety of default vehicles is described according to the CAN protocol of a variety of default vehicles, it is raw At the controlled device interface model of hardware and software platform;
By connecting the controlled device interface model of the controlled device ontology model and the hardware and software platform, there are many foundation includes The CAN input/output interface and IO input/output interface of default vehicle.
3. the building method of plant model according to claim 2, which is characterized in that the method also includes:
The rigid line connection table of file and a variety of default vehicles is described according to the CAN protocol of a variety of default vehicles, it is right The plant model carries out the application and emulation of instantiation project.
4. the building method of plant model according to claim 3, which is characterized in that described according to described a variety of pre- If the CAN protocol of vehicle describes the step of file carries out the application and emulation of instantiation project to plant model packet It includes:
The CAN protocol that the CAN protocol for the project that instantiates describes file and a variety of default vehicles is described file to compare;
If the CAN protocol of the instantiation project describes in file, there are the CAN protocol of a variety of default vehicles description texts The CAN signal that part does not include describes the CAN protocol that the CAN signal is added to a variety of default vehicles in file.
5. the building method of plant model according to claim 3, which is characterized in that described according to described a variety of pre- If the rigid line connection table of vehicle, the step of application and emulation of instantiation project are carried out to the plant model, includes:
The rigid line connection table for the project that instantiates and the rigid line connection table of a variety of default vehicles are compared;
Do not include if there are the rigid line connection tables of a variety of default vehicles in the rigid line connection table of the instantiation project The I/O interface is added in the rigid line connection table of a variety of default vehicles by I/O interface.
6. a kind of plant model builds device characterized by comprising
Determining module, input/output interface and the default test software for determining default test software need to be tested Plant model, the plant model include: 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 the controlled device ontology model and described controlled Object interface model;
Interface establishes module, includes that there are many CAN input/output interfaces and IO input/output interface of default vehicle for establishing;
Second curing module, for solidifying the controlled device according to the CAN input/output interface and IO input/output interface The output interface of the input interface of model and the plant model.
7. plant model according to claim 6 builds device, which is characterized in that the interface establishes module packet It includes:
First establishing unit, the CAN protocol for collecting and establishing a variety of default vehicles describe file and described a variety of default The rigid line connection table of vehicle;
Generation unit, for describing file and a variety of default vehicles according to the CAN protocol of a variety of default vehicles Rigid line connection table, the controlled device interface model of generating platform;
Second establishes unit, for the controlled device interface mould by connecting the controlled device ontology model and the hardware and software platform Type, foundation include that there are many CAN input/output interfaces and IO input/output interface of default vehicle.
8. plant model according to claim 7 builds device, which is characterized in that further include:
Application simulation module, for describing file and a variety of default vehicles according to the CAN protocol of a variety of default vehicles The rigid line connection table of type carries out the application and emulation of instantiation project to the plant model.
9. plant model according to claim 8 builds device, which is characterized in that the application simulation module packet It includes:
First comparison unit, for the CAN protocol for the project that instantiates to be described to the CAN protocol of file Yu a variety of default vehicles Description file compares;
First adding unit, if the CAN protocol for the instantiation project describes in file, there are a variety of default vehicles The CAN protocol of type describes the CAN signal that file does not include, and the CAN that the CAN signal is added to a variety of default vehicles is assisted In view description file.
10. plant model according to claim 8 builds device, which is characterized in that the application simulation module Include:
Second comparison unit, for will instantiate project rigid line connection table and a variety of default vehicles rigid line connection table into Row comparison;
Second adding unit, if for there are the hard of a variety of default vehicles in the rigid line connection table of the instantiation project The I/O interface is added in the rigid line connection table of a variety of default vehicles by the I/O interface that line connection table does not include.
CN201610924539.5A 2016-10-24 2016-10-24 Method and device for building controlled object model Active CN106444714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610924539.5A CN106444714B (en) 2016-10-24 2016-10-24 Method and device for building controlled object model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610924539.5A CN106444714B (en) 2016-10-24 2016-10-24 Method and device for building controlled object model

Publications (2)

Publication Number Publication Date
CN106444714A CN106444714A (en) 2017-02-22
CN106444714B true 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 Method and device for building controlled object model

Country Status (1)

Country Link
CN (1) CN106444714B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920350A (en) * 2018-06-29 2018-11-30 北京新能源汽车股份有限公司 Control method and control device for generating test environment model
CN110109437B (en) * 2019-02-15 2020-07-28 北京车和家信息技术有限公司 Method, device and equipment for establishing closed-loop test system of vehicle control unit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4908433B2 (en) * 2008-01-23 2012-04-04 株式会社東芝 Control parameter adjustment method and control parameter adjustment program
CN102436184B (en) * 2011-10-08 2014-12-24 厦门大学 EMP (embedded microprocessor)-based double-target machine control real-time simulation system
EP2940586B1 (en) * 2014-04-29 2023-03-01 Hitachi, Ltd. Method and system for testing control software of a controlled system
CN104536856B (en) * 2014-12-12 2018-03-13 北京新能源汽车股份有限公司 Method and device for generating environment model for automobile controller test
CN105700512B (en) * 2016-01-26 2019-06-21 北京长城华冠汽车科技股份有限公司 Test the test macro and method of vehicle control system

Also Published As

Publication number Publication date
CN106444714A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN204595599U (en) Based on the automobile electronic controller general-utility test platform of CANoe
CN104536856B (en) Method and device for generating environment model for automobile controller test
CN111221325B (en) Hardware-in-loop test system and method
CN104865948B (en) A kind of automobile controller automatic diagnostic device and method
CN106598034B (en) Drive and control of electric machine strategy test macro and method
CN104850112A (en) Electric automobile vehicle controller test method and system
CN106444714B (en) Method and device for building controlled object model
CN112115604B (en) Combined simulation method and system for Modelica model and Simulink model and electronic equipment
CN110879588A (en) Design method of test system combining pure electric three-electric ECU (electronic control Unit) with HIL (high-level integrated Circuit) rack
CN109471373A (en) Hardware-in-loop simulation test system and device of bidirectional charger controller
CN102472775B (en) For measuring and/or the equipment of generating electrical variables and method
CN107592239A (en) A kind of CAN network power supply changes automatic test device and its method
CN104298129A (en) Test simulator of automotive electronic controller
CN104298222A (en) Super capacitor management system hardware-in-loop test system and test method
CN103885034A (en) Digital signal processing device for radar
CN202886986U (en) Verification system of control algorithm for motor
CN103428048A (en) Adjustment test apparatus for ai module
CN103941594A (en) Electric-hydraulic braking rapid control prototype of electric vehicle
CN211669543U (en) HIL test system suitable for mixed operation system
CN104345263B (en) A kind of signal management method and apparatus of digital-analog mix-mode chip
CN106919527A (en) The method and device that a kind of Android intelligent equipment USB interface is expanded
CN112422358B (en) Bus signal analyzer and bus signal analyzing method
CN103633898A (en) Data communication device that carries out serial communication in order to control motor
CN106054671A (en) Intelligent vehicle simulation platform for active safety
CN105807750B (en) A kind of the semi-hardware type simulation test device and test method of city rail vehicle motion control unit

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