开发工具:
文件大小: 13mb
下载次数: 0
上传时间: 2019-04-20
详细说明:HIL入门必备,rticanmm的课程练习,dSPACE官方指导教程。Contents
About this tutorial
Conventions Used in dSPAce User documentation
Accessing dSPACE Help and PDF Files
Introduction to the rti can multiMessage blockset
15
Basics on the rti can multiMessage blockset
16
How to Access the rti can multiMessage blockset
23
Basics on the rticanmm main block
Introduction to a Typical Use Scenario
Introduction to this tutorial
29
Introduction to the Example Used in this Tutorial
Working With this tutorial
Working with the prepared Demo Results
Overview of lessons
37
Lesson 1: Building Your First Model Using the RTi CAN
Multi Message blockset
41
Overview of le
42
Step 1: How to Create a New Model and Add RTICANMM Setup Blocks
43
Step 2: How to Add rtICANMM Main Blocks and Configure CAN
Communication
Step 3: How to Build an Application and Download It to Your Real-Time
Hardware
Result of lesson 1
Lesson 2: Displaying and running the simulation in
Controldesk
65
of lesson 2
65
Step 1: How to Create CAN Layouts in ControlDesk
Step 2: How to Trigger Message Transmission With CAN Layouts......73
3
May 2018
RTI CAN MultiMessage blockset Tutorial
Contents
Step 3: How to Monitor CAN Messages
77
Result of lesson 2
84
Lesson 3: Triggering Message Transmission via the Model
and Controldesk
87
Overview of lesson 3
Step 1: How to Enable or Disable Message Transmission
89
Step 2: How to Specify Cyclic Message Transmission or Transmission via
Kickout
95
Step 3: How to Check Message transmission Settings in ControlDesk
100
Result of lesson 3
107
Lesson 4: Manipulating Signal Values via the Model and
ControlDesk
109
Overview of lesson 4
109
Specify signals
lated via the model
Step 2: How to Enable Manipulation of TX Model Signals via
ControlDesk
115
Result of lesson 4
120
Lesson 5: Working with Model-Specific Bus Hierarchies
123
Overview of lesson 5
124
Step 1: How to Add a Simulink bus to Your Model
Step 2: How to Create an Inport for the Triggering to rTICANMM Block....129
Step 3: How to Create an Inport for the Mapping to RTICANMM Block
133
Step 4: How to Connect the Simulink bus
136
Result of lesson 5
138
Lesson 6: Performing a CAN Restbus Simulation
141
Overview of lesson 6
142
Step 1: How to Simulate a"Real"ECU
143
Step 2: How to Simulate a Restbus
Step 3: How to Specify Co
ounce
Signals
15
Step 4: How to Specify Checksums
157
Step 5: How to Check the Restbus Simulation in Control Desk
Result of lesson 6
174
4
RTI CAN MultiMessage Blockset Tutorial
Lesson 7: Customizing Messages
177
Overview of Lesson 7
Step 1: How to Enable ID and Length Manipulation of TX Messages
179
Step 2: How to Enable Dynamic Message Manipulation Options
182
Step 3: How to Prepare the Detection of Checksum and Cycle Time
Step 4: How to Work with Customized Messages in ControlDesk
Result of lesson 7
196
Lesson 8: Customizing Signals
199
Overview of lesson 8
200
Step 1: How to Enable Dynamic Signal Values
201
Step 2: How to Enable Static Signal Error Values
203
Step 3: How to Specify the Default Signal Manipulation
205
Step 4: How to Prepare the Detection of Counter Signal Misbehavior
207
Step 5: How to Work with Customized Signals in ControlDesk
210
Result of lesson 8
Lesson 9: Updating the Database
223
Overview of
223
Step 1: How to Update the database and Check Automatic Ettects on
the Model
225
Step 2: How to Adapt the Model to the New DBC File manually...... 228
Result of lesson 9
231
esson 10: Working with Variants of a CAN Controller
233
Overview of lesson 10
233
Ste
Specify Variants of a CAN Co
235
Step 2: How to Work with Variants of a CAN Controller in ControlDesk....243
Result of lesson 10
247
Lesson 11: Working Without a Database
249
Overview of lesson 11
249
Step 1: How to Use Free Raw Messages Instead of a Database
Step 2: How to Use Capture Messages
May 2018
RTI CAN MultiMessage blockset Tutorial
Contents
Lesson 12(Advanced): Gatewaying Messages
267
O
268
Step 1: How to Build a Model for Gatewaying
271
Step 2: How to Simulate" Real"ECUS for Gatewaying
278
Step 3: How to Build a Unidirectional Gateway Using TWo RTICANMM
lain blocks
Step 4: How to Build a Bidirectional Gateway Using IWO RTICANMM
295
Step 5: How to Gateway Messages Using the rTICANMM Gateway
Block
304
Step 6: How to Check the Gateway Behavior via ControlDesk
311
Result of lesson 12
Lesson 13(Advanced): Working with a J1939-Compliant
DBC File
321
Overview of lesson 13
322
Step 1: How to Build a Model for Using a J1939-Compliant DBC File
326
Step 2: How to Configure the CAN-J1939 Communication of Your
Step 3: How to Observe the Network Management in ControlDesk
355
Step 4: How to Observe the CAN-J1939 Communication in
ControlDesk
363
Step 5: How to Gateway J1939 Messages Using the RTICANMM
Gateway block
369
13
Lesson 14 (Advanced): Defining CAN Communication via
a User-Defined Database
379
Overview of lesson 14
.379
Step 1: How to build a model for Using an m file as the database
Step 2: How to Define CAn Communication in an M File
387
Step 3: H
Use an m file as the database
395
Result of lesson 14
esson 15(Advanced): Using Checksums Based on EZ
Protection parameters
405
Overview of le
15
406
6
RTI CAN MultiMessage Blockset Tutorial
Step 1: How to Work with Checksum Algorithms Based on E2E
Protection parameters
Step 2: How to Check the behavior of E2E Checksums in ControlDesk.
422
Step 3: How to Add a Checksum Case to the E2E Protection Header
File
427
Result of lesson 15
432
Summary
435
435
Further Examples
.436
Glossary
437
Appendix
461
How to Create an Experiment in ControlDesk
461
Connecting Can Channels for Working With this Tutorial
.464
Index
467
May 2018
RTI CAN MultiMessage blockset Tutorial
Contents
8
RTI CAN MultiMessage Blockset Tutorial
About this tutorial
About this tutorial
Contents
This tutorial guides you through your first steps with the RTI CAN MultiMessage
Blockset. It is divided into short lessons in which you learn typical procedures
tep-by-step. You should work through these lessons before using the more
detailed m RTI CAN MultiMessage Blockset Reference
Target groups
This tutorial is primarily targeted at engineers who develop Simulink models with
a large number of CAN messages
Required knowledge
Knowledge in handling the pC, the microsoft Windows operating system,
MATLAB/Simulink, and CAN is assumed
Where to go from here
Information in this section
Conventions Used in dSPACE User Documentation
Accessing dSPACE Help and PDF Files
11
Related Documents
Conventions used in dspace user documentation
Symbols
dSPACe user documentation uses the following symbols
Symbol
Description
A DANGER
Indicates a hazardous situation that, if not avoided
will result in death or serious injury
May 2018
RTI CAN MultiMessage blockset Tutorial
About this tutorial
Symbol
Description
A WARNING Indicates a hazardous situation that, if not avoided
A CAUTION Indicates a hazardous situation that, if not avoided
could result in minor or moderate injury
NOTICE
Indicates a hazard that. if not avoided could result in
property damage
Note
Indicates important information that you should take
into account to avoid malfunctions
Indicates tips that can make your work easier
Indicates a link that refers to a definition in the
glossary, which you can find at the end of the
document unless stated otherwise
Precedes the document title in a link that refers to
another document
Naming conventions
dSPACE user documentation uses the following naming conventions
%name Names enclosed in percent signs refer to environment variables for
file and path names
< Angle brackets contain wildcard characters or placeholders for variable
file and path names, etc
Examples
Where you find terms such as rti replace them by the rti platform
support you are using for example, rti1005
Where you find terms such as or in this guide, replace
them by the actual name of your model or submodel. For example, if the
name of your Simulink model is smd_1103_sl slx and you are asked to edit
the usr. c file, you actually have to edit the smd_1103_sl_usr.c
file
Rti block name conventions all/o blocks have default names based on
dSPACe's board naming conventions
Most rti block names start with the board name
a short description of functionality is added
Most rti block names also have a suffix
Suffix Meaning
Board number(for PHS-bus-based
systems)
M
Module number (for MicroAuto Box
Channel number
Group number
CON Converter number
Block numb
10
RTI CAN MultiMessage Blockset Tutorial
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.