CN108183812A - A kind of diesel engine electric control system CAN bus emulation platform and its test method - Google Patents
A kind of diesel engine electric control system CAN bus emulation platform and its test method Download PDFInfo
- Publication number
- CN108183812A CN108183812A CN201711176997.6A CN201711176997A CN108183812A CN 108183812 A CN108183812 A CN 108183812A CN 201711176997 A CN201711176997 A CN 201711176997A CN 108183812 A CN108183812 A CN 108183812A
- Authority
- CN
- China
- Prior art keywords
- control system
- bus
- communication
- diesel engine
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
The present invention provides a kind of diesel engine electric control system CAN bus emulation platforms, including Computer Simulation terminal and CAN interface card, installation database software for editing and bus network simulation analysis software in the Computer Simulation terminal.The present invention can simulate the CAN bus communication environment between diesel engine electric control system and Full Vehicle System, it completes using diesel engine electric control system as CAN bus communication Design, simulating, verifying and the communication test of core, network posture test between electric-control system and other CAN bus nodes is advanceed between Full Vehicle System joint-trial, in development phase orientation and communication failure, effectively evade application risk, save development time and cost.
Description
Technical field
The invention belongs to diesel engine test technical fields, are emulated more particularly, to a kind of diesel engine electric control system CAN bus
Platform and its test method.
Background technology
Diesel engine electric control system is the extremely complex system of a function, is present in automobile as a kernel subsystems
In network and vehicle electric system, propulsion system carry out information sharing, real-time exchange data.CAN bus is because its is reliable and stable, line
Simply, the advantages that cost of implementation is relatively low becomes the important means of vehicle network Comprehensive Control, and electric-control system is also with Full Vehicle System
It is required that it is communicated using CAN bus.
At present, during electric-control system CAN bus communication scheme, communication identification code is mainly write manually, passes through CAN interface
Card carries out point-to-point data transmit-receive function debugging.Monomer communication Design, need to be until Full Vehicle System carries out joint debugging, just by rear
The function debugging of multinode network state can be carried out, examine, test whether final design meets entrucking requirement.It is such to open
Originating party formula inefficiency, and correctness is difficult to ensure that, very big hidden danger is caused to the quality of product.
It is, therefore, desirable to provide a kind of diesel engine electric control system CAN bus emulation platform, in the design process to entirely communicating
System does comprehensive test, ensure to receive, the authenticity of transmission data while, it is ensured that electric-control system CAN bus is developed
Testability, promptly and accurately solve design problem, meet the communication need of vehicle.
Invention content
In view of this, the present invention is directed to propose a kind of diesel engine electric control system CAN bus emulation platform and its test method,
To realize the emulation of diesel engine electric control system communication network, the integrality of test electric-control system and Full Vehicle System communication and correctly
The fault-tolerant recovery function of property and CAN communication.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
A kind of diesel engine electric control system CAN bus emulation platform, it is described including Computer Simulation terminal and CAN interface card
Installation database software for editing and bus network simulation analysis software in Computer Simulation terminal;The database edits software is used
In planned network communications protocol, the database file for meeting electric-control system CAN communication demand, the letter used in definition system are established
Number, the transmitting-receiving relation information of message, node and message;The bus network simulation analysis software for complete electric-control system and
The transmission system that communicates, the modeling and simulation of vehicle electric terminals nodal function, monitor network-bus and are analyzed, and verify
Communication function between each node;
The Computer Simulation terminal connects CAN bus to be measured by CAN interface card signal, CAN interface card be used for it is total
Gauze network simulation analysis software coordinates, and realizes the transmitting-receiving of communication data.
The test method of above-mentioned diesel engine electric control system CAN bus emulation platform, includes the following steps:
1) network architecture design;
2) application database software for editing carries out communication function definition, according to network architecture design CAN communication database;
3) nodal function modeling and protocol emulation are established by bus network simulation analysis software, is programmed and defined by node
Node action analyzes the communication behavior of analogue system, tests the communication function between each node under communication protocol and virtual environment
Correctness, and the definition of the communication function of step 2) is optimized according to simulation result;
4) it after the completion of diesel engine electric control system exploitation, is tested by carrying out electric-control system with vehicle system integrating, to divide
Analyse the function of true diesel engine electric control system communication node.
During carrying out electric-control system CAN bus emulation testing using the platform, designed in electric-control system communication software
Before, by build Communication Model, it can be achieved that the communications such as electric-control system and vehicle electric system, transmission system it is fully simulated.
The verification of electric-control system communication strategy is correct, after the completion of communication identification code, can be replaced with true electric control system controls device
Analog node carries out semi-hardware type simulation test, to accuracy, promptness of electric-control system and each inter-node communication of Full Vehicle System etc.
Comprehensively tested.
Relative to the prior art, platform of the present invention and method are respectively provided with following advantage:
The present invention can simulate the CAN bus communication environment between diesel engine electric control system and Full Vehicle System, complete with diesel oil
Electrical Control system is CAN bus communication Design, simulating, verifying and the communication test of core, by electric-control system and other CAN bus
Between network posture test between node advances to Full Vehicle System joint-trial, in development phase orientation and communication failure, effectively evading should
With risk, development time and cost are saved.
Description of the drawings
The attached drawing for forming the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the diesel engine electric control system CAN bus emulation platform Organization Chart described in the embodiment of the present invention;
Fig. 2 is diesel engine electric control system CAN bus emulation testing flow chart described in the embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Diesel engine electric control system CAN bus emulation platform of the present invention, as shown in Figure 1, including Computer Simulation terminal and CAN
Interface card, installation database software for editing and bus network simulation analysis software in the Computer Simulation terminal;
The database edits software is used for planned network communications protocol, and foundation meets electric-control system CAN communication demand
The information such as database file, the transmitting-receiving relationship of signal, message, node and message used in definition system;
The bus network simulation analysis software is used for the transmission system completed electric-control system and communicated, vehicle electric terminals
The modeling and simulation of nodal function, monitors network-bus and is analyzed, and verifies the communication function between each node;
The bus network simulation analysis software selects the bus network emulation of Vector companies, analysis tool CANoe, institute
Database edits choice of software CAN network data library edit tool CANdb++Editor is stated, it can be achieved that electric-control system CAN communication
Emulation, bus system functional analysis and the test of network.
The Computer Simulation terminal connects CAN bus to be measured by CAN interface card signal, CAN interface card be used for it is total
Gauze network simulation analysis software coordinates, and realizes the transmitting-receiving of communication data, and CAN interface card selects CAN bus hardware interface card
VN7600 or CANcaseXL.
Diesel engine electric control system controller substitutes the simulation node of electric-control system after the completion of exploitation, carries out communication function survey
Examination.The emulation and test of electric-control system CAN bus ability to communicate can be carried out using the platform, verification communicates complete with Full Vehicle System
Whole property, correctness and fault-tolerant recovery function.
The test method of above-mentioned diesel engine electric control system CAN bus emulation platform, as shown in Fig. 2, including the following steps:
First, network architecture design:
The attribute and communication need of diesel engine electric control system CAN network are specified, such as the baud rate of communication, the transmitting-receiving section of message
Point, the concrete signal and the data type of each signal and correspond to the conversion side between actual physical value that each message includes
The information such as formula;
Later, communication function definition is carried out using CANdb++Editor softwares, according to network architecture design CAN communication number
According to library;
Later, nodal function modeling and protocol emulation are carried out by CANoe tools, establishes the simulation node of system, pass through
Node programming simulation definition node action, analyzes the communication behavior of analogue system, tests each under communication protocol and virtual environment
The correctness of communication function between node, and modify to communication protocol (i.e. communication function define) according to simulation result with it is excellent
Change;
Finally, it after the completion of diesel engine electric control system exploitation, is tested, come with vehicle system integrating by carrying out electric-control system
Analyze the function of true diesel engine electric control system communication node.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.
Claims (2)
1. a kind of diesel engine electric control system CAN bus emulation platform, it is characterised in that:It is connect including Computer Simulation terminal and CAN
Mouth blocks, installation database software for editing and bus network simulation analysis software in the Computer Simulation terminal;The database
Software for editing is used for planned network communications protocol, establishes the database file for meeting electric-control system CAN communication demand, defines system
In the transmitting-receiving relation information of signal, message, node and message used;The bus network simulation analysis software is used to complete
Electric-control system and the transmission system communicated, the modeling and simulation of vehicle electric terminals nodal function, monitor network-bus
And analysis, verify the communication function between each node;
The Computer Simulation terminal connects CAN bus to be measured by CAN interface card signal, and CAN interface card is used for and bus network
Network simulation analysis software coordinates, and realizes the transmitting-receiving of communication data.
2. the test method of diesel engine electric control system CAN bus emulation platform described in claim 1, it is characterised in that including such as
Lower step:
1) network architecture design;
2) application database software for editing carries out communication function definition, according to network architecture design CAN communication database;
3) nodal function modeling and protocol emulation are established by bus network simulation analysis software, definition node is programmed by node
Action, analyzes the communication behavior of analogue system, is testing communication function between each node under communication protocol and virtual environment just
True property, and the communication function definition of step 2) is optimized according to simulation result;
4) it after the completion of diesel engine electric control system exploitation, is tested by carrying out electric-control system with vehicle system integrating, it is true to analyze
The function of real diesel engine electric control system communication node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711176997.6A CN108183812A (en) | 2017-11-22 | 2017-11-22 | A kind of diesel engine electric control system CAN bus emulation platform and its test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711176997.6A CN108183812A (en) | 2017-11-22 | 2017-11-22 | A kind of diesel engine electric control system CAN bus emulation platform and its test method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108183812A true CN108183812A (en) | 2018-06-19 |
Family
ID=62545189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711176997.6A Pending CN108183812A (en) | 2017-11-22 | 2017-11-22 | A kind of diesel engine electric control system CAN bus emulation platform and its test method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108183812A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928275A (en) * | 2019-12-12 | 2020-03-27 | 重庆长安新能源汽车科技有限公司 | Multi-controller combined HIL (high-level hierarchical level) rack message frame loss fault injection test system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106154865A (en) * | 2016-07-01 | 2016-11-23 | 中国汽车技术研究中心 | A kind of vehicle bus phantom self-generating method and system |
CN106338978A (en) * | 2015-07-04 | 2017-01-18 | 杭州富阳恒泰汽车电器有限公司 | CAN bus communication function test system and test method thereof |
CN107222362A (en) * | 2017-05-26 | 2017-09-29 | 南京越博动力***股份有限公司 | A kind of vehicle CAN network automatic test platform and its optimization method |
US20170331699A1 (en) * | 2016-05-12 | 2017-11-16 | Ajou University Industry-Academic Cooperation Foundation | Ecu for transmitting large data in hil test environment, system including the same and method thereof |
-
2017
- 2017-11-22 CN CN201711176997.6A patent/CN108183812A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106338978A (en) * | 2015-07-04 | 2017-01-18 | 杭州富阳恒泰汽车电器有限公司 | CAN bus communication function test system and test method thereof |
US20170331699A1 (en) * | 2016-05-12 | 2017-11-16 | Ajou University Industry-Academic Cooperation Foundation | Ecu for transmitting large data in hil test environment, system including the same and method thereof |
CN106154865A (en) * | 2016-07-01 | 2016-11-23 | 中国汽车技术研究中心 | A kind of vehicle bus phantom self-generating method and system |
CN107222362A (en) * | 2017-05-26 | 2017-09-29 | 南京越博动力***股份有限公司 | A kind of vehicle CAN network automatic test platform and its optimization method |
Non-Patent Citations (1)
Title |
---|
王任重: ""基于CAN总线的车载网络控制***研究与设计"", 《中国优秀硕士学位论文全文数据库(电子期刊),工程科技Ⅱ辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928275A (en) * | 2019-12-12 | 2020-03-27 | 重庆长安新能源汽车科技有限公司 | Multi-controller combined HIL (high-level hierarchical level) rack message frame loss fault injection test system and method |
CN110928275B (en) * | 2019-12-12 | 2022-07-01 | 重庆长安新能源汽车科技有限公司 | Multi-controller combined HIL (high-level hierarchical level) rack message frame loss fault injection test system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106444420B (en) | A kind of locomotive semi-hardware type simulation test system and method | |
CN107784152A (en) | Include the simulation of multiple simulators | |
CN104598373B (en) | A kind of embedded software test method of multi-technical fusion | |
CN106326056A (en) | Reusable WISHBONE bus protocol verification platform and verification method thereof | |
CN104503424A (en) | New energy automobile overall controller and battery controller joint test system | |
CN105808432A (en) | Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU) | |
CN109857087A (en) | A kind of urban rail zone controller system hardware is in ring test system | |
CN107943008A (en) | Automated diagnostic test method based on VT systems | |
CN109710247A (en) | A kind of flying-controlled box based on model fast implements platform | |
Krammer et al. | Interfacing Real-Time Systems for Advanced Co-Simulation-The ACOSAR Approach. | |
CN109086197A (en) | The acceptance testing method and system of urban track traffic CBTC system | |
CN113821440B (en) | VxWorks application software testing method, system and simulator | |
CN108111265B (en) | Automatic testing method for consistency of communication protocol | |
CN108183812A (en) | A kind of diesel engine electric control system CAN bus emulation platform and its test method | |
CN112506775B (en) | Multi-HIL platform testing method and system | |
Martinen et al. | Modular and open test bench architecture for distributed testing | |
CN105365579B (en) | A kind of dynamical system and its safety detecting method and device and electric automobile | |
CN110611312A (en) | On-line simulation system and method for panoramic data of substation bay level | |
CN102075370A (en) | Calibration and verification system of engine control model (ECM) communication based on virtual network and virtual node | |
KR102401024B1 (en) | Railroad simulator for hardware and software intetration | |
US11807129B2 (en) | Electromobility charge test system and electromobility charge test method | |
CN116089257A (en) | RPA robot software safety penetration test technology based on artificial intelligence algorithm | |
Li et al. | Hardware-in-the-loop real-time simulation interface software design | |
Koller et al. | Implementation of vehicle simulation model in a modern dynamometer test environment | |
CN113076622A (en) | System and method for normative analysis and verification of FMU (functional modeling Unit) simulation model |
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: 20180619 |
|
RJ01 | Rejection of invention patent application after publication |