

The IRIG-B pulse amplitude is set to be 5.5V
#PULSE GENERATOR IN MATLAB SIMULINK CODE#
This Matlab script contains the code to simulate the IRIG-B Pulse. PMUs), the actual time, day and year should be specified. To be able to record the data in a PDC while supplying a simulated IRIG-B time to external equipment (i.e. This is a Simulink model with the IRIG-B generator code embedded.ĭouble click the transmitter1 block to set the starting time (initial time).
#PULSE GENERATOR IN MATLAB SIMULINK HOW TO#
See below on how to cite our work in case you use our code. Three conference papers documenting the development of this code and it's applications are available in the. The structure of IRIG-B time code which was simulated in real-time for PMU time synchronization is provided in the following source code. These signals can be sent in real-time as inputs to the PMU. IRIG- B timing signal and the three-phase voltage and current (V and I) signals, can be simulated in SIMULINK. The PMU under test also requires balanced three-phase voltage and current signals as inputs. It distributes time to PMUs with an accuracy of ±500ns and can be simulated and controlled using SIMULINK. An Inter-Range Instrumentation Group Code B (IRIG-B) time signal is used here as a high accuracy PMU timing source. Basic control blocks from SIMULINK’s library can be used to vary the accuracy of the time signal supplied. The IRIG-B code generator in this repository serves this aim. See an example on how this can be achieved in below. This can be achieved by generating both three-phase and timing signals in real-time and then feed it to the PMU. With the aim of assessing the impact of time-synchronization signals on synchrophasor applications, it is necessary to control a PMU's timing signal. IRIG-B Signal Generator Code in Matlab/Simulink for use with Real-Time Simulators. IRIG-B Signal Generator for Real-Time Hardware-in-the-Loop Simulation
