WorkFlow - Cluster Functional Simulation
Summary:
Implementing Cluster Functional Simulation
Creation of project in configuration desk
Stimulating the signal parameters in the Control desk panel
Visualising the outputs in cluster ECU after physical connection
ConfigurationDesk with External Device:
External Device Interface
Creation of External Device Topology
Configuration of external Device interface
Copying and adding device blocks to the signal chain
Grouping device pins
Implementing I/O Functionality
Adding and Configuring function block to the signal chain
Assigning hardware resources to the function block
Mapping between device blocks and function blocks
Provide wiring information for the external cable harness
Specify model Interface
Add model port blocks to the signal chain
Adding behavior model
Creation of new project: File → New
Registration of hardware Platform:
Click on Registered hardware - (You can click register Platform or Add predefined hardware(if already registered)).
Signal Addition(dbc):
Under the Buses - Add the dbc signals by clicking “Add”Once the dbc is added - All the node names configured under the buses (see left side of the image)
Under Bus Access Request - Right Click on “Bus Access Request” → “Automatic Bus Access Assignment”.
Once the Bus Access Assignment is done - it will assign as follows
Once the Bus Access Request is created, do the Channel Assignment by right clicking on the DBC.
Application Process creation:
Under Tasks,
Application process needs to be created by right clicking on it,Bus Configuration ports - Enable Access:
Enable access needs to be given under Bus Configuration ports by the as following be selecting all:
External Device Interface:
To create the external device topology:
Build - sdf generation:
Under Build,
Click on the “Start” button to start the building process to get the sdf file. The build results will be generated in the path shown
Control desk:
Project creation:
Once the sdf file is generated from the Configuration desk, create the new project in the control desk
Defining the experiment:
Give the name of the experiment as follows:
Platform Addition:
Select the supported platform (SCALEXIO)
Importing sdf file:
Import the sdf file generated from the configuration desk as follows:
Creation of Experiment:
Once sdf is uploaded, the experiment gets created as follows:
Variable Addition:
Under the Variables section, in the sdf path - Add the signals to the layouts required. Here, a Front speed signal is added to the layout to create the panel.
Panel creation:
Drag the signal to the Layout with the required input format (slider, knob, gauge ..etc)
Simulating online:
Once the Layout is created for the required signal , Go online for the HIL simulation as below.
Dspace HIL and CANoe - [Configuration of CAN High and Low pin from VN1611 hardware to Dspace HIL DS27043]:
Finally , the CAN high and Low of DS27043 is connected with CAN High and Low of VN1611 to establish the rest bus simulation. The pin details of both the hardware is below
OUTPUT:
Once after the connection is made properly , we can start simulating through control desk where you can see the output log in CANoe trace as follows: