You are on page 1of 21

Plugging into PCBs and

Flex Circuits

Sponsored by
Plugging into PCBs
and Flex Circuits
INSIDE

3 How to Build a PCB: Through-Hole or Surface-Mount?


By Duane Benson, Contributing Writer

7 A Brief Guide to Choosing PCB Connectors

16
By Majeed Ahmad, Contributing Writer

9 Key High-Speed Connector Layout Techniques


By Chang Fei Yee, Keysight Technologies
Learning about Printed Circuit Board Assembly
Contributed by Optima Technology Associates, Inc.

14 Flex Circuits: The What, Where, and Why


Contributed by Advanced Assembly
18 6 Tips for Choosing PCB Components
By Mahmoud Wahby, Senior Product Manager at National Instruments

Sponsored by
2
How to Build a PCB:
Through-Hole or Surface-Mount?
Should folks building small numbers of circuit boards use surface-mount
parts or should they stick with through-hole components that are so
much easier to handle and solder (not to mention see)?
By Duane Benson, Contributing Writer

I
spend my days and nights surrounded of levels of experience whether they
by printed circuit boards (PCBs). I work should still use through-hole components
in a quick-turn assembly house by day, or if they should use surface-mount
and by night, I live in what sometimes technology (SMT) wherever possible.
looks like an assembly house. As I write Deep in the mists of time, when I first
these words, within eyesight, I have close put hot iron to solder, the primordial soup
to a dozen PC boards of my own design, had only recently been discontinued at
maybe more. That being the case, I’m the local diner. In those days, we did have
often asked by people with a wide variety a version of “surface-mount” assembly,

Sponsored by
33
but it involved the use of only Fahnestock Now, 48,000 placements per hour are • Very large parts like transformers,
clips, solder lugs, and point-to-point wiring great if you need to sell a million phones relays, and capacitors that either don’t
on the surface of a pine board. a month, but what about those of us who have a surface-mount equivalent or that
Today, surface-mount assembly involves might need 1,000 boards for an early- require the extra mechanical strength
copper pads on the surface of the PCB, stage startup, 100 units for a hobby provided by through-hole connectors
parts that don’t have leads going through business, or just one or two boards for a • Connectors that will be under a lot of
the PC board, and robots that can place one-off design? Should folks like that still mechanical stress
tens of thousands of these tiny parts per look at surface-mount parts, or should • If you aren’t comfortable seeing and
hour. we stick with tried-and-true through-hole handling small surface-mount parts
components that are so much easier to • You just prefer through-hole
handle and solder (not to mention see)? • You’re only building a few boards and/
I personally advocate more use of or you’re using components that are
surface-mount components. I do realize already in your possession
that doing so complicates things and that
some parts are only available in through- Beyond the above points, there are a lot
hole packages. Sometimes the mechanical of good reasons to design your PC board
strength of a surface mount is not sufficient around surface-mount components despite
for the weight of the component or the their small size. First, a lot of the newer and
stress that will be put on it. In those cases, most advanced components simply aren’t
I would definitely use a through-hole or available in through-hole packages. If you
through-hole/surface-mount hybrid. want to stick with through-hole only, you’re
Fig. 1: Fast surface-mount assembly machine.
A list of occasions when you might wish to eliminating many of the newest and most
Image: Duane Benson. use through-hole components is as follows: versatile parts.

