一种多路车载信息传感器数据的传输设计  被引量:1

A Transmission Design for Multi-vehicle Information Sensor Data

在线阅读下载全文

作  者:李圣昆[1] 郑永秋[1] 史赟[1] 刘东海[1] 

机构地区:[1]中北大学电子测试技术国家重点实验室,山西太原030051

出  处:《计算机测量与控制》2012年第3期856-858,861,共4页Computer Measurement &Control

基  金:微小型高速运动体的激光主动制导与探测技术研究(60871041)

摘  要:为实时接收和记录多路车载信息传感器的数据,设计了以C8051F060单片机为核心控制器,TJA1050为外围CAN驱动器的多路CAN总线数据(包括温度、湿度、压力)接收电路,并通过SPI接口将数据传输到上位机;在程序设计上,给出了在开辟二级缓存下的可变长度帧结构的传输设计;测试表明,该设计对10路CAN总线数据以500k的速率进行传输,工作稳定、可靠,数据接收正确,可变长度帧结构编码无误,实现了多路CAN总线数据的接收、编帧和传输。To receive and record the real--time data from multi--vehicle information sensor, we design a receiver circuit for multi--channel CAN bus data (including temperature, humidity, pressure), which is transmitted to PC through SPI interface. It takes C8051F060 microcontroller as the core controller, and TJA1050 CAN as external driver. In the program design, we give the transmission design for the variable--length frame structure, based on two caches. Testing shows that, for 10--channel CAN bus data transmission with 500KHz, the design runs stably, reliably. The recepted data is correct, and variable--length coding frame structure is correct. It achieves the function that multi--channel CAN bus data can be received, encoded and transmitted.

关 键 词:CAN总线 C8051F060 SPI接口 数据编帧 乒乓缓存 

分 类 号:TP336[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象