Current Loop Application Note 1495



Similar documents
RS-422 and RS-485 Application Note

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

Bluetooth HC-06 with serial port module Easy guide

Long Range Ethernet Extender

User Manual IC-485AI

Application Note 83 Fundamentals of RS 232 Serial Communications

RS-232 Baud Rate Converter CE Model 232BRC Documentation Number 232BRC-3903 (pn5104-r003)

Study Guide for the Electronics Technician Pre-Employment Examination

FOSTCDR. Industrial Serial to Multimode Fiber Optic Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology

SMART SENSOR COLLECTION

Tire pressure monitoring

EQUIPMENT SPECIFICATIONS

Serial Communications

LM134-LM234-LM334. Three terminal adjustable current sources. Features. Description

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

Fiber Optic Selector Guide for Analog & Digital Data Links, Contact Closures & Multiplexers

RGB for ZX Spectrum 128, +2, +2A, +3

DK40 Datasheet & Hardware manual Version 2

Application/Connection Examples

Section 3. Sensor to ADC Design Example

4-20 ma Transmitters Alive and Kicking

POWER SUPPLY MODEL XP-15. Instruction Manual ELENCO

ATS Communication Overview

Connecting instruments serially to your computer

Technical Specifications: The specifications represent a particular hardware platform. Application-specific software is provided.

EVAL-UFDC-1/UFDC-1M-16

Application Examples

Technical Manual. For use with Caller ID signaling types: Belcore 202, British Telecom, & ETSI

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

Data Bulletin. Communications Wiring for POWERLINK G3 Systems Class 1210 ABOUT THIS BULLETIN APPLICATION INTRODUCTION.

OPT SERIAL TO FIBER OPTIC CONVERTER

GT Sensors Precision Gear Tooth and Encoder Sensors

INTERFACING SECURITY SYSTEMS TO HOMEVISION

W03 Analysis of DC Circuits. Yrd. Doç. Dr. Aytaç Gören

AC 800M. EtherNet/IP DeviceNet Linking Device LD 800DN. Power and productivity for a better world TM SP1134

BACnet Wiring Guidelines. For Price Controls MANUAL INSTALLATION

NC-12 Modbus Application

Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light

EDI Distributor Control Interface Wiring and Setup Instructions

THERMAL ANEMOMETRY ELECTRONICS, SOFTWARE AND ACCESSORIES

Wireless Home Security System

M-Bus Network Installation Notes

ROC800-Series Advanced Pulse Module

Network Monitoring White Paper

WxGoos-1 Climate Monitor Installation Instructions Page 1. Connections. Setting an IP Address

MARS-ALE Application Note. RS-232 Computer Control Interface for LDG Electronics DTS-4/DTS-6 Desktop Coaxial Switches. Version 1.

Unidirectional Transmitter/ Receiver Units Introduction

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Regards from the Team at Rheology Solutions.

ABB Drives. User s Manual HTL Encoder Interface FEN-31

