基于CAN总线智能继电器研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
总线继电器指的是具有总线通信功能的继电器。在过去的几十年里,用电设备的故障预防通常使用保险丝和断路器等防护装置,这些装置的特点是比较被动,比如出现故障无法预警,出现故障诊断起来比较困难,如此一来,在一些特殊需要的地方,比如舰船、航天飞机、车辆等等,无法满足它们的需要。这样就促成了在传统的继电器中引入总线技术趋势。
     另外,由于总线继电器可以提供信息查询、故障记录、保护参数设置等功能,很大程度上方便了用户进行系统配置。传统的继电器中引入总线技术,好比继电器上多了双眼睛,使得用户能更好的把握继电器的工作状态。
     总线继电器可以将具有智能化、网络功能的电器节点有机的组合起来构成一个比较先进的电气负载管理系统,可以对系统发出的指令进行逻辑切换、信息反馈,实现数据采集、过载保护、状态检测、故障记录等功能。这种先进的负载管理系统有很多优点,首先是减轻系统的重量,从而减小设备的体积,这主要体现在总线继电器是安装在距离负载比较近的地方,通过总线进行控制和信息反馈,这样就减少了电缆和连接器的使用。第二便是提高系统的可靠性,主要是总线继电器易采用隔离、冗余和多种错误检测与故障恢复机制,防止系统出现死机的情况。第三便是系统的可维护性,这主要体现在维护人员能很快的找到故障节点,并及时排除故障。第四便是提高的可扩展的可能性,这只需要对软件进行必要的修改,便可以构造成新的节点。这是一般继电器所不具备的。
     总线继电器除了具备传统继电器接通和关断的能力外,还具其它功能,这表现在以下几个方面:它可以利用总线进行通信,比如它的开通和关闭能依靠总线的控制指令实现,这样就改变了以前系统点对点的控制方式,减少了对电缆和连接器的依赖,大大减轻设备的重量;具有负载电流电测功能,这主要表现在可以通过查询总线来实现负载电流的实时监测;具有负载电流过载保护和短路跳闸功能,而且跳闸的阈值是可变的;具有触点状态监测功能,这主要通过查询总线指令来实现触点状态的检测;具有历史工作记录查询功能,比如继电器的过载情况、短路情况、触点工作状态等可记录在继电器中,而且即使系统掉电,这些数据也不会丢失,便于故障及时预防、诊断及维护。
     微机系统中经常使用的总线有三种,分别是内部总线、系统总线以及外部总线。内部总线的作用是将处理器和与其相近的芯片连接起来;系统总线的作用是实现系统板和插件板之间的通信;外部总线的作用是建立微机和外设之间的连接。
     常用的总线有RS232、RS485、CAN总线。对于RS232总线(双工通信),由于RS232是单总线数据传输,不可避免的会受到共地噪声和共模干扰的影响,所以通常情况下用于近距离通信,正常情况下不能超过20m。RS485使用的是平衡的发送方式和差分的接收方式,故可以减小共模干扰对通信的影响。此外,由于总线收发器的精度比较高,可以检测出来比200mV还低的电压,如此以来,使得恢复千米之外的信号变成可能。RS485的工作方式是半双工,不管什么时候,仅有一个节点的状态是发送状态,所以要想实现发送的过程,硬件电路上就需要一个通信使能信号。所以文中将使用性能良好的CAN总线。CAN总线是一种现场总线,它在以下串行通信网络中应用比较广泛,比如分布式控制、实时控制等等。基于CAN总线的分布式控制系统在以下方面具有明显的优越性:仅需要两信号线便可以实现与外部的连接,同时具有错误探测的功能,内部还具有错误管理模块。
     围绕总线继电器的优点,文中将对CAN总线的协议进行研究,然后制定文中系统的通信协议;根据通信内容的要求,设计符合要求的单片机外围硬件电路;结合制定的通信协议和预期功能设计相应的软件程序;为增加系统的可靠性,研究影响系统可靠性的因素并采取对应措施;为实现系统远距离通信,研究影响系统通信距离的因素进一步完善系统;为实现多节点通信,研究制约总线可挂接节点数目的因素。通过以上工作来设计一个总线智能继电器节点。
