The principle and advantages of time synchronization with IRIG-B code in intelligent electronic devices(IEDs) of substation are analyzed. An implementation method of time synchronization with IRIG-B code, the hardware circuit and software flow-chart for time synchronization interface are presented. The practical applications show that the method has high accuracy and reliability.