How To Set Up A Modem (Marc) Model (Marc) Model 2 (Marr) Model 1 (Marm) Model 4 (Mariar) Model 8 (Marp) Model 6 (Mar

is then retained absolutely without interruption.

JNIOR. Overview. Get Connected. Get Results. JNIOR Model 310. JNIOR Model 312. JNIOR Model 314. JNIOR Model 410

Why you need to monitor serial communication?

ABB RTU560A Series CMU & Modules

Rack mounted telephone- and leased line modem for industrial applications

LDG DTS-4/4R Desktop Coaxial Switch / Remote

Option field bus: without bus with profibus DP. Design-Index (Subject to change)

Design and Applications of HCPL-3020 and HCPL-0302 Gate Drive Optocouplers

How To Use A 1232 On A 1236 On A Computer Or A Cell Phone

GSM Voice Auto Dialer & SMS Sender JC-999

MAS.836 HOW TO BIAS AN OP-AMP

Design and Construction of Microcontroller- Based Telephone Exchange System

AN460 Using the P82B96 for bus interface

Wireless Security Camera

Analog and Digital Fluorescent Lighting Dimming Systems

T1 Networking Made Easy

Microcontroller to Sensor Interfacing Techniques

O C M III. Open Channel Flow Monitor

DMX512 TO 0-10 VOLT ANALOG CONVERTER OWNERS MANUAL

NXU RoIP Link to Eliminate Voice-Grade Leased Line

SDN INSTRUCTIONS 07/10, Ver 1.2. Somfy Digital Network (SDN) Installation and Programming

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information

conventional system operation

Yrd. Doç. Dr. Aytaç Gören

INTREPID Perimeter Intrusion Detection System

2. Terminal arrangement. Default (PV display) (SV display) Communication protocol selection Selects the Communication protocol. Modbus ASCII mode:

Perimeter Security System

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family

NMEA 0183 INSTALLATION AND OPERATING GUIDELINES

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

F2400 FOM II Series Fiber Optic Modem Technical Manual

The Do s and Don ts of Pressure Transducers

rpsa FIRE PROTECTION ENGINEERS

Isolated AC Sine Wave Input 3B42 / 3B43 / 3B44 FEATURES APPLICATIONS PRODUCT OVERVIEW FUNCTIONAL BLOCK DIAGRAM

Public Switched Telephone System

VOLTAGE/CURRENT CALIBRATOR ISO-TECH ILC-421

DESCRIPTION FEATURES BLOCK DIAGRAM. PT2260 Remote Control Encoder

CW46S GPS Sensor P R O D U C T B R I E F. Description. Features. Applications. Block Diagram

Impact of Power-over-Ethernet (PoE) on Industrial-based Networking

DAM Series DAM124 4DIN+8AI+4DO Module Model No.:DAM124 WebSite:

CMOS, the Ideal Logic Family

PS 29M DUAL CHANNEL BELTPACK IN METAL CASE

Conversion Between Analog and Digital Signals

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

SMS based remote control system

computer radio control system

Transcription:

Current Loop Application Note Document No. CLAN1495 International Headquarter B&B Electronics Mfg. Co. Inc. 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General Fax (815) 433-5105 Home Page: www.bb-elec.com Sales e-mail: sales@bb-elec.com -- Fax (815) 433-5109 Technical Support e-mail: support@bb.elec.com -- Fax (815) 433-5104 European Headquarter B&B Electronics Ltd. Westlink Commercial Park, Oranmore, Co. Galway, Ireland Phone (353) 91 792444 -- Fax (353) 91 792445 Home Page: www.bb-europe.com Sales e-mail: sales@bb-europe.com Technical Support e-mail: support@bb-europe.com Current Loop Application Note 1495 Cover Page

TABLE OF CONTENTS 1.0 INTRODUCTION...1 2.0 THE BASICS OF CURRENT LOOP...3 2.1 Full-duplex 20 ma Circuit...... 3 2.2 The Simplex 20 ma Circuit...... 4 2.3 Problems with 20 ma Current Loop... 5 2.4 Current Regulation in Current Loops... 6 2.4.1 Constant Current Generator Current Source... 7 2.4.2 Transmitter Current Limiter.... 8 2.4.3 Receiver Current Limiter...... 8 3.0 CURRENT LOOP INTERFACE CONNECTIONS...9 3.1 Connection to an Active Current Loop Port... 9 3.2 Connection to a Passive Current Loop Port... 10 3.3 Interconnection of 2 Current Loop Converters.. 10 4.0 WHAT ISN T DIGITAL CURRENT LOOP...11 4.1 4 to 20 ma Analog Current Loop... 11 4.2 HART 4 to 20 ma Current Loops... 11 Current Loop Application Note 1495 i

1.0 Introduction The purpose of this current loop application note is to introduce the reader to the physical aspects of 20 ma current loop communications. Until the early 1960 s, military teleprinters used 60 ma current loops to communicate over long distances. In 1962, the Model 33 teletype was introduced and 20 ma current loop interfaces became widely used. Throughout the 60 s, 70 s, and early 80 s, 20 ma current loop interfaces were applied in many types of equipment. Current loop interfaces became popular at this time because they offered the most cost effective approach to long distance, noise immune data transmission. The 20 ma current loop is suitable for distances to 2000 feet at data rates up to 19.2k baud with careful attention to interface design. It can be used at longer distances when data rates are as low as 300 baud. When the EIA 422 Standard (December 1978) and the EIA 485 Standard (April 1983) brought forth the application of balanced differential digital data transmission, the popularity of 20 ma current loop rapidly diminished. Current Loop Application Note 1495 1

2.0 The Basics of Current Loop 2.1 Full-duplex 20 ma Circuit Figure 1 is a full-duplex 20 ma current loop circuit. Simultaneous two-way communications is possible with this circuit. Two 20 ma current generators are necessary with this circuit. It is possible to have one of the two current generators in one current loop interface and the other current generator in the other interface. For example, the original IBM PC serial adapter card had a current loop interface that contained only one current generator. When you made a correct connection to this current loop interface, the second current loop device would need to provide one current loop generator. Receiver Transmitter 20 ma current loop generator Receiver Transmitter 20 ma current loop generator Active side Passive side Figure 1. Full duplex 20 ma circuit 2 Current Loop Application Note 1495

2.2 The Simplex 20 ma Circuit Figure 2 is a diagram of a simplex 20 ma current loop circuit. The fundamental elements of a 20 ma current loop are a current source, a current switch, and a current detector. The transmitter is the current switch and the receiver is the current detector. The interface that contains the current source is called the active unit and all other units are referred to as passive units. Figure 3 is a diagram of the levels in an RS-232 interface and how they relate to the presence and absence of current in a 20 ma current loop circuit. In a 20 ma loop the current flows when the loop is idle (no data being transmitted). In a simplex type circuit a number of transmitters and receivers are put in series in a current loop. As long as only one transmitter sends data, all receivers receive the data. (Only one device can transmit at a time) Receiver Receiver Transmitter (Current is ON when data is not transmitted) 20 ma current loop generator Transmitter (Current is ON when data is not transmitted) passive side active side Figure 2. Simplex 20 ma Circuit Current Loop Application Note 1495 3

+15 volts +3 volts 0 volts - 3 volts -15 volts SPACE Transistion region MARK Flow of 20-mA curren is interrupted 20-mA current flows in circuit RS-232 Circuit 20-mA circuit Figure 3. Comparison of signal levels in an RS-232 Circuit and a 20-mA Current loop Circuit 2.3 Problems with 20 ma Current Loop The main problem with 20 ma current loop is that there is no mechanical or electrical standard defined for this interface. This makes every interface somewhat unique and the user must know some of the technical details about the circuits used in the interface. Data In U1 Vs Rs Current switch (Transmitter) Current generator U2 Current detector (Receiver) Data Out Figure 4. Simplified one direction current loop Figure 4 is a simplified one-way current loop implemented with two optocouplers, a voltage source, and a resistor. Optocoupler U1 is the transmitter and optocoupler U2 is the receiver. The value of the loop current in this circuit is: 4 Current Loop Application Note 1495

I loop = (Vs - V transmitter -V receiver)/rs for typical optocouplers V transmitter (U1) =.2 v when turned ON V receiver (U2) = 1.8 v when input LED is conducting If Vs = 12 volts & Rs = 470 ohms then I loop = (12v -.2v - 1.8v)/470 ohms I loop = 10v/470 ohms = 21.3 ma If we changed Vs = 60 v and left Rs = 470 then I loop = (60v -.2v -1.8v)/470 ohms = 123 ma If we changed Vs = 5 v and left RS = 470 ohms then I loop = (5v -.2v -1.8v)/470 ohms = 6.4 ma The point of showing these different calculations is to demonstrate that the loop currents circuit can vary by considerable amounts, if Vs is varied. Likewise, if Rs was changed the loop currents could also vary considerably. The only way to determine that currents are near 20 ma is to examine the circuit in detail. 2.4 Current Regulation in Current Loops Several methods can be used to control the amount of current in a current loop circuit. This section will illustrate several common methods of regulating the current in a current loop. Current Loop Application Note 1495 5

2.4.1 Constant Current Generator Current Source Figure 5 is a circuit that uses a linear voltage regulator integrated circuit to serve as a constant current source. Almost any fixed or adjustable voltage regulator can be used. The example shown in Figure 6 uses an LM317 adjustable regulator because is provides a low amount of voltage drop (3 volts) across the current regulator circuit. For example, if Vs was 12 volts in this circuit, then the maximum voltage that the constant current regulator could drive would be 9 volts. The 62 ohm, Rg resistor sets the regulator current because there is an internal voltage reference in the LM317 between VO and the ADJ pins of 1.25 volts. VI LM317 Adj VO Rg 62 Vs I loop = 1.25/Rg = 1.25/62 = 20 ma I loop Maximum output voltage equal to (Vs - 3v) Figure 5. Constant Current Generator for a 20 ma Current Loop In a current loop, the sum of all the voltage drops across all the devices must be less than the voltage source, Vs driving the loop. Each device in the current loop whether it is a transmitter (current switch) or receiver (current detector) has some voltage drop across it. For instance, a typical transistor switch can have typically 0.2 volts drop across it. For most of B&B Electronics converters, the voltage drop across the transmitters can be as much 2.3 volts when the switch is turned ON. The reason for this is that the transmitter switch must provide for the reverse bias of the internal photo detector diode inside the optocoupler. An optocoupler used as a current detector will have from 1.2 to 2.0 volts drop across it. 6 Current Loop Application Note 1495

U1 Rb Q1 Q2 Rg I loop max. =.7 Rg Figure 6. Current Limiter built into Tranmitter 2.4.2 Transmitter Current Limiter Some current loop interfaces incorporate current limiting into the transmitter (current switch) itself. Figure 6 is an example of a circuit that has built-in current limiting so that the loop current cannot exceed 20 ma. In this circuit Rg provides a source of bias current for Q2 so that if the loop current tries to exceed 20 ma Q2 will shunt Q1 base bias current so that Q1 will not conduct more than 20 ma. U1 Q1 Rg I emitter (max.) =.7 Rg Figure 7. Current Limiter built into Receiver 2.4.3 Receiver Current Limiter The circuit shown in Figure 7 is used not to regulate the loop current, but to regulate the maximum emitter current in the optocoupler, U1. This is done because some optocouplers require less than 20 ma to operate at maximum speed. Transistor Q1 is used to shunt some of the loop current around the emitter of optocoupler, U1. Current Loop Application Note 1495 7

3.0 Current Loop Interface Connections To connect our converter to an existing current loop port, you must first determine if the port is active or passive. What this means is: does the port have an internal power supply that provides the current (active) for the transmitter, the receiver, or both (transmitter and receiver). The simplest way to determine this is to break the loop (disconnect it) and see if there is any DC voltage across the output or input pairs. If you have access to the instruction manual for the unit you can also look in there for the information. Current loop interfaces normally consist of four wires. They are usually labeled,,, and. and are the transmit plus and transmit minus lines and data is output from that device on those lines. The and lines are the receive plus and receive minus lines and data is input into that device on these lines. Interconnection of the two current loop devices is different depending on whether your unit is active or passive. 3.1 Connection to an Active Current Loop Port Connection to an active current loop port is very simple. Your units and lines go to our units and lines. And your units and lines go to our units and lines. See the following drawing. Note: The & indentification doesn't imply a direct connection across the receiver. RS-232 to Current Loop Converter Vs Vs Active Current Loop Port Note: The & indentification doesn't imply a direct connection across the transmitter. Figure 8. Connection to an Active Current Loop 8 Current Loop Application Note 1495

3.2 Connection to a Passive Current Loop Port Connection to a passive current loop port is a little harder. You must use a 12 VDC power supply with the 470 ohm resistors inside of our converter to "create" a 20 ma current source. See the following drawing. RS232 TO CURRENT LOOP CONVERTER 14 PASSIVE CURRENT LOOP CONVERTER 19 6 470 9 21 +12VDC 470 22 25 23 YOUR EQUIPMENT Figure 9. Connection to a Passive Current Loop 3.3 Interconnection of Two Current Loop Converters Interconnection of two B&B current loop converters also requires the use of a 12 VDC power supply since they are both passive port. See the following drawing. 14 14 19 19 6 6 470 9 +12VDC 21 9 21 470 470 22 22 470 25 25 23 23 Figure 10. Interconnection of Two Current Loop converters Current Loop Application Note 1495 9

4.0 What Isn t Digital Current Loop 4.1 4 to 20 ma Analog Current Loop The diagram shown in Figure 11 is an analog 4 to 20 ma current loop. This circuit is mentioned here because it is sometimes confused with 20 ma digital current loop. The purpose of 4 to 20 ma analog current loop is to transmit the signal from an analog sensor over some distance in the form of current signal. Only two wires are required to send the analog signal and also supply power to the sensor. A loop supply voltage (24 volts in Figure 11) is used to power the remote sensor. The remote sensor regulates the loop current such that the loop current represents the value of the parameter being measured by the sensor. A series resistor RL at loop power supply converts this current to a voltage that can be used by the electronics to record or distribute the parameter being measured. V+ never drops below +12 v Loop Supply 24 v Cable to Sensor V+ Remote sensor electronics Sensor Output Signal R L may draw up to 4 ma Com sensor Figure 11. 4 to 20 ma analog current loop 4.2 HART 4 to 20 ma Current Loops Figure 12 is another example of a type of 4 to 20 ma combined analog & digital current loop. This current loop uses HART Communications protocol. The HART (Highway Addressable Remote Transducer) protocol is used for SMART remote transducers that are compatible with 4 to 20 ma analog current loops but also have digital communications on the same two wires. This is accomplished by superimposing a two-tone Frequency Shift Keyed (FSK) digital current signal on the 4 to 20 ma analog signal. 10 Current Loop Application Note 1495

Control system +0.5mA Cable to Sensor 4 to 20 ma analog plus digital communications Remote Smart sensor with HART communications protocol sensor 0-0.5mA 1,200 Hz 2,200 Hz "1" "0" Analog Signal Frequency Shift Keying (FSK) Modulation used to add digital information to the analog 4 to 20 ma signal Figure 12. 4 to 20 ma analog current loop with digital communications using HART protocol Current Loop Application Note 1495 11