Sponsored by
4
0.1-inch-pitch through-hole dual in-line both in a tiny IoT device and in a big
package (DIP) to whatever was the smallest desktop system. By comparison, a 20-pin
through-hole package at the time. With so through-hole part — or even a not-much-
much competition today, coupled with a smaller SOIC — can only be used in the
wide variety of specialized components, desktop unit but not in the IoT device, so
the cost of supporting so many variants is manufacturers may decide to make only
becoming a significant factor. Many chip the smaller part. You may be able to find
companies are adjusting to these market through-hole breakout boards for some of
conditions by consolidating on the most these components but not all.
usable, smaller packages. Surface-mount components are almost
Fig. 2: Surface-mount (left) versus through-hole (right)
MCU boards. Image: Duane Benson.
Microchip Technology still does a really always less expensive than their through-
nice job of providing the same parts hole counterparts. It stands to reason
The through-hole board on the right in in 0.1-inch-pitch DIPs down through that a component that uses significantly
Fig. 2 is one of the first PCBs that I had super-small 0.5-mm-pitch QFN or BGA fewer raw materials would cost less, and
made at a commercial fab shop. The packages, but who knows how long this this rule holds true for many electronics
surface-mount board on the left has the will stay? I’ve seen a lot of new power components, especially passives. At
same functionality, plus a motor controller components — like LiPoly chargers and Digi-Key, through-hole and surface-mount
and USB connectivity. I hand-soldered the Class-B amps — that are only available in resistors both tend to start at $0.10 each,
parts on both boards. The motor driver QFN or BGA packages. Some high-speed but by the time you buy 100, the surface-
chip that I used isn’t available in a through- components are going that way, too. mount components are half the price.
hole package. Tiny IoT devices and the proliferation The size issue also helps with component
In past years, most chips would be of mobile computing is a big driver in storage. In Fig. 3, I’ve got a few less than
available in a variety of sizes from a this trend. A 3 × 3-mm part can be used 500 surface-mount parts in the wound-up

Sponsored by
5
to redesign your board between your up, or find a shop that caters to low cost
prototypes and production. This can be a rather than high reliability. When what you
big time and money saver. are doing starts to become a business,
The big question, however, is cost. then time equals money, at which point you
Doesn’t it cost a lot more to use SMT can trade off the two factors depending on
because you need to contract out the your needs.
assembly work? Well, any time that The bottom line is that, if you prefer
someone is doing work for you, it’s going to through-hole parts, then by all means
cost money, but the equation is a little more use them. There’s no shame in it. Just
complex than that. understand that some of the newest and
Fig. 3: Surface-mount (left) versus through-hole (right)
Most people, with some patience, a most capable parts may not be available to
components. Image: Duane Benson.
good magnifier (or high-power reading you. I personally recommend using surface-
strip. Compare this to the space consumed glasses), and something to rest a wrist on, mount parts whenever possible. g
by the handful of through-hole capacitors can hand-solder down to 0603 or 0402
on the right. packaged passive parts. Some people
Board real estate is an important have even figured out how to hand-solder
consideration as well. You can either stuff QFNs and BGAs. Below a certain point,
more surface-mount functionality into the however, handwork just isn’t practical
same PC board area or you can reduce the without specialized equipment (it can be
board size and save on fab costs. done, though).
If you’re ever planning on building in If you are working on a hobby project,
volume, starting with surface-mount is you’ll need to stick to things that you can
the way to go. This way, you won’t need hand-solder yourself, get a toaster oven set

Sponsored by
6
A Brief Guide to Choosing
PCB Connectors
Find out the key design considerations related to the electrical
and mechanical merits of PCB connectors
By Majeed Ahmad, Contributing Writer

A
relentless increase in data rates on the board? Here are a few connector-
is turning the PCB connector related design parameters that matter a lot
landscape upside down. And the in the creation of efficient PCB designs.
clean transmission of signals via PCB
traces is becoming more critical while Form factor
data speeds in servers, switches, routers, First and foremost, a small connector
and storage devices hit the roof. footprint simplifies the PCB design, lowers
So how do we enhance I/O connections the cost, and reduces the transmission Image: TE Connectivity.

Sponsored by
77
losses while making the connection from instrumental in overcoming signal losses. For
Point A to Point B. Here, a small contact example, some PCB connectors come with
pitch makes the connector slimmer pre-loaded springs to prevent unintended
and, thus, facilitates smaller boards and cable removal.
backplanes. And then there are connectors that
For instance, connector receptacles integrate the wire-termination unit and
Image: Samtec.
can be mounted in parallel with a smaller cable clamp into a single plug shell.
pitch distance and, subsequently, the signal interface by improving the airflow and
small receptacle footprint facilitates the channel impedance. Mechanical strength
connector size reduction. The smaller width A flexible, robust, and durable connector
of the receptacle is especially useful when EMI and ESD shielding design means that it can withstand cable
multiple connectors are positioned on a The shield against electromagnetic pull, heat, shock, vibration, and other
single PCB side by side. interference (EMI) and electrostatic external forces. The PCB connector’s
discharge (ESD) is becoming more crucial mechanical strength also ensures proper
Signal losses at higher data rates. Here, physical mating and connection security.
The insertion losses are becoming critical envelopes, as well as special mounting and The connector manufacturers facilitate this
with an exponential rise in data rates. So termination mechanisms, play a significant vital requirement with signal contacts that
how to overcome the insertion losses? role in ensuring protection against the EMI are pre-loaded, positioned, and protected
The internal structure, as well as contacts and ESD effects. in individual slots to ensure appropriate
inside the connector, play an important role connector alignment and mating. The
in improving signal integrity and minimizing Cable termination connector suppliers are also using active
insertion losses. It’s the transitioning point at which the cable latches, weld tabs, and board locks to ensure
The connector can also enhance the is terminated with the connector, and it’s complete and secure mating. g

