Arctic RS-485 / RS-422. RS- 485 Also known as RS-485 Half Duplex, RS-485 2-wire same pair is used to transmit and receive data only one device can transmit.

Slides:



Advertisements
Similar presentations
RS232 and RS485 Fundamental.
Advertisements

Operational Amplifiers
Operational Amplifiers 1. Copyright  2004 by Oxford University Press, Inc. Microelectronic Circuits - Fifth Edition Sedra/Smith2 Figure 2.1 Circuit symbol.
Arctic IEC-104 Gateway Jari Lahti, CTO.
[ 1 ] LVDS links Servizio Elettronico Laboratori Frascati INFN - Laboratori Nazionali di Frascati G. Felici LVDS links.
DATA COMMUNICATIONS Some organisations concerned with standards: EIA - Electroonic Industries Association (RS standards including RS-232) IEEE - Institute.

Lecture 8: Serial Interfaces
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
RS-232 Communications. Why Serial Communications? Serial communication is the most simplistic form of communication between two devices. It’s pretty intuitive.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
COMP3221: Microprocessors and Embedded Systems
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.
EUT 1040 PLC Timers and Motor Protection. Industrial Communications RS-422 (EIA 422): Asynchronous Serial Communications, similar in many respects to.
Introduction to Op Amps
Serial Communications Standards (Partly Excerpted from Simpl Primer) Cabling Configuration Protocol.
Local Asynchronous Communication
12 - Winter 2006 ECE ECE 766 Computer Interfacing and Protocols 1 Interfaces Transmission of data from the source to a device or from a device to the destination.
ZIGBEE Network Introduction Integrated with Zigbee or Bluetooth products Operation voltage : DC 7V ~ 40V. RS232 Interface Meets or Exceeds TIA/EIA-232-F.
Introduction to Op Amp Circuits ELEC 121. April 2004ELEC 121 Op Amps2 Basic Op-Amp The op-amp is a differential amplifier with a very high open loop gain.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
USART Communication using the RS standard ETEC6416.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
ابزاردقیق ارائه دهم. The device has 2 input ports, named inverting ( - ) input and non-inverting (+) input. The output is simply an amplified signal of.
4.0 rtos implementation part II
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Telefunken LVDS/M-LVDS as an alternative to RS-485/422.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
1 Microprocessor-based Systems Course 9 Design of the input/output interfaces (continue)
Line Coding, Modem, RS232 interfacing sequences.
Universal Asynchronous Receiver/Transmitter (UART)
Differential Preamp Stephen Kaye New Preamp Design Motivation Move preamplifier from controller to the Vacuum Interface Board (VIB) Amplifies.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Universal Asynchronous Receiver/Transmitter (UART)
Fundamentals of Electric Circuits Chapter 5 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to RS485 Author: Zhu Tao Date:
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
©F.M. Rietti Communication Lines Fundamentals. ©F.M. Rietti LM-18 Computer Science SSI Embedded Systems I 2 Communication Lines Generally used to connect.
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
CE-2810 Dr. Mark L. Hornick 1 Serial Communications Sending and receiving data between devices.
EE101-Lecture 8 Operational Amplifier Basics of amplifiers EE101 Fall 2012 Lect 8- Kang1 Noninverting amplifier & Inverting amplifier.
Differential voltage-gain device that amplifies the difference between the voltages existing at its two input terminal. An instrumentation (or instrumentational)
1 E n v i r o n m e n t 1 5. SOURCES OF ERRORS the environment, Measuring errors can occur due to the undesirable interaction between the measurement system.
EKT 314/4 WEEK 5 : CHAPTER 3 SIGNAL CONDITIONING ELECTRONIC INSTRUMENTATION.
OCR AS Level F451: Data transmission Data transmission a. Describe the characteristics of a LAN (local area network) and a WAN (wide area network);
Serial/Fiber-Converter - IE-MCT-1RS232/485-1SC/ST
High Speed Properties of Digital Gates, Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology
Power Distribution Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology.
Wireless Power How it works
William Stallings Data and Computer Communications
RS-232 Communications.
5.3. Noise characteristics
RS-232 Communications.
EI205 Lecture 15 Dianguang Ma Fall 2008.
Pemrosesan Data Tersebar
Serial Communication: RS-232 (IEEE Standard)
Local Asynchronous Communication (RS-232)
Internet-of-Things (IoT)
Asynchronous Serial Communications
Basic Check-out of a Controller Area Network (CAN) Bus
Serial Communication Interface
5.3. Noise characteristics
ANALOG AND DIGITAL PHYSICAL INTERFACES
PIC Serial Port Interfacing
William Stallings Data and Computer Communications
Presentation transcript:

Arctic RS-485 / RS-422

RS- 485 Also known as RS-485 Half Duplex, RS wire same pair is used to transmit and receive data only one device can transmit on the bus simultaneously because the bus is shared in theory there could be multiple masters and also slaves could speak with each other but typically used on ”single master – multiple slaves” setup communicating with request-reply type of protocol MASTER SLAVE + - REQUEST REPLY A B

RS- 422 Also known as RS-485 Full Duplex, RS wire separate pairs for transmit and reception only one device can command the bus, slaves can’t speak with each other device can transmit and receive simultaneously (full duplex) typically used on ”single master – multiple slaves” setup REQUEST MASTER + - TXRXSLAVE + - TXRX SLAVE + - TXRX REPLY

