Enabling Internet Connection Sharing in the WindowsMobile 6.1 Registry

December 30th, 2009 by Andrew Mitchell

Everybody has a mentor.  I’m no exception.  When I first started working as a Technology Engineer, my mentor told me:

Optimist: The glass is half full.
Pessimist: The glass is half empty.
Engineer: The glass is twice the size it needs to be.

I’ve told that line at parties many times and have always gotten a laugh. Tell it to a group of senior engineers who have heard it a hundred times, though, and you’ll get a polite, stony silence at best.

Though it is humorous and when first explained to me it was done so with humour, if you honestly consider the statement, it is in fact very true.  The truth is, as engineers we are expected to think quick, act (certainly not react) quicker and implement solutions even faster.

As such, we must constantly be aware of potential problems.  As well as plausible and realistic solutions.  In my case, my clients expect solutions wherever and whenever needed, and that’s as it should be.  Today, with laptops this not exactly hard to accomplish.  With that said, an internet connection can sometimes be hard to come by.

Well, a known connection anyway.  Most people look at a cellphone as exactly that, but the truth is, it is likely just a modem.  That’s right, 96% of the cell providers in the world simply provide a network connection.  Then based on services purchased network access is granted or restricted.

I’m going to show you what I mean, using a WindowsMobile device as an example.  My carrier is AT&T.  I have a basic “phone only” data plan.  A data plan of some sort is required.  This provisions a gateway to your account which grants you access to access networks external to your provider.

Many phones have restrictions which are internally provisioned by your provider.  WindowsMobile 6.1 stores these settings in the registry of your device.  There are two sections we will need to adjust.

In the ConnectionSharing section make sure your settings match this:

The above settings ensure no phone based restrictions are preventing your phone from sharing its connection.

With AT&T I also needed to enable the connection “AlwaysOn” flag.

Next, you’ll want to check and ensure your default phone data connection is being used for InternetSharing requests.

At this point you need an Internet Connection Sharing software package on your phone if it did not ship standard.  Google can assist you there.

Then you’re all set. Enjoy :)

Posted in InfoTech | Comments (0)

Dynamic DNS with Bind

December 21st, 2009 by Andrew Mitchell

I work with a number of clients who have dynamic (or rolling) IPs assigned from their bandwidth provider.  Since many of my clients require remote help, this can be a problem.  However, many clients choose not to pay more for static IPs.

That’s why I chose to setup a zone in my domain name server for dynamic records.  This means that when a triggering event occurs, the entry associated to a particular host record located inside the zone may be altered or changed as needed.

In my environment I am running a Bind DNS.  While basics of Bind administration is required knowledge to complete setup of dynamic DNS, we will not cover that here.  I will mention that you zone’s SOA times should be set short.  I suggest 60 second intervals.  I’ll also tell you that you will need the “nsupdate” command installed and working on the server that will actually process the update requests.

The next piece if the puzzle is a client to actually request updates.  I created dynip for my clients. For my needs, a copy of the script can reside on my web server (which also happens to be my DNS). I can then password protect the script directory for security. You can easily employ DNS keys if your environment warrants (and most will).

When dynip is called, it grabs the IP of the client calling, compares it to the record on file and updates records as needed (if needed). So, if your IP has changed so does your DNS host entery. :)

Posted in InfoTech | Comments (0)

Authoring Video DVDs with DeVeDe

November 26th, 2009 by Andrew Mitchell

I recently started authoring Video DVDs.  There were several things to learn first.  For example, Commercial DVD’s are “pressed” not burned.  This process eliminates media compatibility concerns.  However, since we’re burning which media should be used?  The answer, DVD+R.  Most modern players support other types as well but DVD+R is what is generally supported by older players.

Then there is the question of “What software do I use? and “How do I use it?”  You’re in luck!  That’s exactly what the rest of this article is intended to address. :)

Introduction: I usually skip the preface of the book, after the first few sentences. So I will make it short. DeVeDe is a linux dvd authoring program. In my opinion, it is one of the best that exists for linux. I believe it does run under windows as well, so it is a great alternative in that respect. I will show you how DeVeDe works, in addition to some of the tricks that everyone picks up after they’ve used a program for a good length of time.

Requirements:
-Download DeVeDe in the repositories for the latest version. This is rudimentary- open the terminal (Applications–>System Tools–>terminal) and type in su -c “yum install devede”
-Have some video files you’d like to make into a DVD. Either a movie, or about 2-3 hours of video.
-Possibly GIMP (repos) or other image-editor to make some better menus.
-Recordable media (dvds, cds)

Guide:

When you run DeVeDe, it will ask you which type of disc you’d like to create. We will be making a standard DVD, although most of the same things apply to any other type.

Now you are presented with a screen titled “unsaved disc structure”.

First thing to do is save the project as a devede file (file–>save). Save as the name of the dvd.

Now the next thing to do is set your region. This means either NTSC or PAL. NTSC, or Region1, is the standard in North America. PAL, or Region2 is for Europe. These are the little globes with the number in it on the back of a dvd box. So depending on where you live, or your dvd player, choose your region.

Mine would be NTSC. Now let’s go to adding the movie or video files to the DVD structure. Before we begin, however, I need to say some things about a DVD. Manufactuers will ship a DVD with about 2 or 2.5 hours on it. I think this is why most movies now aren’t too long. After that, the quality may start to become slightly noticable. Not very, though. So based on that, I made a DVD with Spiderman 1, 2, and 3 all on the same disc. That’s about ~5.5 hours of video. When the fighting started up, you could see a little pixelated parts. But if you’re willing to sacrifice quality for quantity, then this is you. hen you’re sending out a family dvd to the relatives for Christmas, you want to have it perfect. Then your limit is about 2.5 hours.

Rename your first Title of the DVD. This is what will appear in the menu. (note that you can have a menu title, so you may want something like Episode #1, or Play Movie as the title name). Click Properties on the left side to rename the title. You can also set what will happen after it is played (if it is a list of episodes, you might not want to go back to the menu each time).

Now on the right side, with the first title selected, you will want to add a video/movie file. Click “Add”. I recommend not changing the audio track, but you will have to know your own video file. Then add any subtitles. In the case you’re using an axxo release or something similar, subtitles are readily available on the internet. Just try them out before – rename them to the same title as the video, and Movie Player will load them automatically. (windows media player, too). When you add subtitles, speficy the language. Because they aren’t burned in, you turn them on by pressing “subtitles” on your remote. Then it will say something like “1: ENGLISH”, according to the track number and language code. You can also put subtitles in the upper screen, don’t know why you would want to.

Here is an example of mine, after everything is adjusted.

Typically, I don’t really change the automatic “advanced” settings, although I could if I needed to.

So click OK and then add any more titles if you want. (repeating the steps for the first title).

If you added another movie, or if the % bar is over 99%, hit “Adjust Disc Usage”. This actually automatically changes video bitrate settings, etc., to fit it onto a DVD.

Let’s customize our menu. Now, DeVeDe doesn’t offer great menus. But, it’s pretty enough for me, and if you know a few tricks, you can make it look terrific. If you don’t want a menu, don’t worry about it. Just go into “Menu Options” and set “Disc Startup options” to “Jump to first title at startup”. However, a menu doesn’t hurt.
Click on Menu Options, and let’s get started with it.

This is what you start with. I’ll divide the menu into parts.

Menu Title
Text: This is what will be displayed at the top of the menu. change text color too.
Font: what the title text will be written in. face and size changable, along with shadow.

Menu background (only PNG)
Change the background if you’d like. Must a png image; try GIMP or other image editor. The default is a disc.

Menu music
Change music to a MP3 or no sound. Generally a short 2-3 minute clip, use youtube and audacity for soundtrack.

Menu position
H………………V
Top…………….Left
Middle………….Center
Bottom………….Right

Choose position. It is basic: top left, top center, top right, then middle and bottom. Easy.

Menu Font and colors
Font: the text face for the titles
Color for unselected titles: change color (if you have 2 titles, the one without the cursor s going to be this color).
Color for selected title: the title with that is selected with the cursor will be this color.

Color for shadows: a slight darkening effect for the text. I don’t really like this option, I leave it off.
Background color for titles: this makes a long box-area around the title. Nice if you make it light, but then you have to change the title text colors darker to offset it. Here is my finished settings, And the finished menu (preview menu)

Once you have completed your menu to perfection, then click OK and you’ll go back to the original screen. Adjust disc usage again if necessary, check region, and make sure everything is correct. Now click on Foward.

Then you will be presented with this screen. Choose a destination folder, and type in a short name for the dvd. (You’re almost finished!)

Now click on OK, and it will start to make the DVD. The name you typed in at the end will be the name of the burnable ISO. All temporary folders will be cleared out after it is done. My computer takes about 2.5 hours to make a 2-movie DVD. Once the ISO is finished, let’s burn.

Load a DVD into your tray. Wait for it to mount, it will appear in the left-side of your folders.

Now right-click on the iso, and then click Write to Disc.

Then all you have to do is hit Write, and the DVD will be done in a few minutes!

Have fun!

Posted in InfoTech | Comments (0)

Accessing LUKS encrypted Volume Groups (and other filesystems)

November 24th, 2009 by Andrew Mitchell

As a consultant you often get called in only when something has gone very wrong. Sadly this more often then not means that someone has lost access to data the need.

I have begun to notice that with many of the Linux clients I support that there is a common misconception as to the accessibility of LUKS encrypted filesystems if a problem occurs. First and foremost, LUKS is not a filesystem like most are a custom.  LUKS is encryption of the underling filesystems which most people are a custom to.

This means that before a filesystem which is encrypted using LUKS can be accessed it must be unlocked. This can be done as follows:

cryptsetup /dev/sda1 home

The above command unlocks physical device /dev/sda1 and creates a device pointer of /dev/mapper/home if the correct passphrase is entered.  Once the device pointer has been created, you can mount the filesystem.

if your physical device contains Volume Groups, don’t forget to activate them:

vgchange -a y [VolumeGroupName]

If you don’t know the applicable values of [VolumeGroupName] use:

vgdisplay

Once the VolumeGroup is active the Logical Volumes inside it may be mounted, unusually as /dev/VolumeGroupName/LogicalVolumeName device pointers.

If you don’t know the applicable values of LogicalVolumeName use:

lvdisplay

From this point if everything went according to plan, your data should be accessible baring any issues with physical hardware.

Posted in InfoTech | Comments (0)

Using older hardware? Windows7 is worth it!

November 21st, 2009 by Andrew Mitchell

I had an interesting request recently…  A friend and I were discussing Windows7 and the improvements even for older computers.  We decided to see just how it would do on “old-school” hardware.

Both of us are open source geeks and often laugh at the bloat that is Windows.  I must admit, the results were surprising.

Here’s the specs we had:

Screenshot-Windows7-system-specs

The install was pretty straight forward but did have two issues to overcome.

The first was that Windows7 ships standard on DVD media.  Our hardware only has a CD drive.  The solution…  Tiny7, allows you to install only the minimal required files to get you a running windows 7 operating system on CD.  Ready to download Tiny7?  Download this zipped Disc ISO file.

NOTE: Tiny7 should be used for *NEW* installations only!

The second was that the age of this hardware prohibited it from supporting EFI booting.  We used Smart BootManager to force boot of the installation media.

Smart BootManager is an OS independent BootManager which has an easy to use interface and many other features. The main goals of SBM are to be absolutely OS independent, flexible and full-featured. It has all of the features needed to boot a variety of Operating Systems.

The SBM software is Linux based so, for the windows folks out there I have created a zipped disk image which can be placed on a 1.44MB floppy disk  using rawrite32.  Linux users may also write the image to disk using the “dd” command.

I should mention that we had to tweak services to improve performance and enable certain needed features.  As an example, our application required support for Network Browsing which did not function properly until the Workstation service was started.  The simple way to solve this issue is to set all “Disabled” services to “Manual”.  Doing so allows Windows to start services on an as needed basis.

Once installed we quickly discovered much improved performance over windowsXP.  This is a direct result of better memory and overall resource management.  So in conclusion, kudos to Microsoft and the Windows7 Development Team.  If you are using older hardware and need better performance, Windows7 is worth it!

Posted in InfoTech | Comments (0)

OMA Device Management – What is a device management solution???

October 15th, 2009 by Andrew Mitchell

OMA Device Management is a device management protocol specified by the Open Mobile Alliance (OMA) Device Management (DM) Working Group and the Data Synchronization (DS) Working Group. The current specification is OMA DM is version 1.2, the latest modifications to this version released in April 2006.

OMA DM specification is designed for management of small mobile devices such as mobile phones, PDAs and palm top computers. The device management is intended to support the following typical uses:

* Provisioning – Configuration of the device (including first time use), enabling and disabling features
* Configuration of Device – Allow changes to settings and parameters of the device
* Software Upgrades – Provide for new software and/or bug fixes to be loaded on the device, including applications and system software.
* Fault Management – Report errors from the device, query about status of device

All the above functions are supported by the OMA DM specification, and a device may optionally implement all or a subset of these features. Since OMA DM specification is aimed at mobile devices, it is designed with sensitivity to the following:

* small foot-print devices, where memory and storage space may be limited
* bandwidth of communication could be constrained, such as in wireless connectivity
* tight security, as the devices are vulnerable to virus attacks and the like; authentication and challenges are made part of the specifications

Ok, I’ve given you the technical answer.  Now how about plain English, right?  For those of you out there who have heard of the BlackBerry Enterprise Server, think of the OMA DM/DS model like that without the limitation of only working on BlackBerry devices.  The OMA model is designed to be Carrier, Platform and Device independent.  Same functionality for anybody and everybody.

I know, I know…  Some of you out there are saying, “That’s great, but why should I care?”  Well, what if I told you that you could share you email, contacts, calendar, tasks and files between your computer and cellphone or PDA instantly  and wirelessly?  Guess what, you can!

Just think, you’re out of the office and that noon meeting gets pushed to three o’clock.  When your assistant updates your calendar your PDA updates automatically and with in seconds.  Or a new email comes in and boom… You can read and reply then and there right from your cellphone.  Trust me, push email rocks. :)

