CAN总线波特率的自适应算法设计

陈海峰, 苏永辉, 朱克佳

集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (12) : 35-39.

PDF(1323 KB)
PDF(1323 KB)
集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (12) : 35-39.
技术纵横

CAN总线波特率的自适应算法设计

  • 陈海峰, 苏永辉, 朱克佳
作者信息 +

Design of Baud Rate Adaptive Algorithm Based on CAN Bus

  • Chen Haifeng, Su Yonghui, Zhu Kejia
Author information +
文章历史 +

摘要

CAN总线上各节点的波特率必须保持一致才能进行可靠通信,为了解决新增节点能够自动适配未知CAN总线波特率的问题,设计CAN总线波特率自适应算法,并在STM32F407嵌入式开发平台上进行了实验测试。实验结果表明,新增节点能够自动适配多种常见波特率,识别速度快、稳定性好,算法在较大程度上能够提高CAN通信的灵活性。

Abstract

The baud rate of each node on the CAN bus must be consistent in order to communicate reliably.To solve the problem that new nodes could automatically adapt the baud rate of the unknown CAN bus,a baud rate adaptive algorithm of CAN bus is designed.The experiment is carried out on STM32F407 embedded development platform.The experiment results show that the new nodes can automatically adapt to a variety of common baud rates,the recognition speed is fast and the stability is good.The algorithm could greatly improves the flexibility of CAN communication.

关键词

CAN总线 / bxCAN / 波特率自适应 / STM32F407

Key words

CAN bus / bxCAN / baud rate adaptive / STM32F407

引用本文

导出引用
陈海峰, 苏永辉, 朱克佳. CAN总线波特率的自适应算法设计[J]. 集成电路与嵌入式系统. 2023, 23(12): 35-39
Chen Haifeng, Su Yonghui, Zhu Kejia. Design of Baud Rate Adaptive Algorithm Based on CAN Bus[J]. Integrated Circuits and Embedded Systems. 2023, 23(12): 35-39
中图分类号: TP36   

参考文献

[1] 黄聪.一种基于CAN FD的长报文传输协议[J].工业控制计算机,2023,36(5):14-15.
[2] 王颖,郭丽伟,于正同,等.基于CAN总线的深入研究及实现[J].现代车用动力,2023(1):31-34.
[3] 韩玉龙.基于CAN总线的电机动态性能分析[J].太原学院学报(自然科学版),2023,41(1):63-67.
[4] 刘洁,曾海林.CAN总线波特率自适应程序设计[J].智能制造,2020(5):54-58.
[5] 杜川川.研究嵌入式系统的CAN总线汽车仪表[J].汽车时代,2023(3):152-154.
[6] 黄增波.便携式煤矿井下CAN总线分析仪的设计与实现[J].煤矿安全,2022,53(1):134-138.
[7] 张宏涛.一种CAN-Ethernet混合网络网关自适应高度算法[J].数字制造科学,2023,21(2):157-162.
[8] 何鑫,张会新,刘文怡,等.多通道波特率自适应CAN总线监测系统[J].仪表技术与传感器,2022(1):62-65,70.
[9] 李青涛,钱枫,王明达,等.CAN总线协议自适应算法研究[J].农业装备与车辆工程,2023,61(8):120-124.
[10] 包演生,姜涛,谢钧安.CAN波特率自适应在屏蔽门系统中的应用[J].电子设计工程, 2020,28(19):7-11,16.
[11] 邓莹,徐家明,牛方兴,等.基于CAN通信自适应的商用车诊断系统的开发与应用[J].汽车电器,2020(8):44-47.
[12] 史小燕,朱建鸿.波特率自适应的CAN驱动在嵌入式Linux下的实现[J].计算机系统应用,2018,27(1):231-234.
[13] 洪泽,张铆,陈振娇.基于STM32F407的Ethernet-CAN总线转换器设计[J].电子设计工程,2023,31(14):46-50.
[14] 肖彬.CAN总线载波侦听点位测量方法研究[J].计测技术,2021,41(6):59-65.
[15] CiA.CANopen application layer and communication profile[S].Nuremberg: CAN in Automation (CiA) e. V. ,2011.
[16] SAE.Physical layer,250 Kbps,twisted shielded pair[S].Warrendale:SAE International,2016.
[17] 王颖,郭丽伟,于正同,等.基于CAN总线的深入研究及实现[J].现代车用动力,2023(1):31-34.

PDF(1323 KB)

Accesses

Citation

Detail

段落导航
相关文章

/