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.

OP5110-5120 OPHSDIOEngine Pulse Controller

Block

Mask

Description

The OPHSDIO Engine Pulse Controller block makes use of the Opal-RTOP5110 or OP5120 board (formerly named OPHSDIO boards). This block makes it possible to generate encoder synchronized pulses.

Digital inputs/outputs of the OP5110 cards are grouped in ports of 8 DIO lines. For example the OPHSDIO64 card features 7 ports of 8 DIO lines. An OPHSDIO Engine Pulse Controller block can control several ports at once and produce different pulse patterns on each channel.

This block is used along with Op Engine Pulse blocks, which are used to define pulse patterns for each channel.

The event generation feature of the OP5110 card can produce as many as 511 transitions per port during one calculation step.

Parameters

Bus TypeSelect the bus type of the target node in this list.
Card TypeSelect the card model in this list.
Board IndexEnter the board index of the card [see board index limitations in the characteristics section below]
Selected channels for pulse output

Enter the OP5110 channels that will be used for generating pulses. Channels are labeled from0 to 55 and correspond to the channel 0 from Bank A to channel 7 from bank G.

Examples:

[16:31] use all channels from banks C and D

[0 2 19] use channels0 and 2 from bank A and channel 3 from bank C.

Selected channels for engine monitoring

Enter the OP5110 channels that will be used for measuring engine speed and position.

This is a vector containing at least 2 channels where:

  • The first channel is connected to the position signal
  • The second channel is connected to the index signal
  • The optional third channel is connected to a direction signal

Channels are labeled from 0 to 55 and correspond to the channel 0 from Bank A to channel7 from bank G. See examples above.

Controller nameDefines the label of the controller block. This name is shared with all related Op Engine Pulse blocks.
Maximum speedMaximum speed of the engine in RPM.
ResolutionResolution in degrees of the CRANK signal that is to be used by the board (enter 1 for 1° or 0.1 for 1/10°).
Cycle durationDuration of an engine cycle in degrees (ex: 360, 720 ...)

Inputs

The block is controlled using 3 inports:

PositionThe current position of the engine.
SpeedCurrent speed of the engine in rotations per minute (RPM).
LatchPulse positions (Position inport) from all relatedOp Engine Pulses blocks are loaded only when this inport is high (greater than 0.5).




Note: the Phasing inport from the OpEngine Pulse block is monitored regardless of the Latch inport.


Outputs

Error: Signal with a non-zero value when an error occurs. Most likely causes are invalid pulse patterns coming from the pulse definition blocks.

Characteristics and Limitations

Limitation

The maximum frequency for the High-Resolution Position Pulse is 12MHz. Which means that the maximum RPM and the angular resolution are related by the following equation:

(Maximum Speed/60) * (360 / Resolution) <= 12 MHz.

For instance, at the maximum speed of 20000 RPM the angular resolution cannot be smaller than 0,01 degree.

Board Index Limitations

On the OP5120 boards (PC-104 format), the board index is user-selectable in the range [0-15] via a connector on the board. However, boardsOPHSDIO64 labeled v0.01 do not implement this feature, and the board index of these boards is set to the default value 15.

On the PCI boards (OP511x family), the board index is user-selectable in the range [12-15], via the jumpers JP8 on the board:

Connector Pin Assignments

OP5110-5120 boards usually ship with custom-made cables adapted to the signal conditioning required by the system they are to be connected to. Please refer to the documentation of your system for your specific connector pin assignment. If you need to prepare your own custom cable, please contact support@opalrt-com.

Direct FeedthroughNo
Discrete sample timeNo
XHP supportYes
Work offlineNo

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