Basics on the Bus Manager

Variants of the Bus Manager

Two variants of the Bus Manager are available. The following illustration provides an overview of the variants and their fields of application.

Bus Manager in ConfigurationDesk

The Bus Manager in ConfigurationDesk lets you configure bus communication and implement it directly in a real-time application for dSPACE SCALEXIO, MicroAutoBox III, or MicroLabBox II systems. Alternatively, it lets you generate bus simulation containers. Bus simulation containers can be used on various dSPACE simulation platforms. For example, you can use bus simulation containers in VEOS to implement the configured bus communication in an offline simulation application.

Bus Manager (stand-alone)

The Bus Manager (stand-alone) lets you configure bus communication and generate bus simulation containers. To use the configured bus communication on a specific dSPACE simulation platform, you can import the bus simulation containers to VEOS or ConfigurationDesk, for example. VEOS lets you implement the bus communication in an offline simulation application, ConfigurationDesk lets you implement the bus communication in a real-time application. You can also reuse projects you used with the Bus Manager (stand-alone) with the Bus Manager in ConfigurationDesk (e.g., to work with an already configured bus communication and implement it in a real-time application).


Use scenarios for simulating, inspecting, and manipulating bus communication

Use scenarios for simulating bus communication

The Bus Manager lets you simulate the bus communication of ECUs. Typical use scenarios for this are the following:

  • ECU simulation

    You can simulate individual ECUs, e.g., to test the behavior model of an ECU before the real ECU is available.

  • Restbus simulation

    Restbus simulation lets you test one or more ECUs while simulating the other ECUs of the related communication clusters. For example, to test a real ECU, you can connect the real ECU to a simulator and simulate all the other ECUs that communicate with the real ECU, as shown in the following example.

Use scenario for inspecting bus communication

The Bus Manager lets you inspect the bus communication of each communication cluster independently from the involved ECUs. Inspecting bus communication focuses on the bus communication that is already available on the bus (i.e., after it is transmitted) and that can be received by the bus members.

For example, you can inspect the bus communication that is exchanged between an ECU under test and simulated ECUs in a restbus simulation scenario, as shown in the following example.

Bus communication inspection is performed for each cluster and channel separately. This allows you, for example:

  • To inspect the bus communication independently from the ECU development stage. For example, replacing a simulated ECU with a real ECU has no effect on your configurations.

  • To reduce the effort for implementing bus communication in a ConfigurationDesk application. For example, to inspect whether a PDU is available on the bus, you have to configure the PDU only once for the inspection and not separately for all of its receiving ECUs.

Use scenario for manipulating bus communication

The Bus Manager lets you manipulate bus communication before it is transmitted on the bus, for example, to test the response of an ECU under test in the case it receives faulty bus communication. For this purpose, you can manipulate bus communication permanently or temporarily, i.e., for a defined number of times.

The manipulation of bus communication is based on communication clusters, i.e., it is independent from the sending ECUs. The following illustration is an example of bus communication manipulation in combination with a restbus simulation.


User interface

When you work with the Bus Manager, you use Bus Manager elements and standard ConfigurationDesk elements. In the following illustration, the Bus Manager elements are in bold letters.

Tip

If you use the Bus Manager (stand-alone), not all ConfigurationDesk elements are available, e.g., not all of the view sets displayed in the navigation bar.


Working with communication matrices

To configure CAN and/or LIN communication with the Bus Manager, you need one or more communication matrices. Communication matrices can describe the bus communication of one communication cluster or a bus network consisting of different bus systems (e.g., CAN, LIN) and communication clusters.

The Bus Manager supports the following communication matrix file formats:

  • AUTOSAR system description files

  • DBC files

  • LDF files

When you add communication matrices to the ConfigurationDesk application, the communication matrix elements are displayed hierarchically, as shown in the following example.

To configure bus communication, you have to assign communication matrix elements to bus configurations.


Introduction to bus configurations

Bus configurations are the main Bus Manager element to configure bus communication. Each bus configuration provides specific parts that let you configure the bus communication independently for simulation, inspection, and manipulation purposes. Additionally, bus configurations let you specify gateways to exchange bus communication between communication clusters.

You can work with multiple bus configurations at the same time, and access the bus configurations via specific tables and their Bus Configuration function blocks, as shown in the following example.

To each bus configuration, you can assign elements of one or more communication matrices and communication clusters, even of different communication matrix file formats (e.g., ARXML and DBC) and bus systems (i.e., CAN and LIN). When you do this, you can configure the bus communication by using bus configuration features.


Working with bus configuration features

The Bus Manager provides various bus configuration features that let you configure the bus communication. The bus configuration features are specific for the following:

  • The bus configuration parts, i.e., Simulated ECUs, Inspection, Manipulation, and Gateways.

  • The bus configuration elements, e.g., the bus configuration node, assigned ECUs, communication controllers, PDUs, or ISignals.

For example, bus configuration features let you enable and disable communication controllers, access ISignal values, inspect the status of received PDUs, or manipulate the length of CAN frames.

Each bus configuration feature applies only to the specific element to which it is added and not to other elements in the bus configuration.

Depending on the bus configuration feature, function ports are available. Function ports provide the interface for accessing data at run time. You can configure function ports to exchange data with a behavior model and/or access data via experiment software (e.g., ControlDesk).

Tip

Bus configurations provide two different interfaces for exchanging data with behavior models: The function port interface and the shared data interface. Function ports are available only for the function port interface. For the shared data interface, bus feature ports are available. However, this tutorial introduces you only to working with bus configurations that use the function port interface.


Working with behavior models

The Bus Manager lets you work with and without behavior models. Behavior models can define the behavior of ECUs, for example. If you work with a behavior model, you can dynamically exchange data with the behavior model at run time, for example, between a real ECU that is connected to a simulator and ECUs that are simulated by the Bus Manager.


Redaction