Relay based on Bus is a relay with bus communication function. In the past few decades, People make use of the fuse box and breaker to prevent electrical equipment from power-failure. But these protective equipment are characterized by passive.it is difficult to warn and diagosis when have some problem.unabe to meet special need,such as ships,spacecraft,vehicles etc. so relay base on bus becomes a kind of trend.
     Relay base on bus provides with information qurey,error-record,saving important,parameter. It is esay for help users to configure the system.This allows user to grasp the state of the realy.
     Advanced electrical load management system is compose with intelligent,network-enable appliances node by relay based can bus.According to the command of the system,carry out the logical switch,feedback,data collection,overload protection,state detection,fault records and so on. This advanced load management system has many advantages,first of all,reducing the weight of the system,reducing the size of device,not relay on cables and connectors.second,the function of load current measurement can be achieved by querying bus command. Third,have the function of load current overload protection and short circuit tripping capabilities,at the same time the trip threshold is variable.Forth,the detection of the contact state is achieved by querying the bus command.fifth,have the historical work records search function,such as the state of relay overload,the state of short circuit,the state of contact can be recorded in the relay,these data do not lose when meet with power-failure.It is helpful to failure protection,diagnosis and maintenance.
     There are some bus in the computer,for example internal bus,systerm bus,external bus and so on.internal bus is used to connect perioheral chips with processors.systerm bus is used to connect the various plug-in bord with sistem board. external bus is used to connect computer with external devices.
     At present,RS232,RS485,CAN are popular bus.RS232is a single-ended signal transmission,there is common-mode interference communication distance is short.communication distance is less than20m.RS485make use of the technology of the balance-send and differential receiver,it has the ability of suppress common mode interference. Bus transceiver has high sensitivity,can detect the volatage lager than200mv.transmission signal can be recovered in the1000m,it has half-duplex mode,there is only node in the sending state at any time,therefore transmit circuit need enable signal.so we will get use of can bus with excellent performance in the paper.CAN bus is belong to the field of fieldbus,support for realtime control of distributed control and serial communication network.compared with RS232,RS485,CAN bus has obvious advantages,there is only two lines in the system.there are error detection and management module in the system.
     According to the advantage of the BUS relay and the protocol of CAN bus,design the communication protocol of the system;according to the requirements of communication context,design the single-chip peripheral hardware circuit;design corresponding software;study the factors affecting the reliability of the system and get use of corresponding measures;study the factors of affecting remote-distance communication;study the factor of affecting the number of nodes.above all, design the Bus intelligent relay.
引文
[1]刘鑫.继电器的应用[N].科技天地.
    [2]宋菁,唐峥,肖峰.国内外智能电网的发展现状与分析[J].电工电气,No.3,2010.
    [3]王志强,刘向军.基于CAN总线的大电流汽车继电器控制系统的研究.电工电气,No.1.2009
    [4]饶运涛.现场总线CAN原理与技术应用[M].北京:北京航空航天大学出版社,2007.8.
    [5]杨红科,雷立英.基于SJA1000的CAN总线接口电路的设计[J].南京工业职业技术学院报,Vol.5,No.2 Jun,2005.
    [6]Philips Sem iconductors.SJA 1000 Stand_a lone CAN controller [S].2000,Jan,04:3-55.
    [7]李真花,崔健.CAN总线轻松入门与实践[M].北京:北京航空航天大学出版社,2011.1.
    [8]阳宽惠.现场总线技术及应用[M].北京:清华大学出版社,2000.
    [9]李世杰.CAN总线通信[M].北京:清华大学出版社,1999.
    [10]张伟,崔建振.基于SJA1000的CAN总线通信模块设计[J].自动化技术与应用,Vol.26,No.12.2007.
    [11]吴坎.基于SJA1000和PCA82C250的CAN总线接口设计[J].机械设计与制造,No.7,7,2010.
    [12]谢兵.CAN总线控制器接口电路的设计[J].机械与电子,No.23,2010.
    [13]Data Sheet PCA82C250, Philips Semiconductors, September 1994.
    [14]陆前锋,刘波,陈明昭.基于SJA1000的CAN总线智能控制系统设计[J].仪器仪表,Vol.22,No.1,2003.
    [15]邵晖,舒嵘.光电隔离器6N137的特性和应用[J].电子技术杂志,1996.2.
    [16]霍尔电流传感器工作原理http://wenku.baidu.com/view/4fl aeb3231126edb6f1al017
    [17]霍尔电流传感器在用电设备中应用http://www.hqew.com/tech/doc/133201.html.
    [18]李泽勇,王文生.闭环霍尔电流传感器在车用电源系统中的应用[J].电子元器件应用,2004.5.
    [19]杜洋.AD转换芯片ADC0832的应用[J].电子制作,2006,1:44-45.
    [20]继电器技术手册http://wenku.baidu.com.
    [21]MAX813L.pdf.http://www.21icsearch.com/pdfdetil_98B3C4531B952C49.html.
    [22]王三胜,徐茵,顾彪.MAX813L工作原理及其在51单片机系统抗干扰中的应用:工业仪表与自动化装置,2001.3.
    [23]董作霖,王建玲.MAX813L在单片机系统中的典型应用[J].河南机电高等专科学校学报,Vol.11,No.4,Dec,2003.
    [24]黄晓红,郝凤肖,范小志.利用MAX813L防止应用程序出现死循环故障.河北理工学院学报,Vol.25,No.2,May,2003.
    [25]肖鸣,李启铭,朱志明.AT24C02及在智能仪表中的应用[J].仪器仪表,No 3,1996.
    [26]王娅琴.串行AT24C02在智能化仪表中的应用[J].无锡教育学院学.报Vol.13,No.2,June,1999.
    [27]AT89C52 DataSheet[DB/OL].http://www.atmel.com/atmel/acrobat/doc0313.pdf.
    [28]魏树伟,何将三,廖平.SJA1000控制器在多电机综合保护器中的应用[J].国外电子元器件,No.4,4For,2007.
    [29]黎新亮,关沫,马君璞.基于SJA1000的CAN总线通讯模块的设计[J].沈阳工业大学学报,Vol.26,No.1,Feb.2004.
    [30]张绍忠,王辉.基于SJA1000的CAN总线智能节点实现[J].电子技术应用,No.8,2006.
    [31]梁明亮,韦成杰.单片机对串行AD转换器ADC0832的C51编程[J].郑州铁路职业技术学院学报,Vol.21,No.1,Mar,2009.
    [32]邵康田,王玲.基于12C器件的AT24C02虚拟仿真[J].信息化研究,Mar,2010.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700