The invention provides a multi-domain precise
clock synchronization method on a
train, which comprises the following steps: designing a
biplane annular networking topology, and establishing a
train operation network; in the initial running stage of a
train, a multi-domain precise
clock synchronization protocol gPTP is executed, a logic isolation virtual
local area network is divided according to a full-independent multi-synchronization-domain architecture, gPTP instance synchronization parameters are configured, and a synchronization protocol is started; in each synchronization domain, all nodes periodically broadcast Announce messages to transmit
clock information, and decide a
master clock (MC) according to the BMCA; periodically calculating link
propagation time delay among all the synchronization ports; according to the
clock synchronization spanning tree, starting from the
master clock, using
Sync and FollowUp message periods to transmit the time of the
master clock, and
synchronizing the
slave clock step by step; the gPTP instance in the multiple domains calculates an offset value according to
Sync and FollowUp messages and inputs the offset value into a detection component, and the detection component calculates and corrects the offset value and checks fault master clock information; and inputting the offset value into a correction component, aggregating the offset value into a corrected offset value, inputting the corrected offset value into an action component, and updating a local gPTP clock according to the corrected offset value to complete
clock synchronization.