Voltages RS-485 and RS-422 use differential (balanced) signalling providing good noise immunity Generally non-inverting line is called positive, +, A or Y Generally inverting line is called negative,-,B or Z If voltage between A-B (Vdiff) is >200mV receiver detects state ”1” and if A-B is below -200mV receiver detects state ”0” Usually transmitters drive >1,5V for state ”1” and <-1.5V for state ”0” leaving good margin to 200 mV trigger level A B Vdiff = A-B

Loading Each device causes capacitive and resistive load to bus If the load is too big the minimum ”200 mV” signal difference may not be reached or the signal waveform becomes too disturbed to detect the start bit Also termination and biasing loads the bus Also the length of the cable and serial speed affects the performance Because the implementation between devices vary a lot (e.g. some has internal termination) the only sure way is to measure the differential waveform (at both ends of the bus) with oscilloscope Note that the RS-485 has both ”transmit” and ”receive” phases, both have to exceed the 200 mV limit

Grounding Allthrough data transmission is balanced grounding may be required if the distance between devices is long and/or they don’t othervise share the common ground The most common reason for RS-485/422 circuit damages is the excessive potential difference between the devices When separate grounding is required use 100R resistor to connect each remote device to common ground wire. The resistor should be rated for at least 0.5 Watts. MASTER SLAVE + - A B GND

Termination Usually short lines do not require termination Usually small data rates (< bps) do not require termination The purpose of the termination is to cancel/attenuate the reflections on the bus  the value of termination resistor should match the characteristic impedance (Z 0 ) of the cable Typically twisted-pair type of cables have Z  (e.g. CAT-5 has 100  ) Termination is most effective on the receiving end Note that the termination causes plenty of load to the bus, increases idle state power consumption and should be used only when required ”AC termination” does not increase idle state power consumption but is not as effective as pure resistive termination

Termination placement MASTER + - TXRXSLAVE + - TXRX SLAVE + - TXRX MASTER SLAVE + - RS-485 RS-422

Arctic Termination Arctic internal termination is ”AC termination” The termination is available between RS2 pins 2 and 8 (RS-422 receive pins) when DIP switch 4 is ”ON” If termination is required on RS-485 (2-wire) mode pins 2-7 and 3-8 must be connected manually 120R 10 nF PIN 2 PIN 8 DIP 4

Biasing When the tranmitters are not active the line may float causing e.g. detection of false start bits The purpose of biasing is to tie the bus to known state when idle Most modern RS-422/485 receivers have internal ”fail- safe” biasing However if termination is used the internal ”fail-safe” biasing may not be enough and external biasing is required Placement of biasing is not that sensitive as termination > 200 mV when idle A B

Arctic Biasing Arctic biasing uses 3.3V voltage and 560R resistors The biasing is available between RS2 pins 2 and 8 (RS-422 RX pins) when DIP switchs 1 and 3 are ”ON” If biasing is required on RS-485 (2-wire) mode pins 2- 7 and 3-8 must be connected manually 3V3 PIN 8 560R PIN 2 DIP 1 DIP 3

Arctic DIP Switches and RS2 pinout DIP switches control the operation of RS2 RS2 pinout (standard male DB-9) RS2 in RS-422/485 mode

Arctic RS- 485 howto Set DIP switches 1 and 2 ”ON” which causes RS2 to be on RS-485 (Half-Duplex) mode If biasing is required set DIP switch 3 to ”ON” and manually connect Arctic RS2 pins 2-7 and 3-8 together If termination is required set DIP switch 4 to ”ON” and manually connect Arctic RS2 pins 2-7 and 3-8 together Connect Arctic pin 7 (TXD/RXD+) to other device non-inverting pin (usually marked positive,TXD/RXD+,+,A or Y) Connect Arctic pin 3 (TXD/RXD-) to other device inverting pin (usually marked negative,TXD/RXD-,-,B or Z) Connect Arctic pin 5 (GND) to common ground wire (with 100R resistor in series if the distanse is long and devices do not othervise share common ground) NOTE! When using RS-422/RS-485 Arctic RS2 handshaking must be set to ”none” in application configuration ARCTICDEVICE + / A / Y - / B / Z

Arctic RS- 422 howto Set DIP switch 1 ”ON” and DIP switch 2 ”OFF” which causes RS2 to be on RS-422 (Full-Duplex) mode If biasing is required set DIP switch 3 to ”ON” If termination is required set DIP switch 4 to ”ON” Connect Arctic pin 7 (TXD+, output) to other device non-inverting receiver pin (input, usually marked RX+) Connect Arctic pin 3 (TXD-,output) to other device inverting receiver pin (input, usually marked RX-) Connect Arctic pin 2 (RXD+, input) to other device non-inverting transmitter pin (output, usually marked TX+) Connect Arctic pin 8 (RXD-,input) to other device inverting transmitter pin (output, usually marked TX-) Connect Arctic pin 5 (GND) to common GND wire (with 100R resistor in series if the distanse is long and devices do not share common ground) NOTE! When using RS-422/RS-485 Arctic RS2 handshaking must be set to ”none” in application configuration ARCTICDEVICE RX+ RX- TX+ TX- TRANSMITTER RECEIVER