Design Considerations for RS232 Interfaces Design Note 27 Sean Gold

Table 1. Key RS232 Transceiver Specifications (EIA RS232C.V28) SPECIFICATIONS Signal Levels Cable Length Load Capacitance Cable Termination Data Rate Slew Rate Fault Conditions

VALUE ±15 Max; ±5 Min 50 Max 2500 Max 3k < R < 7k 20k Max 3 < SR < 30 Drivers Must Tolerate: • Conductor to Conductor Shorts • Line Open Circuit • ±25V Line Overage

UNITS V Ft pF Ω Baud V/µs – – –

Power Supply Generators Creating the separate RS232 voltage levels is a common problem in systems which have only a 5V logic supply. Linear Technology has developed a family of transceivers that include an on-chip charge pump to generate the RS232 supplies. These transceivers are available in a wide variety of configurations incorporating up to 5 drivers and 5 receivers. Some transceivers have a SHUTDOWN control which turns off the charge pump and places the drivers in a “zero” power–high impedance state. The charge pump consists of a relaxation oscillator, a capacitive voltage doubler, and a capacitive voltage inverter. The oscillator is designed to operate at a frequency well above the signal frequencies to avoid supply degradation as charge is rapidly removed from the storage capacitors.

10/89/27_conv

The LT®1180/LT1181’s charge pump oscillator operates at approximately 200kHz, which is two times the frequency of the LT1080 and LT1130 series transceivers. The faster oscillator permits the use of low value capacitors (C > 0.1µF), and shortens the turn-on time from power off or SHUTDOWN state to less than 200µs. The LT1080 and LT1130 start up in approximately 2ms. Load Driving It is often desirable to exceed the 20kHz data rate or drive loads greater than 2500pF, e.g. long cables. Slew rate control in the drivers makes this objective possible without compromising the remaining specifications. When lightly loaded, the slew rate is set by an internal bias current and compensation capacitor. When heavily loaded, slew rate is limited by the output stage short circuit current and the load capacitance. The plot in Figure 1 shows the maximum load capacitance for a given data rate. L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks of Linear Technology Corporation. All other trademarks are the property of their respective owners. MAXIMUM LOAD CAPACITANCE pF (THOUSANDS)

Introduction When designing an RS232 interface, it is necessary to conform to standards published by the Electronics Industry Association, EIA RS232.V28. Some key specifications are summarized in Table 1. However, the EIA specifications are often just the beginning of the design. Practical problems such as generating RS232 signal levels, providing sufficient load drive, and ensuring protection against fault conditions must also be considered.

5.4 5.2

LT1180

5.0 4.8 4.6

LT1080

4.4 4.2 4.0 3.8 3.6 3.4 3.2 3.0

20

40

60

80

100

FREQUENCY (kHz) DN027 F01

Figure 1. Max Load Capacitance vs Data Rate. Both Transceivers Use 1.0µF Storage Capacitors

PULSE ENGINEERING #PE-63394 MUR120

VOUT = 5V

+

7 100µF 6

• •

1

5

3.6kΩ*

SYSTEM SUPPLY VIN = 3.5V – 15V

+

0.1µF

5

220µF

VIN

VSW

10

LT1072 500Ω SECONDARY VOUT ADJUST 10kΩ

1µF 1µF

RS232 LINES

+

1 2

LT1130

28

V

27

3

26

4

25

5

24

6

23

7

22

8

21

9

20

10

19

11

18

12

17

13

16

14

15

+

+

VFB VC

1µF

1µF

LT1130 DRIVER OUTPUT

0

GND Q1 VN2222

1µF



+

V+

100kHz LOGIC INPUT TO OPTOCOUPLER

0

MUR120

–10 DN027 F02b

SHUTDOWN

RS232 Driver Signals

380Ω AT VIN = 5V (NOTE 2)

2.8kن

LOGIC INPUT

6N136

5 100kHz RS232 INPUT

0 NOTE 1

–5

380٠2.8kن

5 OPTOCOUPLER OUTPUT

LOGIC OUTPUT

6N136

0

= SYSTEM GROUND

DN027 F02b

DN027 F02a

