Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Example | OP4610XG with OP4300-IO
- 1 Location
- 2 Requirements
- 3 Hardware Setup
- 3.1 Connections
- 3.1.1 Ethernet
- 3.1.2 Small Form-factor Pluggable (SFP)
- 3.1.3 I/O Loopbacks
- 3.2 Chassis Identification
- 3.2.1 Ethernet
- 3.1 Connections
- 4 I/O Configurations
- 4.1 Identification
- 5 Simulation and Results
This example project shows how to use the OPAL-RT Board interface to interact with the different types of I/Os (Analog, Static Digital, Pulse Width Modulation and Time-Sampled Digital) offered by the OP4300-IO Expansion Unit, which is connected, in this project, to an OP4610XG real-time simulator. It loops back the output signals into the input signals.
More information can be found in the Hardware Products Documentation for the OP4610XG and OP4300-IO HIL and RCP Platforms.
Location
This example model can be found in the software under the category "IO Interfaces" with the file name: OP4610XG_OP4300IO.ecf.
Requirements
Here is a list of what is required to execute this example project:
One OP4610XG simulator, or any other simulator that supports remote chassis;
One OP4300-IO expansion unit;
Two Ethernet cables to establish communication between the simulator and the Windows host, and communication with the OP4300-IO;
Two Small Form-factor Pluggable (SFP) connected to a pair of fiber-optic cables, networked between the OP4610XG and OP4300-IO;
Three loop-back cables with D-subminiature DC-37 (commonly named DB-37) male to male connectors.
Hardware Setup
Connections
Ethernet
The OP4610XG real-time simulator is connected to the same network as the host.
The OP4300-IO chassis is connected to the network, or to a local network with the OP4610XG. The Ethernet cable is connected to Port 0 (bottom port) of the OP4300-IO.
Small Form-factor Pluggable (SFP)
The OP4300-IO chassis is connected to the OP4610XG chassis with SFP cables.
I/O Loopbacks
The OP4300-IO has 6 × DB-37 female connectors on the top of the chassis.
P1 – Analog In Ch. 0 – 15 | P4 – Analog Out Ch. 0 – 15 |
P2 – Digital In Ch. 0 – 15 | P5 – Digital Out Ch. 0 – 15 |
P3 – Digital In Ch. 16 – 31 | P6 – Digital Out Ch. 16 – 31 |
Here is the loopback configuration to be used with the OP4300-IO expansion unit:
Chassis Identification
The identification of the two chassis can be obtained by running the flash_update -enumRemote command on the OPAL-RT Linux target. The output of the Flash Update command:
--- TE0741 cards enumeration ---
----- CENTRAL BOARD -----
TE0741 board found (VendorID=0x1B2C, DeviceID=0xF410)
PCI Index: 0
IRQ Number: 11
RT-XSG: 3.9.0.9
Chassis ID: 0
…
----- REMOTE BOARD(S) -----
Central SFP port 0:
OP4300 board found (VendorID = 0x1B2C, DeviceID = 0x4300)
RT-XSG: 3.9.0.9
Chassis ID: 0
Card type: OP4300_5R
SFP port used: 0
Bus type: MX
Minor ID: 1
Revision ID: 0
ARM Core:
Software version: 1.1.1
Ethernet 0:
MAC address: 54:91:AF:00:00:00
IP: 192.168.3.5 (Reachable)
Netmask: 255.255.255.0
Gateway: 192.168.3.1
Connector | Category | More Information |
P1 | AIN | 2 MSPS |
P2 | DIN | Ch 0-15 |
P3 | DIN | Ch 16-31 |
P4 | AOUT | 1 MSPS/ 2 MSPS |
P5 | DOUT | Ch 0-15 |
P6 | DOUT | Ch 16-31 |
OP4300 hardware search done.
Found 1 remote device(s)
Enumeration of remote boards doneThe chassis IDs for the OP4610XG with a TE0741 bitstream and for the OP4300-IO are printed. The IP address of the OP4300-IO is printed.
Ethernet
Furthermore, the OP4300-IO will display on its LCD screen its IP address, most probably 192.168.3.5 if the expansion unit is on a local network with the OP4610XG simulator. If connected on the network, a DHCP server may have assigned an IP address.
I/O Configurations
The OPAL-RT Board configurations are done entirely via HYPERSIM's GUI, under the “I/O Interface” of the project.
In this project, the I/O interface has a central board configured as an OP4610XG (Kintex-7), connected to an OP4300 (Kria) remote board.
The I/O configuration of the OP4610 OPAL-RT Board in this project uses only Slot 1A and Slots 2A and 2B.
Slot 1A is configured as two banks of Digital Inputs (Static and Pulse width modulated), then two banks of Digital Outputs (Static and PWM). A DB-37 loopback cable can connect the two 1A connectors.
Slots 2A and 2B are Analog I/Os. A DB-37 loopback cable can connect the first 2A connector with the first 2B connector.
The I/O configuration of the OP4300 remote in this project uses all supported types of I/O; the DIO are configured as Static, PWM and Time-Stamped I/Os (TSDIO).
Connectors P1 and P4 are Analog I/Os. A DB-37 loopback cable connects the two P1 P4 connectors.
Connectors P2 and P5 are Static Digital I/Os. A DB-37 loopback cable connects them together.
Each channel bank of the connectors P3 and P6 is configured as Pulse width modulated or Event generator/detector:
Channels 0 – 7 of both connectors are configured as PWM.
Channels 8 – 15 of both connectors are configured as Time-Stamped Digital I/Os with a ‘Time unit’ set to Ratio.
Furthermore, the HYPERSIM GUI configures the number of events these TSDIO channels can have.
For more details about the OPAL-RT Board configuration, please refer to the OPAL-RT Board I/O Interface documentation.
Identification
Configure the Chassis IDs and IP address of the central and the remote boards with the provided information from the Flash Update command and LCD screen. The OP4300-IO can display on its LCD screen your own chassis name.
Simulation and Results
The HYPERSIM model includes a ScopeView Template File which displays four pages.
AIO
This page displays the two banks of eight analog outputs and inputs, from channels 0 to 15. Each graph has one input and its associated output.
DIO
This page displays the two banks of eight static digital outputs and inputs, from channels 0 to 15. Each graph has one input and its associated output.
PWMIO
This page displays one bank of PWM inputs and outputs, from channels 0 to 7. Each two graphs show, for a channel:
the input and its associated output frequencies and
the input and its associated output duty cycles.
TSDIO
This page displays one bank of Time-Stamped inputs and outputs with four events, from channels 8 to 15. Each two graphs show, for a channel:
four detected event ratios and
four generated event ratios.
The types of events, rising of falling edges, are not shown.