摘要
解决CAN通讯在网络负载大的时较为突出的因为无序发送和异步通讯导致的信号实时采集难以实现的问题提出了一种同步采集方法,通过在CPU内存中建立帧ID队列的方式,让每个帧都能找到对应的发送时刻,实现同步采集的功能。该方法已经在一个实际的数据采集系统中得到检验并取得良好效果。
In order to sovle the problems of tough relization of synchronized acquisition of information under the circumstance of multiple nodes, a dynamic autonomous synchronization method is proposed, which bulids a dynamic queue of IDs of frames to tell the time slot when the data to be sent and then realizes the synchronization of acquisition. The method has been tested in an information collection system and achieved great results.
出处
《新型工业化》
2015年第4期55-60,共6页
The Journal of New Industrialization
关键词
CAN通讯
ID队列
步采集
CAN communication
frame identity queue
dynamic autonomous synchronization