The invention discloses a
time synchronization method and a
time synchronization system for synchronous messages of IEEE1588 master-slave clocks of an intelligent
transformer substation. The method comprises the following steps of: establishing a
master clock synchronous message, and sending the
timestamp t1 of the sending moment of the message to the
clock in a
broadcasting manner; recording a receiving moment t2 of the
master clock synchronous message; recording an absolute receiving moment TT2 when the
master clock synchronous message is received by a
slave clock; establishing a
slave clock responding message, sending the
slave clock responding message to the master
clock in a peer-to-peer manner, and recording the
timestamp t3 of the sending moment of the message; recording an absolute sending moment TT3 when the slave
clock sends the clock responding message; recording an acquiring moment t4 when the master clock acquires the message; calculating a
time deviation, and calculating
asymmetry errors according to the
timestamp t1, the absolute receiving moment TT2, the absolute sending moment TT3 and the acquiring moment t4; and carrying out time correction on the slave clock by the
time deviation and the
asymmetry errors. According to the
time synchronization method and the time
synchronization system for synchronous messages of IEEE1588 master-slave clocks of the intelligent
transformer substation, the influences of the
asymmetry errors can be eliminated, and the time synchronization precision of the master-slave clocks is improved.