485布线规范要求
- 格式:doc
- 大小:18.50 KB
- 文档页数:3
星型接线和树形接线,有的时候整个系统⾮常稳定,但是有的时候则总是出现问题,⼜很难查找原因,⼀般都是由于不规范布线所引起的。
4.485总线必须要接地。
在很多技术⽂档中,都提到485总线必须要接地,但是没有详细的提出如何接地。
严格的说,485总线必须要单点可靠接地。
单点就是整个485总线上只能是有⼀个点接地,不能多点接地,因为将其接地是因为要将地线(⼀般都是屏蔽线作地线)上的电压保持⼀致,防⽌共模⼲扰,如果多点接地适得其反。
可靠接地时整个485线路的地线必须要有良好的接触,从⽽保证电压⼀致,因为在实际施⼯中,为了接线⽅便,将线剪成多段再连接,但是没有将屏蔽线作良好的连接,从⽽使得其地线分成了多段,电压不能保持⼀致,导致共模⼲扰。
RS-485总线布线规范与施⼯要求1.系统通信采⽤RS-485总线,线材选⽤2芯屏蔽双绞线。
(⼀定要⽤双绞线,在没有⼤的电磁⼲扰场合,可以不加屏蔽,但⼀定要双绞。
)具体要求:铜质,线径0.5~0.75平⽅毫⽶,阻抗38~88欧姆/公⾥,容抗30~50纳法/公⾥,绞距20毫⽶的2芯屏蔽双绞线(如果线的距离不超过500⽶,可以适当降低线的标准,但必须为双绞线)。
2.系统的总线(由两个或多个相互间具有物理连接的设备组成)上最多允许挂接128个总线设备,在不加中继器的情况下,总线长度不⼤于1200⽶。
3.系统总线不应出现分⽀情况,如分⽀不可避免,则必须满⾜以下要求:●分⽀长度不⼤于5⽶;●总线长度之和不超过800⽶;●该分⽀线上的设备总数不得超过50个。
●所有通信信号线应尽量远离⼲扰源,信号线应⾛弱电井,不能与强电(如220伏住宅电源)或射频信号线路(如CATV、⼤信号⾳频线)并⾏⾛线,若并⾏⾛线,距离应⼤于0.5⽶。
●所有线路的接点必须采⽤焊接或镙丝卡紧的连接⽅式,并做防⽔及防潮处理,例如,可将对接点焊接后⽤防⽔胶带缠紧或⽤环氧树脂密封处理。
4.信号共地:●同⼀个⽹段上的所有设备必须具有统⼀的信号地,以避免共模⼲扰。
78485总线的布线规范及调试方法一、布线规范1、控制器通讯线(包括485/422、232和韦根等通讯线)必须采用国际通用的8芯屏蔽双绞线,这样可有效防止和屏蔽干扰。
线径大于0.3mm总线长度不超过1200建议在1000米以内,如果更长请选用其它专用485/232转换器或者加中继器,并选用更粗的通讯电缆。
控制器GND 485- 485+分别对应连接485转换器GND TD(A) TD(B),通讯线路采用串联挂接式连接,请勿采用星型连接或者局部星型连接。
如果线路过长和设备过多,请在最后一台设备上增加终端电阻(有跳线加载)总线最多可挂接128台控制器。
2、其设备用线不得走强电凿或是强电线管。
如因环境所限,要平行走线,则要远离50CM以上。
二、安全事项注意1、虽然控制器已经具备了防静电和防雷击设计,但是请确保电源和机箱的良好接地,以保障电路不被静电、雷电和其他设备漏电所伤害,长时间稳定运行。
2、请勿带电拔插接线端子,或者带电焊接操作,焊接接线时应该先拔下所对应的接线座。
3、请勿私自拆卸控制器上的元器件,这样有可能会引起系统信息的丢失或芯片损害。
4、本控制器可以直接外挂UPS不间断电源,保证停电后系统仍然可以继续工作。
系统配备掉电保护装置,即使停电系统设置信息和记录也不会丢失。
5、尽量避免将控制器电源和其他大电流工作设备接在同一电源上。
485施工常见错误现象:485线路不使用双绞线,或者使用低档的无源转换器!485通讯线不能走星型连接,必须走规范的手牵手的总线模式。
如果485走线不规范或者超出通讯范围,会出现通讯不上或者有时通讯上有时通讯不上的现象。
485传输是差模传输模式,只有485+和485- 互为双绞,才能使得485传输模式受到的干扰最小,传输最远,传输质量最好。
有些工程商不采用双绞线会使得干扰很大,有些工程商误以为线粗一些传输质量会好,将双绞线合成一股,另外一台双绞线也合成一股,这样适得其反,反而大幅度降低了通讯质量。
RS485通信协议RS485接口原理图RS485接口RS485采用差分信号负逻辑2V6V表示“1”- 6V- 2V表示“0”。
RS485有两线制和四线制两种接线四线制是全双工通讯方式两线制是半双工通讯方式。
在RS485通信网络中一般采用的是主从通信方式即一个主机带多个从机。
很多情况下连接RS-485通信链路时只是简单地用一对双绞线将各个接口的“A”、“B”端连接起来。
而忽略了信号地的连接这种连接方法在许多场合是能正常工作的但却埋下了很大的隐患这有二个原因1共模干扰问题RS-485接口采用差分方式传输信号的方式并不需要相对于某个参照点来检测信号系统只需检测两线之间的电位差就可以了。
因此往往忽视了收发器有一定的共模电压范围RS-485收发器共模电压范围为-712V只有满足上述条件整个网络才能正常工作。
当网络线路中共模电压超出此范围时就会影响通信的稳定可靠甚至损坏接口。
2EMI问题发送驱动器输出信号中的共模部分需要一个返回通路如没有一个低阻的返回通道信号地就会以辐射的形式返回源端整个总线就会像一个巨大的天线向外辐射电磁波。
RS485同RS232连接由于PC机默认的只带有RS232接口有两种方法可以得到PC上位机的RS485电路1通过RS232/RS485转换电路将PC机串口RS232信号转换成RS485信号对于情况比较复杂的工业环境最好是选用防浪涌、带隔离珊的产品。
2通过PCI的串口卡可以直接选用输出信号为RS485类型的扩展卡。
RS485电缆在低速、短距离、无干扰的场合可以采用普通的双绞线反之在高速、长线传输时则必须采用阻抗匹配一般为120Ω的RS485专用电缆STP-120Ωfor RS485 CANone pair 18 AWG而在干扰恶劣的环境下还应需铠装、双绞屏蔽电缆ASTP-120ΩforRS485 CAN one pair 18 AWG。
在使用RS485接口时对于特定的传输线路从RS485接口到负载其数据信号传输所允许的最大电缆长度与信号传输的波特率成反比这个长度数据主要是受信号失真及噪声等影响所影响。
RS485总线的布线规范1.通信采用RS-485总线的线材选用要求:使用2芯屏蔽双绞线铜质,线径0.5~0.75平方毫米,阻抗38~88欧姆/公里,容抗30~50纳法/公里,绞距20毫米的2芯屏蔽双绞线(如果线的距离不超过500米可以适当降低线的标准,但必须为双绞线2.系统的总线:由两个或多个相互间具有物理连接的设备组成,上最多允许挂接128个总线设备,在不加中继器的情况下,总线长度不大于1200米。
3.系统总线不应出现分支情况,如分支不可避免,则必须满足以下三条要求:● 分支长度不大于10米;● 总线长度之和不超过800米;● 该分支线上的设备总数不得超过50个。
● 所有通信信号线应尽量远离干扰源,信号线应走弱电井,不能与强电(如220伏住宅电源)或射频信号线路(如CATV、大信号音频线)并行走线,若并行走线,距离应大于0.5米。
● 所有线路的接点必须采用焊接或镙丝卡紧的连接方式,并做防水及防潮处理,例如,可将对接点焊接后用防水胶带缠紧或用环氧树脂密封处理。
4.信号共地:●同一个网段上的所有设备必须具有统一的信号地,以避免共模干扰。
●集中供电时,把同一个网段上的所有电源(包括通讯设备的自带电源)的直流负极直接接到一起组成公共信号地,此时信号地即直流电源地。
●单家独立供电时,把同一个网段上所有总线设备的地(黑线)引脚接在一起,由此组成公共信号地。
5. 总线使用线材推荐选型200-500 2*0.5mm2,双绞,护套线2*0.75mm2, 平行,护套线500-1200 2*0.75mm2,屏蔽双绞,护套线2*1.0mm2, 平行,护套线2*1.5mm2,以上,平行,护套线1200米以上2*1.0mm2,屏蔽双绞,护套线在1200处加中继器485布线注意事项:1. 485通信线必须用屏蔽双绞线,最好多股备用,总长不超过1200米。
2. 布线尽量远离高压电线,不要与电源线并行,更不能捆扎在一起。
3. 485总线一定要是手牵手式的总线结构,坚决杜绝星型连接和分叉连接。
485总线布线规范及调试(485 bus routing specification anddebugging)485 bus routing specification and debugging485 bus because of its wiring is simple, reliable and widely used in video surveillance, access control intercom, alarm and other buildings in various fields, but in the 485 bus wiring process because there is not exactly the concept of causing a lot of problems. Some of the wrong ideas are now being clarified.The 1.485 signal line can go along with the strong current power line. In the actual construction, the line is through the pipeline to the construction side, sometimes for convenience, directly to the 485 signal line and power line tied together with strong signal due to the strong electromagnetic interference for the weak, resulting in 485 signal instability, lead to unstable communication.The 2.485 signal line may use parallel line as the wiring, may also use the non shielded line as the wiring. Since the 485 signal is transmitted by differential mode, the voltage difference between the 485+ and the 485- is used as the signal transmission. If there is an external interference source of the interference, when the use of twisted pair of 485 signal transmission, because of its twisted pair, interference for 485+, 485- jamming effect are the same, the voltage difference is still unchanged, for the 485 signal interference reduced to the minimum. In the same way, if the shielding line acts as a shield, the interference from the external interference sourcecan be reduced as much as possible.3., choose to use the ordinary super five shielded twisted pair, that is, the cable can be. Due to the rising prices of raw materials, lead wire on the market now have bad traders use some dragons and fishes jumbled together, to replace copper alloy to copper cable, on the outside to fudge customers. Specific differences: read the cable section, if it is copper, copper, such as white, is the use of shoddy alloy. Alloy is generally brittle, easy to break, and conductivity is far less than copper wire, it is easy to cause problems in construction. 485 line wire general recommendations on the selection criteria, the STP, the transmission line is not like that line is a single stranded copper, but copper wire twisted together to form a line, and even a small wire broken, will not affect the use.4.485 the wiring can be arbitrarily arranged as star connection and tree connection. The 485 wiring specification is a routing that must be held in hand. Once the 485 hub and 485 repeater are not directly configured as star connections and tree connections, it is easy to cause a signal to reflect and cause the bus to be unstable. A lot of construction in the 485 party in the process of routing, the use of star connection and tree connection, sometimes the whole system is very stable, but sometimes it always has the problem, it is difficult to find the reasons, usually because of irregularities caused by wiring. If the field limit, you must have a star connection or tree connection, you can use the 485 hub and 485 repeaters to solve related problems.The 5.485 bus must be grounded. In many technical documents,it is mentioned that the 485 bus must be grounded, but there is no detail about how to ground it. Strictly speaking, the 485 bus must have a single point and reliable grounding. The single point is the 485 bus is only one point grounding, not more ground, because the ground is because will wire (usually shielded wire for wire) on the voltage remains the same, to prevent common mode interference, if the grounding point backfire. Earth connection the 485 line must have good contact, so as to ensure that the voltage is consistent, because in the actual construction, in order to convenient wiring line will cut into segments connected, but not as good shielding line connection, so that the earth is divided into multiple segments, voltage is not consistent the common mode interference.In the field, 485 bus applications are very extensive, but the 485 bus is prone to malfunction, and now the 485 bus prone to failure, and can be excluded from these methods are listed below:1., since the 485 signal uses a pair of unbalanced differential signals, it means that each of the 485 devices in the network must be connected to the ground via a signal loop,In order to reduce the noise on the data line, the data line is preferably composed of twisted pairs, and a shield layer is added to the ground as a ground wire to connect the 485 devices in the 485 network and to reliably connect the ground at one point.2. in the industrial field, the situation is very complex, there is a high common mode voltage between each node, 485 interfaceusing a differential transmission, has the ability of anti common mode interference, but when the common mode voltage is greater than +12V or less than -9V, more than 485 receiver voltage limit. The receiver will not work, and may even burn chips and devices together. You can use the Shenzhen fuyongtong Technology Co. Ltd. on the 485 bus in 485 optical isolation repeaters, 485 signal and power completely isolated, so as to eliminate the influence of common mode voltage.3.485 bus with extend the transmission distance, will produce the echo signal, if the transmission distance of 485 bus if more than 100 meters, the end of the end of 120 ohm resistor in the beginning of the 485 communication terminal and construction suggestions. The related wiring method may refer to the homepage: 120 ohm resistance connectionIn the 4.485 bus, the 485 node wants to minimize the distance between the trunk, and it is generally recommended that the 485 bus uses hand in hand bus topology. The star shaped structure produces a reflected signal that affects the quality of the 485 communications. If you have 485 nodes from 485 bus backbone in the construction process of the distance beyond a certain distance, using Shenzhen fuyongtong bifurcation Technology Co. Ltd. the 485 repeater can make a 485 bus. If the construction process requires the use of a star topology, you can use the Shenzhen fuyongtong Technology Co. Ltd. the 485 hub can solve this problem.5., the factors affecting the load capacity of 485 bus: communication distance, wire quality, baud rate, converter power supply, lightning protection of 485 devices, 485 chipselection. If more than 485 devices on the 485 bus, it is recommended to use a 485 converter with a power supply, passive type 485 converter, due to the power stealing from the serial port, the power supply capacity is not enough, the load capacity is not enough. Select good wire, if possible to use the lowest possible baud rate, select the high load capacity of the 485 chip, can improve the load capacity of 485 buses. 485 the lightning protection tube in the lightning protection of the equipment will absorb the voltage, resulting in the reduction of the capacity of the 485 bus load, and removing the lightning protection can improve the load capacity of the 485 buses. If in the construction site, not factors change, recommend the use of Shenzhen fuyongtong Technology Co. Ltd. the 485 repeater or 485 hub to provide the load capacity of 485 bus.485 bus because of its wiring is simple, reliable and widely used in video surveillance, access control intercom, alarm and other buildings in various fields, but in the 485 bus wiring process because there is not exactly the concept of causing a lot of problems. Some of the wrong ideas are now being clarified.The 1.485 signal line can go along with the strong current power line. In the actual construction, the line is through the pipeline to the construction side, sometimes for convenience, directly to the 485 signal line and power line tied together with strong signal due to the strong electromagnetic interference for the weak, resulting in 485 signal instability, lead to unstable communication.The 2.485 signal line may use parallel line as the wiring, mayalso use the non shielded line as the wiring. Since the 485 signal is transmitted by differential mode, the voltage difference between the 485+ and the 485- is used as the signal transmission. If there is an external interference source of the interference, when the use of twisted pair of 485 signal transmission, because of its twisted pair, interference for 485+, 485- jamming effect are the same, the voltage difference is still unchanged, for the 485 signal interference reduced to the minimum. In the same way, if the shielding line acts as a shield, the interference from the external interference source can be reduced as much as possible.3., choose to use the ordinary super five shielded twisted pair, that is, the cable can be. The price of raw materials has gone up,Lead wire on the market now have bad traders use some dragons and fishes jumbled together, to replace copper alloy to copper cable, on the outside to fudge customers. Specific differences: read the cable section, if it is copper, copper, such as white, is the use of shoddy alloy. Alloy is generally brittle, easy to break, and conductivity is far less than copper wire, it is easy to cause problems in construction. 485 line wire general recommendations on the selection criteria, the STP, the transmission line is not like that line is a single stranded copper, but copper wire twisted together to form a line, and even a small wire broken, will not affect the use.4.485 the wiring can be arbitrarily arranged as star connection and tree connection. The 485 wiring specification is a routing that must be held in hand. Once the 485 hub and 485 repeaterare not directly configured as star connections and tree connections, it is easy to cause a signal to reflect and cause the bus to be unstable. A lot of construction in the 485 party in the process of routing, the use of star connection and tree connection, sometimes the whole system is very stable, but sometimes it always has the problem, it is difficult to find the reasons, usually because of irregularities caused by wiring. If the site restrictions must be connected in star or tree connection, can use Shenzhen fuyongtong Technology Co. Ltd. the 485 hubs and 485 repeaters to solve related problems, the relevant reference pages are as follows: 485 bus 485 bus connected in star, tree topology.The 5.485 bus must be grounded. In many technical documents, it is mentioned that the 485 bus must be grounded, but there is no detail about how to ground it. Strictly speaking, the 485 bus must have a single point and reliable grounding. The single point is the 485 bus is only one point grounding, not more ground, because the ground is because will wire (usually shielded wire for wire) on the voltage remains the same, to prevent common mode interference, if the grounding point backfire. Earth connection the 485 line must have good contact, so as to ensure that the voltage is consistent, because in the actual construction, in order to convenient wiring line will cut into segments connected, but not as good shielding line connection, so that the earth is divided into multiple segments, voltage is not consistent the common mode interference.。
一、提高485的稳定性在各种现场中,485总线应用的非常的广泛,但是485总线比较容易出现故障,现在将485总线容易出现故障的情况并且可以排除这些故障的方法罗列如下:1.由于485信号使用的是一对非平衡差分信号,意味485网络中的每一个设备都必须通过一个信号回路连接到地,以减少数据线上的噪音,所以数据线最好由双绞线组成,并且在外面加上屏蔽层作为地线,将485网络中485设备连接起来,并且在一个点可靠接地。
2.在工业现场当中,现场情况非常复杂,各个节点之间存在很高的共模电压,485接口使用的是差分传输方式,有抗共模干扰能力,但是当共模电压大于+12V或者小于-9V时,超过485接收器的极限接收电压。
接收器就无法工作,甚至可能会烧毁芯片和一起设备。
可以在485总线中使用485光隔离中继器,将485信号及电源完全隔离,从而消除共模电压的影响。
3.485总线随着传输距离的延长,会产生回波反射信号,如果485总线的传输距离如果超过100米,建议施工时在485通讯的开始端和结束端120欧姆的终端电阻。
相关接线方法可以参考网页:120欧姆电阻的接法.4.485总线中485节点要尽量减少与主干之间的距离,一般建议485总线采用手牵手的总线拓扑结构。
星型结构会产生反射信号,影响485通信质量。
如果在施工过程中必须要求485节点离485总线主干的距离超过一定距离,使用485中继器可以作出一个485总线的分叉。
如果施工过程中要求使用星型拓扑结构,可以使用485集线器可以解决这个问题。
5.影响485总线的负载能力的因素:通讯距离,线材的品质,波特率,转换器供电能力,485设备的防雷保护,485芯片的选择。
如果485总线上的485设备比较多的话,建议使用带有电源的485转换器,无源型的485转换器由于时从串口窃电,供电能力不是很足,负载能力不够。
选用好的线材,如有可能使用尽可能低的波特率,选择高负载能力的485芯片,都可以提高485总线的负载能力。
485总线结构的门禁系统布线规范及调试方法第一章澄清几个概念:概念一: 485总线的通讯距离可以达到1200米.其实只是485总线结构理论上在理想环境的前提下才有可能使得传输距离达到1200米.一般是指通讯线材优质达标,波特率9600,只有一台485设备才能使得通讯距离达到1200米,而且能通讯并不代表每次通讯都正常.所以通常485总线实际的稳定的通讯距离远远达不到1200米. 负载485设备多,线材阻抗不合乎标准,线径过细,转换器品质不良,设备防雷保护,波特率的加高等等因素都会降低通讯距离.概念二: 485总线可以带128台设备进行通讯.其实并不是所有485转换器都能够带128台设备的.要根据485转换器内芯片采用的型号和485设备芯片采用的型号来判断的.谁低就谁的.一般485芯片负载能力有三个级别 32台 128台 256台. 理论上的标称往往实际上是达不到的.通讯距离越长,波特率越高,线径越细,线材质量越差,转换器品质越差,转换器电能供应不足(无源转换器),防雷保护越强这些都会大大降低真实负载数量.概念三: 485总线是一种最简单最稳定最成熟的工业总线结构.这种概念是错误的.应该是: 485总线是一种用于设备联网的经济型的传统的工业总线方式. 通讯质量是需要根据施工经验进行测试和调试的. 485总线虽然简单,但必须严格安装施工规范进行布线.第二章严格几个施工规范:485+和485-条数据线一定要互为双绞.布线一定要布多股屏蔽双绞线,多股是为了备用,屏蔽是为了出现特殊情况时调试,双绞是因为485通讯采用差模通讯原理,双绞的抗干扰性最好.不采用双绞线,是极端错误的.485总线一定要是手牵手式的总线结构,坚决杜绝星型连接和分叉连接.设备供电的交流电及机箱一定要真实接地,而且接地良好.有很多地方表面上有三角插座,其实根本没有接地,要小心.接地良好时,可以确保设备被雷击浪涌冲击静电累计时可以配合设备的防雷设计较好地释放能量.保护485总线设备和相关芯片不受伤害.避免和强电走在一起,以免强电对其干扰.第三章几种常见的通讯故障:通讯不上,无反应.可以上传数据,但不可以下载数据.通讯时,系统提示受到干扰.或者不通讯时,通讯指示灯也不停地闪烁.有时能通讯上,有时通讯不上.有的指令可以通,有的指令不可以通.第四章推荐几个调试方法:首先要确保设备接线正确,且严格合乎规范.共地法: 用1条线或者屏蔽线将所有485设备的GND地连接起来,这样可以避免所有设备之间存在影响通讯的电势差.终端电阻法: 在最后一台485设备的485+和485-上并接 120欧姆的终端电阻来改善通讯质量.中间分段断开法: 通过从中间断开来检查是否是设备负载过多通讯距离过长某台设备损害对整个通讯线路的影响等原因.单独拉线法: 单独简易暂时拉一条线到设备,这样可以用来排除是否是布线引起了通讯故障.更换转换器法: 随身携带几个转换器,这样可以排除是否是转换器质量问题影响了通讯质量.笔记本调试法: 先保证自己随身携带的电脑笔记本是通讯正常的设备,替换客户电脑,来进行通讯,如果可以,则表明客户的电脑的串口有可能被损害或者受伤.第五章提出几个建议和忠告:建议用户使用和购买门禁厂家提供的485转换器或者厂家指定推荐品牌的485转换器.门禁厂家会对与其配套的485转换器做大量的测试工作,并且会单独要求485厂家安装其固定的性能参数进行生产和品质检测,所以和其门禁设备具备较好的兼容性.千万不要贪图便宜购买杂牌厂家的485转换器.严格安装485总线的施工规范进行施工,杜绝任何侥幸心理.对线路较长负载较多的情况采用主动科学的有预留的解决方案.如果通讯距离过长,建议如果超过500米就采用中继器或者485HUB来解决问题. 如果负载数过多,建议如果一条总线上超过30台就采用485HUB来解决问题.现场调试带齐调试设备.现场调试一定要随身携带几个确保以前可以接长距离和多负载的转换器一台常用的电脑笔记本测试通路断路的万用表几个120欧姆的终端电阻。
一、关于485总线的几个概念:1、485总线的通讯距离可以达到1200米。
???根据485总线结构理论,在理想环境的前提下,485总线传输距离可以达到1200米。
其条件是通讯线材优质达标,波特率为9600,只负载一台485设备,才能使得通讯距离达到1200米,所以通常485总线实际的稳定的通讯距离往往达不到1200米。
如果负载485设备多,线材阻抗不合乎标准,线径过细,转换器品质不良,设备防雷保护复杂和波特率的提高等等因素都会降低通讯距离。
2、485总线可以带128台设备进行通讯。
???其实并不是所有485转换器都能够带128台设备的,要根据485转换器内芯片的型号和485设备芯片的型号来判断,只能按照指标较低的芯片来确定其负载能力。
一般485芯片负载能力有三个级别――32台、128台和256台。
此外理论上的标称往往实际上是达不到的,通讯距离越长、波特率越高、线径越细、线材质量越差、转换器品质越差、转换器电能供应不足(无源转换器)、防雷保护越强,这些都会降低真实负载数量。
3、485总线是一种最简单、最稳定、最成熟的工业总线结构???这种概念是错误的。
485总线是一种用于设备联网的、经济型的、传统的工业总线方式。
其通讯质量需要根据施工经验进行调试和测试采可以得到保证。
485总线虽然简单,但也必须严格按照安装施工规范进行布线。
二、必须严格按照施工规范施工???在485总线系统施工时必须严格按照施工规范施工,特别应注意下面几点。
1、485+和485-数据线一定要互为双绞。
2、布线一定要布多股屏蔽双绞线。
多股是为了备用,屏蔽是为了便于出现特殊情况时调试,双绞是因为485通讯采用差模通讯原理,双绞的抗干扰性较好。
不采用双绞线是错误的。
3、485总线一定要用手牵手式的总线结构,坚决避免星型连接和分叉连接。
4、设备供电的交流电及机箱一定要真实接地,而且接地良好。
有很多地方表面上有三角插座,其实根本没有接地,接地良好可以防止设备被雷击、浪涌冲击。
RS-485线路现场布线规范RS-485总线由于其成本低廉,设计简单而得到了广泛的应用,大量用于安防监控,智能交通,智能楼宇,机房监控,工业自动化等各个领域。
RS-485总线敷设线路比较简单,但是有一些相应的事项必须注意,否则会容易导致通信失败,后期维护工作非常浩大。
以下是485布线规范所需要注意的地方:线材问题:485总线布线使用的线材必须要使用屏蔽双绞线,线径最好在0.75或者1.0线径的,很多人在施工的时候为了图方便,直接使用网线作为485线使用,网线具有八根线,而485线只需要使用两根线或者四根线,其他线浪费了,而且现在的网线的线径相对都比较细,并不能完全满足485总线通信需求,建议不要使用网线。
还有不能使用平行线,同轴电缆或者不带屏蔽层的双绞线,由于485是差分平衡传输,使用双绞线可以有效的抵消外部干扰对其的影响,485线路一定不能使用平行线,同样的道理,由于屏蔽层具有屏蔽外部干扰的作用,最好要使用带屏蔽层的双绞线。
布线问题:485总线的走线要尽量远离干扰源,在施工过程中,有很多人为了省事,将485线路与电源线路一起走线,这样是不合理的,电源线会产生干扰,导致485通信不稳定,还有就是485布线必须远离类似于变压器,变频器等强电压干扰源。
总线拓扑问题:由于现场环境复杂,485设备分布一般都比较散乱,施工人员为图方便,没有按照485规范将线路布设成手牵手菊花链总线式拓扑结构,而是随意布设成星型,树型甚至多种拓扑结构混合型的,留出太多太长的分支,在实际应用中,单纯的星型,树型拓扑结构甚至混合拓扑结构有的时候也是可以使用的,但是通信肯定会不稳定,如果一定要布设星型,树型拓扑结构的话,建议使用485集线器和485中继器,相关的应用可以参考485总线拓扑结构问题页面。
接地问题:在485总线布线规范里面,强调需要单点可靠接地,但是在实际施工中,485总线接地有时反而会起到反作用。
由于485布线需要手牵手菊花链方式连接,使用的屏蔽双绞线肯定都会被剪断连接在485设备上,而一般大多都会利用外面的屏蔽层作为地线,如果没有将屏蔽层做良好的连接的话,接地反而可能会导致485信号不稳定,所以485线路接地必须是单点可靠接地。
关于RS-485综合布线施工规范在自动化领域,随着分布式控制系统的发展,迫切需要一种总线能适合远距离的数字通信。
在RS-422标准的基础上,EIA研究出了一种支持多节点、远距离和接收高灵敏度的RS-485总线标准。
RS-485采用半双工工作方式,支持多点数据通信。
RS-485总线网络拓扑一般采用终端匹配的总线型结构。
485总线的特点485总线采用了平衡发送和差分接收接口标准。
在发送端将串行口的TTL电平信号转换成差分信号由A、B两线输出,经过双绞线传输到接收端后,再将差分信号还原成TTL电平信号。
因此具有极强的抗共模干扰能力,加之总线收发器灵敏度很高,可以检测到低至200mV的电压。
故传输信号经过千米以上的衰减后都可以完好恢复。
在100kbit/s的传输速率下,通信距离可以达到1200米左右。
如果通信距离较短,其最大传输速率可达10Mbit/s。
如果需传输更长的距离,需要增加485中继器。
RS-485采用半双工工作方式,支持多点数据通信。
RS-485总线网络拓扑一般采用终端匹配的总线型结构。
即采用一条总线将各个节点串接起来,不支持环形或星型网络。
如果需要使用星型结构,就必须使用485中继器或者485集线器。
RS-485/422总线一般最大支持32个节点,如果使用特制的485芯片,可以达到256个节点或更多。
RS-485通讯电缆RS-485通讯电缆在一般场合采用双绞线就可以,但在要求比较高的环境下可以采用带屏蔽层的双绞电缆。
在使用RS485通讯时,对于特定的传输线路,主机(召测设备)到仪表的485口间的电缆长度与数据信号传输的波特率成反比;这个长度主要受信号的失真以及噪声的影响所影响。
理论上RS485的传输距离能达到1200米,但实际应用中传输距离要小于1200米,具体长度受周围的环境影响。
精心整理
485布线应注意的问题
澄清几个概念:
概念一:485总线的通讯距离可以达到1200米.
其实只是485总线结构理论上在理想环境的前提下才有可能使得传输距离达到1200米.一般是指通讯线材优质达标,波特率9600,只有一台485设备才能使得通讯距离达到1200米,而且能通讯并不代表每次通讯都正常.所以通常485总线实际的稳定的通讯距离远远达不到1200米.负载485设备多,线材阻抗不合乎标准,线径过细,转换器品质不良,设备防雷保护,波特率的加高等等因素都会降低通讯距离.
485台256台.,转
量.
.通
布线.
为485
485
有很多地方表面上有三角插座,其实根本没有接地,要小心.接地良好时,可以确保设备被雷击浪涌冲击静电累计时可以配合设备的防雷设计较好地释放能量.保护485总线设备和相关芯片不受伤害.
避免和强电走在一起,以免强电对其干扰.
三几种常见的通讯故障:
通讯不上,无反应.
可以上传数据,但不可以下载数据.
通讯时,系统提示受到干扰.或者不通讯时,通讯指示灯也不停地闪烁.
有时能通讯上,有时通讯不上.有的指令可以通,有的指令不可以通.
四推荐几个调试方法:
首先要确保设备接线正确,且严格合乎规范.
共地法:用1条线或者屏蔽线将所有485设备的GND地连接起来,这样可以避免所有设备之间
.
.
.
来进行
通讯,
.
如果通讯距离过长,建议如果超过500米就采用中继器或者485HUB来解决问题.
如果负载数过多,建议如果一条总线上超过30台就采用485HUB来解决问题.
现场调试带齐调试设备.
现场调试一定要随身携带几个确保以前可以接长距离和多负载的转换器一台常用的电脑笔记本测试通路断路的万用表几个120欧姆的终端电阻.
RS-485总线故障查找与排除RS-485布线技巧
尽管更加现代化的替代技术日益增多,但RS-485技术仍然在无数的通信网络中保持着中流砥柱的地位。
以下是检查常见故障和建立比较麻烦的RS-485网络的8步方法。
1.RS-485使用一对非平衡差分信号,这意味着网络中的每一个设备都必须通过一个信号回路连接到地,以最小化数据线上的噪声。
数据传输介质由一对双绞线组成,在噪声较大的环境中应加上屏蔽层。
2.在绝大多数的RS-485网络中,终端节点所引起的问题比它能解决的要多。
为了检查哪一个节点停止了工作,需要切断每一个节点的电源并将其从网络中断开。
使用欧姆表测量接收端A与B之间的电阻值。
故障节点的读数通常小于200欧姆,而非故障节点的读数将会比4,000欧姆大得多。
3.哪一根线是A、哪一根线是B一直都不是很清楚。
不同的制造商采用不同的标签规定,即使B线应该永远是在空闲状态下电压更高的那一根。
因此,A线相当于-,B线相当于+。
可在网络空闲的状态下用电压表检测。
如果B线没有比A线电压更高,那么就会存在连接问题。
4.当没有设备进行传输,所有设备都处于监听状态的时候,RS-485网络中会出现
1和0
以外。