0% found this document useful (0 votes)
60 views10 pages

Doc1 Pract Elek

This document discusses active components, including discrete devices and integrated circuits. It begins by explaining that active components can modify current flow in nonlinear ways and may be externally controllable or rely on intrinsic material behavior. The basic PN junction is used to build more complex devices like diodes, transistors, and ICs. Surface mount packages vary in style and density from packages similar to through-hole to very small, closely spaced leads. Relays are also discussed as examples of devices that may resemble transistors but are actually integrated circuits. Proper handling of components is emphasized to avoid electrostatic discharge damage.

Uploaded by

Kurt Cargo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views10 pages

Doc1 Pract Elek

This document discusses active components, including discrete devices and integrated circuits. It begins by explaining that active components can modify current flow in nonlinear ways and may be externally controllable or rely on intrinsic material behavior. The basic PN junction is used to build more complex devices like diodes, transistors, and ICs. Surface mount packages vary in style and density from packages similar to through-hole to very small, closely spaced leads. Relays are also discussed as examples of devices that may resemble transistors but are actually integrated circuits. Proper handling of components is emphasized to avoid electrostatic discharge damage.

Uploaded by

Kurt Cargo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

FIGURE 9-32.

Examples of low-, medium-, and high-density SMT IC packages

These parts contain a complete 8051-type SOIC family (note that numbers in paren-
microcontroller in a surface-mount package thesis are mm).
measuring 3 mm × 3 mm.
TABLE 9-5. SMD IC packages in the SOIC family
Surface-mount IC packages vary in style,
Body Lead
from some that aren’t much different from Name Description width pitch
their DIP equivalents to those with leads so
SO Small Outline 0.156 0.050
closely spaced that a workbench microscope
(3.97) (1.27)
is needed to work with them. Figure 9-32
shows some of the common surface-mount SOM Small Outline 0.22 0.050
IC package types that are available. Medium (5.6) (1.27)

SOP Small Outline 0.3 0.050


The small-outline IC (SOIC) package family
Package (7.62) (1.27)
comprises a number of related packages.
These range from the common SO, SOM, SOL Small Outline 0.3 0.050
and SOL types to the high-density QSOP Large (7.62) (1.27)
package. Table 9-5 lists some of the more VSOP Very Small 0.3 0.025
commonly encountered members of the Outline (7.62) (0.65)
Package

ACTIVE COMPONENTS 231


Body Lead
Name Description width pitch
SSOP Shrink Small 0.208 0.025
Outline (5.3) (0.65)
Package

QSOP Quarter Small 0.156 0.025


Outline (3.97) (0.65)
Package

I should point out that this table is primarily


for comparison purposes. The key features
for each type are the body width and the lead
pitch. The number of leads will depend on
what is in the package, which can can range
from 8 to 56. The types of leads (gull-wing,
J-lead, flat) can vary from one manufacturer
to another, even for packages with the same
name, and the body dimensions can also
vary slightly from what is listed here. As sta-
ted before, always check the datasheet for a
part before committing it to a design.

Figure 9-33 shows the packages listed in


Table 9-5 to scale.

HIGH-CURRENT AND VOLTAGE


REGULATION ICS
There are some types of parts that might
look like a transistor, but are actually an IC.
Voltage regulators are a perfect example of
FIGURE 9-33. SOIC-type packages for integrated circuits
this. Other examples are various power op
amps in TO-3 and large plastic packages that A linear voltage regulator IC is a handy thing
look like a wide TO-220 with many more when you need to produce a specific voltage
pins. Power op amps are found in DC power level for a circuit, or some part of a circuit.
control circuits, and some types are specifi- These are basically a complete linear power
cally designed for use in audio amplifiers. In supply in a TO-220 or SOT-223 package.
fact, almost all home audio equipment made The most basic types have terminals for
today uses these types of monolithic power input, output, and ground. Other types have
amplifier modules. the ability to adjust the output voltage via a

232 CHAPTER 9
control voltage (often set by a small potenti- ple P-N junctions include BJTs, UJTs, FETs,
ometer or a zener diode). SCRs, and TRIACs.

