Abstract & Overview
With the continuous development of the automotive industry and network technology, automotive Ethernet is facing the need for real-time and high-precision synchronization of data transmission. In this paper, the IEEE 802.1AS protocol gPTP based on the precise time protocol is studied and analysed in depth, focusing on the design and functional implementation of the time synchronization subsystem in the time-sensitive network system, and a method to improve the accuracy of time synchronization between nodes in the AUTOSAR protocol stack based on Kalman filter is given, and is implemented on the hardware platform AURIX TC397 and NXP SJA1110. Finally, the Kalman filter algorithm is used to correct the time synchronization error. Experimental results show that the proposed algorithm can significantly reduce the time deviation between the master-slave clocks.