摘要
针对轮重检测系统多传感器和大数据量传输的特点及现有模拟信号传输方式的不足,为实现轨道轮重检测传感器信号的实时远距离传输,设计一种基于嵌入式以太网技术的轮重检测传感器信号实时采集与传输方法。选用STM32F103VET作为控制芯片,选用ENC28J60作为以太网控制器。使用STM32F103VET芯片片内的ADC外设实现准确的双AD同步采样,同时采用DMA功能转移经ADC转换后的数据,以提高数据采集的效率。完成STM32F103VET与ENC28J60的接口设计,移植uIP协议栈实现TCP/IP协议,使用UDP协议实现采样数据在以太网上的实时传输。实验结果表明:该系统具有成本低廉、布线简单、传输距离远、抗干扰性强等特点,能够满足轮重检测系统信号实时采集与传输的要求。
Aiming at the disadvantages of present analog signal transmission mode used in wheel load detection system, satisfying the multiple sensors and large transmission data rate of wheel load detection system, and in order to realize the real time remote transmission of wheel load detection sensor's signal, a real-time acquisition and Ethernet transmission scheme was proposed. In this scheme, STM32F]03VET was used as main control chip, and ENC28J60 was used as Ethernet physical transceiver. Double ADC synchronous sampling was realized by the peripherals ADC in STM32F103VET. The AD conversion data were transferred by DMA. The Interface between STM32F103VET and ENC28J60 was de- signed. TCP/IP protocol was realized by transportation of uIP, and the sample data were transported in real time by Ethernet using UDP proto- col. This scheme has the advantages of lower cost, simple in wiring, far transmitting range and stronger anti-interference ability. This scheme can satisfy the signal acquisition and real-time transmission requirements of wheel load detection system.
出处
《铁道机车车辆》
2016年第6期14-17,共4页
Railway Locomotive & Car
关键词
轮重检测
以太网
数据采集
UDP
wheel load detection
Ethernet
data acquisition
UDP