Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Machine Interface Parallel to Parallel and Serial to Parallel Wrapper - efs_cpuP2PS2P_Wrapper

Block


Table of Contents

Description

This block provides a intuitive user interface used to map motor machine inputs received as serial or parallel signals into outputs of parallel signals in any order, acting as a multiplexer.

The block can be configured in two different modes:

  • In parallel mode, the block receive parallel signals as inputs and can reorder them in any order to output them as parallel signals.
  • In serial mode, the block receive serial signals as inputs and can reorder them in any order to output them as parallel signals.


For more information about the under mask blocks, the user can refer to the following documentation:

  • For the parallel inputs to parallel outputs block : P2P CPU block
  • For the serial inputs to parallel outputs block : S2P CPU block


This block has to be placed inside the Master subsytem of the RT-LAB model.


Mask Parameters

Machine tabs description

The block can map the outputs of the eHS to inputs of the following machines:

  • 4 PMSM, each of them providing 3 voltage measurements. Each PMSM has its own configuration tab.

  • 4 IM, each of them providing 6 voltage measurements. Each IM has its own configuration tab.

  • 2 SRM, each of them providing 5 voltage measurements. Each SRM has its own configuration tab.



Configuration tab description

OpControl block name: Links this block to an OpCtrl block by entering the same 'Controller Name' as specified in the OpCtrl block. The OpCtrl block controls initialization of the settings of one specific FPGA-based card in the system.

LoadIn port number: Enter the number of the LoadIn port used to communicate with the firmware, in the range [1:32]. Port number is available inside the bitstream configuration file (.conf file).

Mode: Select the mode that should be used by the block: 2 PMSM, 2 IM, 1 SRM Mode or 4 PMSM, 4 IM, 2 SRM Mode.

Depending of the selection the mask may be closed and reopened automatically. If an invalid value was selected, the corresponding setting will be reverted to the default value (Y01)



2 PMSM, 2 IM, 1 SRM mode

The 2 PMSM, 2 IM, 1 SRM mode is intended to be used only on an OP4510 target with eHS Gen4 x64

In 2 PMSM, 2 IM, 1 SRM the block is able to map:

  • 2 PMSM, configured in tabs PMSM1 and PMSM2. Tabs PMSM3 & 4 are blanked in this mode.
  • 2 IM, configured in tabs IM1 and IM2. Tabs IM3 & 4 are blanked in this mode.
  • 1 SRM, configured in tab SRM1. Tab SRM1 is blanked in this mode.


2 PMSM, 2 IM, 1 SRM mode can output a maximum of 128 values so the range of valid selection is from Y01 to Y128

Please refer to the machine package user guide, for instructions about eHS and machine mapping.

Example: The following setting will map Va from PMSM 2 to output 6, Vb to output 12 and Vc to output 28:



4 PMSM, 4 IM, 2 SRM mode

The 4 PMSM, 4 IM, 2 SRM mode is intended to be used only on an OP5607 target with eHS Gen4 x128

In 4 PMSM, 4 IM, 2 SRM the block is able to map

  • 4 PMSM, configured in tabs PMSM1, 2, 3 & 4.
  • 4 IM, configured in tabs IM1, 2, 3 & 4.
  • 1 SRM, configured in tab SRM1 & 2.


4 PMSM, 4 IM, 2 SRM mode can output a maximum of 128 values so the range of valid selection is from Y01 to Y128

Please refer to the machine package user guide, for instructions about eHS and machine mapping.

Example: The following setting will map Va from PMSM 4 to output 11, Vb to output 103 and Vc to output 125:


If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323