The invention discloses a
time synchronization method for real-time dynamic tracking, belongs to the field of computer application, and relates to a synchronization method of sampling data, in particular to a
time synchronization method for real-time dynamic tracking between master equipment and slave equipment, which is applied to a transient wave recording type
fault indicator. The
time synchronization master station broadcasts a time synchronization command every T milliseconds, the time synchronization command comprises a current
timestamp, the slave equipment receives the time synchronization command, the difference between the current
timestamp and the slave equipment is calculated according to the interval between the continuously received timestamps and the local time interval, andthe count value in the local
timer is adjusted according to the difference, so that the purpose of real-time dynamic tracking time synchronization is achieved. By adopting the scheme provided by theinvention, the
timestamp in the received time synchronization command is used as a reference, the oscillation count of the
crystal oscillator within a certain period of time is adjusted, the synchronization of the local
clock and the host is finely adjusted, the
clock synchronization of a plurality of slave devices is realized, and the
time difference between the slave devices is within + / -2 microseconds.