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

OpCtrl Pulsed Output Module

Block

Mask

Description

This controller block (OpCtrl) accesses an Opal-RT Pulsed Output Module Board (OP6224) or POM for short, which is designed to generate a bipolar signal with variable frequency and duty cycle. This module features 24 output channels. Each output can be one of the following three types: Open drain, Analog or Digital.

The OpCtrl blocks and the OpFcn blocks are designed in order to separate board access and data treatment to and from the boards. The OpCtrl block attempts to detect an OP6224 Pulsed Output Module board connected to an OP5142 card via a PCI-E link. Once the hardware is detected, the OpCtrl block relays the data to and from the OP6224 board to the OpFcn functionality blocks.

OpFcn blocks are linked to an OpCtrl block through the controller name specified in both the OpFcn and OpCtrl blocks. Since the number and type of available functionalities on each board are different, each OpCtrl block driver registers a set of available functionalities that represent the different components of the board it represents.

The POM supports 24 OpFcn MultiEventGen functionalities and one OpFcnStatusRegister functionality. Please refer to the documentation of the OpFcn blocks for more details on these functionalities.



Note: The OP6224 board was designed for use in an Opal-RT TestDrive simulator but it can be used as a standalone module also. Please refer to the characteristics and limitations section below for important information regarding the synchronization of the model when the OP6224 is standalone.



The following table lists the functionalities available on the module. It also specifies the functionality numbers that must be passed to the functionality blocks to use each channel. Note that the Status Register functionality requires no functionality number.

Functionality typeCountFunctionality name (and number)
MultiEventGen24IO_DIN_PO1 to IO_DIN_PO24 (0 to 23)
Status register1-

Parameters

Controller NameThe controller name uniquely specified in an OpCtrl block's parameter enables the binding between a specific controller (that has functionalities)and its generic functionalities.
Rail and Mode

The user can specify the termination voltage of POM outputs. It will set the minimum and maximum voltage.

  • OPEN: open drain mode. The output is open.
  • EXT: the maximum voltage is set externally.
  • ECU5V: the PWM is 0-5V
  • IGN: the PWM is 0-IGN1
  • AC: adjustable AC mode (uses D-A converter). The PWM is 'offset'-'amplitude'- 'offset'+'amplitude'
  • AC+EXT: adjustable AC mode (uses D-A converter). the amplitude voltage is set externally.



Note: Offset and amplitude variables are set by the inputs of the block.



Sample Time (s): This parameter allows the user to specify the sample time for this block, and its associated TestDrive board, in seconds. The default value is 0, which specifies a continuous sample time (note that the sample time is borrowed from the separated subsystem).

Some rules must be respected:

  • A controller block and its related functionality blocks must share the same sample time.

Inputs

Amplitudethis inport specifies the amplitude of the outputs in AC mode.
Offsetthis inport specifies the offset of the outputs in AC mode.


Outputs

This block has no outputs.

Characteristics and Limitations

Synchronization

The synchronization source of the model will be automatically assigned during the load of the model. Any TestDrive card equipped with an OP5142 board can act as a master or a slave.

Connector Pin Assignments

Below are the lists of signals available on the External Elco-56connector sorted by pin numbers.

Direct FeedthroughYes
Discrete sample timeYes
XHP supportYes
Work offlineYes

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