= FLOATING COMMON NOTE 1: REPEAT THE OPTOCOUPLER CONNECTIONS FOR EACH LINE. NOTE 2: SELECT FOR 10mA THROUGH LED. *FOR IMPROVED EFFICIENCY, REPLACE THE 3.6kΩ RESISTOR WITH A 30V ZENER DIODE. †INCREASE COLLECTOR RESISTANCE WITH USING OPTOCOUPLERS WITH LOWER CURRENT TRANSFER RATIO.

RS232 Receiver Signals

Figure 2. 2500V Isolated 5-Driver/5-Receiver RS232 Transceiver

Fault Conditions In addition to protecting against all of the fault conditions described in Table 1, LTC transceivers are guaranteed for latchup free operation. When the drivers are turned off or SHUTDOWN, the output stage becomes high impedance; even when the output is pulled beyond the supply rails. The small current produced by overvoltage is not directed back into the supplies. High impedance on the driver outputs also eliminates signal feedthrough between the logic inputs and the RS232 lines. When the device is turned on, overvoltage can, at most, pull the limited short circuit current from the supplies. The receivers are also short circuit current limited to prevent damage to unprotected logic circuitry. Isolated Transceiver The most frequent cause of failure in interface chips is exposure to extreme fault conditions. Protection against large differences in ground potential, high ground loop currents, or accidental high voltage connections mandates a fully isolated transceiver.

The circuit in Figure 2 provides 2500V isolation with optically coupled data lines and an isolated 5V supply. A powered transceiver eliminates the need for three supplies on both sides of the isolation transformer. High speed 6N136 optocouplers permit the LT1130 to operate at its full 100kHz bandwidth. However, slower, less expensive optoisolators, such as the 4N28, may be used when the data rate is less than 20k baud. The 5V power supply is generated with an isolated LT1072 switching regulator. The LT1072 has no electrical connection to the load; instead, the circuit derives its feedback from the transformers flyback voltage. This technique is often referred to as an isolated flyback regulator1. The regulator needs to deliver only modest current levels (200mA max), allowing a physically small isolation transformer. The circuit accepts 3.5V to 15V unregulated inputs which are readily available in most systems. Load regulation is 5% over a 200mA range of output current (50mA-250mA), and efficiency reaches 60% under maximum load conditions. Efficiency may be improved by 10% if the 3.6kΩ snubber resistor is replaced with a 30V Zener diode. Q1 provides shutdown control, which disables the interface to a low power state. Note 1: Refer to Linear Technology’s Application Note 19, pg. 30-34.

Data Sheet Download

www.linear.com/LT1180

Linear Technology Corporation

For applications help, call (408) 432-1900 dn27f_conv IM/GP 0889 165K • PRINTED IN THE USA

1630 McCarthy Blvd., Milpitas, CA 95035-7417 (408) 432-1900



FAX: (408) 434-0507 ● www.linear.com

 LINEAR TECHNOLOGY CORPORATION 1989

Design Considerations for RS-232 Interfaces - Linear Technology

For applications help, call (408) 432-1900. 1. 2. 3. 4. 5. 6. 7. 8 ... interface to a low power state. Note 1: Refer to Linear Technology's Application Note 19,pg. 30-34.

312KB Sizes 14 Downloads 279 Views

Recommend Documents

Design Note 1035 - Linear Technology
Design Note 1035. Tom Domanski. 10/15/1035. Introduction. A single LTC®2983temperature measurement device can support up to 18 2-wire RTD probes, ...

A Single Supply RS232 Interface for Bipolar A to ... - Linear Technology
Design Note 29. Sean Gold ... Designing circuitry for single supply operation is often an attractive ... Change,” by Paul Brokaw, Analog Devices Application Note.

Design Considerations for a Mobile Testbed - kaist
A typical testbed for a mobile wireless technology .... the WiBro modem on Windows or develop a Linux ... is conceptually very similar to Mobile IP[7]. We can.

Design Considerations for a Mobile Testbed - kaist
node will come up and shut down. We can ... rial line is easy to set up, regardless of the mobile ser- ... Windows virtual machine and the Linux node connects.

Design Considerations for a Mobile Testbed - KAIST
No matter what wide-area networking technology we use, we rely on the mobile service provider for ac- cess to the deployed mobile node. Many mobile ser- vice providers have NAT (Network Address Transla- tor) boxes at the gateway between the cellular