Sponsored by
8
Key High-Speed Connector
Layout Techniques
By Chang Fei Yee, Keysight Technologies

T
his article discusses the essential a manner that best suits the system design.
considerations of mounting connectors
on PCBs. These aspects include the pin Pin assignment for signals with respect
assignments for signals and grounds, stubs to ground
due to the pins of a through-hole or press-fit High-speed serial signal pairs can be routed
connector, and impedance mismatch caused to connector pins as shown in Fig. 1, where
by the surface-mount pads of the connector. inverting (S–) and non-inverting (S+) are assigned
A connector is one of the transmission-line to two adjacent pins. Furthermore, a signal pair
elements along a multiple-board signal path is segregated from another by ground (G). Such
between the transmitter and receiver. Therefore, pin assignments prevent mode conversion from
it is crucial to select and mount the connector in differential to common. As a result, the risk of

Sponsored by
99
inter-pair crosstalk and common-mode pair is routed on the bottom layer of the
noise coupling is minimized. PCB, a 100-mil pin stub results. This
pin stub has a negative impact on signal
transmission as the bandwidth or resonant fo = resonant frequency (Hz)
frequency of the signal path is inversely c = speed of light (12 inches/ns)
proportional to the pin stub length and stub_length (in inches)
impedance discontinuity or mismatch. Dkeff = effective dielectric constant
The relationship between the channel
bandwidth and pin stub length is governed The effect of a pin stub on signal
Fig. 1: Pin assignment on connector for high-speed by Equation 1. The longer stub intensifies transmission is studied by observing
serial signal pairs.
the impedance mismatch, which, in turn, differential insertion loss (SDD21) and
decreases the channel bandwidth. time domain reflectometry (TDR) of a 3D
Effect of connector pin stubs transmission line model constructed using
When a through-hole or press-fit connector EMPro. A differential pair of 100 Ω enters
is used, it’s important to make sure the press-fit male connector with various
that the pin length does not exceed the stub lengths (0 mil, 50 mil, and 100 mil)
PCB thickness. A stub exists when the on PCB #1 and exits the press-fit female
connector pin is longer than the PCB connector without stubs on PCB #2. The
thickness. With reference to a 3D model trace length on each PCB is 0.5 inches and
using Keysight EMPro shown in Fig. 2, medium loss material is used as substrate.
Fig. 2: 3D model of connector pin stub using Keysight
a press-fit connector with a 145-mil pin EMPro. The plots of SDD21 and TDR are shown in
length is mounted on top of a PCB with Fig. 3. The model with a 100-mil stub has
45-mil thickness. Assuming that a signal 20-Ω impedance mismatch and 11-GHz

Sponsored by
10
Fig. 4: Stub reduction by trimming pins.

Fig. 5:
Cross-sectional
view of a press-fit
connector on a
Fig. 3: SDD21 and TDR plots reflecting the effect of pin stubs. thicker PCB with
a blind via.

resonance. Meanwhile, the model with a types, always try to use a connector with
50-mil stub has 14-Ω impedance mismatch pin lengths shorter than the PCB thickness
and 17-GHz resonance. Once there is and route the high-speed signal on the
no pin stub, the impedance mismatch is layer as close as possible to the tip of the
reduced to 10 Ω and resonance extends pin or bottom of the PCB with blind or
beyond 18 GHz. backdrilled vias, as illustrated in Fig. 5.
There are several ways to reduce or
remove pin stubs on a PCB. When dealing Effect of SMT pads
with a soldered through-hole connector, Connector SMT pads contribute to
stubs can be reduced by manually trimming impedance mismatch on the transmission
the pins, as illustrated in Fig. 4. On the line. Once a signal pair with narrower
other hand, when dealing with press-fit traces reaches the SMT pads with wider