The 78XX and 79XX parts have been around Integrated circuits incorporate multiple
for quite a while and are readily available. BJTs, FETs, and other components into a
The “XX” is replaced with the output voltage design that can be simple, such as an op
of the device. The 78XX parts produce posi- amp or a 555 timer, to something as complex
tive voltages, and the 79XX parts are used to as the CPU in a computer with millions of
produce negative voltages. These regulators individual components.
are fixed output, with output voltages of 5, 8,
For experimenting and hacking, having a
10, 12, 15, and 24 volts. Most are rated for
decent selection of discrete solid-state parts
around 1A of output current. I like to keep a
on hand is always a good thing. A bag of
small stock of 7805, 7905, 7812, 7912, and
cheap 1N4148 diodes and some 1N4001,
7815 regulators on hand.
1N4002, and 1N4003 parts come in handy
Low-current regulators are also available in when you are dealing with power supply cir-
TO-92 packages, such as the LM317. This is cuits. LEDs can be purchased in the form of
an adjustable device with an output voltage kits from a number of suppliers. Although
from 1.2 to 32V with 100 mA of output cur- these are basically just a box or a large bag
rent. They are useful when working with containing smaller bags of parts, you can
analog-to-digital or digital-to-analog conver- always sort them out and store them neatly
tors that rely on a reference voltage (analog yourself.
interfaces are discussed in Chapter 13).
A basic selection of transistors (such as the
ones listed in Table 9-3) can be used for any-
Summary thing under about 300 MHz. Unless you
The realm of active components encom- plan to work with RF, you generally won’t
passes a broad range of devices, all of which need anything faster. If you would like a
share the common feature of using an exter- large selection to work with, inexpensive kits
nal source of current and having the ability of transistors are available, with a good selec-
to modify the way in which current moves tion of various types in neatly labeled little
through them in nonlinear ways. Some are plastic bags.
externally controllable, whereas others rely
on the intrinsic behavior of the solid-state When it comes to working with surface-
material from which they are fabricated. mount parts, you will of course need the cor-
rect tools (such as the soldering equipment
The basic P-N junction is the primary build- shown in Chapter 3) and to be able to use
ing block on which silicon-based solid-state the soldering techniques illustrated in Chap-
discrete devices are built. If a device has just ter 4. SMT can be extremely challenging, so
a single P-N junction, it is probably a diode unless there is a definite need for it, I would
or rectifier of some sort. Devices with multi- suggest avoiding it, at least initially. A proto-
type is expected to look clunky, and if you

ACTIVE COMPONENTS 233


are hacking something for fun, there’s really then have it fail in use a week or a month
no need to try to make it production-ready. It later because one of the parts was partially
doesn’t really matter, for example, if a damaged by ESD during construction.
hacked RoboSapien robot toy looks like it’s
Lastly, I can’t stress enough how important
wearing a Buck Rogers backpack, so long as
it is to get and read the datasheet for a part. I
it works.
have seen parts in TO-92 packages that look
When you are working with solid-state com- like transistors but are really something else
ponents, static charge is your enemy, and it entirely or, worse yet, might have a common
never sleeps. You should seriously consider part number but have a pin-out that is
purchasing an ESD wrist strap, at the very uncommon. ICs can also be a problem in
least. Anti-static mats aren’t very expensive, terms of packaging. Although the 7400 and
and putting one on your workbench (or on 4000 series logic parts (discussed in Chap-
the kitchen table) will make your ESD pre- ter 11) are generally consistent, microcontrol-
vention measures even more effective. It is lers, microprocessors, and other complex
extremely annoying to have just one part of a logic parts can have completely arbitrary pin-
particular type left, only to discover that out configurations. Without a datasheet to
when you picked it up from its storage con- guide you, it is nearly impossible to work
tainer some stray static charge got to it. It’s with these components.
even worse to build something, test it, and

234 CHAPTER 9
CHAPTER 10

Relays

5HOD\V PD\ EH DQ ROG WHFKQRORJ\ EXW some early computers were built using
they are still essential in electronics. A relay relays, such as the Zuse Z3 (1941), the
is basically just an electrically operated Atanasoff-Berry Computer (1942), and the
switch. Some are tiny and handle only small IBM ASCC/Harvard Mark I (1944).
amounts of current at low voltages, whereas Although they haven’t changed much in
other types, called contactors, are huge (the terms of operation, they have evolved into a
size of a small refrigerator) and can safely myriad of types over the past 180 years.
deal with hundreds of amperes and thou-
Regardless of the actual internal physical
sands of volts. But regardless of size and
arrangement, all electromechanical relays
power capacity, all relays and their close
operate on the principle of electromagnet-
cousins the contactors use the same basic
ism as the force driving a mechanism of
principle of operation.
some sort. The mechanism might be an
This chapter describes various types ranging armature, metal reeds, or a contactor bus bar
from low-current TTL-compatible reed relays type of arrangement.
to high-power types used to control AC.
Techniques for controlling a relay from a ARMATURE RELAYS
low-voltage circuit are also covered, as well An armature relay has an internal mecha-
as some examples of how relays can be used nism that transfers the motion induced by a
in control and logic circuits. solenoid coil (an electromagnet) into physi-
cal motion, usually by means of some sort of
Relay Background lever action. The motion of the armature can
Relays have been around since about 1830. be used to control multiple sets of contacts,
In fact, they are probably one of the oldest and in some designs, a small pushbutton is
types of electrical components (other than brought out through the shell of the relay to
perhaps switches). Relay-based switching allow manual operation. Figure 10-1 is a sim-
systems replaced human telephone switch- plified illustration of a basic SPST type of
board operators in mid–20th century, and relay.

