Device marker

This section describes device marker component

Device markers are used only in multiple HIL configurations (systems with more than one HIL device connected true high speed serial link). Device markers are used to specify which part of the entire circuit is going to be emulated on which of the HIL devices in the system. At the moment, the maximum number of HIL devices connected together is 4. Configurations of HILs connected in parallel can be different which can be set in properties window of device markers.

There are two types of device markers available: signal device marker and electrical device marker. Their functionality is the same, difference is only where they can be connected. Signal device markers are connected to signal processing part of the model, while electrical device markers are connected to electrical part of the circuit. They are shown in Figure 1.

Figure 1: Electrical and signal device markers

Device marker’s properties are divided in three tabs:

HW settings

HW settings tab, shown in Figure 2, has three properties:

  1. HIL Device ID - This parameter defines in which device the marked part of the circuit is going to be compiled.HIL Device ID has four values: 0, 1, 2, 3 marking four devices that can be connected; HW configuration ID
  2. Override global settings – if checked than for the globally set HW configuration ID will be override by HW configuration ID set in device marker.
  3. Hardware configuration id– hardware configuration ID local to the HIL.

Figure 2: HW settings tab in device marker properties window

Circuit solver settings

Circuit solver settings are set globally in Schematic settings, but it can be override for each device in multi-HIL systems. This is done by checking the checkbox Override global solver settings shown in Figure 3. There are six properties in circuit solver tab:

  1. Override global solver settings– overrides the global solver settings for the marked HIL in multi-HIL systems
  2. Discretization method– discretization method for state space equations of the model
  3. Simulation step – simulation step of the electrical part of the model
  4. Calculation method - There are two available algorithms for state space matrix calculation of the model. By default systematic elimination is used. In some extraordinary cases, constraint matrix algorithm is required
  5. Enhance stability – cancels out positive poles of the system due to numerical calculation error, which ensures stability of long simulation runtimes
  6. Enable GDS oversampling – digital inputs are oversampled by default with 20ns resolution, it adds one additional simulation step of latency measured from digital inputs to digital outputs.

Figure 3: Circuit solver settings tab in device marker properties window

Signal Processing settings

Signal processing settings are set globally in Schematic settings, but they can be override for each device in multi-HIL systems. This is done by checking the checkboxes Override global solver settings or Override global user SP settings shown in Figure 4. There are eight properties in circuit solver tab:

  1. “Override global system SP settings” - Override global settings for system signal processing part of the model
  2. “Execution rate 1” - fast execution rate for system signal processing components
  3. “Execution rate 2” - slow execution rate for system signal processing components
  4. “Override global user SP settings” - Override global settings for user signal processing part of the model
  5. “Place code section in” - Target memory selection for the code program sections
  6. “Place data section in” - Target memory selection for the data program sections
  7. “Heap size” - Sets the value of the heap memory segment size
  8. “Stack size” - Sets the value of the stack memory segment size

Figure 4: Signal processing settings tab in device marker properties window



An example of HIL marker use case is shown in Figure 5. Device coupling is used to divide the full circuit into two separate circuits that should be emulated on two HIL devices. Device markers are used to define which part is emulated in which HIL. The rectifier part is marked with a marker with ID=0, meaning that it is going to be emulated on HIL with ID 0. The inverter and machine part of the circuit is marked with a marker with ID=1, so it is going to be emulated on HIL with id 1.

Figure 5: Device marker use case

For more details regarding to HIL paralleling and multi-HIL systems please refer to t-ug11 (HIL paralleling guide).