Sponsored by
11
copper, the strip capacitance of this
segment is increased, as governed by
Equation 3, which, in turn, leads to the
dip of characteristic impedance of the
transmission segment, as governed by
Equation 2. This scenario is known as
a capacitive discontinuity, and it causes
signal reflection and degradation. To C = strip capacitance (in pF)
mitigate this negative impact, a cutout — L = strip inductance (in nH)
the same size as the SMT pad and right Zo = characteristic impedance (in Ω)
beneath it — is inserted on the ground ε = dielectric permittivity
plane on Layer 2 so that the SMT pad w = width of SMT pad
is referenced to ground on Layer 3. This l = length of SMT pad
technique increases d, or the distance d = distance between SMT pad and
between the SMT pad and its reference, reference plane underneath
which, in turn, balances out the effect t = thickness of SMT pad
due to the wider copper of the pad and
minimizes the impedance mismatch. To observe the effect of an SMT pad
However, d shall not be increased too and reference plane cutout on signal
much where strip inductance overrides transmission, a 3D model illustrated in
capacitance and leads to the increase of Fig. 6 is constructed in EMPro. A signal
impedance or inductive discontinuity, as pair of 100 Ω (6-mil trace width and
governed by Equation 4. 1.2-mil thickness in single-ended mode)

Sponsored by
12
enters the SMT pad of the female
connector on PCB #1 and exits the SMT
pad of the male connector on PCB #2.
Each SMT pad is 12 mil wide. The trace
length on each PCB is 0.5 inches and
medium loss material is used as substrate.
Meanwhile, the substrate thickness
between the top and second layer is 4
mil. A cutout is inserted on Layer 2 right
beneath each SMT pad. Various d are set
and results are compared.
With reference to SDD21 and TDR plots Fig. 6: 3D model of SMT connector on PCB with ground plane cutout in Keysight EMPro.

in Fig. 7, a cutout with moderate d (10-mil


d for 12-mil SMT pad width) is necessary
to mitigate the capacitive discontinuity
and insertion loss. A further increase in d
intensifies the inductive discontinuity and
insertion loss. g

References:
1. Bogatin, E. (2003). Signal Integrity — Simplified. Prentice Hall Pearson
Education.
2. Vicich, B. (March 3, 2016). Bandwidth demand drives connector design.
EDN. Retrieved from https://ubm.io/2MENd7l.
3. Samtec connectors. Retrieved from https://www.samtec.com.
4. ERNI connectors. Retrieved from https://www.erni.com.
5. Texas Instruments. High Speed PCB Layout Techniques. Retrieved from
https://bit.ly/2MIuvMk. Fig. 7: SDD21 and TDR plots reflecting the effect of SMT pad and reference plane cutout.

Sponsored by
13
Flex Circuits:
The What, Where, and Why
You may think of flex circuits as a product that you buy — which is true — but more formally, the term “flex circuit” refers
to the type of technology that allows for the mounting of electronic devices and circuits on flexible substrates
Contributed by Advanced Assembly

What advantages of traditional PCBs with the


Flex circuits are known by many names: added benefit of flexibility and vibration
flex boards, flex PCBs, flexible circuit resistance.
boards, flexible printed circuit boards, Its most important attribute, however, is
and, more officially, flexible electronics. the capability of a flex circuit to undertake
The term “flex circuit” refers to the three-dimensional configurations, which
type of technology that allows for the is compelling designers and engineers
mounting of electronic devices and alike to adopt flex circuit technology.
circuits on flexible substrates. Simply
put, a flex circuit is a flexible computer Where
board. Flex circuits offer the same Flex circuits can be found in almost any