235
REED RELAYS
Some types of relays use a set of thin metal
strips called reeds for the contacts. These are
sealed into a small glass tube, and a coil
wound around the tube provides the electro-
magnetic force that causes the reeds to bend
and make contact. Figure 10-2 shows how
this type of device works.
FIGURE 10-1. A basic electromagnetic relay
Any suitable magnetic field will cause the
Armature type relays can have one or more
reeds to flex and make contact. In fact, the
sets of contacts (SPST, SPDT, DPST, DPDT,
sensors used in security systems to detect an
3PDT, and so on), with the multiple contacts
open door or window are often nothing
all mechanically connected to the same
more than the reed in its glass tube without
armature lever. Since they are basically elec-
a coil. A permanent magnet in the window
tromechanical switches, the same general
or door frame closes the contacts when it’s
contact descriptions apply. But relays have
close to the sensor. Figure 10-3 shows a bare
the advantage of an electromagnet, which
reed sensor module suitable for use with
can exert considerable force. Relays with 10
something like an Arduino or BeagleBone
or even 20 sets of contacts are sometimes
single-board computer.
found in applications such as elevator con-
trols and old-style telephone switching sys-
tems. If you look ahead to Figure 10-8, you
can see three sets of SPDT contacts through
the clear plastic shell of the relay.

FIGURE 10-2. Reed relay operation

236 CHAPTER 10
FIGURE 10-4. Operation of a heavy-duty contactor

to pull in a bar or frame that holds the con-


tacts, as shown in Figure 10-4. The result is
rather like a piston, with the bus bar making
a shorting connection between the input and
output terminals of the device.

Large contactors can be startling when they


are energized, producing a loud bang as the
bus bar is pulled in by the solenoid.

Relay Packages
Some relays are minuscule, while others are
huge. Relays come in printed circuit board
form factors with both through-hole and
surface-mount packages. They can be found
FIGURE 10-3. Reed contacts without a coil
in packages that use a socket, making them
easily replaceable. Other types have lug ter-
CONTACTOR
minals for use in industrial and automotive
In a high-current, high-voltage type of relay
applications, and still others have large bus-
known as a contactor, a solenoid coil is used

RELAYS 237
bar connections for applications such as on page 243. You can find relays of this type
high-power motor controllers. It all depends controlling things like lighting, heater ele-
on how much current they are designed to ments, small electric motors, and as drivers
handle at a given voltage and how much volt- for larger heavy-duty relays and contactors.
age and current is necessary to drive the
Reed relays are also available in packages
relay mechanism.
that look like a typical 14-pin IC, as well as
packages that have bare wire leads for the
PCB RELAYS
contacts and the coil. A reed relay might
Small relays for PCB applications are avail-
have a coil with a high enough resistance to
able in types that range from reed relays to
allow it to be driven directly from a micro-
compact armature devices that are capable of
controller or logic IC, but a reed relay usu-
handling up to 120 VAC at 10A or so. The
ally won’t carry as much current through its
previous section showed what a reed relay
contacts (the reeds) as an armature type of
looks like (in Figure 10-3). Figure 10-5 shows
relay.
a compact relay designed to be mounted to a
PCB. Both miniature armature and reed relays are
available in through-hole and surface-mount
packages. The surface-mount relay shown in
Figure 10-6 is an example (all dimensions
are in millimeters).

FIGURE 10-5. A PCB-mounted low-voltage relay

The contact ratings for a relay of this type


can be substantial, even through the relay
coil itself requires only 70–85 mA at 5V DC
to operate. The actual coil current depends
on the resistance of the coil, and this can
FIGURE 10-6. Surface-mount, low-voltage relay
vary between models and manufacturers.
Note, however, that even 70 mA is way This happens to be the package drawing for
beyond the output capability of most ICs, so a Panasonic TQ series relay, but similar
some type of relay driver IC or a transistor is parts are available from Omron, NEC, and
needed to operate the relay, as described in other manufacturers. The TQ2SA-5V has a
“Controlling Relays with Low-Voltage Logic” 5V DC coil at 178 ohms with a nominal

