武文斌 陈先玉
摘 要: 介绍了基于4~20 mA电流环串行通信接口的基本原理,创新的使用PCI转UART桥芯片实现了基于CPCI总线的4~20 mA电流环串口卡,并给出了某地面测试系统中电流环接口的干扰源及其抗干扰分析。通过改进接收端施密特触发器电路,降低了输出高电平的幅值,减小了系统中干扰信号的尖峰,有效地抑制了噪声;同时,通过选取最佳的负载电阻,提高了光耦饱和度,增强了输出驱动能力。经测试,按这种方法改进后的4~20 mA电流环串行接口电路较好地抑制了通信线束中的电磁串扰,提升了抗干扰能力。
关键字: 4~20 mA电流环; 串行通信; 接口; 抗干扰
中图分类号: TN710?34 文献标识码: A 文章编号: 1004?373X(2014)12?0116?03
Abstract: The basic principle of serial communication interface for 4~20 mA current loops is introduced in this paper. The 4~20 mA current loop serial card based on CPCI bus was realized by innovative use of PCI?to?UART bridge chip. The interference source and anti?interference analysis of the current loop interface in a ground test system are offered in this paper. By improving the circuit of Schmidt trigger at receiving end, the amplitude of the output high level and the signal peak are reduced. As a result, the noise is suppressed. The selection of the optimum load resistance makes the optocoupler saturation improved, and the output drive capability enhanced. The testing results show that this improved serial interface circuit of 4~20 mA current loop can restrain electromagnetic interference in communication wire harness.
Keywords: 4~20mA current loop; serial communication; interface; anti?interference
由于电流不受线阻的影响,电流环通信在一定长度范围内不易受噪声干扰,因此,在工业控制及恶劣环境现场测控等领域中经常采用这种信号传输方式。但是,电流环串口的抗干扰特性并非绝对,在某些特定环境下,如果应用不当,反而容易通过线路引入脉冲串扰。本文结合过程应用实例,研究4~20 mA电流环串行通信接口在发送和接收端引入干扰的原因及相应的改进措施。
1 4~20 mA电流环基本原理
电流环通常包括传感器、发送器、接收器和ADC或微控制器[1]。传感器用于测量物理参数(如压力或温度),提供相应的输出电压;发送器将传感器输出按比例转换成4~20 mA电流信号;接收器则将4~20 mA电流转换为电压信号,ADC或微控制器将接收器的电压输出转换成数字信号。
4~20 mA电流环通常情况下信号传输的距离较长,且不需考虑线路上噪声、线长、压降和线路阻抗等参数的影响,从而使电路传输性能大大提高。……