But wait, there’s more,  I recently setup a DM/DS server.  Want to see how this works?
Drop me an email.  I’ll be giving away a limited number of accounts for free!

Posted in InfoTech | Comments (0)

NetApp Filers – from the command line

October 12th, 2009 by Andrew Mitchell

Quite a few people use NetApp Filers.  Not a lot of people like to use the command line to perform various ONTAP functions, but even less take advantage of the command line control options at the controller prompt.  I’ve found that knowing the control options makes my command line work much faster as a general rule.  Here’s a few you may or may not know about:

1.  CTRL-W:  My personal favorite.  This will allow you to do a “word delete” so you don’t have to backspace through an entire string.  For example, if I have the following text:

snap delete myvol this_is_a_really_long_snapshot_name_to_use

By using CTRL-W, I can change the command line to now look like:

snap delete myvol

This makes performing cut-and-paste operations with lots of snapshot names a breeze.

2.  CTRL-A, CTRL-E, CTRL-F, CTRL-B: Go to the beginning of the line, end of the line, forward a character or back a character, respectively.  CTRL-A and CTRL-E are pretty useful (CTRL-F and CTRL-B can be done with arrow keys) if you’re looking to prepend or append some text.

3.  CTRL-K: Kill all following text.  This is pretty nice if you want to move to the beginning of the line and delete a lot of add-on characters.  If my command line looks like the following:

lun show -v /vol/exch_db1/exch_db1_g.lun

From this I would hit CTRL-A to go to the beginning of the line, CTRL-F (or arrow keys) to move forward to the “-v”, and hit CTRL-K.  The line would turn into:

lun show

Of course, if you have a lot of text this can be useful, but going back to (1), I would just hit CTRL-W twice and perform the same step!  It’s even faster than CTRL-A/CTRL-F/CTRL-K.

4. CTRL-N, CTRL-P: Go to the next or previous history command.  This can really help you fly through repetitive commands.  Let’s say you want to online three different volumes — myvol1, myvol2 and testvol3.  You might typically type in:

vol online myvol1

vol online myvol2

vol online testvol3

There’s a fast way to iterate through these without typing everything in.  First, type in the first command:

vol online myvol1

Once that’s done, type in CTRL-P and backspace, and type in the number 2.  This will reload the previous command, backspace over the 1, and add a 2 to the end so you get the myvol2 appended text:

vol online myvol2

Finally, hit CTRL-P again, followed by CTRL-W (my favorite) and type in testvol3.  This loads the last command, deleted the myvol2 text and allows you to type in testvol3 without having to re-type vol online:

vol online testvol3

I encourage you to download the ONTAP simulator and try a lot of these out for yourself.  You’ll find they are pretty useful in general and with a little practice you’ll be flying on the command line.

Posted in InfoTech | Comments (0)

Using a Bluetooth Headset as an audio (input & output) device with Linux

October 8th, 2009 by Andrew Mitchell

Since I face physical challenges myself, I find it rewarding to help those with similar needs when I can.  Today I was asked to help a young lady setup a Bluetooth Headset as an audio input device (microphone), as well as an audio output device (speaker).  This way the headset could be used in conjunction with the user’s voice control system.

The paring of the device was pretty simple.  Getting the Fedora 11 system to see the headset as an audio device…  That was a bit more tricky.

So, once I figured it out, I wrote this simple bash script to make things much easier for the user.

#!/bin/bash
#
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
echo "Please place your Bluetooth audio device into pairing mode, then press "
read
echo "Scanning for Bluetooth audio device..."
scan=`hcitool scan | sed 's/^\s*//' | grep -v 'Scanning'`
line=$scan
if [[ "`echo "$scan" | wc -l`" -gt "1" ]]; then
echo "select device:"
save_ifs=$IFS
IFS="
"
select line in $scan; do
#echo got $line
break
done
IFS=$save_ifs
fi
BT_BDADDR=`echo $line | awk '{print $1}'`
[[ -z "$BT_BDADDR" ]] && echo no bluetooth device found && exit
echo "Selected bluetooth device: $BT_BDADDR"
# => e.g., 00:11:22:33:44:55

echo “Writing new ~.asoundrc…”
cat >> ~/.asoundrc <
pcm.bt_audioraw {
type bluetooth
device $BT_BDADDR
profile “auto”
}
pcm.bt_audio {
type plug
slave.pcm “bt_audioraw”
hint {
show on
description “Bluetooth audio device”
}
}
EOD