Thyristor Theory and Design Considerations
which may be applied and not switch the SCR or Triac on or do damage to the thyristor. VGD. GATE NON−TRIGGER VOLTAGE. At the maximum rated operational temperature, and at a specified main terminal off−state voltage applied, this parameter specifi

Operational Amplifier Selection Guide for ... - Linear Technology
Performance – Design Note 3. George Erdi. 10/87/3_conv. L, LT, LTC ... application requires large source resistors, the LT1028's relatively high current noise will ...

Linduino for Power System Management - Linear Technology
erences selection on the menu bar as shown in Figure 3. Finding Preferences ... libraries have a predefined main() that calls setup() and an infinite loop calling ...

Design Considerations for Detecting Bicycles with ...
This paper develops a model of loop detector–bicycle interaction, verifies the model ... well studied, and there are design guidelines concerning how it should be ...

Educational Interfaces, Software, and Technology ...
world of technologies such as mobile interaction, cloud computing, natural ... Mobile devices, response systems (clickers). Copyright is ... media, co-located interaction, and presentations .... of Apple's iPad in schools even before there are any.

Design Considerations for a Mobile Testbed
merous new applications and services are under devel- ... are: mobile Emulab [6] and DOME [1]. ... ment, PlanetLab nodes use only one network interface,.

Design Considerations for High Fan-in Systems: The ...
used to route the acquired readings, and a database system or other data manager is used to collect and process the them. As a result, high fan-in deployments ...

LTC1560-1 - Linear Technology
Gain vs Frequency of the 1MHz and 500kHz. Figure 1. A Typical ... 6. 5. GND. VIN. GND. V–. VOUT. SHDN. V+. 0.5fC/fC. 5V. 3. 1k. 2. 4. VOUT. 7. LT®1360. 5V. – 5V. 8 ... DC offset of the 1/2 LT1364 plus its offset current times the 10k resistor ..

Design Considerations for Detecting Bicycles with ...
Inductive loop detectors are widely used for vehicle detection. Histori- cally, these ... engineering. They have ... Engineering,. Purdue University, West Lafayette, IN 47907. 1 .... that a depth of 5 cm provides the closest fit to the measured data.

Design Considerations for Detecting Bicycles with ...
well studied, and there are design guidelines concerning how it should be constructed .... loops spaced 4.5 m on center, the bicycle interacts with only one loop at a time. ... from the model are compared with measured loop detector data. The.

DN172 - Linear Technology
response is excellent, with less than 5μs recovery time from a ±400mA ... Data Sheet Download ... LTC1504 is the best solution where efficiency, especially.

DN518 - Linear Technology
possible to produce a low noise supply in this way, it requires careful ... typical switching regulator, and (3) the LTM8028 low ... call (408) 432-1900, Ext. 3747.

DN375 - Linear Technology
call (408) 432-1900. RF FREQUENCY (GHz) ... For ACPR/AltCPR, center the measurement band 5MHz/10MHz above the center of the highest carrier. To find ...

LM048 Bluetooth RS232 Serial Adapter
DB9 male - female. USB. TECHNOLOGIES. XP. Vista. 7. 8. Android. RaspberryPi ... Part No. Revised. Product. 24/MAR/2016. 048-0000. LM048. 5 4 3 2 1. 6789.

DN531 - Linear Technology
SiR664DP. M2. SiR664DP. L1. 5.6µH. WÜRTH 7443556560. M3. SiR422DP. M5. SiR422DP. D6. B360A. C19. 0.22µF. 25V. 0603. C20. 0.22µF. 25V. 0603. C21.

eterna1 - Linear Technology
Dec 16, 2015 - ... If testing encompasses measuring ETERNA1's output power or PSD, ..... go to: http://csrc.nist.gov/groups/STM/cavp/documents/aes/aesval.html.

C-Load Op Amps Tame Instabilities – Design ... - Linear Technology
and C-Load is a trademark of Linear Technology Corporation. All other trademarks .... For more information on C-Load op amps see the February 1994 issue of ...

Design Note 1034: Low Power, Precision Op Amp ... - Linear Technology
L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks of Linear ... data sheet SNR, THD and offset performance with very low power ...