Sponsored by
14
14
of the high-tech devices in our world today, Why
such as wearable electronics. This includes Today, flex circuits are one of the fastest
wearable oxygen sensors, skin patch growing interconnect solutions available.
delivery devices, and a number of personal And it’s easy to see why, with all of its
training and athletic gadgets. advantages:
Aside from wearable electronics, • Flexibility
cameras, GPS units, and smartphones • Thinner than traditional PCBs
also use flex circuits. Growing industries • Reduced weight and saves space
like LED lighting and solar panels use flex • Better heat dissipation
circuits due to its ability to conform to • Influences the aesthetics of the product
virtually any shape. • Easier installation and repair
Flex circuits are so versatile that they
also found their way into both military and The major difference, and advantage,
aerospace applications. Having thermal of using flex circuits over traditional
stability and chemical-resistant properties, PCBs is their element of flexibility. This
they are a great choice for satellites, upon flexibility allows the boards to conform to
which worldwide connections are highly 3D configurations, which could have a
dependent. significant influence on their mechanical
Due to the simplicity of its assembly and enclosure for aesthetics, weight, space,
interconnection cost savings, radar systems assembly, and cost. A well-designed flex
use a lot of flexible circuits. Night vision circuit can be lightweight, robust, easy
applications and laser gyroscopes use flex to install, and suitable for a variety of
circuits as well. applications. g

Sponsored by
15
Learning about Printed
Circuit Board Assembly
This article will improve your knowledge about
PCBA and talk about how the methodology works
Contributed by Optima Technology Associates, Inc.

M
any of you may have heard electronics is the material — silicon or
the term “printed circuit board any other semiconductor.
assembly” (PCBA) and thought, Through numerous long and costly
What is that? This write-up is meant to clean room procedures, these “wafers”
shed some light on the subject. are converted into “smart” electronic
The complete procedure of fabricating microprocessors and chips. These
electronic devices is a long and chips cannot carry out anything, per
complex one. The beginning point for all se, and want to be incorporated onto a

Sponsored by
16
16
printed circuit board (PCB) so as to be able stencil. This is typically the binding
to carry out something in the end (such as material of the gadgets to the PCB. 5. AOX and AXI. These procedures are
operate your PC or phone). important for verifying that no errors
Now, there are many firms that develop 2. Surface-mount technology have been made throughout the
these chips as well as sell end items. pick-and-place assembly. This assembly procedure.
Nevertheless, these firms can’t afford to is the core of every PCBA line.
buy all of the devices needed to assemble This procedure consumes all of the 6. Reworking if required. In case
their chips onto PCBs so as to develop individual chips and precisely puts any errors or faults are discovered,
their end product. them over their designated position some equipment could be reworked.
This is what PCBA firms are for. These on the PCB. Reworking comprises heating the
electronic manufacturing firms have a board or equipment and removing it
good deal of surface-mount technology 3. Through-hole curing. After placing from the PCB so that a replacement
(SMT) lines and provide printed circuit the chips onto the etching paste, the can be put in its stead. g
board assembly services to other firms boards experience a conveyor oven to
that are not interested in carrying these liquefy the etch and bind the chips to
themselves. the PCB.

The PCBA procedure comprises several 4. Conformal coating. A few boards


steps: need a defensive lacquer coating.
1. Solder-paste printing. In this Conformal “selective coating” machines
procedure, the first solder paste is quickly and precisely offer a layer of
printed onto the PCB employing a safeguard coating on the PCB.

Sponsored by
17
6 Tips for Choosing
PCB Components
All of the examples in this article are developed using the NI Multisim
design environment; however, the same concepts apply when using
different EDA tools
By Mahmoud Wahby, Senior Product Manager at National Instruments

1 Think about component footprint


decisions.
Throughout the schematic drawing phase,
based on part footprints.
Remember that footprints include both the
electrical pad connections and the mechanical
consider footprint and land pattern decisions (X, Y, and Z) dimensions of the part. This
that will need to be made in the layout phase. includes the body outline of the part as well as
See the following suggestions for things to the pins that attach to the PCB. When selecting
consider when making component choices components, consider any housing or packing

Sponsored by
18
18
Land patterns show the exact pads
or hole shapes on the PCB to which
the part will be soldered. These copper
patterns on the PCB may also contain
some basic shape information. The land
patterns need to be sized correctly to
ensure proper soldering and to ensure
proper mechanical and thermal integrity
of the connecting parts. When designing
the PCB layout, consider how the board
will be manufactured or, if hand-soldered,
how the pads will be accessed. Reflow-
soldering (solder paste that is melted in a
restrictions on both the top and bottom this way, a quick virtual rendering of the controlled oven) can handle a wide variety
sides of the final PCB. Some components board (without routing) can be visualized of surface-mount devices (SMDs). Wave-
(such as polarized capacitors) may have to give a relatively accurate representation soldering is typically used to solder the
height clearance restrictions that need to of the relative positioning and component backside of the board to fix through-hole
be considered as part of the component heights of the board and components. This components but can handle some SMD
selection process. When initially starting will assist in ensuring that the parts will parts placed on the backside. Often with
a design, consider drawing a basic board fit inside the packaging (plastic, chassis, this technique, any bottom-side SMDs will
outline shape and placing some of the larger mechanical frame, etc.) after the PCB is have to be orientated in a special direction
or critically placed components (such as assembled. Invoke the 3D Preview mode and may need to have pad modifications to
connectors) that are planned to be used. In from the tool menu to review your board. be soldered in this way.

Sponsored by
19
larger SMDs or through-hole parts may be
preferred to facilitate hand-soldering and to
facilitate better pad and signal access for
3 Assign virtual parts footprints.
Run a bill of materials (BOM) to check
for virtual parts. Virtual parts do not have
troubleshooting and debugging steps. footprints associated with them and will
If a footprint is not available in the not be transferred to layout. Generate
database, it is common to create a custom a BOM and review all of the virtual
footprint from within the tool. components on the design. The only
entries should be power and ground

Image: Thomas Bresson via Wikimedia Commons.

Component choices can change


2 Use good grounding practices.
Make sure the design has sufficient
bypass capacitors and ground planes.
signals as these are considered virtual
parts and are specially handled in the
schematic environment and not the
throughout the design process. Choosing When using ICs, make sure appropriate ayout. Unless used solely for simulation
which parts should be plated through- decoupling capacitors are used near the purposes, parts that are shown in the
hole (PTH) or surface-mount technology supply to a ground location (ground plane virtual section should be replaced with
(SMT) early in the design process can preferably). Appropriately sized capacitors parts having footprints.
assist the entire planning of the PCB. depend on the application, the capacitor
Consider part costs, availability, part area
density, and power dissipation among
other things. From a manufacturing
technology, and the frequencies involved.
When bypass capacitors are placed
across the power and ground pins and
4 Ensure that you have complete
BOM data.
Check for adequate data in the BOM
perspective, SMD components are typically located close to the appropriate IC pins, report. After running the BOM report,
less expensive than through-hole parts a circuit’s electromagnetic compliance review it and work on populating any
and are typically more readily available. and susceptibility performance will be incomplete part, vendor, or manufacturer
For small to medium prototyping projects, optimized. information for all of these parts.

Sponsored by
20
Resources

5 Sort reference designators. In some cases, ICs with floating pins


To assist in the sorting and reviewing of may not correctly operate within the
the BOM, ensure that reference designators specifications. Usually, the operating
New Products

Introduction to Precision Machine


Technology
are contiguously numbered. specifications for an IC are valid only if the
parts or other gates within the same part Introduction to Pin Receptacles

6 Check spare gates.


Typically, all of the spare gates should
have the inputs connected to a signal to
are not operating in a saturation condition
in which the inputs or outputs are near
or at the power rails of the component.
Introduction to Spring-Loaded Pogo
Pins & Connectors

prevent the inputs from floating. Make sure Simulation would typically not catch this Introduction to Machined Pin, Board
you review any spare or forgotten gates situation as simulation models generally Interconnects
so that unwired inputs can be adequately do not connect multiple sections of an
Introduction to Mill-Max Press-Fit
connected if required. In some cases, if the IC together for modeling the effects of a Technology
inputs are left to float, the whole system floating connection. g
may not function properly. For example,
consider a dual op-amp used in a design.
If only a single op-amp is used in a dual-
section IC part, it is suggested that either
a single-section IC be designed in or, for
the unused portions, a ground be placed
at the input and an appropriate unity gain
(or otherwise) feedback network be placed
with the amplifier to ensure the correct
functionality of the part.

Sponsored by
21

You might also like