当前位置:网站首页>Canoe-the second simulation project-xvehicle-1 bus database design (idea)
Canoe-the second simulation project-xvehicle-1 bus database design (idea)
2022-07-04 10:50:00 【picoasis】
Catalog
Key steps of database design —— summary
Project description
Simulation Engineering X-Vehicle:
The project includes three ECU:Engine、Door and Display. adopt Control Panel to simulate engine state switching 、 Speed adjustment and door Switch operation , At the same time Display The relevant status is displayed on the panel .
Purpose of the project
Hope that through this project , Yes CANoe To understand the three function blocks of : Database design 、 Panel design and CAPL.
This article is based on X-Vehicle Engineering understanding CANoe Bus database design module .
Antecedents feed
From the first simulation project (CANoe- The first simulation project : Switches and lights ( Ideas )_lamanchas The blog of -CSDN Blog ) We already know , The main components of simulation engineering :① Function module ② Signals that transmit messages between functional modules ③ Internal programming of some functional modules .
By defining 、 simulation 、 Realize these three parts , We can get a simulation project .
Concrete ,
- The functional modules mainly include : Simulation node , Control panel node , Bus .
- The signals responsible for transmitting messages between functional modules mainly include : message , The signal , environment variable , System variables .
- The programming inside the function module involves CAPL Language .
(CANoe- The first simulation project : Switches and lights ( Ideas )_lamanchas The blog of -CSDN Blog ) The simulation engineering implementation process of is :
- Bus : Through the new project , Build a bus based on the bus template
- Simulation node , Control panel node : Add... Through the toolbar
- The signal : Add through the database
- Programming : double-click ECU Conduct CAPL Programming
In this paper , We only design ‘ Network bus database ‘’( Hereinafter referred to as ‘ database ’) To build the whole simulation project . because , We can understand , All nodes 、 The signal , In the computer, it is always stored in the form of data , That is to say, we can describe the whole simulation system completely through data .
In the bus system of automobile ,ECU Communication between 、 The interaction of information and the relationship between them , Are managed through the bus database . The bus database defines each in the bus system ECU The message to be sent and received , And the specific definition of all bit values of each message .
In practical engineering , Generally, the way of defining database is not used to establish simulation engineering , But like the first simulation project , First, design the vehicle network architecture , The database design is mainly responsible for describing ECU Functional interaction , Generate database design documents . Then, it is disclosed in whole or in part to each ECU supplier , The supplier carries out specific design according to the assigned database design documents .
In some special cases , Will need ECU Supplier according to customer documentation , Design your own database , Add yourself ECU Associated data information . For example, in the early stage of the project ,ECU The supplier cannot get the standard database file from the vehicle factory , In order to ensure the project Development progress of ,ECU The supplier needs to rely on the message matrix (matrix) File create your own database file .
Key steps of database design —— summary
We already know , The key component of simulation engineering is ECU Simulation node ,ECU Control panel node , Bus , Communication signals and ECU Internal encoding . The database can be defined in addition to ECU It can be realized outside the internal code . It can be divided into three parts as a whole : Bus , Communication nodes , The signal .
The overall steps can be summarized as follows 5 Step :
1. New project & Bus description : Create an empty simulation project X-Vehicle, Establish engineering organization folder . 【File——new—— Templates CAN500kBaud 1ch】
2. New database & Bus description : Database based bus template , Create database .【Tools-CANdb++ Editor——File——CreateDatabase—— Select the bus template according to the function ( This article chooses Vector IL Basic Template.dbc)—— Create a database project XVehicle.dbc】
3. node : Add a node description to the database .
4. The signal : Add signals to the database 、 Message description , Set specific attributes of different signal data .
5. After the above steps are completed , The database file design is completed . This database project XVehicle.dbc Import the project we created before X-Vehicle. After import, you can use Simulation——Simulation Setup See the simulation node created in the database .
Please refer to :https://blog.csdn.net/lamanchas/article/details/122113719
边栏推荐
- From programmers to large-scale distributed architects, where are you (2)
- Two way process republication + routing policy
- [Galaxy Kirin V10] [desktop] build NFS to realize disk sharing
- Terms related to hacker technology
- Es advanced series - 1 JVM memory allocation
- Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
- Ten key performance indicators of software applications
- VI text editor and user rights management, group management and time management
- Si vous ne connaissez pas ces quatre modes de mise en cache, vous osez dire que vous connaissez la mise en cache?
- Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
猜你喜欢

Learning XML DOM -- a typical model for parsing XML documents
![[Galaxy Kirin V10] [server] set time synchronization of intranet server](/img/f8/0847314029930840c91bce97ccd961.jpg)
[Galaxy Kirin V10] [server] set time synchronization of intranet server

Network connection (III) functions and similarities and differences of hubs, switches and routers, routing tables and tables in switches, why do you need address translation and packet filtering?

BGP advanced experiment

VI text editor and user rights management, group management and time management

Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
If you don't know these four caching modes, dare you say you understand caching?

Huge number multiplication (C language)

DML statement of MySQL Foundation
![[Galaxy Kirin V10] [server] iSCSI deployment](/img/60/13f43dc584c0768965d60811768948.jpg)
[Galaxy Kirin V10] [server] iSCSI deployment
随机推荐
Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
Hidden C2 tunnel -- use of icmpsh of ICMP
C language - stack
Remove linked list elements
[Galaxy Kirin V10] [server] NUMA Technology
Design and common methods of test case documents
Sword finger offer 05 (implemented in C language)
JMeter Foundation
DDL statement of MySQL Foundation
Day06 list job
Quick sort (C language)
On binary tree (C language)
From programmers to large-scale distributed architects, where are you (2)
Map container
Talk about scalability
Crawl Zhejiang industry and trade news page
Jianzhi offer 04 (implemented in C language)
First article
[Galaxy Kirin V10] [server] system partition expansion
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool