当前位置: 首页 > 专利查询>杨福宇专利>正文

一种在CAN协议中实现消极错帧的方法及其装置制造方法及图纸

技术编号:4176472 阅读:239 留言:0更新日期:2012-04-11 18:40
本发明专利技术公开了一种在CAN协议中实现消极错帧的方法及其装置,本发明专利技术通过对出错后数据流的变化情况,确定消极报错帧分界符长度,作消极报错帧的修正,或对CAN协议状态自动机的复位,保证消极报错节点与所有节点收发开始时间的同步,解决了消极报错节点可能处于事实上离线的故障,改进了CAN协议通信的可靠性与带宽的利用率,提高了应用CAN协议的汽车的安全性,并使目前广泛使用的网络设计工具软件有可靠的理论依据,保证工业生产的延续性。

Method and device for realizing negative frame error in CAN protocol

The invention discloses a method in the CAN protocol to achieve passive error frame and device of the invention, according to the change of flow data after error, determine the negative error correction for the length of frame delimiter, negative error frame, or the CAN protocol automaton to ensure synchronous reset, eliminating error node with all the node transceiver start time is solved, negative error node may be in fact off-line fault, improve CAN protocol communication reliability and bandwidth utilization, improve the security of the application of CAN protocol of the car, and the currently widely used network design tools have a reliable theoretical basis for the guarantee. The continuity of industrial production.

【技术实现步骤摘要】

【技术保护点】
一种在CAN协议中实现消极报错帧的方法,其特征在于,所述方法包括: 由CAN协议中检错机构取得检得错误的类型、在帧中离开帧起始位的位置信息; 由CAN协议中错误管理机构取得节点的状态信息; 由CAN协议中读入缓冲器取得从总 线上读得的比特流(bit stream)以及当前位离开帧内已知有关域的位置信息; 由CAN协议中状态自动机取得节点的当前收发状态信息; 根据出错以后在当前数据位前由总线上读得的比特流以及上述各信息对CAN协议中bit错、位填 充错、ACK错、CRC错和格式错的全局错与局部错的发生情景作逻辑推定,选择输出8bit...

【技术特征摘要】

【专利技术属性】
技术研发人员:杨福宇
申请(专利权)人:杨福宇
类型:发明
国别省市:31[中国|上海]

相关技术
    暂无相关专利
网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1
相关领域技术
  • 暂无相关专利