Table of Contents |
---|
Using the RT-LAB example projects
Example RT-LAB projects are provided with every model associated with the OP1400 PHIL Test Bench Series. These example projects provide typical application use-cases and demonstrate the capabilities of the OP1400 Test Benches.
Simulator SFP Communication Setup
Each real-time simulator (target) comes is delivered with a simulator an FPGA bitstream that allows the user to control the amplifier from an RTLAB RT-LAB model that runs on the target. This bitstream will be provided during delivery. If the If a user wants to implement the communication interface implement one or more interfaces to communicate with the amplifier (or multiple of them) , they will have need to add the bitstream as within an OPAL-RT Board in the I/O interfaces, following the steps required are shown below:
- Add a new interface
- Select OPAL-RT Board
- Select the chassis type (its & .opal file
Ensure that the correct .bin file is automatically populated after the .opal file is selected.
(OP4510 (Kintex-7) in is selected for this case), make sure the corresponding .opal file is selected, verify if the right bitstream is read.example) - Once the interface board is added, apart Validate the presence of Data to/from Board ports for SFP communication
Apart from the standard I/O, you there will have 12 additional data ports grouped as be additional 'Data to boardBoard' (8 ports) and 'Data from boardBoard' (4 ports). As shown in the figure below, ports 007 ports dedicated to OP8110 SFP communication; typically, the delivered bitstream is configured to support up to four OP8110 SFP channels. The following figure & table outlines an example SFP communication configuration, where ports 0007 through 0010 correspond to the Ch00 through Ch03, respectively on , in the real-time target. For now, support for connecting up to 4 amplifiers is available. A custom bitstream will be required if connections to more than 4 amplifiers are required.
However, the user should always refer to their provided documentation for the specific configuration of their delivered hardware.
Port # | SFP Channel | OpInput/OpOutput ID | OP8110 # | |
---|---|---|---|---|
Data to Board | 0007 | CH00 | SFP00out | 1 |
0008 | CH01 | SFP01out | 2 | |
0009 | CH02 | SFP02out | 3 | |
0010 | CH03 | SFP03out | 4 | |
Data from Board | 0007 | CH00 | SFP00in | 1 |
0008 | CH01 | SFP01in | 2 | |
0009 | CH02 | SFP02in | 3 | |
0010 | CH03 | SFP03in | 4 |
An example of one OP4510 controlling two OP8110 OP8110s is shown below. Here the interface CH00 communicates with Amp1. Internally it appears as port Port007 in Data to board and Data from board. In the model it should be connected to the corresponding OpInput and OpOutput block. The figures show connection of the first amplifier using the SFP00 OpInput and OpOutput blocks. Similarly CH01 communicates with Amp2. Internally it appears as port Port008 in Data to board and Data from board. In the model it should be connected to SFP01in and SFP01out:
The 'SFP00out' OpOutput block (linked to Data to Board port 0007) in the CPU model is used to transmit data out of the CH00 SFP port to Amp1, and correspondingly the 'SFP00in' block (linked to Data from Board port 0007) receives data from this amplifier through the same SFP port.
The 'SFP01out' OpOutput block (linked to Data to Board port 0008) in the CPU model is used to transmit data out of the CH01 SFP port to Amp2, and correspondingly the 'SFP01in' block (linked to Data from Board port 0008) receives data from this amplifier through the same SFP port.
OP8110 Simulink
...
Library Blocks
The following Simulink® blocks must used to control the OP8110 through RT-LAB.
NOTE: The Amp 1, Amp 2, etc., labels on the Simulink blocks refer to the amplifier outputs L1, L2, etc.
OP8110 model | GUI | Communication |
---|---|---|
OP8110-3 | ||
OP8110-6 |
...