echo “Getting default adapter…”
_BT_ADAPTER=`dbus-send –system –print-reply –dest=org.bluez / \
org.bluez.Manager.DefaultAdapter|awk ‘/object path/ {print $3}’`
BT_ADAPTER=${_BT_ADAPTER//\”/}
echo “$BT_ADAPTER”

echo “Removing any stale Bluetooth audio device:”
_OLD_BT_DEVICE=`dbus-send –system –print-reply –dest=org.bluez $BT_ADAPTER \
org.bluez.Adapter.FindDevice string:$BT_BDADDR|awk ‘/object path/ {print $3}’`
OLD_BT_DEVICE=${_OLD_BT_DEVICE//\”/}
dbus-send –system –print-reply –dest=org.bluez $BT_ADAPTER \
org.bluez.Adapter.RemoveDevice objpath:$OLD_BT_DEVICE

echo “Creating Bluetooth audio device:”
_BT_DEVICE=`dbus-send –system –print-reply –dest=org.bluez $BT_ADAPTER \
org.bluez.Adapter.CreateDevice string:$BT_BDADDR|awk ‘/object path/ {print $3}’`
BT_DEVICE=${_BT_DEVICE//\”/}
echo “$BT_DEVICE”

# optional: echo “Connecting — BlueZ applet will prompt for pin…”
# optional: dbus-send –system –print-reply –dest=org.bluez \
# optional: $BT_DEVICE org.bluez.AudioSink.Connect
#
# NOTE: if the above dbus-send is NOT executed, then a pairing
# request for an A2DP device will be initiated the first time
# the ALSA virtual device bt_audio is used. Otherwise, when
# “AudioSink.Connect” is executed, a pairing request to the device
# will be initiated immediately and then ALSA will subsequently use
# this paired connection for playing sound through bt_audio. Executing
# “AudioSink.Connect” is useful for preparing devices ahead of time
# to avoid undesired delays and to avoid pairing mode timeouts.
#
# Also note that a device conforming to the headset profile (HSP)
# does not support “AudioSink.Connect”. However, this script (without
# running “AudioSink.Connect”) will still work because BlueZ will
# request pairing when “Adapter.CreateDevice” is executed for HSP
# devices. You can check out your device’s specific capabilities
# using sdptool.

Using the script is fairly basic.

  1. Copy the code and save it on your Linux box.
  2. Make sure the owner and group assigned to the script are those of the user executing it.
  3. Set the file permission to 755 (rwxr-xr-x).
  4. Place your headset in paring  mode.
  5. Execute the script and press ‘Enter’ when prompted.
  6. Watch for alerts on your screen because a security code maybe required.  If so, it is generally 0000.

Once the device has been paired using the script, the next step is to activate it as an audio device on your system.  Here we will assume your system uses the PulseAudio Sound Server.

First, ‘Right-Click’ the PulseAudio volume icon usually located on one of your Xwindows Panels.  Then choose ‘Sound Preferences’.

If you want to set the headset as your input device, follow the example shown below:

bt-pa-input

If you want to set the headset as your output device, follow the example shown below:

bt-pa-output

Once you have selected the device(s) you want, be sure you click the ‘Close’ button so your choices are activated.

When you turn off your headset. your choices are most often reset.  If you want to re-enable you headset in the future, repeat step 5, then reselect the devices as shown above.

Posted in InfoTech | Comments (0)

The Basics of Printed Circuit Boards (PCBs)

October 5th, 2009 by Andrew Mitchell

A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using conductive pathways, or traces, etched from copper sheets laminated onto a non-conductive substrate. It is also referred to as printed wiring board (PWB) or etched wiring board. A PCB populated with electronic components is a printed circuit assembly (PCA), also known as a printed circuit board assembly (PCBA).

PCBs are rugged, inexpensive, and can be highly reliable. They require much more layout effort and higher initial cost than either wire-wrapped or point-to-point constructed circuits, but are much cheaper and faster for high-volume production. Much of the electronics industry’s PCB design, assembly, and quality control needs are set by standards that are published by the IPC organization.

History

The inventor of the printed circuit was the Austrian engineer Paul Eisler (1907–1995) who, while working in England, made one circa 1936 as part of a radio set. Around 1943 the USA began to use the technology on a large scale to make rugged radios for use in World War II. After the war, in 1948, the USA released the invention for commercial use. Printed circuits did not become commonplace in consumer electronics until the mid-1950s, after the Auto-Sembly process was developed by the United States Army.

Before printed circuits (and for a while after their invention), point-to-point construction was used. For prototypes, or small production runs, wire wrap or turret board can be more efficient.

Originally, every electronic component had wire leads, and the PCB had holes drilled for each wire of each component. The components’ leads were then passed through the holes and soldered to the PCB trace. This method of assembly is called through-hole construction. In 1949, Moe Abramson and Stanislaus F. Danko of the United States Army Signal Corps developed the Auto-Sembly process in which component leads were inserted into a copper foil interconnection pattern and dip soldered. With the development of board lamination and etching techniques, this concept evolved into the standard printed circuit board fabrication process in use today. Soldering could be done automatically by passing the board over a ripple, or wave, of molten solder in a wave-soldering machine. However, the wires and holes are wasteful since drilling holes is expensive and the protruding wires are merely cut off.

In recent years, the use of surface mount parts has gained popularity as the demand for smaller electronics packaging and greater functionality has grown.
Manufacturing Materials

Conducting layers are typically made of thin copper foil. Insulating layers dielectric are typically laminated together with epoxy resin prepreg. The board is typically coated with a solder mask that is green in color. Other colors that are normally available are blue and red. There are quite a few different dielectrics that can be chosen to provide different insulating values depending on the requirements of the circuit. Some of these dielectrics are polytetrafluoroethylene, FR-4, FR-1, CEM-1 or CEM-3. Well known prepreg materials used in the PCB industry are FR-2 (Phenolic cotton paper), FR-3 (Cotton paper and epoxy), FR-4 (Woven glass and epoxy), FR-5 (Woven glass and epoxy), FR-6 (Matte glass and polyester), G-10 (Woven glass and epoxy), CEM-1 (Cotton paper and epoxy), CEM-2 (Cotton paper and epoxy), CEM-3 (Woven glass and epoxy), CEM-4 (Woven glass and epoxy), CEM-5 (Woven glass and polyester).
A PCB as a design on a computer (left) and realized as a board assembly with populated components (right). The board is double sided, with through-hole plating, green solder resist, and white silkscreen printing. Both surface mount and through-hole components have been used.

Typical density of a raw PCB (an average amount of traces, holes, and via’s, with no components) is 2.15g / cm3.

Patterning (etching)

The vast majority of printed circuit boards are made by bonding a layer of copper over the entire substrate, sometimes on both sides, (creating a “blank PCB”) then removing unwanted copper after applying a temporary mask (eg. by etching), leaving only the desired copper traces. A few PCBs are made by adding traces to the bare substrate (or a substrate with a very thin layer of copper) usually by a complex process of multiple electroplating steps.

There are three common “subtractive” methods (methods that remove copper) used for the production of printed circuit boards:

1. Silk screen printing uses etch-resistant inks to protect the copper foil. Subsequent etching removes the unwanted copper. Alternatively, the ink may be conductive, printed on a blank (non-conductive) board. The latter technique is also used in the manufacture of hybrid circuits.
2. Photoengraving uses a photomask and chemical etching to remove the copper foil from the substrate. The photomask is usually prepared with a photoplotter from data produced by a technician using CAM, or computer-aided manufacturing software. Laser-printed transparencies are typically employed for phototools; however, direct laser imaging techniques are being employed to replace phototools for high-resolution requirements.
3. PCB milling uses a two or three-axis mechanical milling system to mill away the copper foil from the substrate. A PCB milling machine (referred to as a ‘PCB Prototyper’) operates in a similar way to a plotter, receiving commands from the host software that control the position of the milling head in the x, y, and (if relevant) z axis. Data to drive the Prototyper is extracted from files generated in PCB design software and stored in HPGL or Gerber file format.

“Additive” processes also exist. The most common is the “semi-additive” process. In this version, the unpatterned board has a thin layer of copper already on it. A reverse mask is then applied. (Unlike a subtractive process mask, this mask exposes those parts of the substrate that will eventually become the traces.) Additional copper is then plated onto the board in the unmasked areas; copper may be plated to any desired weight. Tin-lead or other surface platings are then applied. The mask is stripped away and a brief etching step removes the now-exposed original copper laminate from the board, isolating the individual traces.

The additive process is commonly used for multi-layer boards as it facilitates the plating-through of the holes (to produce conductive vias) in the circuit board.

Lamination

Some PCBs have trace layers inside the PCB and are called multi-layer PCBs. These are formed by bonding together separately etched thin boards.

Drilling

Holes through a PCB are typically drilled with tiny drill bits made of solid tungsten carbide. The drilling is performed by automated drilling machines with placement controlled by a drill tape or drill file. These computer-generated files are also called numerically controlled drill (NCD) files or “Excellon files”. The drill file describes the location and size of each drilled hole. These holes are often filled with annular rings to create vias. Vias allow the electrical and thermal connection of conductors on opposite sides of the PCB.

When very small vias are required, drilling with mechanical bits is costly because of high rates of wear and breakage. In this case, the vias may be evaporated by lasers. Laser-drilled vias typically have an inferior surface finish inside the hole. These holes are called micro vias.

It is also possible with controlled-depth drilling, laser drilling, or by pre-drilling the individual sheets of the PCB before lamination, to produce holes that connect only some of the copper layers, rather than passing through the entire board. These holes are called blind vias when they connect an internal copper layer to an outer layer, or buried vias when they connect two or more internal copper layers and no outer layers.

The walls of the holes, for boards with 2 or more layers, are plated with copper to form plated-through holes that electrically connect the conducting layers of the PCB. For multilayer boards, those with 4 layers or more, drilling typically produces a smear comprised of the bonding agent in the laminate system. Before the holes can be plated through, this smear must be removed by a chemical de-smear process, or by plasma-etch.
Exposed conductor plating and coating

The places to which components will be mounted are typically plated, because bare copper oxidizes quickly, and therefore is not readily solderable. Traditionally, any exposed copper was plated with solder by hot air solder levelling (HASL). This solder was a tin-lead alloy, however new solder compounds are now used to achieve compliance with the RoHS directive in the EU, which restricts the use of lead. One of these lead-free compounds is SN100CL, made up of 99.3% tin, 0.7% copper, 0.05% nickel, and a nominal of 60ppm germanium.

Other platings used are OSP (organic surface protectant), immersion silver (IAg), immersion tin, electroless nickel with immersion gold coating (ENIG), and direct gold. Edge connectors, placed along one edge of some boards, are often gold plated.

Electrochemical migration (ECM) is the growth of conductive metal filaments on or in a printed circuit board (PCB) under the influence of a DC voltage bias.

Solder resist

Areas that should not be soldered to may be covered with a polymer solder resist (solder mask) coating. The solder resist prevents solder from bridging between conductors and thereby creating short circuits. Solder resist also provides some protection from the environment. Solder resist is typically 20-30 microns thick.
Screen printing

Line art and text may be printed onto the outer surfaces of a PCB by screen printing. When space permits, the screen print text can indicate component designators, switch setting requirements, test points, and other features helpful in assembling, testing, and servicing the circuit board.

Screen print is also known as the silk screen, or, in one sided PCBs, the red print.

Lately some digital printing solutions have been developed to substitute the traditional screen printing process. This technology allows printing variable data onto the PCB, including serialization and barcode information for traceability purposes.

Test

Unpopulated boards may be subjected to a bare-board test where each circuit connection (as defined in a netlist) is verified as correct on the finished board. For high-volume production, a Bed of nails tester, a fixture or a Rigid needle adapter is used to make contact with copper lands or holes on one or both sides of the board to facilitate testing. A computer will instruct the electrical test unit to apply a small voltage to each contact point on the bed-of-nails as required, and verify that such voltage appears at other appropriate contact points. A “short” on a board would be a connection where there should not be one; an “open” is between two points that should be connected but are not. For small- or medium-volume boards, flying-probe and flying-grid testers use moving test heads to make contact with the copper/silver/gold/solder lands or holes to verify the electrical connectivity of the board under test.

Printed circuit assembly

After the printed circuit board (PCB) is completed, electronic components must be attached to form a functional printed circuit assembly, or PCA (sometimes called a “printed circuit board assembly” PCBA). In through-hole construction, component leads are inserted in holes. In surface-mount construction, the components are placed on pads or lands on the outer surfaces of the PCB. In both kinds of construction, component leads are electrically and mechanically fixed to the board with a molten metal solder.

There are a variety of soldering techniques used to attach components to a PCB. High volume production is usually done with machine placement and bulk wave soldering or reflow ovens, but skilled technicians are able to solder very tiny parts (for instance 0201 packages which are 0.02″ by 0.01″) by hand under a microscope, using tweezers and a fine tip soldering iron for small volume prototypes. Some parts are impossible to solder by hand, such as ball grid array (BGA) packages.

Often, through-hole and surface-mount construction must be combined in a single PCA because some required components are available only in surface-mount packages, while others are available only in through-hole packages. Another reason to use both methods is that through-hole mounting can provide needed strength for components likely to endure physical stress, while components that are expected to go untouched will take up less space using surface-mount techniques.

After the board has been populated it may be tested in a variety of ways:

* While the power is off, visual inspection, automated optical inspection. JEDEC guidelines for PCB component placement, soldering, and inspection are commonly used to maintain quality control in this stage of PCB manufacturing.

* While the power is off, analog signature analysis, power-off testing.

* While the power is on, in-circuit test, where physical measurements (i.e. voltage, frequency) can be done.

* While the power is on, functional test, just checking if the PCB does what it had been designed for.

To facilitate these tests, PCBs may be designed with extra pads to make temporary connections. Sometimes these pads must be isolated with resistors. The in-circuit test may also exercise boundary scan test features of some components. In-circuit test systems may also be used to program nonvolatile memory components on the board.

In boundary scan testing, test circuits integrated into various ICs on the board form temporary connections between the PCB traces to test that the ICs are mounted correctly. Boundary scan testing requires that all the ICs to be tested use a standard test configuration procedure, the most common one being the Joint Test Action Group (JTAG) standard.

When boards fail the test, technicians may desolder and replace failed components, a task known as “rework”.

Protection and packaging

PCBs intended for extreme environments often have a conformal coating, which is applied by dipping or spraying after the components have been soldered. The coat prevents corrosion and leakage currents or shorting due to condensation. The earliest conformal coats were wax. Modern conformal coats are usually dips of dilute solutions of silicone rubber, polyurethane, acrylic, or epoxy. Some are engineering plastics sputtered onto the PCB in a vacuum chamber.

Many assembled PCBs are static sensitive, and therefore must be placed in antistatic bags during transport. When handling these boards, the user must be earthed; failure to do this might transmit an accumulated static charge through the board, damaging or destroying it. Even bare boards are sometimes static sensitive. Traces have become so fine that it’s quite possible to blow an etch off the board (or change its characteristics) with a static charge. This is especially true on non-traditional PCBs such as MCMs and microwave PCBs.

Design

* Schematic capture or schematic entry is done through an EDA tool.
* Card dimensions and template are decided based on required circuitry and case of the PCB. Determine the fixed components and heat sinks if required.
* Deciding stack layers of the PCB. 4 to 12 layers or more depending on design complexity. Ground plane and Power plane are decided. Signal planes where signals are routed are in top layer as well as internal layers.
* Line impedance determination using dielectric layer thickness, routing copper thickness and trace-width. Trace separation also taken into account in case of differential signals. Microstrip, stripline or dual stripline can be used to route signals.
* Placement of the components. Thermal considerations and geometry are taken into account. Vias and lands are marked.
* Routing the signal trace. For optimal EMI performance high frequency signals are routed in internal layers between power or ground planes as power plane behaves as ground for AC.
* Gerber File generation for manufacturing.

Safety certification (US)

Safety Standard UL 796 covers component safety requirements for printed wiring boards for use as components in devices or appliances. Testing analyzes characteristics such as flammability, maximum operating temperature, electrical tracking, heat deflection, and direct support of live electrical parts.

The boards may use organic or inorganic base materials in a single or multilayer, rigid or flexible form. Circuitry construction may include etched, die stamped, precut, flush press, additive, and plated conductor techniques. Printed-component parts may be used.

The suitability of the pattern parameters, temperature and maximum solder limits shall be determined in accordance with the applicable end-product construction and requirements.
“Cordwood” construction
A cordwood module.

Cordwood construction can give large space-saving advantages and was often used with wire-ended components in applications where space was at a premium (such as missile guidance and telemetry systems). In ‘cordwood’ construction, two leaded components are mounted axially between two parallel planes. Instead of soldering the components, they were connected to other components by thin nickel tapes welded at right angles onto the component leads. To avoid shorting together of different interconnection layers, thin insulating cards were placed between them. Perforations or holes in the cards would allow component leads to project through to the next interconnection layer. One disadvantage of this system was that special nickel leaded components had to be used to allow the interconnecting welds to be made. Some versions of cordwood construction used single sided PCBs as the interconnection method (as pictured). This meant that normal leaded components could be used.

Before the advent of integrated circuits, this method allowed the highest possible component packing density; because of this, it was used by a number of computer vendors including Control Data Corporation. The cordwood method of construction now appears to have fallen into disuse, probably because high packing densities can be more easily achieved using surface mount techniques and integrated circuits.
Multiwire boards

Multiwire is a patented technique of interconnection which uses machine-routed insulated wires embedded in a non-conducting matrix (often plastic resin). It was used during the 1980s and 1990s. (Augat Inc., U.S. Patent 4,648,180)

Since it was quite easy to stack interconnections (wires) inside the embedding matrix, the approach allowed designers to forget completely about the routing of wires (usually a time-consuming operation of PCB design): Anywhere the designer needs a connection, the machine will draw a wire in straight line from one location/pin to another. This led to very short design times (no complex algorithms to use even for high density designs) as well as reduced crosstalk (which is worse when wires run parallel to each other, which almost never happens in Multiwire), though the cost is too high to compete with cheaper PCB technologies when large quantities are needed.

Surface-mount technology

Surface-mount technology emerged in the 1960s, gained momentum in the early 1980s and became widely used by the mid 1990s. Components were mechanically redesigned to have small metal tabs or end caps that could be soldered directly on to the PCB surface. Components became much smaller and component placement on both sides of the board became more common than with through-hole mounting, allowing much higher circuit densities. Surface mounting lends itself well to a high degree of automation, reducing labour costs and greatly increasing production and quality rates. Carrier Tapes provide a stable and protective environment for Surface mount devices (SMDs) which may can be one-quarter to one-tenth of the size and weight, and passive components can be one-half to one-quarter of the cost of corresponding through-hole parts. However, integrated circuits are often priced the same regardless of the package type, because the chip itself is the most expensive part. As of 2006, some wire-ended components, such as small-signal switch diodes, e.g. 1N4148, are actually significantly cheaper than corresponding SMD versions.

A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using conductive pathways, or traces, etched from copper sheets laminated onto a non-conductive substrate. It is also referred to as printed wiring board (PWB) or etched wiring board. A PCB populated with electronic components is a printed circuit assembly (PCA), also known as a printed circuit board assembly (PCBA).

PCBs are rugged, inexpensive, and can be highly reliable. They require much more layout effort and higher initial cost than either wire-wrapped or point-to-point constructed circuits, but are much cheaper and faster for high-volume production. Much of the electronics industry’s PCB design, assembly, and quality control needs are set by standards that are published by the IPC organization.

History

The inventor of the printed circuit was the Austrian engineer Paul Eisler (1907–1995) who, while working in England, made one circa 1936 as part of a radio set. Around 1943 the USA began to use the technology on a large scale to make rugged radios for use in World War II. After the war, in 1948, the USA released the invention for commercial use. Printed circuits did not become commonplace in consumer electronics until the mid-1950s, after the Auto-Sembly process was developed by the United States Army.

Before printed circuits (and for a while after their invention), point-to-point construction was used. For prototypes, or small production runs, wire wrap or turret board can be more efficient.

Originally, every electronic component had wire leads, and the PCB had holes drilled for each wire of each component. The components’ leads were then passed through the holes and soldered to the PCB trace. This method of assembly is called through-hole construction. In 1949, Moe Abramson and Stanislaus F. Danko of the United States Army Signal Corps developed the Auto-Sembly process in which component leads were inserted into a copper foil interconnection pattern and dip soldered. With the development of board lamination and etching techniques, this concept evolved into the standard printed circuit board fabrication process in use today. Soldering could be done automatically by passing the board over a ripple, or wave, of molten solder in a wave-soldering machine. However, the wires and holes are wasteful since drilling holes is expensive and the protruding wires are merely cut off.

In recent years, the use of surface mount parts has gained popularity as the demand for smaller electronics packaging and greater functionality has grown.
Manufacturing
Materials

Conducting layers are typically made of thin copper foil. Insulating layers dielectric are typically laminated together with epoxy resin prepreg. The board is typically coated with a solder mask that is green in color. Other colors that are normally available are blue and red. There are quite a few different dielectrics that can be chosen to provide different insulating values depending on the requirements of the circuit. Some of these dielectrics are polytetrafluoroethylene, FR-4, FR-1, CEM-1 or CEM-3. Well known prepreg materials used in the PCB industry are FR-2 (Phenolic cotton paper), FR-3 (Cotton paper and epoxy), FR-4 (Woven glass and epoxy), FR-5 (Woven glass and epoxy), FR-6 (Matte glass and polyester), G-10 (Woven glass and epoxy), CEM-1 (Cotton paper and epoxy), CEM-2 (Cotton paper and epoxy), CEM-3 (Woven glass and epoxy), CEM-4 (Woven glass and epoxy), CEM-5 (Woven glass and polyester).
A PCB as a design on a computer (left) and realized as a board assembly with populated components (right). The board is double sided, with through-hole plating, green solder resist, and white silkscreen printing. Both surface mount and through-hole components have been used.

Typical density of a raw PCB (an average amount of traces, holes, and via’s, with no components) is 2.15g / cm3.
Patterning (etching)

The vast majority of printed circuit boards are made by bonding a layer of copper over the entire substrate, sometimes on both sides, (creating a “blank PCB”) then removing unwanted copper after applying a temporary mask (eg. by etching), leaving only the desired copper traces. A few PCBs are made by adding traces to the bare substrate (or a substrate with a very thin layer of copper) usually by a complex process of multiple electroplating steps.

There are three common “subtractive” methods (methods that remove copper) used for the production of printed circuit boards:

1. Silk screen printing uses etch-resistant inks to protect the copper foil. Subsequent etching removes the unwanted copper. Alternatively, the ink may be conductive, printed on a blank (non-conductive) board. The latter technique is also used in the manufacture of hybrid circuits.
2. Photoengraving uses a photomask and chemical etching to remove the copper foil from the substrate. The photomask is usually prepared with a photoplotter from data produced by a technician using CAM, or computer-aided manufacturing software. Laser-printed transparencies are typically employed for phototools; however, direct laser imaging techniques are being employed to replace phototools for high-resolution requirements.
3. PCB milling uses a two or three-axis mechanical milling system to mill away the copper foil from the substrate. A PCB milling machine (referred to as a ‘PCB Prototyper’) operates in a similar way to a plotter, receiving commands from the host software that control the position of the milling head in the x, y, and (if relevant) z axis. Data to drive the Prototyper is extracted from files generated in PCB design software and stored in HPGL or Gerber file format.

“Additive” processes also exist. The most common is the “semi-additive” process. In this version, the unpatterned board has a thin layer of copper already on it. A reverse mask is then applied. (Unlike a subtractive process mask, this mask exposes those parts of the substrate that will eventually become the traces.) Additional copper is then plated onto the board in the unmasked areas; copper may be plated to any desired weight. Tin-lead or other surface platings are then applied. The mask is stripped away and a brief etching step removes the now-exposed original copper laminate from the board, isolating the individual traces.

The additive process is commonly used for multi-layer boards as it facilitates the plating-through of the holes (to produce conductive vias) in the circuit board.
Lamination

Some PCBs have trace layers inside the PCB and are called multi-layer PCBs. These are formed by bonding together separately etched thin boards.
Drilling

Holes through a PCB are typically drilled with tiny drill bits made of solid tungsten carbide. The drilling is performed by automated drilling machines with placement controlled by a drill tape or drill file. These computer-generated files are also called numerically controlled drill (NCD) files or “Excellon files”. The drill file describes the location and size of each drilled hole. These holes are often filled with annular rings to create vias. Vias allow the electrical and thermal connection of conductors on opposite sides of the PCB.

When very small vias are required, drilling with mechanical bits is costly because of high rates of wear and breakage. In this case, the vias may be evaporated by lasers. Laser-drilled vias typically have an inferior surface finish inside the hole. These holes are called micro vias.

It is also possible with controlled-depth drilling, laser drilling, or by pre-drilling the individual sheets of the PCB before lamination, to produce holes that connect only some of the copper layers, rather than passing through the entire board. These holes are called blind vias when they connect an internal copper layer to an outer layer, or buried vias when they connect two or more internal copper layers and no outer layers.

The walls of the holes, for boards with 2 or more layers, are plated with copper to form plated-through holes that electrically connect the conducting layers of the PCB. For multilayer boards, those with 4 layers or more, drilling typically produces a smear comprised of the bonding agent in the laminate system. Before the holes can be plated through, this smear must be removed by a chemical de-smear process, or by plasma-etch.
Exposed conductor plating and coating

The places to which components will be mounted are typically plated, because bare copper oxidizes quickly, and therefore is not readily solderable. Traditionally, any exposed copper was plated with solder by hot air solder levelling (HASL). This solder was a tin-lead alloy, however new solder compounds are now used to achieve compliance with the RoHS directive in the EU, which restricts the use of lead. One of these lead-free compounds is SN100CL, made up of 99.3% tin, 0.7% copper, 0.05% nickel, and a nominal of 60ppm germanium.

Other platings used are OSP (organic surface protectant), immersion silver (IAg), immersion tin, electroless nickel with immersion gold coating (ENIG), and direct gold. Edge connectors, placed along one edge of some boards, are often gold plated.

Electrochemical migration (ECM) is the growth of conductive metal filaments on or in a printed circuit board (PCB) under the influence of a DC voltage bias.[1][2]
Solder resist

Areas that should not be soldered to may be covered with a polymer solder resist (solder mask) coating. The solder resist prevents solder from bridging between conductors and thereby creating short circuits. Solder resist also provides some protection from the environment. Solder resist is typically 20-30 microns thick.
Screen printing

Line art and text may be printed onto the outer surfaces of a PCB by screen printing. When space permits, the screen print text can indicate component designators, switch setting requirements, test points, and other features helpful in assembling, testing, and servicing the circuit board.

Screen print is also known as the silk screen, or, in one sided PCBs, the red print.

Lately some digital printing solutions have been developed to substitute the traditional screen printing process. This technology allows printing variable data onto the PCB, including serialization and barcode information for traceability purposes.
Test

Unpopulated boards may be subjected to a bare-board test where each circuit connection (as defined in a netlist) is verified as correct on the finished board. For high-volume production, a Bed of nails tester, a fixture or a Rigid needle adapter is used to make contact with copper lands or holes on one or both sides of the board to facilitate testing. A computer will instruct the electrical test unit to apply a small voltage to each contact point on the bed-of-nails as required, and verify that such voltage appears at other appropriate contact points. A “short” on a board would be a connection where there should not be one; an “open” is between two points that should be connected but are not. For small- or medium-volume boards, flying-probe and flying-grid testers use moving test heads to make contact with the copper/silver/gold/solder lands or holes to verify the electrical connectivity of the board under test.
Printed circuit assembly

After the printed circuit board (PCB) is completed, electronic components must be attached to form a functional printed circuit assembly[3][4], or PCA (sometimes called a “printed circuit board assembly” PCBA). In through-hole construction, component leads are inserted in holes. In surface-mount construction, the components are placed on pads or lands on the outer surfaces of the PCB. In both kinds of construction, component leads are electrically and mechanically fixed to the board with a molten metal solder.

There are a variety of soldering techniques used to attach components to a PCB. High volume production is usually done with machine placement and bulk wave soldering or reflow ovens, but skilled technicians are able to solder very tiny parts (for instance 0201 packages which are 0.02″ by 0.01″) by hand under a microscope, using tweezers and a fine tip soldering iron for small volume prototypes. Some parts are impossible to solder by hand, such as ball grid array (BGA) packages.

Often, through-hole and surface-mount construction must be combined in a single PCA because some required components are available only in surface-mount packages, while others are available only in through-hole packages. Another reason to use both methods is that through-hole mounting can provide needed strength for components likely to endure physical stress, while components that are expected to go untouched will take up less space using surface-mount techniques.

After the board has been populated it may be tested in a variety of ways:

* While the power is off, visual inspection, automated optical inspection. JEDEC guidelines for PCB component placement, soldering, and inspection are commonly used to maintain quality control in this stage of PCB manufacturing.

* While the power is off, analog signature analysis, power-off testing.

* While the power is on, in-circuit test, where physical measurements (i.e. voltage, frequency) can be done.

* While the power is on, functional test, just checking if the PCB does what it had been designed for.

To facilitate these tests, PCBs may be designed with extra pads to make temporary connections. Sometimes these pads must be isolated with resistors. The in-circuit test may also exercise boundary scan test features of some components. In-circuit test systems may also be used to program nonvolatile memory components on the board.

In boundary scan testing, test circuits integrated into various ICs on the board form temporary connections between the PCB traces to test that the ICs are mounted correctly. Boundary scan testing requires that all the ICs to be tested use a standard test configuration procedure, the most common one being the Joint Test Action Group (JTAG) standard.

When boards fail the test, technicians may desolder and replace failed components, a task known as “rework”.
Protection and packaging

PCBs intended for extreme environments often have a conformal coating, which is applied by dipping or spraying after the components have been soldered. The coat prevents corrosion and leakage currents or shorting due to condensation. The earliest conformal coats were wax. Modern conformal coats are usually dips of dilute solutions of silicone rubber, polyurethane, acrylic, or epoxy. Some are engineering plastics sputtered onto the PCB in a vacuum chamber.

Many assembled PCBs are static sensitive, and therefore must be placed in antistatic bags during transport. When handling these boards, the user must be earthed; failure to do this might transmit an accumulated static charge through the board, damaging or destroying it. Even bare boards are sometimes static sensitive. Traces have become so fine that it’s quite possible to blow an etch off the board (or change its characteristics) with a static charge. This is especially true on non-traditional PCBs such as MCMs and microwave PCBs.
Design

* Schematic capture or schematic entry is done through an EDA tool.
* Card dimensions and template are decided based on required circuitry and case of the PCB. Determine the fixed components and heat sinks if required.
* Deciding stack layers of the PCB. 4 to 12 layers or more depending on design complexity. Ground plane and Power plane are decided. Signal planes where signals are routed are in top layer as well as internal layers.[5]
* Line impedance determination using dielectric layer thickness, routing copper thickness and trace-width. Trace separation also taken into account in case of differential signals. Microstrip, stripline or dual stripline can be used to route signals.
* Placement of the components. Thermal considerations and geometry are taken into account. Vias and lands are marked.
* Routing the signal trace. For optimal EMI performance high frequency signals are routed in internal layers between power or ground planes as power plane behaves as ground for AC.
* Gerber File generation for manufacturing.

Safety certification (US)

Safety Standard UL 796 covers component safety requirements for printed wiring boards for use as components in devices or appliances. Testing analyzes characteristics such as flammability, maximum operating temperature, electrical tracking, heat deflection, and direct support of live electrical parts.

The boards may use organic or inorganic base materials in a single or multilayer, rigid or flexible form. Circuitry construction may include etched, die stamped, precut, flush press, additive, and plated conductor techniques. Printed-component parts may be used.

The suitability of the pattern parameters, temperature and maximum solder limits shall be determined in accordance with the applicable end-product construction and requirements.
“Cordwood” construction
A cordwood module.

Cordwood construction can give large space-saving advantages and was often used with wire-ended components in applications where space was at a premium (such as missile guidance and telemetry systems). In ‘cordwood’ construction, two leaded components are mounted axially between two parallel planes. Instead of soldering the components, they were connected to other components by thin nickel tapes welded at right angles onto the component leads. To avoid shorting together of different interconnection layers, thin insulating cards were placed between them. Perforations or holes in the cards would allow component leads to project through to the next interconnection layer. One disadvantage of this system was that special nickel leaded components had to be used to allow the interconnecting welds to be made. Some versions of cordwood construction used single sided PCBs as the interconnection method (as pictured). This meant that normal leaded components could be used.

Before the advent of integrated circuits, this method allowed the highest possible component packing density; because of this, it was used by a number of computer vendors including Control Data Corporation. The cordwood method of construction now appears to have fallen into disuse, probably because high packing densities can be more easily achieved using surface mount techniques and integrated circuits.
Multiwire boards

Multiwire is a patented technique of interconnection which uses machine-routed insulated wires embedded in a non-conducting matrix (often plastic resin). It was used during the 1980s and 1990s. (Augat Inc., U.S. Patent 4,648,180)

Since it was quite easy to stack interconnections (wires) inside the embedding matrix, the approach allowed designers to forget completely about the routing of wires (usually a time-consuming operation of PCB design): Anywhere the designer needs a connection, the machine will draw a wire in straight line from one location/pin to another. This led to very short design times (no complex algorithms to use even for high density designs) as well as reduced crosstalk (which is worse when wires run parallel to each other, which almost never happens in Multiwire), though the cost is too high to compete with cheaper PCB technologies when large quantities are needed.

Surface-mount technology

Surface-mount technology emerged in the 1960s, gained momentum in the early 1980s and became widely used by the mid 1990s. Components were mechanically redesigned to have small metal tabs or end caps that could be soldered directly on to the PCB surface. Components became much smaller and component placement on both sides of the board became more common than with through-hole mounting, allowing much higher circuit densities. Surface mounting lends itself well to a high degree of automation, reducing labour costs and greatly increasing production and quality rates. Carrier Tapes provide a stable and protective environment for Surface mount devices (SMDs) which may can be one-quarter to one-tenth of the size and weight, and passive components can be one-half to one-quarter of the cost of corresponding through-hole parts. However, integrated circuits are often priced the same regardless of the package type, because the chip itself is the most expensive part. As of 2006, some wire-ended components, such as small-signal switch diodes, e.g. 1N4148, are actually significantly cheaper than corresponding SMD versions.A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using conductive pathways, or traces, etched from copper sheets laminated onto a non-conductive substrate. It is also referred to as printed wiring board (PWB) or etched wiring board. A PCB populated with electronic components is a printed circuit assembly (PCA), also known as a printed circuit board assembly (PCBA).

PCBs are rugged, inexpensive, and can be highly reliable. They require much more layout effort and higher initial cost than either wire-wrapped or point-to-point constructed circuits, but are much cheaper and faster for high-volume production. Much of the electronics industry’s PCB design, assembly, and quality control needs are set by standards that are published by the IPC organization.

History

The inventor of the printed circuit was the Austrian engineer Paul Eisler (1907–1995) who, while working in England, made one circa 1936 as part of a radio set. Around 1943 the USA began to use the technology on a large scale to make rugged radios for use in World War II. After the war, in 1948, the USA released the invention for commercial use. Printed circuits did not become commonplace in consumer electronics until the mid-1950s, after the Auto-Sembly process was developed by the United States Army.

Before printed circuits (and for a while after their invention), point-to-point construction was used. For prototypes, or small production runs, wire wrap or turret board can be more efficient.

Originally, every electronic component had wire leads, and the PCB had holes drilled for each wire of each component. The components’ leads were then passed through the holes and soldered to the PCB trace. This method of assembly is called through-hole construction. In 1949, Moe Abramson and Stanislaus F. Danko of the United States Army Signal Corps developed the Auto-Sembly process in which component leads were inserted into a copper foil interconnection pattern and dip soldered. With the development of board lamination and etching techniques, this concept evolved into the standard printed circuit board fabrication process in use today. Soldering could be done automatically by passing the board over a ripple, or wave, of molten solder in a wave-soldering machine. However, the wires and holes are wasteful since drilling holes is expensive and the protruding wires are merely cut off.

In recent years, the use of surface mount parts has gained popularity as the demand for smaller electronics packaging and greater functionality has grown.

Manufacturing

Materials

Conducting layers are typically made of thin copper foil. Insulating layers dielectric are typically laminated together with epoxy resin prepreg. The board is typically coated with a solder mask that is green in color. Other colors that are normally available are blue and red. There are quite a few different dielectrics that can be chosen to provide different insulating values depending on the requirements of the circuit. Some of these dielectrics are polytetrafluoroethylene, FR-4, FR-1, CEM-1 or CEM-3. Well known prepreg materials used in the PCB industry are FR-2 (Phenolic cotton paper), FR-3 (Cotton paper and epoxy), FR-4 (Woven glass and epoxy), FR-5 (Woven glass and epoxy), FR-6 (Matte glass and polyester), G-10 (Woven glass and epoxy), CEM-1 (Cotton paper and epoxy), CEM-2 (Cotton paper and epoxy), CEM-3 (Woven glass and epoxy), CEM-4 (Woven glass and epoxy), CEM-5 (Woven glass and polyester).

A PCB as a design on a computer (left) and realized as a board assembly with populated components (right). The board is double sided, with through-hole plating, green solder resist, and white silkscreen printing. Both surface mount and through-hole components have been used.

Typical density of a raw PCB (an average amount of traces, holes, and via’s, with no components) is 2.15g / cm3.

Patterning (etching)

The vast majority of printed circuit boards are made by bonding a layer of copper over the entire substrate, sometimes on both sides, (creating a “blank PCB”) then removing unwanted copper after applying a temporary mask (eg. by etching), leaving only the desired copper traces. A few PCBs are made by adding traces to the bare substrate (or a substrate with a very thin layer of copper) usually by a complex process of multiple electroplating steps.

There are three common “subtractive” methods (methods that remove copper) used for the production of printed circuit boards:

1. Silk screen printing uses etch-resistant inks to protect the copper foil. Subsequent etching removes the unwanted copper. Alternatively, the ink may be conductive, printed on a blank (non-conductive) board. The latter technique is also used in the manufacture of hybrid circuits.

2. Photoengraving uses a photomask and chemical etching to remove the copper foil from the substrate. The photomask is usually prepared with a photoplotter from data produced by a technician using CAM, or computer-aided manufacturing software. Laser-printed transparencies are typically employed for phototools; however, direct laser imaging techniques are being employed to replace phototools for high-resolution requirements.

3. PCB milling uses a two or three-axis mechanical milling system to mill away the copper foil from the substrate. A PCB milling machine (referred to as a ‘PCB Prototyper’) operates in a similar way to a plotter, receiving commands from the host software that control the position of the milling head in the x, y, and (if relevant) z axis. Data to drive the Prototyper is extracted from files generated in PCB design software and stored in HPGL or Gerber file format.

“Additive” processes also exist. The most common is the “semi-additive” process. In this version, the unpatterned board has a thin layer of copper already on it. A reverse mask is then applied. (Unlike a subtractive process mask, this mask exposes those parts of the substrate that will eventually become the traces.) Additional copper is then plated onto the board in the unmasked areas; copper may be plated to any desired weight. Tin-lead or other surface platings are then applied. The mask is stripped away and a brief etching step removes the now-exposed original copper laminate from the board, isolating the individual traces.

The additive process is commonly used for multi-layer boards as it facilitates the plating-through of the holes (to produce conductive vias) in the circuit board.

Lamination

Some PCBs have trace layers inside the PCB and are called multi-layer PCBs. These are formed by bonding together separately etched thin boards.

Drilling

Holes through a PCB are typically drilled with tiny drill bits made of solid tungsten carbide. The drilling is performed by automated drilling machines with placement controlled by a drill tape or drill file. These computer-generated files are also called numerically controlled drill (NCD) files or “Excellon files”. The drill file describes the location and size of each drilled hole. These holes are often filled with annular rings to create vias. Vias allow the electrical and thermal connection of conductors on opposite sides of the PCB.

When very small vias are required, drilling with mechanical bits is costly because of high rates of wear and breakage. In this case, the vias may be evaporated by lasers. Laser-drilled vias typically have an inferior surface finish inside the hole. These holes are called micro vias.

It is also possible with controlled-depth drilling, laser drilling, or by pre-drilling the individual sheets of the PCB before lamination, to produce holes that connect only some of the copper layers, rather than passing through the entire board. These holes are called blind vias when they connect an internal copper layer to an outer layer, or buried vias when they connect two or more internal copper layers and no outer layers.

The walls of the holes, for boards with 2 or more layers, are plated with copper to form plated-through holes that electrically connect the conducting layers of the PCB. For multilayer boards, those with 4 layers or more, drilling typically produces a smear comprised of the bonding agent in the laminate system. Before the holes can be plated through, this smear must be removed by a chemical de-smear process, or by plasma-etch.

Exposed conductor plating and coating

The places to which components will be mounted are typically plated, because bare copper oxidizes quickly, and therefore is not readily solderable. Traditionally, any exposed copper was plated with solder by hot air solder levelling (HASL). This solder was a tin-lead alloy, however new solder compounds are now used to achieve compliance with the RoHS directive in the EU, which restricts the use of lead. One of these lead-free compounds is SN100CL, made up of 99.3% tin, 0.7% copper, 0.05% nickel, and a nominal of 60ppm germanium.

Other platings used are OSP (organic surface protectant), immersion silver (IAg), immersion tin, electroless nickel with immersion gold coating (ENIG), and direct gold. Edge connectors, placed along one edge of some boards, are often gold plated.

Electrochemical migration (ECM) is the growth of conductive metal filaments on or in a printed circuit board (PCB) under the influence of a DC voltage bias.[1][2]

Solder resist

Areas that should not be soldered to may be covered with a polymer solder resist (solder mask) coating. The solder resist prevents solder from bridging between conductors and thereby creating short circuits. Solder resist also provides some protection from the environment. Solder resist is typically 20-30 microns thick.

Screen printing

Line art and text may be printed onto the outer surfaces of a PCB by screen printing. When space permits, the screen print text can indicate component designators, switch setting requirements, test points, and other features helpful in assembling, testing, and servicing the circuit board.

Screen print is also known as the silk screen, or, in one sided PCBs, the red print.

Lately some digital printing solutions have been developed to substitute the traditional screen printing process. This technology allows printing variable data onto the PCB, including serialization and barcode information for traceability purposes.

Test

Unpopulated boards may be subjected to a bare-board test where each circuit connection (as defined in a netlist) is verified as correct on the finished board. For high-volume production, a Bed of nails tester, a fixture or a Rigid needle adapter is used to make contact with copper lands or holes on one or both sides of the board to facilitate testing. A computer will instruct the electrical test unit to apply a small voltage to each contact point on the bed-of-nails as required, and verify that such voltage appears at other appropriate contact points. A “short” on a board would be a connection where there should not be one; an “open” is between two points that should be connected but are not. For small- or medium-volume boards, flying-probe and flying-grid testers use moving test heads to make contact with the copper/silver/gold/solder lands or holes to verify the electrical connectivity of the board under test.

Printed circuit assembly

After the printed circuit board (PCB) is completed, electronic components must be attached to form a functional printed circuit assembly[3][4], or PCA (sometimes called a “printed circuit board assembly” PCBA). In through-hole construction, component leads are inserted in holes. In surface-mount construction, the components are placed on pads or lands on the outer surfaces of the PCB. In both kinds of construction, component leads are electrically and mechanically fixed to the board with a molten metal solder.

There are a variety of soldering techniques used to attach components to a PCB. High volume production is usually done with machine placement and bulk wave soldering or reflow ovens, but skilled technicians are able to solder very tiny parts (for instance 0201 packages which are 0.02″ by 0.01″) by hand under a microscope, using tweezers and a fine tip soldering iron for small volume prototypes. Some parts are impossible to solder by hand, such as ball grid array (BGA) packages.

Often, through-hole and surface-mount construction must be combined in a single PCA because some required components are available only in surface-mount packages, while others are available only in through-hole packages. Another reason to use both methods is that through-hole mounting can provide needed strength for components likely to endure physical stress, while components that are expected to go untouched will take up less space using surface-mount techniques.

After the board has been populated it may be tested in a variety of ways:

* While the power is off, visual inspection, automated optical inspection. JEDEC guidelines for PCB component placement, soldering, and inspection are commonly used to maintain quality control in this stage of PCB manufacturing.

* While the power is off, analog signature analysis, power-off testing.

* While the power is on, in-circuit test, where physical measurements (i.e. voltage, frequency) can be done.

* While the power is on, functional test, just checking if the PCB does what it had been designed for.

To facilitate these tests, PCBs may be designed with extra pads to make temporary connections. Sometimes these pads must be isolated with resistors. The in-circuit test may also exercise boundary scan test features of some components. In-circuit test systems may also be used to program nonvolatile memory components on the board.

In boundary scan testing, test circuits integrated into various ICs on the board form temporary connections between the PCB traces to test that the ICs are mounted correctly. Boundary scan testing requires that all the ICs to be tested use a standard test configuration procedure, the most common one being the Joint Test Action Group (JTAG) standard.

When boards fail the test, technicians may desolder and replace failed components, a task known as “rework”.

Protection and packaging

PCBs intended for extreme environments often have a conformal coating, which is applied by dipping or spraying after the components have been soldered. The coat prevents corrosion and leakage currents or shorting due to condensation. The earliest conformal coats were wax. Modern conformal coats are usually dips of dilute solutions of silicone rubber, polyurethane, acrylic, or epoxy. Some are engineering plastics sputtered onto the PCB in a vacuum chamber.

Many assembled PCBs are static sensitive, and therefore must be placed in antistatic bags during transport. When handling these boards, the user must be earthed; failure to do this might transmit an accumulated static charge through the board, damaging or destroying it. Even bare boards are sometimes static sensitive. Traces have become so fine that it’s quite possible to blow an etch off the board (or change its characteristics) with a static charge. This is especially true on non-traditional PCBs such as MCMs and microwave PCBs.

Design

* Schematic capture or schematic entry is done through an EDA tool.

* Card dimensions and template are decided based on required circuitry and case of the PCB. Determine the fixed components and heat sinks if required.

* Deciding stack layers of the PCB. 4 to 12 layers or more depending on design complexity. Ground plane and Power plane are decided. Signal planes where signals are routed are in top layer as well as internal layers.[5]

* Line impedance determination using dielectric layer thickness, routing copper thickness and trace-width. Trace separation also taken into account in case of differential signals. Microstrip, stripline or dual stripline can be used to route signals.

* Placement of the components. Thermal considerations and geometry are taken into account. Vias and lands are marked.

* Routing the signal trace. For optimal EMI performance high frequency signals are routed in internal layers between power or ground planes as power plane behaves as ground for AC.

* Gerber File generation for manufacturing.

Safety certification (US)

Safety Standard UL 796 covers component safety requirements for printed wiring boards for use as components in devices or appliances. Testing analyzes characteristics such as flammability, maximum operating temperature, electrical tracking, heat deflection, and direct support of live electrical parts.

The boards may use organic or inorganic base materials in a single or multilayer, rigid or flexible form. Circuitry construction may include etched, die stamped, precut, flush press, additive, and plated conductor techniques. Printed-component parts may be used.

The suitability of the pattern parameters, temperature and maximum solder limits shall be determined in accordance with the applicable end-product construction and requirements.

“Cordwood” construction

A cordwood module.

Cordwood construction can give large space-saving advantages and was often used with wire-ended components in applications where space was at a premium (such as missile guidance and telemetry systems). In ‘cordwood’ construction, two leaded components are mounted axially between two parallel planes. Instead of soldering the components, they were connected to other components by thin nickel tapes welded at right angles onto the component leads. To avoid shorting together of different interconnection layers, thin insulating cards were placed between them. Perforations or holes in the cards would allow component leads to project through to the next interconnection layer. One disadvantage of this system was that special nickel leaded components had to be used to allow the interconnecting welds to be made. Some versions of cordwood construction used single sided PCBs as the interconnection method (as pictured). This meant that normal leaded components could be used.

Before the advent of integrated circuits, this method allowed the highest possible component packing density; because of this, it was used by a number of computer vendors including Control Data Corporation. The cordwood method of construction now appears to have fallen into disuse, probably because high packing densities can be more easily achieved using surface mount techniques and integrated circuits.

Multiwire boards

Multiwire is a patented technique of interconnection which uses machine-routed insulated wires embedded in a non-conducting matrix (often plastic resin). It was used during the 1980s and 1990s. (Augat Inc., U.S. Patent 4,648,180)

Since it was quite easy to stack interconnections (wires) inside the embedding matrix, the approach allowed designers to forget completely about the routing of wires (usually a time-consuming operation of PCB design): Anywhere the designer needs a connection, the machine will draw a wire in straight line from one location/pin to another. This led to very short design times (no complex algorithms to use even for high density designs) as well as reduced crosstalk (which is worse when wires run parallel to each other, which almost never happens in Multiwire), though the cost is too high to compete with cheaper PCB technologies when large quantities are needed.

Surface-mount technology

Surface-mount technology emerged in the 1960s, gained momentum in the early 1980s and became widely used by the mid 1990s. Components were mechanically redesigned to have small metal tabs or end caps that could be soldered directly on to the PCB surface. Components became much smaller and component placement on both sides of the board became more common than with through-hole mounting, allowing much higher circuit densities. Surface mounting lends itself well to a high degree of automation, reducing labour costs and greatly increasing production and quality rates. Carrier Tapes provide a stable and protective environment for Surface mount devices (SMDs) which may can be one-quarter to one-tenth of the size and weight, and passive components can be one-half to one-quarter of the cost of corresponding through-hole parts. However, integrated circuits are often priced the same regardless of the package type, because the chip itself is the most expensive part. As of 2006, some wire-ended components, such as small-signal switch diodes, e.g. 1N4148, are actually significantly cheaper than corresponding SMD versions.

A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using conductive pathways, or traces, etched from copper sheets laminated onto a non-conductive substrate. It is also referred to as printed wiring board (PWB) or etched wiring board. A PCB populated with electronic components is a printed circuit assembly (PCA), also known as a printed circuit board assembly (PCBA).

PCBs are rugged, inexpensive, and can be highly reliable. They require much more layout effort and higher initial cost than either wire-wrapped or point-to-point constructed circuits, but are much cheaper and faster for high-volume production. Much of the electronics industry’s PCB design, assembly, and quality control needs are set by standards that are published by the IPC organization.

History

The inventor of the printed circuit was the Austrian engineer Paul Eisler (1907–1995) who, while working in England, made one circa 1936 as part of a radio set. Around 1943 the USA began to use the technology on a large scale to make rugged radios for use in World War II. After the war, in 1948, the USA released the invention for commercial use. Printed circuits did not become commonplace in consumer electronics until the mid-1950s, after the Auto-Sembly process was developed by the United States Army.

Before printed circuits (and for a while after their invention), point-to-point construction was used. For prototypes, or small production runs, wire wrap or turret board can be more efficient.

Originally, every electronic component had wire leads, and the PCB had holes drilled for each wire of each component. The components’ leads were then passed through the holes and soldered to the PCB trace. This method of assembly is called through-hole construction. In 1949, Moe Abramson and Stanislaus F. Danko of the United States Army Signal Corps developed the Auto-Sembly process in which component leads were inserted into a copper foil interconnection pattern and dip soldered. With the development of board lamination and etching techniques, this concept evolved into the standard printed circuit board fabrication process in use today. Soldering could be done automatically by passing the board over a ripple, or wave, of molten solder in a wave-soldering machine. However, the wires and holes are wasteful since drilling holes is expensive and the protruding wires are merely cut off.

In recent years, the use of surface mount parts has gained popularity as the demand for smaller electronics packaging and greater functionality has grown.

Manufacturing

Materials

Conducting layers are typically made of thin copper foil. Insulating layers dielectric are typically laminated together with epoxy resin prepreg. The board is typically coated with a solder mask that is green in color. Other colors that are normally available are blue and red. There are quite a few different dielectrics that can be chosen to provide different insulating values depending on the requirements of the circuit. Some of these dielectrics are polytetrafluoroethylene, FR-4, FR-1, CEM-1 or CEM-3. Well known prepreg materials used in the PCB industry are FR-2 (Phenolic cotton paper), FR-3 (Cotton paper and epoxy), FR-4 (Woven glass and epoxy), FR-5 (Woven glass and epoxy), FR-6 (Matte glass and polyester), G-10 (Woven glass and epoxy), CEM-1 (Cotton paper and epoxy), CEM-2 (Cotton paper and epoxy), CEM-3 (Woven glass and epoxy), CEM-4 (Woven glass and epoxy), CEM-5 (Woven glass and polyester).

A PCB as a design on a computer (left) and realized as a board assembly with populated components (right). The board is double sided, with through-hole plating, green solder resist, and white silkscreen printing. Both surface mount and through-hole components have been used.

Typical density of a raw PCB (an average amount of traces, holes, and via’s, with no components) is 2.15g / cm3.

Patterning (etching)

The vast majority of printed circuit boards are made by bonding a layer of copper over the entire substrate, sometimes on both sides, (creating a “blank PCB”) then removing unwanted copper after applying a temporary mask (eg. by etching), leaving only the desired copper traces. A few PCBs are made by adding traces to the bare substrate (or a substrate with a very thin layer of copper) usually by a complex process of multiple electroplating steps.

There are three common “subtractive” methods (methods that remove copper) used for the production of printed circuit boards:

1. Silk screen printing uses etch-resistant inks to protect the copper foil. Subsequent etching removes the unwanted copper. Alternatively, the ink may be conductive, printed on a blank (non-conductive) board. The latter technique is also used in the manufacture of hybrid circuits.

2. Photoengraving uses a photomask and chemical etching to remove the copper foil from the substrate. The photomask is usually prepared with a photoplotter from data produced by a technician using CAM, or computer-aided manufacturing software. Laser-printed transparencies are typically employed for phototools; however, direct laser imaging techniques are being employed to replace phototools for high-resolution requirements.

3. PCB milling uses a two or three-axis mechanical milling system to mill away the copper foil from the substrate. A PCB milling machine (referred to as a ‘PCB Prototyper’) operates in a similar way to a plotter, receiving commands from the host software that control the position of the milling head in the x, y, and (if relevant) z axis. Data to drive the Prototyper is extracted from files generated in PCB design software and stored in HPGL or Gerber file format.

“Additive” processes also exist. The most common is the “semi-additive” process. In this version, the unpatterned board has a thin layer of copper already on it. A reverse mask is then applied. (Unlike a subtractive process mask, this mask exposes those parts of the substrate that will eventually become the traces.) Additional copper is then plated onto the board in the unmasked areas; copper may be plated to any desired weight. Tin-lead or other surface platings are then applied. The mask is stripped away and a brief etching step removes the now-exposed original copper laminate from the board, isolating the individual traces.

The additive process is commonly used for multi-layer boards as it facilitates the plating-through of the holes (to produce conductive vias) in the circuit board.

Lamination

Some PCBs have trace layers inside the PCB and are called multi-layer PCBs. These are formed by bonding together separately etched thin boards.

Drilling

Holes through a PCB are typically drilled with tiny drill bits made of solid tungsten carbide. The drilling is performed by automated drilling machines with placement controlled by a drill tape or drill file. These computer-generated files are also called numerically controlled drill (NCD) files or “Excellon files”. The drill file describes the location and size of each drilled hole. These holes are often filled with annular rings to create vias. Vias allow the electrical and thermal connection of conductors on opposite sides of the PCB.

When very small vias are required, drilling with mechanical bits is costly because of high rates of wear and breakage. In this case, the vias may be evaporated by lasers. Laser-drilled vias typically have an inferior surface finish inside the hole. These holes are called micro vias.

It is also possible with controlled-depth drilling, laser drilling, or by pre-drilling the individual sheets of the PCB before lamination, to produce holes that connect only some of the copper layers, rather than passing through the entire board. These holes are called blind vias when they connect an internal copper layer to an outer layer, or buried vias when they connect two or more internal copper layers and no outer layers.

The walls of the holes, for boards with 2 or more layers, are plated with copper to form plated-through holes that electrically connect the conducting layers of the PCB. For multilayer boards, those with 4 layers or more, drilling typically produces a smear comprised of the bonding agent in the laminate system. Before the holes can be plated through, this smear must be removed by a chemical de-smear process, or by plasma-etch.

Exposed conductor plating and coating

The places to which components will be mounted are typically plated, because bare copper oxidizes quickly, and therefore is not readily solderable. Traditionally, any exposed copper was plated with solder by hot air solder levelling (HASL). This solder was a tin-lead alloy, however new solder compounds are now used to achieve compliance with the RoHS directive in the EU, which restricts the use of lead. One of these lead-free compounds is SN100CL, made up of 99.3% tin, 0.7% copper, 0.05% nickel, and a nominal of 60ppm germanium.

Other platings used are OSP (organic surface protectant), immersion silver (IAg), immersion tin, electroless nickel with immersion gold coating (ENIG), and direct gold. Edge connectors, placed along one edge of some boards, are often gold plated.

Electrochemical migration (ECM) is the growth of conductive metal filaments on or in a printed circuit board (PCB) under the influence of a DC voltage bias.[1][2]

Solder resist

Areas that should not be soldered to may be covered with a polymer solder resist (solder mask) coating. The solder resist prevents solder from bridging between conductors and thereby creating short circuits. Solder resist also provides some protection from the environment. Solder resist is typically 20-30 microns thick.

Screen printing

Line art and text may be printed onto the outer surfaces of a PCB by screen printing. When space permits, the screen print text can indicate component designators, switch setting requirements, test points, and other features helpful in assembling, testing, and servicing the circuit board.

Screen print is also known as the silk screen, or, in one sided PCBs, the red print.

Lately some digital printing solutions have been developed to substitute the traditional screen printing process. This technology allows printing variable data onto the PCB, including serialization and barcode information for traceability purposes.

Test

Unpopulated boards may be subjected to a bare-board test where each circuit connection (as defined in a netlist) is verified as correct on the finished board. For high-volume production, a Bed of nails tester, a fixture or a Rigid needle adapter is used to make contact with copper lands or holes on one or both sides of the board to facilitate testing. A computer will instruct the electrical test unit to apply a small voltage to each contact point on the bed-of-nails as required, and verify that such voltage appears at other appropriate contact points. A “short” on a board would be a connection where there should not be one; an “open” is between two points that should be connected but are not. For small- or medium-volume boards, flying-probe and flying-grid testers use moving test heads to make contact with the copper/silver/gold/solder lands or holes to verify the electrical connectivity of the board under test.

Printed circuit assembly

After the printed circuit board (PCB) is completed, electronic components must be attached to form a functional printed circuit assembly[3][4], or PCA (sometimes called a “printed circuit board assembly” PCBA). In through-hole construction, component leads are inserted in holes. In surface-mount construction, the components are placed on pads or lands on the outer surfaces of the PCB. In both kinds of construction, component leads are electrically and mechanically fixed to the board with a molten metal solder.

There are a variety of soldering techniques used to attach components to a PCB. High volume production is usually done with machine placement and bulk wave soldering or reflow ovens, but skilled technicians are able to solder very tiny parts (for instance 0201 packages which are 0.02″ by 0.01″) by hand under a microscope, using tweezers and a fine tip soldering iron for small volume prototypes. Some parts are impossible to solder by hand, such as ball grid array (BGA) packages.

Often, through-hole and surface-mount construction must be combined in a single PCA because some required components are available only in surface-mount packages, while others are available only in through-hole packages. Another reason to use both methods is that through-hole mounting can provide needed strength for components likely to endure physical stress, while components that are expected to go untouched will take up less space using surface-mount techniques.

After the board has been populated it may be tested in a variety of ways:

* While the power is off, visual inspection, automated optical inspection. JEDEC guidelines for PCB component placement, soldering, and inspection are commonly used to maintain quality control in this stage of PCB manufacturing.

* While the power is off, analog signature analysis, power-off testing.

* While the power is on, in-circuit test, where physical measurements (i.e. voltage, frequency) can be done.

* While the power is on, functional test, just checking if the PCB does what it had been designed for.

To facilitate these tests, PCBs may be designed with extra pads to make temporary connections. Sometimes these pads must be isolated with resistors. The in-circuit test may also exercise boundary scan test features of some components. In-circuit test systems may also be used to program nonvolatile memory components on the board.

In boundary scan testing, test circuits integrated into various ICs on the board form temporary connections between the PCB traces to test that the ICs are mounted correctly. Boundary scan testing requires that all the ICs to be tested use a standard test configuration procedure, the most common one being the Joint Test Action Group (JTAG) standard.

When boards fail the test, technicians may desolder and replace failed components, a task known as “rework”.

Protection and packaging

PCBs intended for extreme environments often have a conformal coating, which is applied by dipping or spraying after the components have been soldered. The coat prevents corrosion and leakage currents or shorting due to condensation. The earliest conformal coats were wax. Modern conformal coats are usually dips of dilute solutions of silicone rubber, polyurethane, acrylic, or epoxy. Some are engineering plastics sputtered onto the PCB in a vacuum chamber.

Many assembled PCBs are static sensitive, and therefore must be placed in antistatic bags during transport. When handling these boards, the user must be earthed; failure to do this might transmit an accumulated static charge through the board, damaging or destroying it. Even bare boards are sometimes static sensitive. Traces have become so fine that it’s quite possible to blow an etch off the board (or change its characteristics) with a static charge. This is especially true on non-traditional PCBs such as MCMs and microwave PCBs.

Design

* Schematic capture or schematic entry is done through an EDA tool.

* Card dimensions and template are decided based on required circuitry and case of the PCB. Determine the fixed components and heat sinks if required.

* Deciding stack layers of the PCB. 4 to 12 layers or more depending on design complexity. Ground plane and Power plane are decided. Signal planes where signals are routed are in top layer as well as internal layers.[5]

* Line impedance determination using dielectric layer thickness, routing copper thickness and trace-width. Trace separation also taken into account in case of differential signals. Microstrip, stripline or dual stripline can be used to route signals.

* Placement of the components. Thermal considerations and geometry are taken into account. Vias and lands are marked.

* Routing the signal trace. For optimal EMI performance high frequency signals are routed in internal layers between power or ground planes as power plane behaves as ground for AC.

* Gerber File generation for manufacturing.

Safety certification (US)

Safety Standard UL 796 covers component safety requirements for printed wiring boards for use as components in devices or appliances. Testing analyzes characteristics such as flammability, maximum operating temperature, electrical tracking, heat deflection, and direct support of live electrical parts.

The boards may use organic or inorganic base materials in a single or multilayer, rigid or flexible form. Circuitry construction may include etched, die stamped, precut, flush press, additive, and plated conductor techniques. Printed-component parts may be used.

The suitability of the pattern parameters, temperature and maximum solder limits shall be determined in accordance with the applicable end-product construction and requirements.

“Cordwood” construction

A cordwood module.

Cordwood construction can give large space-saving advantages and was often used with wire-ended components in applications where space was at a premium (such as missile guidance and telemetry systems). In ‘cordwood’ construction, two leaded components are mounted axially between two parallel planes. Instead of soldering the components, they were connected to other components by thin nickel tapes welded at right angles onto the component leads. To avoid shorting together of different interconnection layers, thin insulating cards were placed between them. Perforations or holes in the cards would allow component leads to project through to the next interconnection layer. One disadvantage of this system was that special nickel leaded components had to be used to allow the interconnecting welds to be made. Some versions of cordwood construction used single sided PCBs as the interconnection method (as pictured). This meant that normal leaded components could be used.

Before the advent of integrated circuits, this method allowed the highest possible component packing density; because of this, it was used by a number of computer vendors including Control Data Corporation. The cordwood method of construction now appears to have fallen into disuse, probably because high packing densities can be more easily achieved using surface mount techniques and integrated circuits.

Multiwire boards

Multiwire is a patented technique of interconnection which uses machine-routed insulated wires embedded in a non-conducting matrix (often plastic resin). It was used during the 1980s and 1990s. (Augat Inc., U.S. Patent 4,648,180)

Since it was quite easy to stack interconnections (wires) inside the embedding matrix, the approach allowed designers to forget completely about the routing of wires (usually a time-consuming operation of PCB design): Anywhere the designer needs a connection, the machine will draw a wire in straight line from one location/pin to another. This led to very short design times (no complex algorithms to use even for high density designs) as well as reduced crosstalk (which is worse when wires run parallel to each other, which almost never happens in Multiwire), though the cost is too high to compete with cheaper PCB technologies when large quantities are needed.

Surface-mount technology

Surface-mount technology emerged in the 1960s, gained momentum in the early 1980s and became widely used by the mid 1990s. Components were mechanically redesigned to have small metal tabs or end caps that could be soldered directly on to the PCB surface. Components became much smaller and component placement on both sides of the board became more common than with through-hole mounting, allowing much higher circuit densities. Surface mounting lends itself well to a high degree of automation, reducing labour costs and greatly increasing production and quality rates. Carrier Tapes provide a stable and protective environment for Surface mount devices (SMDs) which may can be one-quarter to one-tenth of the size and weight, and passive components can be one-half to one-quarter of the cost of corresponding through-hole parts. However, integrated circuits are often priced the same regardless of the package type, because the chip itself is the most expensive part. As of 2006, some wire-ended components, such as small-signal switch diodes, e.g. 1N4148, are actually significantly cheaper than corresponding SMD versions.

Posted in InfoTech | Comments (0)

Key Tips For Securing Your Storage Network

October 5th, 2009 by Andrew Mitchell

The storage network is now of the utmost importance to any enterprise; not only does it hold essential data, the lifeblood of any organization, it also provides the capacity for running business-critical applications and services. Unfortunately, this makes the storage network a potential target for malicious attacks from outside the organization and also renders it vulnerable to accidental damage from within the company.

Storage security has never been more important than at the present time, when business and regulatory compliance demand confidential data security. Yet while a majority companies acknowledge that regulatory issues are an important driver in their storage investment, the issues that result from security breaches, such as financial loss and brand damage, can be just as serious as receiving a fine or legal action for non-compliance.

A carefully planned and well-executed security strategy throughout the enterprise is essential, so what should companies take into consideration to reduce the risk of data corruption and loss?

Don’t assume your data is secure

It is a common belief amongst business and technical personnel alike that because the storage network exists far from the many entry points and is not on an Internet Protocol (IP) network, that it doesn’t need additional security. This assumption is often what makes the storage network the weak link in the security chain. While your average employee may have little idea of how the storage environment operates or how to access key data, a malicious attacker will often take advantage of this attitude to the storage environment. Securing, hardening and frequently monitoring the storage system is crucial to prevent unauthorized individuals obtaining and potentially misusing valuable data.

Ensure your technical team understands the storage network

Storage networks are often looked upon as simple systems that merely provide data storage. This can lead to misconfiguration of the system making it vulnerable to accidental security breaches. Those in charge of the storage network need to understand how to secure all parts of the environment in order to prevent this. In a small or mid-sized business a lack of technical knowledge or training can result in perfectly adequate equipment operating without proper protection because one element has been left unsecured.

In larger enterprises it is also often the case that one or two experts administer storage security but a number of other technical personnel have access to the storage environment to carry out other tasks. There are cases where otherwise well-secured storage networks have been compromised by a technical team member ‘borrowing’ a cable from part of the storage network, having assumed it was an insignificant test environment, accidentally taking down part of the and leaving the entire system vulnerable. Implementing a company-wide labelling system of cables and other vital equipment will enable the relevant employees to see what they are being used for and whether or not they are safe to remove.

Secure the management network

The management network can serve as the easiest point of attack within a storage system as this is what allows control of the storage network environment. Often it is a simple box that acts as a bridge between the storage network and the company IP Local Area Network (LAN) and it is frequently improperly secured at the IP end. The management network should operate at the same security level as other entry points, as well as utilising controlled access management and authentication procedures to make unauthorized use as difficult as possible. This will prevent an opportunistic attacker from exploiting this common weakness.

Segregate security domains properly

It is now standard practice to separate and firewall the organisation’s network into appropriate security domains, ensuring that data can only be seen by authorized personnel. Unfortunately, in many cases the storage system is connected in an unprotected way to multiple networks throughout the enterprise. This means that a single attack on the storage system puts all networks at risk.

The solution is to install different servers and applications with different data sets and ensure that the storage volumes at the back end are protected from rogue applications and servers. If this is done incorrectly, a new box plugged into the network without the correct security installed may try to take ownership of the disks around it. This can potentially cause problems with overwriting and loss of valuable data.

Encrypt moving data

Encryption on disk storage is often a useful tool but many organisations are wary of the prospect of losing encryption keys and rendering their data useless. Yet the risks of this are far outweighed by the benefits when data is transferred to a portable device or tape. The potential for portable data to be lost by the carrier and get into the wrong hands is not such a scary prospect if it is impossible for that data to be viewed or used. Encrypting moving data should be an essential component of any organisation’s security strategy.

Align storage security with enterprise-wide security strategy

An effective security strategy will cover people and processes in addition to technology. Clear policies and procedures that are regularly enforced will encourage employees to realise that data security is their responsibility as well. Only 53% of firms have an internal policy for the security of data stored on mobile devices. This is a surprising statistic given recent reports of lost laptops, disks and USB keys. Companies need to apply and enforce security strategies which cover data-at-rest as well as data stored on mobile devices.

Advocate skills and knowledge sharing

Often storage administrators and the security team exist as separate divisions within an enterprise. This can mean the administrators have little knowledge of security best-practices and the security personnel do not have sufficient in-depth knowledge of storage to be able to see the weaknesses in the network. This can be the result of a lack of training, a territorial attitude or simply a lack of contact with one another. Cross-pollination of skills and knowledge is essential to prevent storage being the weak link in the security chain. Therefore, it is important for companies to promote these practices.

Electronic and logical security can be extremely effective in preventing malicious or accidental attacks on storage networks but this is only part of the story. Physically securing equipment is a frequently neglected part of storage security and some organisations have paid the price for this. Regularly reviewing storage security practices as part of the company’s overall strategy is fundamental to preventing attacks. For a large enterprise, include a review of how many people have keys to the data centre and how secure the room is; for a small or mid-sized enterprise, check that the keys to the storage rack haven’t been left in the lock. Taking time to remind all employees that an attacker doesn’t need to get through layers of electronic security to get hold of data if he or she can simply walk in and take it will pay dividends.

Following these tips will help you protect one of your most valuable assets: the data your company relies on to complete its mission-critical activities. Bear in mind that implementing a set of policies that help all employees in keeping company data secure is just as important as ensuring your technical team has taken the necessary steps to secure the data electronically.

Key Tips For Securing Your Storage Network

Posted in InfoTech | Comments (0)

Pages

Categories

Recent Posts

 

March 2010
M T W T F S S
« Dec    
1234567
891011121314
15161718192021
22232425262728
293031  

Archives