The invention provides a clock synchronization method for an automobile steering system and the automobile steering system.The steering system comprises a master MCU and one or more slave MCUs, the master MCU sends a first information frame to the slave MCUs, and after sending is completed, the master MCU is triggered to interrupt and records a current first clock value of a first clock in the master MCU; the slave MCU receives the first information frame, triggers the slave MCU to interrupt and records a current second clock value of a second clock in the slave MCU; the master MCU sends a second information frame to the slave MCU, wherein the second information frame comprises the first clock value; and the slave MCU receives the second information frame and adjusts the clock of the slave MCU according to the first clock value and the second clock value. Through the method and the automobile steering system, the information transmission time among the multiple MCUs can be effectively shortened, it is guaranteed that clocks of the multiple MCUs are kept consistent, and the safety of the automobile is guaranteed.
本发明提供一种用于汽车转向系统的时钟同步方法及一种汽车转向系统,所述转向系统包括一主MCU和一个或多个从MCU,所述主MCU向所述从MCU发送第一信息帧,发送完毕后,触发所述主MCU中断并记录所述主MCU内第一时钟当前的第一时钟值;所述从MCU接收所述第一信息帧,同时触发所述从MCU中断并记录所述从MCU内第二时钟当前的第二时钟值;所述主MCU向所述从MCU发送第二信息帧,所述第二信息帧包括所述第一时钟值;所述从MCU接收所述第二信息帧,并根据所述第一时钟值与第二时钟值,调整所述从MCU的时钟。通过上述方法及汽车转向系统可以有效减少多MCU之间传输信息的时间,并保证多个MCU的时钟保持一致,保证车辆的安全。
Clock synchronization method for automobile steering system and automobile steering system
一种用于汽车转向系统的时钟同步方法及一种汽车转向系统
2022-04-01
Patent
Electronic Resource
Chinese
Steering gear of automobile steering system, automobile steering system and automobile
European Patent Office | 2015
|Automobile steering system and automobile steering adjusting method
European Patent Office | 2023
|Automobile steering system and automobile steering adjusting method
European Patent Office | 2023
|Steering wheel device, automobile steering system and automobile
European Patent Office | 2023
|