Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Interface chips:
between logic
and a hard place
L
By Pau l R a ko • Te c h ni ca l Ed i to r
ogic signals have fallen from the 15V of the old the most basic devices, the bipolar tran-
CMOS 4000 series to 5V TTL (transistor-to-tran- sistor. Because silicon transistors turn on
with a base voltage of 0.6V, you can, in
sistor logic) to modern CMOS levels of 3.3, 2.7, principle, drive a transistor from almost
and 1.8V. Advanced processes use digital logic that any logic family. One approach is to put
operates at 1V or lower, although they offer higher a series resistor in the base connection
I/O voltages. These ever-dropping logic voltages (Figure 1). You can drive the transistor
still must drive solenoids, twisted-pair wiring, and directly from logic, but it is poor design
discrete-semiconductor-power stages, so they re- practice to rely on the internal resis-
tances in the logic IC to limit the cur-
quire external interface circuits. You need to un- rent into the transistor. Because the base
derstand these circuits, which run the gamut from FET drivers to of a bipolar transistor stays at 0.6V when
open-collector solenoid drivers to LVDS (low-voltage-differential- you turn it on, the logic IC experiences
signaling) and isolated drivers. a short circuit on its output.
So, even something as prosaic as
Interfacing between circuits is diffi- real world must face voltage surges and hanging a transistor onto the output of
cult because it connects signals of differ- spikes to survive. In addition to these a gate requires some engineering. Look
ent voltage levels or across different im- difficulties, many interface ICs are op- up the transistor’s beta over the tem-
pedances. Another hardship is the bru- erating at higher frequencies. The high peratures at which you expect the cir-
tality of the real world. Anyone who has speeds of these new interface ICs add a cuit to operate. Use that figure to deter-
tried to pass CE (Conformité Europée- whole new set of challenges. mine the base current you need to turn
nne) immunity tests can confirm that Let’s begin our journey through the on the transistor at the highest expected
any device or signal that connects to the perilous waters of interface with one of load. Remember that the load current
TX�
TX�
DEVICE 2
RX�
RX�
(b)
LONG PCB TRACES OR CABLE
WITH CONTROLLED IMPEDANCE
A A
HOST DEVICE 1
B B
A
DEVICE 2 DIFFERENTIAL- DIFFERENTIAL-
B TRANSMITTER IC RECEIVER IC
A
DEVICE 3
B
(c) (b)
Figure 3 RS-232 started as a telecom Figure 4 Differential signaling uses a pair of wires operating on opposite polarities. You
standard to connect modems to comput- can use a 100V shunt termination at the receiver or two 50V terminations in series
ers (a). It used all 25 pins of a DB-25 con- to eliminate reflections (a). The series termination does not dissipate dc power (b).
nector. It has since evolved to a simple Differential signaling is the basis for LVDS, USB, SCSI, SATA, PCIe, CameraLink, and
three-wire connection. The multidrop RS- many other interfaces. The transmitter does not start and stop its operating current; it
422 standard can have 10 receivers (b), just switches it between the two wires, making decoupling the power pins less critical.
and RS-485 is a bidirectional bus with as
many as 32 receivers and transmitters (c)
(courtesy Omega Engineering). as seriously, the part may not quickly has pioneered work involving minimiz-
enough connect a power source, caus- ing electromigration and improving the
ing the system that the high-side switch thermal fatigue of high-side switches.
is to use PNP or P-channel FETs and live is feeding to become unstable or to re- This work brings designers ever closer
with the greater losses. Because electron boot. to the ideal of a device with the robust-
mobilities are higher in N-type materi- One of the best known brands of high- ness of silver contacts and the intelli-
al, however, NPN-bipolar and N-chan- side FETs is NXP’s TopFET. This part in- gence, fault protection, and monitoring
nel MOSFETs can conduct current with tegrates a power FET along with protec- of semiconductor devices.
lower losses. A more sophisticated tech- tion features for overcurrent, overtem-
nique uses a charge pump to boost volt- perature, and overvoltage conditions. In Signal interfaces
age, which then turns on an N-chan- addition, the part offers reverse-polarity The term “interface” has grown to
nel MOSFET through a level-shifting protection, making it ideal for replacing mean more than driving solenoids and
circuit. One caution here involves gate both switches and fuses. NXP has min- other loads from logic voltages. It also
capacitance. Data sheets may show a imized charge-pump noise to make the refers to the several standards to con-
typical turn-on time for a charge-pump part suitable for a wide range of applica- nect digital systems. RS-232 was one
high-side driver, but manufacturers base tions. Infineon makes the ProFET smart of the earliest of these standards. Other
that time on a specific load capacitance. high-side switch with similarly robust early serial-interface ICs supported RS-
If you try to control a large MOSFET, features. This unit complements Infine- 422 and RS-485 (Figure 3 and refer-
it takes a long time to charge the huge on’s line of low-side switches and mo- ences 4 and 5). Whereas RS-232 has
gate capacitance. As a result, the part tor controls. STMicroelectronics is also one wire for transmitting and one for
may linger too long in the linear mode, involved in difficult interface applica- receiving, RS-422 uses differential pairs
causing excessive power dissipation. Just tions in the automotive environment. It for communications and needs two pairs
offers optical-isolation chips that with- ences and Typical Applications,” Omega
stand thousands of volts and can trans- Engineering, www.omega.com/techref/
mit megabits per second of data. Both das/rs-232-422-485.html.
Texas Instruments and Analog Devices 5 “Quick reference for RS485,
have chips that can provide thousands RS422, RS232, and RS423,” www.
of volts of isolation and transmit sig- rs485.com/rs485spec.html.
nals in the hundreds of megahertz. The 6 SCSI, http://en.wikipedia.org/wiki/