238 CHAPTER 10
power consumption of 140 mW, and nomi- and it is possible to deform the base and
nal contact ratings of 0.5 A at 125V AC. cause the terminal to shift during soldering.

LUG-TERMINAL RELAYS SOCKETED RELAYS


Relays with terminals specifically designed Many early relays used solder terminals for
to accept lug connectors, such as those used connections, so replacing one was an exer-
in automotive and industrial applications, cise in desoldering and resoldering the wir-
are available in both vertical and horizontal ing. As this was a tedious and error-prone
mounting styles. Coil voltage ratings are process, clever engineers devised a means of
available in both DC and AC values covering using sockets for relays, along the same
the range from 5V DC to 110V AC, or more. lines as the sockets used for vacuum tubes.
Figure 10-7 shows an example of an automo- Some socketed relays use round sockets with
tive lug-terminal relay with right-angle eight contact positions, like the one shown
mounting brackets. The coil operates at 12V in Figure 10-8, while others use a rectangu-
DC, and the SPDT contacts are rated for 12V lar socket with the holes arranged in a grid
DC at 40 A. pattern. Both types typically bring out the
relay connections to screw terminals, and
either spade or ring lugs are used to connect
the wiring.

FIGURE 10-7. Right-angle-mounted lug-terminal


armature relay
FIGURE 10-8. A typical octal (eight-pin) relay socket with

This type of relay uses the crimped lug con- screw terminals
nectors discussed in Chapter 7 and the
These types of relays are mostly used in
crimping tool shown in Chapter 3. Although
industrial applications that involve switching
it is possible to solder to the terminals, this
high voltages and large amounts of current.
is generally not a good idea. Long ago, when
They are also available in an 11-pin form.
the base of the relay assembly was made of
Bakelite, it wasn’t as big of a problem,
because Bakelite can tolerate the heat of sol-
dering. Modern relays are made using plas-
tics with much lower melting temperatures,

RELAYS 239
Although octal sockets might seem like a
TIP also implies that, for a situation like this, you
throwback to the days of vacuum tubes,
could use a miniature PCB-mount relay, like
they are still quite common and readily available.
the units shown in Figure 10-9 (this is a
It is also possible to purchase just the octal plug
bank of four, with built-in drivers).
and put your own electronics into it. This is use-
ful for applications where you might want a
sealed module (like, say, a sensor data collector
for a remote environmental monitor) that can
quickly and easily be replaced if necessary.

Selecting a Relay
Relays have two sets of primary specifica-
tions: coil and contacts. The coil will have a
nominal operating voltage and resistance,
although sometimes the manufacturer will
give a power value instead of a resistance. If
the current isn’t specified, a quick applica-
tion of Ohm’s law will tell us how much cur-
FIGURE 10-9. Relay module for use with a microcontroller
rent we can expect the relay coil to draw, and
we can use the power specification to figure However, a small relay might require any-
out the coil resistance (see Chapter 1). where from 20 to 50 mA for its coil, which
The contacts should be rated to handle the means it can’t be controlled directly from a
load they will be controlling and then some. standard logic IC or microcontroller. In this
To be safe, it’s a good idea to derate the con- case, either a driver IC or a transistor driver
tacts by 50%, meaning that if you want to (as described in “Controlling Relays with
control a 240V, 40 A contactor with a 24V Low-Voltage Logic” on page 243) will be
AC coil that draws 36 mA with a driver relay, needed. The board shown in Figure 10-9
the smaller relay will need to have contacts doesn’t have this problem, because the driv-
that can handle 72 mA at 48V AC (twice the ers are already on the PCB.
current and voltage actually required). A A cascade of relays is not an uncommon sit-
smaller relay is used in this case because the uation. Figure 10-10 shows how a sequence
contactor uses AC for its coil, not DC. This of relay driver, small relay, and contactor can
makes it more challenging to control with be connected to control a high-current, high-
just a solid-state driver circuit, although it is power system. Conceptually, this can be
possible (and not uncommon). Using a extended as far as necessary, so that, in
small intermedite relay to handle the AC for theory, a 5V logic signal could control hun-
the contactor’s coil keeps things simple. dreds of amperes of current.
A small relay rated for 100 mA contact cur-
rent should do fine for this application. It

240 CHAPTER 10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy