Professional Documents
Culture Documents
Drivers Team
Oregano_Sync1588 Driver: Example with OP5600
Oregano_Sync1588 / RT-LAB
• Release versions:
– RT-LAB: 11.1.0
• License keys:
| Name | Version | Count |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| “SYNCHRONIZATION” | 11.1 | Enable/Disable |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
• Example projects without FPGA:
– RT-LAB Installation Folder\Examples\IO\Oregano\Oregano_syn1588
• Test plan:
– https://sharepoint.opal-
rt.com/sites/general/rd/oscommfirmware/Test%20Plans/Oregano/Oregano_syn1588_NIC_Test_Plan_v1.1.pdf
• Documentation:
– Help -> Help Contents -> RT-LAB I/O Block Library Reference Guide -> Oregano -> Oregano_sync1588_NIC.html
• Firmware updater:
– \\mainnas\Logiciels\Oregano\syn1588_nic_updater\syn1588_NIC_Updater.exe
• Firmware:
– \\mainnas\Logiciels\Oregano\syn1588_nic_Firmware\user_encrypt_auto_build782.rpd
Hardware overview
SFP Connector
RJ45
Connector
Oregano_Sync1588 Driver: Example with OP5600
1PPS signal
• Frequency = 1Hz
Oregano_Sync1588 Driver: Example with OP5600
IRIG-B signal
• Bit time = 10 ms
• Bit rate = 100Hz
Supported features
• Operate as an IEEE1588 master or an IEEE1588 slave node
• Supports IEEE-1588-2002 (PTP V1) and IEEE-1588-2008 (PTP V2)
• Supports all standard profiles:
– Default (IEEE1588-2008 Annex J.3)
– Default P2P (IEEE1588-2008 Annex J.4)
– Power (C37.238 2011)
– Power S (C37.238 2011 slave only)
– Smtpe (ST 2059-2)
– Smtpe S (ST 2059-2 slave only)
– Telecom (G.8265.1 master only)
– Telecom2 (G.8265.1)
– Telecom2 S (G.8265.1 slave only)
• Generate demodulated IRIG-B or 1PPS signal to synchronize external devices
• Can be synchronized by an external IRIG-B or 1PPS signal
• Implements best-master-algorithm defined in the IEEE1588 standard based on the configurable priority
• Supports virtual LANs (VLAN)
• Supports peer-to-peer and end-to-end delay mechanisms
• Starts the simulation aligned to the 1PPS reference (next second change)
Oregano_Sync1588 Driver: Example with OP5600
RT-LAB context
• Import one of the 2 example projects:
– In the Project Explorer, double click on “Create a new project…”, give the project a name, click on
“Next>”, open the folder “IO/Oregano” and choose the “Oregano_syn1588” or
“Oregano_syn1588_with_FPGA”. You should see the following:
– You can also add another Oregano driver by right clicking on the “I/Os” folder, and select “New” ->
“New I/O”, select the Synchronization I/O, give it a unique name and click on “Finish”:
Oregano_Sync1588 Driver: Example with OP5600
Driver configuration
• The example projects come with an already configured Oregano_syn1588 driver. This configuration
matches the example model and connections between the model and the driver are already made.
Driver configuration
• Hardware: The only supported hardware for the moment is Oregano Syn1588 PCIe card.
• Enable verbose mode: If set to "true", additional information will be displayed into RT-LAB screen during
the load of the model
Driver configuration
• Wait for next second: If this parameter is enabled, the beginning of the simulation will be delayed until
the next second change. The rising edge of the synchronization signal will be aligned with the rising edge
of the 1 PPS signal in either PTP, IRIG-B or 1 PPS mode. If this parameter is disabled, the simulation can
begin in the middle of a second.
• Wait for synchronization timeout (seconds): The synchronization process will begin once the model is
loaded but the simulation will not begin until the timeout configured by this parameter has expired. This
parameter should be tuned to make sure the simulation is started with a good synchronization with the
external source. To begin the simulation immediately after the model is loaded, set this parameter to
zero.
Driver configuration
• PTP profile: Select the PTP profile that matches with your
architecture. A PTP profile specifies a preset of IEEE1588
configurations and operation mode. For more information,
please consult the IEEE 1588-2008 standard. Possible
options are default, default_p, power, power_s, smtpe,
smtp_s, telecom, telecom2, telecom2_s
Driver configuration
• Use VLAN: Select this option if the synchronization hardware is connected to a VLAN. In this case, the
VLAN identifer needs to be specified.
• Priority: The value chosen for the priority will be taken into account by the Best Master Clock Algorithm
(BMCA). A lower value means a higher priority. If the IEEE1588 card is operating in master mode and
another device with a higher priority appears, on the network, the simulator will become a slave.
• Advanced options: The Oregano Syn1588 PCIe card has the possility to handle very specialised
configurations. This field is there to open custom configurations in case it is required for some customers.
This field should only be used by advanced users or with the help of Opal-RT's support team.
Oregano_Sync1588 Driver: Example with OP5600
Oregano_Sync1588 / HYPERSIM
• Release versions:
– HYPERSIM: 6.0
• License keys:
| Name | Version | Count |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| “SYNCHRONIZATION” | 6.0 | Enable/Disable |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HYPERSIM / OREGANO_SYNC_CFG.opal
HYPERSIM / OREGANO_SYNC.io
[HARDWARE_DIL]
!Tag vendor identification IOMode configFile
!--- ------ -------------- ------ ----------
opal1 Synchronization none 1 /export/local/ssr/hyconfig/OREGANO_SYNC_CFG.opal
!
!
[MAPPING]
!Tag Node(Core)
opal1 1
!
!
[SENSORS_DIL]
!Type Sensors Tag ConnectionPoint Modifier
!---- ---- ----- -------- ------------------------------------------------ ---------
AD 9101 9101 opal1 "Time/Seconds" none
AD 9102 9102 opal1 "Time/Nanoseconds" none
AD 9103 9103 opal1 "Info/PTP Sync State" none
AD 9104 9104 opal1 "Info/PTP Slave Offset" none
AD 9105 9105 opal1 "Info/Sync Accuracy" none
Oregano_Sync1588 Driver: Example with OP5600
Questions?