Arcnet .: The Universal, Realtime Capable Fieldbus Solution
Arcnet .: The Universal, Realtime Capable Fieldbus Solution
CONTENTS 1 ARCNET, the universal, realtime capable Fieldbus Solution ____3 2 History________________________________ _________________ 4 3 Characteristics of modern Fieldbusses _____________________ 4
3.1 Topology ____________________________________________________ 5
Bus __________________________________________________________ 5 Star __________________________________________________________ 5 Tree__________________________________________________________ 6 3.1.1 3.1.2 3.1.3
Bus Access Management _______________________________________ 7 Transmission Protocol __________________________________________ 8 Transmission Integrity __________________________________________ 8 Physical Interface _____________________________________________ 8 Implementations ______________________________________________ 9
4 ARCNET________________________________ _______________ 10
4.1 4.2 4.3 4.4 Topology ___________________________________________________ 10 Bus Access Management ______________________________________ 10 Protocol Components _________________________________________ 10 Network Access______________________________________________ 13
Passing on the Token____________________________________________ 13 Data Transfer _________________________________________________ 13 Broadcast Message_____________________________________________ 13
4.5
4.5.1 4.5.2
Security Mechanisms _________________________________________ 15 Overhead ___________________________________________________ 15 Timing Behaviour and Data Throughput ___________________________ 15
Example for a Data Transmission___________________________________ 16
4.8.1
4.9
Page 1
5 Summary ________________________________ ______________ 21 6 Classification of the different Bus Systems_________________ 21 7 ARCNET as a Systembus ________________________________ 22 8 ARCNET in Comparison ________________________________ _23 9 Circuit and Layout Proposals _____________________________ 26
9.1 Coax Interface _______________________________________________ 26
Physical Transmission Layer ______________________________________ 26 Important Wiring Hints ___________________________________________ 28 Circuit _______________________________________________________ 29 Layout _______________________________________________________ 32 Transceiver ___________________________________________________ 35 9.1.1 9.1.1 9.1.2 9.1.3 9.1.4
9.2
TWP_______________________________________________________ 35
Physical Transmission Layer ______________________________________ 35 Circuit _______________________________________________________ 38 Layout _______________________________________________________ 40
9.3
OWG ______________________________________________________ 41
Physical Transmission Layer ______________________________________ 41 Circuit _______________________________________________________ 42 Layout_______________________________________________________ 42 Network Extension for OWG Interfaces ______________________________ 44
9.4
9.5
RS485 _____________________________________________________ 48
Pysical Transmission Layer _______________________________________ 48 Circuits ______________________________________________________ 54
9.5.1 9.5.2
10
Page 2
Page 3
2 History
ARCNET has been developed in the USA by Datapoint and successfully used in the office LAN field. With an originally fixed transfer rate of 2.5 Mbps, ARCNET was pushed out of office LAN applications by the faster competitor Ethernet. For office applications the fast transfer of a large amount of data is the primary goal and not the realtime capabilities of the network. Just this ARCNET property is the major interest for industrial applications. SMC has introduced a family of ARCNET controllers to the market which is designed for the use in fieldbus applications and for internal networking within units especially. These circuits are used in large quantities in very different fields of application. In the meantime ARCNET became one of the most popular network solutions for industrial purposes.
Page 4
3.1 Topology
There are three different basic topologies: 3.1.1 Bus An example for the bus topology is shown below. Fieldbus nodes are connected to every bus segment in parallel. In every fieldbus the segment length depends on the transmission media and the number of the connected clients. The total length can be extended by using repeaters. A repeater (amplifier with in- and outputs) regenerates and amplifies the signal on the bus. The bus segment is terminated at both ends with resistors.
3.1.2
Star
In the star topology every segment only supports one node. Central point is a HUB (amplifier with up to 10 in- and outputs) which also contains the termination resistors.
Page 5
AUG - ARCNET user group e. V. 3.1.3 Tree The tree topology is a mixture between bus and star. These can be randomly combined via HUBs.
Page 6
Page 7
Page 8
3.6 Implementations
In fieldbus solutions usually only OSI layers 1 and 2 are implemented. Layer 7 directly communicates with layer 2 There are various possibilities for the implementation of fieldbus solutions: Software Implementation Parts of layer 1 and 2 are implemented as software. Microcontrollers are used. With fieldbusses of higher performance this solution exhausts the available microcontroller resources or the use of expensive microcontrollers is required. ASIC Implemention Layer 1 and 2 are implemented as an ASIC. The computing power of the CPU can be exclusively used by the application. The user does not have to deal with fieldbus protocol details.
Page 9
4 ARCNET
Below the specific ARCNET features are discussed.
4.1 Topology
ARCNET is one of the few networks that can be used with every topology. Bus-, star- or tree topologies as well as combinations of these can be used. Therefore ARCNET supports a wide range of applications.
Page 10
There are five different protocol elements. The Alert Burst, which consists of six consecutive bits with the value 1, precedes all ARCNET packets. The header for every transmitted byte of data is represented by a 110 bit combination. ITT - Invitation to Transmit ITT is the token which is passed from one node to another node. Alert Burst ITT DID DID
FBE - Free Buffer Enquiry FBE serves as query to initiate a data transmission to another participant. Alert Burst ENQ DID DID
ACK - Acknowledgement ACK confirms a successful action. It is used as an answer to a FBE as well as for the termination of a successful data transmission. Alert Burst ACK
NAK - Negative Acknowledgement NAK is used as a negative answer to a FBE. A failed data transmission (CRC error) is recognized by the transmitter based on a timeout. Alert Burst NAK
Page 11
Definitions: DID SID COUNT DATA CRC ACK NAK Destination ID Source ID Number of data bytes Data (1 - 507 byte) Cyclic Redundancy Check Acknowledgement Negative Acknowledgement
Page 12
Page 13
Page 14
4.7 Overhead
A fixed overhead cannot be defined for the ARCNET protocol due to the variable size of the data packets. The efficiency of the data transmission for ARCNET has a maximum of 71% of the selected baud rate (for long packets).
145.4 s is the time required by the protocol for the transmission of each data packet. This value as well as the 4.4 s per byte is not fixed but depends on the data rate which is used within the network. For a network with 32 participants this results in a maximum access time of about 8 ms for a data packet length of 32 bytes and a data transfer rate of 2.5 Mbps. The maximum data throughput with ARCNET is reached for the maximum
Page 15
AUG - ARCNET user group e. V. packet length of 508 bytes. The following example demonstrates this in detail. 4.8.1 Example for a Data Transmission In this example the total time for the transmission of a short data packet of 253 bytes shall be calculated. Node 1 has the token and transmits to node 2.
Node 1 asks with the aid of a FBE whether a data transmission to node 2 is possible. On every data transmission a turnaround time (Tta) of 12.6s is inserted before the addressed node answers. Node 2 waits for this period of time until it signals its ready-to-receive state with an ACK. Node 1 waits again for the Tta before it transmits a short data packet. Node 2 acknowledges the successful transmission after Tta with an ACK. After Tta node 1 passes the token to node 2, the transmission cycle is finished. After another Tta node 2 can start its activity. This leads to following total time consumption for the protocol: 2 * 15.6 s + 2 * 6.8 s + 37.6 s + 5 * 12.6 s = 145.4 s (at 2.5 Mbps) The related data transmission requires: 4.4 s * 253 = 1113.2 s This leads to a total time of 1258.6 s and a usable data rate of 88 %.
Page 16
AUG - ARCNET user group e. V. For detailed information on times and data rates refer to [3].
Page 17
Page 18
4.9.2 Twisted Pair with RS 485 Interface RS 485 has been established as a standard for fieldbus systems. There is no fixed default data rate, the number of participants is limited to 32 units per segment using standard RS 485 transceivers. Today some types of transceivers on the market are able to overcome these traditional limitations. For detailed information refer to the RS-485 Cabling Guidelinesby SMC. The network extent can also be increased by using HUBs, there are the same limitations as for coax applications. 4.9.3 Optical Waveguide Optical waveguide connections are available for applications, which require extremely high noise immunity of the cabeling technology and huge distances for single network segments. There is a difference between glass- and plastic optical waveguide being used, further the transmission range depends on the type of used transmitters and receivers and their optical transmit power and reception sensitivity. At 2.5 Mbps and with glass fibre a range of 3000 m can be reached, with plastic OWG only short distances up to 100 m are possible, although plastic OWG is less expensive. The baud rate does not play an important role with OWG transmissions. The range can also be increased with the aid of HUBs, there are the same limitations as with coax cables. A disadvantage of OWG is that either the star topology is used - which means that a hub is the center of the network - or that every participant contains the hub functionality. This leads to the fact that the operation of the whole system depends on the operation of every single participant. Nevertheless there are solutions - especially for the automobile industry - with passive optical hubs which avoid these limitations.
Page 19
4.10 Implementation
For own applications inexpensive ARCNET controllers are available which support datarates of up to 10 Mbps on the bus. (COM 20020 bis 5 Mbps, COM 20022 bis 10Mbps) The lower two OSI layers are implemented on the chips. The user communicates with the chip via a register interface. Registers for configuration and monitoring purposes are available. The received data or data to be sent are exchanged via an integrated Dual Port Ram. A 8051 compatible microprocessor with built in ARCNET controller is also available. (COM 20051) For the coax interface connection a HIT is available. (HYC 9088A) The connection to RS 485 and optical waveguide networks is possible with inexpensive standard components, There are driver libraries for the INTEL 8051 and 80x86 processors for software development. (ControLink 51 and 86) The standardization of the transmission protocols, of layer 7 and of an OPC interface is promoted by the newly founded ARCNET USER GROUP (AUG).
Page 20
5 Summary
ARCNET, due to its fast and computable realtime behavior and its flexible data packet size, can be used in the sensor / actor field as well as on process- and cellbus level. Inexpensive node implementations and the possibility to setup networks of large dimensions for multiple nodes are further ARCNET advantages Field devices can be connected to and disconnected from the bus without interferences. A classification and a comparison with other bus systems follows below. Due to the complete implementation of the network protocol on chip level the use of ARCNET as systembus solution within stand-alone units is also very interesting.
Page 21
7 ARCNET as a Systembus
Due to the high integration of the ARCNET controllers and a special transmission mode, ARCNET is also used as a networking bus for single components within stand-alone units. Multimaster capabilities and the simple processor interface support architectures with distributed intelligence. This results in advantages concerning device maintenance and diagnostics.
Page 22
8 ARCNET in Comparison
Bus type Comment No. of Mastersl Topology ASI only binary I/O 1 line INTERBUS-S SERCOS optical waveguide 1 Ring -60m(3) -250m(4) 245 4 Mbit/s 1 LWL NRZI according HDLC 16 Bit CRC 1 bis 16 Connection oriented
PROFIBUSDP
ARCNET
1 ring -12,8km(1) -10m(2) 256(1) 7(2) 500 kbit/s 2(6) 8(2) RS-485 (NRZ) 16 Bit CRC 4 to 64 Connection oriented
1 to 32 Line 200m bei 1,5Mbit 124/32 1,5 Mbit/s 2 RS-485 (NRZ) Parity (2 dim.) 1 to 246
1 to 255
line, star, tree
Refer to table 2 256 10 Mbit/s 1 2 (7) RS-485 (NRZ) 16 Bit CRC 1 to 508
Access Method
Master/Slave Master/ sum frame Slave Time slots Service controlled ID-numbers
User Access
Layer 2 Standardizati on
Chip no
(1) far distance bus (2) peripheral bus (6) incl. auxiliary power supply
Page 23
Bus type Comment No. of Mastersl Topology Cable Length No. of Participants
Max. Datarate
CAN
LON Comprises layer 1 to 7 Multimaster line / tree 500m at 1.25Mbit/s 64 1.25 Mbit/s 2 RS-485 / Manchester (RZ) 16 Bit CRC
multimaster line 40m at 1 Mbit/s 256 1 Mbit/s 2 RS-485 / ISO11898 (NRZ) 15 Bit CRC
Error Recognition Max. 228 (1) No. of data bytes 1 to 8 Communication Object oriented Object oriented
Structure
Access Method
CSMA/CA
CSMA/CA
User Access
Layer 2 Standardization
(1) LON is optimized for small packet sizes (2) Protocol has not been publicated
Source: Robert Busse, Feldbussysteme im Vergleich, Pflaum Verlag, Mnchen
Page 24
Transmission Media
Network Dimension
16 km 8 km 20 km 16 km
Page 25
The coax interface supports a fixed datarate of 2.5 Mbps. 9.1.1.2 Connectors
Allowed are BNC female connectors for the nodes with a characteristic impedance of 50 or 75 Ohm and the corresponding male connector for the cables. 9.1.1.3 Transmission Media and Termination
Coax cable with an impedance of 93 Ohm e.g. type RG 62 U The cable has to be terminated on both sides with a resistor of 93 Ohm. The termination can either be integrated in the device or supplied by an external resistors (integrated in a BNC male connector). It has to be possible to activate / deactivate internal termination by switches or jumpers.
Page 26
9.1.1.4
For the transmission of the information a dipulse signal is used as shown in the figure below. The signal level has to be between 15.4V and 25.0V peakpeak.
A "1bit is transmitted as a 200 ns dipulse followed by 200 ns without a signal, a "0" as 400 ns without a signal. For further information refer to [ 5 ]. Signal shape for dipulse transmission
Page 27
9.1.1 Important Wiring Hints The table below shows the most important wiring parameters. Minimum distance between two nodes Node impedance Termiantion resistance Maximum no. of nodes per segment Maximum segment length Bus 1m > 1,2 kOhm 93 Ohm 8 300 m Star 1m > 1,2 kOhm 93 Ohm 2 610 m
The maximum segment length depends on the number of connected participants. It can be calculated based on the following equation: Segment length lk = (Po dt nt) / dk Po = transmit power above receiver threshhold [dB] (typical value 11dB) dt = attenuation per participant [dB] (typical value 0,45dB) nt = no. of participants dk = cable attenuation per m [dB/m]
Page 28
9.1.2 Circuit The following design proposal describes an ARCNET node for coax cabling. Hereby electromagnetic compatibility aspects are especially emphasized. 9.1.2.1 Circuit Schematic The following circuit diagram shows a typical coax interface containing a hybride module (type HYC9088(SMC), a BNC connector and the protection circuit. The termination is not included here because it is usually implemented as external termination resistor at both ends of the coax cable. The approved design consequently separates electronic ground (GND_E) and chassis ground (GND_A). The protection circuit consists of R1, R2, V1 and C1. By this configuration any noise power, which is coupled into the coax cable in a noisy environment, is carried down to the reference potential and therefore kept away from the network interface hybrid module. As reference potential a metal cover (housing) for the unit offers high noise immunity especially for industrial applications. The metal cover needs to be designed for high impedance segregation related to the remaining electronic circuit within the housing. R1 and R2 serve as leakage resistors to avoid high static potential differences at the network interface. C1 is a high frequency short circuit. The varistor limits voltage peaks to protect C1 against overload. L1 and L2 are ferrite beads which can be optionally used to increase the immunity against high frequency noise. As an alternative to the varistor a supressor diode can also be used. A coax connector with integrated bleed off capacitors should be used.
Page 29
9.1.2.2 Components Components for the protection circuit: Number Reference 1 U1 1 C1 Designator HIT Metallized Film Capacitor 400V Varistor Metalfilm resistor 1/2W Type HCY9088 AS FKC3 Value
10nF
1 2
V1 R1, 2
Page 30
Page 31
9.1.3 Layout For the described circuit a layout has been developed which emphasizes electromagnetic compatibility aspects. 9.1.3.1 Ground Layout The layout of the ground signal is the most important factor for the noise immunity. The connection between protection circuit and chassis should be as short as possible and/or connected by a wide track. The following example layout for a PC card clarifies this. The slot panel with two lugs is the low impedance connection between protection circuit and chassis.
Page 32
9.1.3.2 Component Placement and Pads The placement of the components refers to the track layout which is shown below.
Page 33
9.1.3.3 Layout Important is the wide grounded area which ensures the connection between protection circuit and front panel. The grounded area is segregated from the PC ground on the ARCNET card.
Page 34
9.1.4 Transceiver The following table lists different transceiver modules currently available on the market. Type HYC9088A JTL7958R MIT P/N A60152-10 MIT P/N A60151-10 Vendor SMC JASMINE MIT Supply Impedance Voltages +5V, -5V high impedance +5V +5V -5V or -12 V +5V -5V or -12 V high impedance high impedance Isolation Voltage n.A. n.A n.A Datarate 2.5 MBit/s 2.5 MBit/s 2.5 MBit/s 2.5 MBit/s
MIT
93 Ohm
n.A.
9.2 TWP
9.2.1 Physical Transmission Layer This physical transmission layer consists of the transceivers, the transmission media twisted pair cable and the corresponding bus terminators. The signal lines are twisted to achieve a defined impedance and a high noise immunity. 9.2.1.1 Bit Rate The coax interface supports a fixed datarate of 2.5 Mbps. 9.2.1.2 Connectors For the nodes a 9-pin SUB-D male connector is used. The cables are equipped with 9-pin SUB-D female connectors. The housing of the connectors at the cable should consist of a conducting material (metal or conducting plastic cover) and has to be connected to the twisted pair cable shield over a wide area for low inductance. We additionally recommend to connect the shield to pin 1 of the connector.
Page 35
9.2.1.3 Connector Pin Assignment Pin No. 1 and chassis 3 8 2,4-7, 9 Signal Name Shield TWPTWP+ not used Comment Chassis and front panel potential "shield" I/O of the HIT "center" I/O of the HIT
9.2.1.4 Transmission Media and Termination TWP uses shielded twisted pair cables. The two wires of the pair are twisted to achieve a defined impedance and a high noise immunity. Attenuation and recommended cable types meet the specifications described in chapter "RS485". The cable has to be terminated at both ends with a resistor of 120 Ohm/0.5W. The termination can either be integrated in the device or supplied by an external plugable resistor. It has to be possible to activate / deactivate internal termination by switches or jumpers.
Page 36
9.2.1.5 Signal Shape and Level For the transmission of the information a dipulse signal is used as shown in the figure. The signal level has to be between 15.4V and 25.0V peak-peak. A "1bit is transmitted as a 200 ns dipulse followed by 200 ns without a signal, a "0" as 400 ns without a signal. For further information refer to [ 5 ]. The interface has to be designed in such a way that the ARCNET controller interprets the transition from logical 0 to logical 1. 9.2.1.6 Important Wiring Hints The table below defines the most important wiring parameters. Minimum distance between two nodes Node impedance Termination resistor Maximum no. of nodes per segment Maximum segment length Bus 2m > 1.2 kOhm 120 Ohm 8 about 120 m Star 2m > 1.2 kOhm 120 Ohm 2 about 280 m
Page 37
9.2.2 Circuit In the following a design proposal for an ARCNET node for twisted pair cabling is presented. Hereby electromagnetic compatibility aspects are especially emphasized. TWP is based on a HIT device driving the twisted pair cable. In contrast to RS485 systems the electrical segregation is done by the transformer within the HIT device. The setting of a defined inactive level by pullup and pulldown resistors as it is used for RS485 is not necessary. 9.2.1.7 Circuit Diagram The following circuit diagram describes a typical twisted pair interface based on a hybride of the type HYC9088, a 9-pin SUB-D male connector and the corresponding protection circuit. The approved design consequently segregates electronic ground (GND_E) and chassis ground (GND_A). The protection circuit consists of R1, R2, V1 and C1. By this configuration any noise power, which is coupled into the coax cable in a noisy environment, is carried down to the reference potential and therefore kept away from the network interface hybrid module. As reference potential a metal cover (housing) for the unit offers high noise immunity especially for industrial applications. The metal cover needs to be designed for high impedance segregation related to the remaining electronic circuit within the housing. R1 and R2 serve as leakage resistors to avoid high static potential differences at the network interface. C1 is a high frequency short circuit. The varistor limits voltage peaks to protect C1 against overload. L1 and L2 are ferrite beads which can be optionally used to increase the immunity against high frequency noise. As an alternative to the varistor a supressor diode can also be used. A coax connector with integrated bleed off capacitors should be used. We recommend the use of a shielded twisted pair cable which meets the specifications described in the chapter "Design Proposal for a RS485 Interface". The housing of the connectors at the cable should consist of a conducting material (metal or conducting plastic cover) and has to be connected to the twisted pair cable shield over a wide area for low inductance. We additionally recommend to connect the shield to pin 1 of the connector.
Page 38
Page 39
AUG - ARCNET user group e. V. 9.2.1.8 Termination The cable has to be terminated with the characteristic impedance of the cable on both ends of the bus. This is performed by jumper X2 and resistor R5. 9.2.1.9 Components Number Reference 1 U1 2 C1, C2 4 1 R1-R4 R5 Designation HIT ceramic capacitor, > 1000V resistor, 0.5 W coal or metal film resistor, 0.5 W coal or metal film Type HCY9088AS DE0910SL220J6K Value 22pF 5k6 120
9.2.3 Layout The recommendations describes for the coax design proposal are also valid for twisted pair applications.
Page 40
9.3 OWG
9.3.1 Physical Transmission Layer 9.3.1.1 Overview The transmission via optical waveguide is recommended especially for long distances and/or high requirements concerning noise immunity. 9.3.1.2 Datarate All datarates supplied by ARCNET are supported. 9.3.1.3 Connectors Due to the numerous available OWG systems and fields of application no standardization will be offered. 9.3.1.4 Signal Shape and Level A logical 0 corresponds to no light. A logical 1 corresponds to a pulse (=light) of the length T_On = 0.25 to 0.5 bit. The interface has to be designed in such a way that the ARCNET controller interprets the transition from "no light" = logical 0 to "light" = logical 1.
A careful design of the OWG circuit is recommended. It has to be considered that the bit jitter should be kept as small as possible. Bit jitter occurs if the optical transmission power is too high (photo diode overdrive) as well as if it is too low (noise).
Page 41
9.3.1.5 Transmission Media Due to the numerous available OWG systems and fields of application no standardization will be offered. 9.3.2 Circuit In the following a design proposal for an ARCNET node with an optical waveguide interface is presented. 9.3.1.6 Circuit Diagram The following circuit diagram shows a typical interface between an ARCNET controller and an optical waveguide (SMA connectors). RX_DATA is the received signal which has been converted into a TTL signal which is connected to the data input of a COM20020 device. _TX_DATA is the transmitted TTL signal. A TTL high level corresponds to a logical 0 (no light) and is defined as the idle state. The _PULSE1 output of the COM 20020 device supports this type of signal. It has to be considered that the transmitted data are also returned to the input via the gates U3B and U3C. This is necessary because the ARCNET controller continuously monitors the bus for timeouts and initiates a reconfiguration cycle if a timeout occurs. 9.3.1.7 Power Setting We strongly recommend to design the OWG interface for an adjustable transmission power. In the circuit diagram the resistors R6, 8, 9 and jumper X3 are used for that adjustment of the required transmission power. Most of the OWG receivers at the market are sensitive against overdrive, which is caused by receiving a high amount of light power at the input. This results in an increased bit jitter for misaligned input power which also causes a considerable increase of the bit error rate. For a calculation example on the correct OWG interface design refer to [4]. 9.3.3 Layout
OWG receivers are usually very sensitive against noisy supply voltages. Therefore a proper decoupling of the power supply has to be performed by the use of bypass capacitors.
Page 42
Page 43
9.3.4 Network Extension for OWG Interfaces The extension of an ARCNET network mainly depends on optical transmission power, receiver sensivity, fiber attenuation and transition losses at connectors etc. An additional amount of reserved power has always to be included. The range (in m) is calculated according to the equation below: r = (Po - Pi - m - Ls + Gdia)/ L *1000 Po = optical transmission power of the transmission diode [dBmW] Pi = minimum receive power required for the receiver module [dBmW] m = margin = reserve [dB] L = attenuation of the OWG [dB/km] per km Ls = all connector attenuation and splice losses Gdia = adaption factor [db] which depends on the cable type r = range [m] 9.3.1.8 Example 1 Example for an OWG interface based on a TOSLINK module TODX296 and a plastic fibre of the type TOCP200. Bit rate = 2.5 Mbit/s. All values are worst case. Po = -20 dBm, Pi = -31 dBm, m = 3 dB, L = 240dB/km Ls = 0, because the cable calculation already includes the connector losses --> r = 33 m
Page 44
9.3.1.9 Example 2 Example for an OWG interface based on a Honeywell transmission diode HFE 4401-014, receiver HFD 3403-002 and a glas fibre of the type HOCZ 0052. Bit rate = 2.5 Mbit/s. All values are worst case. Po = -17 dBm, Pi = -25.5 dBm, m = 3 dB, L = 3.5 dB/km Ls = 0, because the cable calculation already includes the connector losses --> r = 1570 m Note: Gdia is set to 0 dB in the examples.
Page 45
Page 46
9.4.1.4 Transmission Media Plastic fibre OWG with a core of 1 mm diameter and a black cover, total diameter of 2.2 mm. Installation as single and duplex cable. Duplex OWG Honeywell HOCD0202 or Hirschman OKD 1000-B Typical technical data: attenuation at 660 nm about 200 dB/km evironmental temperature -20 to +80 C Isolation voltage 110 kV/m longitudinal strength 100 N 9.4.3 Circuit For the electrical circuit, layout and power settings, the same specifications as for OWG are valid.
Page 47
9.5 RS485
9.5.1 Pysical Transmission Layer The transmission technology is based on the EIA RS-485 stansard. 9.5.1.1 Datarate
All datarates supplied by ARCNET are supported. 9.5.1.2 Signal Shape and Level
A logical 0 corresponds to a positive voltage difference between the signals DATA+ und DATA- of at least 0.2 V. A logical 1 corresponds to a negative voltage difference between the signals DATA+ und DATA- of at least 0.2 V. T_On equals 0.5 * bit length +- 10%. The following figure shows the logical shape during the transmission. The interface has to be designed in such a way that the ARCNET controller interprets the transition from logical 0 to logical 1.
Page 48
9.5.1.1 Mechanical Specifications For the connection of the bus cable to the bus participant a 9-pin SUB-D connector is used. The female connector is used at the bus cable, the male connector is used at the bus interface of the participant. The connectors should always be equipped with metal housings. The mechanical fixture between connectors should be based on conducting screws. For the connection of bus participants to the bus cable a so called T-connector part should be used which supports an easy removal or exchange of the bus participant without the need of breaking up the cable segment. 9.5.1.2 Connector Pin Assignment Pin No.
1 2
Designator
Connector housing Shield RP-P
Description
Wide area connection to shield Shield and protective ground Optional Reserved for auxiliary voltage supply + , for the supply of bus interface units and repeaters without private power supply Optional Data line B (=RS485-B), in idle state more negative than DATA-A Reserved for signals for direction control of repeaters with RS485 technology (=RS485-A), in idle state more positive than CNTR-B Optional Data reference potential, supply of the termination networks Supply voltage +, supply of the termination networks, only necessary for participants at end of the cable Reserved for auxiliary voltage supply-GND, for the supply of bus interface units and repeaters without private power supply Optional Data line A (=RS485-A), in idle state more positive than DATA-B Reserved for signals for direction control of repeaters with RS485 technology (=RS485-B), in idle state more positive than CNTR-A Optional
3 4
DATA-B CNTR-A
5 6 7
DGND VP RP-N
8 9
DATA-A CNTR-B
Page 49
9.5.1.3 Transmission Media As bus cable a shielded twisted pair cable is used. The shield is necessary for the improvement of the electromagnetic compatibility. The cable used should meet following specifications:
9.5.1.5.1 Attenuation
Characteristic Impedance
100V
9.5.1.5.4 Capacity
9.5.1.5.5
30pF/m (for transmission rates from 3 to 20MHz) 60pF/m (for transmission rates below 3MHz)
Wire Diameter
2
0,34mm (for transmission rates from 3 to 20MHz) 0,22mm (for transmission rates below 3MHz)
2
Page 50
9.5.1.6
For the circuit shown above, the potential difference between all the data reference potentials (DGND) of all interfaces must not exceed 7V. If this cannot be ensured a separate potential compensation has to be used. At both connectors the shield should be wired to the protective ground with a connection of low inductance in order to achieve optimum electromagnetic compatibility. This connection is preferably established by the metal chassis and the screws of the SUB-D plug. If this is not possible the connection should be established by pin 1 of the connector. 9.5.1.4 Termination Both ends of the bus cable have to be equipped with a termination resistor Rt = 220 . To ensure a defined signal level at the line for inactive states an additional resistor Rd = 390 has to be connected against GND and another resistor Ru = 390 against the supply voltage +. The participants which act as line termination have to provide VP and DGND (recommendations are valid for a supply voltage of +5V 5%). The line termination can be performed within the nodes or within the housing of the external connectors.
Page 51
Rt = 220 2%, min W Rd = 390 2%, min W Ru = 390 2%, min W The total high frequency impedance RT calculates as follows: with Rd = Ru 1/RT = 1/Rt + 2/Rd = 1/Zcable
9.5.1.5
Page 52
9.5.1.6 Wiring and Network Extension Different factors determine the maximum extension of a network segment: data rate technical specifications of the cable (e.g. attenuation) attenuation by the participants attenuation by protection circuits power of the transceiver units
Therefore the extension of an RS485 network has to be evaluated in details for each application and is not outlined here.
Page 53
9.5.2 Circuits 9.5.2.1 Protection Circuit To protect the RS485 driver against fast transients the data lines A and B are connected to suppressor diodes. In order to minimize the load on the bus lines low capacity suppressor diodes are used (suppressor diodes with a standard diode in series). The load by the transient protection is hereby limited to a value of 10 pF per wire. As a protection againt lightning discharges gas discharge elements should be used against the ground wire. 9.5.2.2 Factors for the Improvement of the Electromagnetic Compatibility Tee lines between transceiver and SUB-D connector as short as possible Placement of bus termination and transient protection as close to the SUBD connector as possible Shield connected to protective earth (at both sides, connection with low inductance over a large area) Shield soldered to the metal cover of the connector (better results than for connection at strain relief) Ground areas Separation of electrically segregated parts Ferrite tube or 6-hole cores over bus cable (subsequent installation possible) protective ground area at the front panel is recommended Y-capacitors (4.7nF, 100V) for voltage supply and auxiliary energy
Page 54
9.5.2.3 Circuit Layout without electrical Segregation Due to a limited noise immunity the use of this circuit is only recommended small systems (e.g. within a wiring cabinet)
1 2 3 4 5 6 7 8
uC-Interface
/RESET /INTR /CS /WR /RD GND IC2 13 A[0..2] 1 2 3 4 5 6 8 9 10 11 12 14 22 7 NC RD/DS DIR/WR A0/MUX CS A1 INTR A2/ALE RESET AD0 AD1 TXEN AD2 RXIN D3 D4 PULSE2 D5 PULSE1 D6 D7 XTAL2 XTAL1 Vss Vss VDD Vss VDD COM20020 +5V C2 100nF GND Q1 20MHz C3 27pF C4 27pF GND Transientenschutz (optional) GND Suppressor diodes, Array LCDA05 GND +5V +5V 27 26 25 24 23 21 20 19 18 GND 17 16 28 15 R7 100K R8 100K R6 680 IC1 1 2 3 4 RO VCC RE DE DI A B VSS 8 6 ST1 7 5 C1 100nF J1 LTBR J4 LTBR J2 J3 LTBR LTBR R5 220 R3 390 R4 390 1 2 3 4 GND 5 +5V 6 7 DATA-A 8 9 DATA-B D-Sub 9pol. Stecker +5V +5V R2 100K GND R1 100K GND
D[0..7]
75ALS176D
GND
Busabschlu (optional)
Page 55
9.5.2.3.1 Components
Number 1 1 1 1 1
Designation RS485 transceiver ARCNET controller Crystal oscillator Connector Suppressor diodes
Value
9.5.2.3.2
Wiring
1 x 2: twisted pair cable with two unshielded wires for data signals A and B
Page 56
Galvanische Trennung
D +5V 1 DC 2 C10 27F 35V C12 100nF DC 5 C9 27F 35V C11 100nF U1 6 +5Vext
GND
GNDext
uC-Interface +5Vext /RESET /INTR /CS /WR /RD IC4 13 A[0..2] 1 2 3 4 5 6 8 9 10 11 12 14 22 7 NC RD/DS DIR/WR A0/MUX CS A1 INTR A2/ALE RESET AD0 AD1 AD2 D3 D4 D5 D6 D7 Vss Vss Vss TXEN RXIN PULSE2 PULSE1 XTAL2 XTAL1 VDD VDD 27 26 25 24 23 21 20 19 18 +5Vext 17 16 28 15 R5 680 IC2 8 +Vcc A1 7 Vo1 K1 6 C6 100nF GND Q1 20MHz C7 27pF C8 27pF C3 100nF GND 5 Vo2 A2 K2 0V HCPL2631 GNDext 1 2 4 3 C5 100nF R2 300 Transientenschutz (optional) Busabschlu (optional) GNDext GND +5V +5V Suppressor diodes, Array LCDA05 GNDext +5Vext R1 300 R3 300 IC3 +Vcc 1 A1 2 K1 Vo1 4 A2 Vo2 3 K2 0V HCPL2631 C1 100nF C2 100nF R4 680 8 7 6 5 1 2 3 4 +5V R6 680 GNDext +5Vext R13 680 IC1 RO VCC RE DE DI A B VSS 8 6 ST1 7 5 C4 100nF J1 LTBR J4 LTBR J2 LTBR R12 220 GNDext GND GNDext +5Vext R10 390 R11 390 J3 LTBR 1 2 3 4 GNDext 5 +5Vext 6 7 DATA-A 8 9 DATA-B D-Sub 9pol. Stecker B R9 100K R8 100K +5Vext GNDext
+5Vext
75ALS176D
D[0..7]
COM20020 +5V
A galvanisch getrennt
GND
Page 57
9.5.2.4.1
Components
Number 1 2 1 1 1 1 1
Designation RS485 transceiver opto coupler ARCNET controller Crystal oscillator Connector DC/DC converter Suppressor diodes
Value
9.5.2.4.2
Wiring
2x2:
1 twisted pair for data signals A, B and 1 twisted pair for repater control signals A, CNTR-B
Page 58
9.5.2.5 Circuit Layout of the Repeater Control based on RS485 It has to be considered that repeater control based on RS 485 is only possible if all bus participants are equipped for this purpose.
1 2 3 4 5 6 7 8
Galvanische Trennung
+5V 1
U1 6 DC
+5Vext +5Vext 5 C10 C12 27F 100nF 35V +5Vext +5Vext GNDext R5 680 R21 680 IC1 1 RO VCC RE DE DI A B VSS 8 6 ST1 7 5 C4 100nF J1 LTBR J4 LTBR J2 J3 LTBR LTBR R19 220 R15 390 R16 390 1 2 DATA-B 3 CNTR-A 4 GNDext 5 +5Vext 6 7 DATA-A 8 CNTR-B 9 D-Sub 9pol. Stecker R12 100K R11 100K GNDext
GND
GNDext
2 3 4
uC-Interface
R2 680
75ALS176D
/RESET /INTR /CS /WR C /RD IC5 13 A[0..2] 1 2 3 4 5 6 8 9 10 11 12 14 22 7 NC RD/DS DIR/WR A0/MUX CS A1 INTR A2/ALE RESET AD0 AD1 TXEN AD2 RXIN D3 D4 PULSE2 D5 PULSE1 D6 D7 XTAL2 XTAL1 Vss Vss VDD Vss VDD COM20020 +5V C6 100nF GND Q1 27 26 25 24 23 21 20 GND 19 18 17 16 28 15 R1 300 R9 300
GNDext
C Suppressor diodes, Array LCDA05 GNDext +5Vext Busabschlu (optional) GNDext C2 100nF R8 300 Transientenschutz (optional) +5Vext +5Vext +5Vext GNDext R22 680 IC2 R14 100K 8 6 7 5 C7 100nF J5 LTBR J8 LTBR J6 J7 LTBR LTBR R20 220 GNDext R17 390 R18 390 B R13 100K
C1 100nF
D[0..7]
GND +5V +5V R3 680 IC3 8 +Vcc A1 7 Vo1K1 6 C3 100nF GND Vo2A2 K2 5 0V HCPL2631
GNDext +5Vext
RO VCC RE DE DI A B VSS
75ALS176D
GND
galvanisch getrennt A A
Title Size A3
Date: File: 1 2 3 4 5 6
Page 59
9.5.2.5.1 Components
Number 2 2 1 1 1 1 1 2
Designation RS485 transceiver opto coupler ARCNET controller Hex Schmitttrigger inverter Crystal oscillator Connector DC/DC converter Suppressor diodes
Value
9.5.2.5.2
Cabling
2 x 2 +3 :
2 x 2 wires, twisted pairs for data signals A, B, and control signals CNTR-A, CNTR-B and 1 additional wires for data reference potential DGND, 2 additional wires for auxiliary voltage supply RP-P, RP-N (without galvanic isolation for the bus participants compensation current has to be considered)
Page 60
10 Appendix
10.1 Definitions
Term TTL - H
Comment
TTL - L
Logical 0
Logical 1
Bit length
Mbit/s kBit/s
number of transmitted bits per second. "M" means 1E06, "k" means 1000.
Bitjitter
The time deviation of the real signal ralted to the basic time grid for bits. It is defined as a fraction of a bit length.
Page 61
10.2 Literature
Siemens "Optokoppler Lichtschranken Lichtleiter-Bauelemente". Order number B349-B6039 Honeywell OPTOELECTRONICS data sheet "HFX6015 xxx 660 nm LED for Industrial Bus Systems" Honeywell OPTOELECTRONICS data sheet "HFD3403-2xx 5Mb/s Receiver for Industrial Bus Systems"
Document Data sheet COM20020 by SMC Data sheet HY 9088A by SMC ARCNET Designers Handbook, Dok Nr. 61610, by DATAPOINT Cabling Alternatives for the COM20020, COM90C66, AND COM90C165, SMC
[4]
1/92
ARCNET Local Area Network Standard, by ATA Standards Commitee Proposal for a RS 485 Interface Guide to Configuring an ARCNET Network by Contemporary Control Systems, Inc. RS-485 Cabling Guidelines for the COM20020 by SMC
[5]
1.6
5.1.1991
[6]
00.02
8.10.96
May 1994
Page 62
AUG - ARCNET user group e.V. Bussardstr. 19 90766 Frth Germany Tel. ++ 49 911 97341 24 Fax. ++ 49 911 97341 10