首页|基于可变增益PID控制器的车载以太网时钟同步算法研究

基于可变增益PID控制器的车载以太网时钟同步算法研究

扫码查看
在车载以太网中,电机力矩、碰撞检测等控制类或关键突发信息的通信,由于其实时性要求比较高,需要借助时间敏感网络(Time Sensitive Net,TSN)协议,特别是流预留等机制来确保实时性或带宽,而要实现这些协议,网络节点间的高精度时钟同步是基础.通过设计基于根轨迹的PID控制器,对运行在从时钟节点上的时钟同步过程进行控制,并对控制器增益系数进行基于误差变化的自适应处理.实验结果表明,与未采用增益系数环节的控制器相比,采用自适应增益系数调整的控制器在同步过程的稳态误差绝对值均值降低了 45%,稳态误差标准差降低了 41%;与采用较小增益系数相比,采用自适应增益系数调整的同步过程在稳态过渡过程时间上降低了 75%.实验结果证实了该方案可以有效平衡同步过程的稳态过渡过程时间和稳态同步精度.
Research on Automotive Ethernet Clock Synchronization Algorithm Based on Variable Gain PID Controller
In vehicle mounted Ethernet,communication of control or critical burst information such as motor torque and collision detection requires high real-time requirements and the use of Time Sensitive Network(TSN)protocols,especially flow reservation mechanisms,to ensure real-time performance or bandwidth.To achieve these protocols,high-precision clock synchronization between network nodes is the foundation.By designing a root trajectory based PID con-troller,the clock synchronization process running on the slave clock node is controlled,and the controller gain coefficient is adaptively processed based on error changes.The experimental results show that compared with the controller without a gain coefficient link,the controller with adaptive gain coefficient adjustment reduces the mean absolute value of steady-state error during synchronization by 45%and the standard deviation of steady-state error by 41%.Compared with using smaller gain coefficients,the synchronization process with adaptive gain coefficient adjustment reduces steady-state tran-sition time by 75%.The experimental results confirm that this scheme can effectively balance the steady-state transition time and steady-state synchronization accuracy of the synchronization process.

time sensitive networkautomotive Ethernetclock synchronizationvariable gain PID

石志远、吴刚、石春、秦琳琳

展开 >

中国科学技术大学 自动化系,安徽 合肥 230027

时间敏感网络 车载以太网 时钟同步 可变增益PID

2024

仪表技术
上海市仪器仪表学会,上海仪器仪表研究所等

仪表技术

影响因子:0.217
ISSN:1006-2394
年,卷(期):2024.(3)
  • 8