Contamination and Corrosion Analysis
Contamination and corrosion represent major causes of electronic assembly failures, particularly in harsh operating environments. Unlike many failure modes that manifest immediately or during stress testing, contamination-related failures often develop gradually over time as chemical reactions progress and environmental factors take their toll. Understanding these degradation mechanisms and mastering the analytical techniques to identify them enables engineers to diagnose field failures accurately and implement effective preventive measures.
This article explores the mechanisms of contamination and corrosion in electronics, the analytical methods used to characterize these failures, and strategies for prevention. From ionic contamination testing to sophisticated surface analysis techniques, contamination and corrosion analysis provides critical insights into reliability-limiting factors in electronic assemblies.
Sources of Contamination
Contamination in electronics can originate from numerous sources throughout the product lifecycle, from component manufacturing through field operation.
Manufacturing Contamination
Production processes introduce various contaminants:
- Flux residues: Activators, organic acids, and halides remaining after soldering are among the most common contamination sources. Even "no-clean" fluxes leave residues that can cause problems in certain environments.
- Solder paste residues: Incomplete reflow or improper paste storage can leave active residues.
- Cleaning chemical residues: Improperly rinsed cleaning solutions leave ionic contamination.
- Handling contamination: Skin oils, fingerprints, lotions, and other handling residues introduce organic and ionic contaminants.
- Component contamination: Residues from component manufacturing or storage.
- Plating bath contamination: Drag-out from plating baths or inadequate rinsing.
No-clean flux deserves particular attention, because the name describes an intended process rather than an inert residue. No-clean chemistries are formulated so that reflow heat consumes or encapsulates the activators, leaving a benign residue. That assumption breaks down wherever the residue does not reach full reflow temperature: under low-standoff components, beneath connector bodies, at hand-soldered rework sites, and in selective soldering shadows. Partially activated residue in those locations is hygroscopic and ionic, and it sits precisely where cleaning solutions cannot easily reach either. A board that passes a bulk cleanliness measurement can therefore carry concentrated active residue in a few square millimeters that determine its field reliability.
Environmental Contamination
Operating environments expose assemblies to various contaminants:
- Atmospheric pollutants: Sulfur compounds, chlorine, and other airborne reactive species.
- Moisture: Water vapor provides the electrolyte necessary for electrochemical corrosion.
- Salt spray: Marine and coastal environments introduce chloride ions.
- Particulates: Dust and debris that may be hygroscopic or contain reactive species.
- Off-gassing: Volatile compounds released from packaging materials, enclosures, or nearby components.
Contamination from Adjacent Materials
Materials in contact with or near electronic assemblies can contribute contamination:
- Packaging materials: Sulfur-containing cardboard or paper, halogenated plastics, or materials treated with flame retardants.
- Adhesives and sealants: Outgassing of corrosive compounds, particularly from silicone materials releasing acetic acid.
- Labels and coatings: Adhesive residues or coating degradation products.
- Thermal interface materials: Some materials may release corrosive compounds when heated.
Corrosion Mechanisms in Electronics
Corrosion in electronics involves electrochemical reactions that degrade metallic conductors and connections. Several distinct mechanisms operate depending on materials, contaminants, and environmental conditions.
Electrochemical Corrosion Fundamentals
Basic corrosion requires:
- Anode: A metal surface undergoing oxidation (metal atoms lose electrons).
- Cathode: A surface where reduction occurs (electrons are consumed).
- Electrolyte: An ionic conduction path between anode and cathode, typically provided by moisture absorbed by hygroscopic contaminants.
- Electrical connection: A path for electron flow between anode and cathode.
The corrosion rate depends on the electrochemical potential difference between metals, electrolyte conductivity, temperature, and other factors. Removing any of the four requirements stops corrosion, which is why most practical countermeasures target the electrolyte: keep the surface clean, keep it dry, or keep water away from it behind a barrier.
Humidity governs whether that electrolyte exists at all. Many ionic residues are hygroscopic and deliquesce—absorb enough water vapor to dissolve into a saturated liquid film—above a characteristic relative humidity. Sodium chloride deliquesces near 75 percent relative humidity at room temperature, and several flux activator salts do so well below that. Beneath the deliquescence point of the residues actually present, the surface behaves as dry and leakage currents stay negligible; above it, a continuous conductive film forms and corrosion proceeds. This threshold behavior explains a common field pattern: an assembly runs for years without incident, then fails within weeks after being moved to a humid installation.
Galvanic Corrosion
When dissimilar metals are in contact with an electrolyte, the more active metal corrodes preferentially. In electronics, common galvanic couples include:
- Copper and tin: Solder joints on copper traces with flux residue electrolyte.
- Aluminum and copper: Wire bond or pad interfaces.
- Nickel and gold: Plated finishes with exposed nickel.
The galvanic series ranks metals by their electrochemical potential. Metals far apart in the series experience more severe galvanic corrosion when coupled.
Electrochemical Migration (ECM)
Electrochemical migration occurs when metal ions dissolve from an anodic conductor, migrate through an electrolyte film under an applied electric field, and deposit on or toward a cathodic conductor. This can form conductive dendrites that bridge insulating gaps and cause short circuits.
ECM requirements include:
- Bias voltage: DC potential difference between conductors.
- Moisture: Liquid water or high humidity to dissolve metal ions.
- Contamination: Ionic species that increase electrolyte conductivity.
- Susceptible metals: Silver is most prone, but copper, tin, lead, and other metals can migrate.
Silver migration is particularly problematic due to silver's high mobility and the stability of silver ions in solution. Even trace silver contamination from solder or component metallizations can cause failures.
Because the metal deposits at the cathode and grows back toward the anode, dendrites are directional, and their orientation is diagnostic. They are also fragile: a dendrite that bridges two conductors often carries enough current to fuse itself open, so early electrochemical migration presents as an intermittent fault that clears on power cycling and reappears as humidity returns.
Conductive Anodic Filament (CAF) Formation
CAF is a special form of electrochemical migration that occurs within PCB laminates. Copper ions migrate along the glass fiber/epoxy interface from anode to cathode, forming a conductive path through the board.
CAF formation is promoted by:
- Poor fiber-resin adhesion: Weak interfaces provide paths for ion transport.
- Moisture absorption: Water penetrating along interfaces enables ion transport.
- Contamination: Processing residues or absorbed contaminants lower electrolyte resistance.
- High via density: More opportunities for CAF initiation.
- Thin dielectrics: Shorter paths between conductors.
CAF can cause sudden shorts between vias, between vias and planes, or along other paths through the laminate. Once formed, CAF paths may be invisible from the board surface.
Because the failure is internal, CAF is qualified rather than inspected. IPC-TM-650 Method 2.6.25, the conductive anodic filament resistance test for the X-Y axis, biases dense via and trace structures in a hot, humid chamber for several hundred hours and watches for insulation resistance to collapse. IPC-9691 is the user guide for running and interpreting it, and the method underpins the CAF-resistant laminate grades specified in IPC-4101. The test method was written for bias voltages up to 100 V DC, a practical limitation now that electric-vehicle and industrial designs place higher potentials across comparable spacings.
Drilling quality matters as much as resin chemistry. Rough hole walls, smeared resin, and hole-wall separation created during drilling open the very fiber-resin interfaces along which filaments travel, so a laminate qualified as CAF resistant can still fail if the fabricator's drilling process degrades. This makes CAF a supplier and process problem as much as a material selection problem.
Creep Corrosion
Creep corrosion involves the growth of corrosion products across insulating surfaces from a corroding metal source. The corrosion products may be conductive enough to cause leakage or shorts.
Common in environments with sulfur contamination, creep corrosion affects:
- Copper: Forms copper sulfide (Cu2S) corrosion products that creep outward from exposed copper at solder mask edges and component terminations.
- Silver: Tarnishes readily to silver sulfide (Ag2S).
- Immersion silver finishes: Particularly susceptible, whereas lead-free HASL and tin finishes are comparatively resistant.
Creep corrosion is accelerated by sulfur-containing atmospheres, high humidity, and elevated temperatures. The risk is commonly bounded using gaseous-contamination reactivity classes. ANSI/ISA-71.04 sorts environments by the corrosion film that accumulates on exposed metal coupons, normalized to a 30-day exposure: G1 (mild) below roughly 300 angstroms of copper reactivity, G2 (moderate) below 1,000 angstroms, G3 (harsh) below 2,000 angstroms, and GX (severe) above that. The 2013 revision added silver reactivity as a required metric alongside copper, because sulfur-bearing atmospheres attack silver far more aggressively than a copper coupon alone reveals.
ASHRAE recommends holding data center environments to G1. Immersion silver assemblies are prone to creep corrode at G2 and worse, and installations using outdoor air for cooling in polluted regions have experienced significant creep corrosion, motivating gas-phase filtration and continuous corrosion-rate monitoring with metal coupons or quartz crystal sensors. Laboratory screening uses mixed flowing gas exposure to reproduce copper creep corrosion and a flowers-of-sulfur exposure—elemental sulfur vapor at elevated temperature—to reproduce silver sulfide growth, because the two attacks respond to different gas species and neither test substitutes for the other.
Tin Whiskers
Tin whiskers are crystalline metallic filaments that spontaneously grow from tin-finished surfaces. Although not strictly a corrosion phenomenon, tin whiskers share some characteristics with contamination-related failures and can cause shorts and reliability problems.
Whisker Growth Mechanisms
Tin whiskers grow to relieve compressive stress in tin plating. Stress sources include:
- Intermetallic formation: Copper-tin intermetallics growing at the interface create compressive stress in the tin.
- Coefficient of thermal expansion mismatch: Different expansion rates between tin and substrate.
- Mechanical stress: Bending, clamping, or connector insertion forces.
- Corrosion: Oxide formation on tin surfaces can promote whisker growth.
Most whiskers measure tens to hundreds of micrometers, but filaments several millimeters long have been documented, easily bridging conductor spacings on modern electronics. They are typically a few micrometers in diameter and carry only tens of milliamperes before fusing, so many whisker shorts are intermittent: the filament bridges, melts open, and the fault appears to clear itself. In vacuum or at low pressure the outcome is worse, because a fusing whisker can strike a metal vapor arc that sustains itself and draws far more current than the whisker alone could carry. That failure mode is why whisker risk is treated as a hard design constraint in spacecraft and high-altitude equipment.
Whiskers also nucleate only after an incubation period that can run from weeks to years and depends on the finish, the substrate, and the storage environment. A finish that shows no whiskers at delivery therefore proves very little about its behavior after a decade in the field.
Whisker Mitigation
Strategies to reduce tin whisker risk include:
- Alloying: A few percent of lead by weight is the one addition with a long and unambiguous record of suppressing whiskers, which is why the regulatory move to pure tin finishes reintroduced a risk the industry had largely forgotten. Results for substitutes such as bismuth are mixed and finish-specific, so alloy claims warrant test data rather than assumption.
- Nickel underlayer: A nickel barrier between copper and tin blocks the copper-tin intermetallic that grows into tin grain boundaries, removing the dominant source of compressive stress.
- Matte tin: Matte deposits have coarser grains, roughly 1 to 5 micrometers, and lower internal stress than bright tin, offering fewer nucleation sites. Bright tin, plated with organic brighteners that refine the grain and codeposit organics, is the worst common case.
- Annealing: A post-plating bake, commonly one hour at 150 °C applied soon after plating, relieves stress and stabilizes the grain structure. Reflowing or hot-dipping the tin achieves a similar result by melting and resolidifying the deposit.
- Conformal coating: Coatings constrain whisker growth and raise the voltage needed to bridge, but they do not eliminate the risk; whiskers can penetrate thin or poorly covered regions, so coating is a risk reduction rather than a cure.
- Design spacing: Maintaining adequate clearance between tin-plated surfaces, sized against the whisker lengths credible for the finish and service life.
Testing and program requirements are standardized. JESD22-A121 is the test method for measuring whisker growth on tin and tin alloy surface finishes, JESD201 defines environmental acceptance classes built on that method, and GEIA-STD-0005-2 provides the framework for a tin whisker risk management plan in aerospace and other high-performance systems. None of these prove that a finish will never whisker; they establish comparative risk against defined exposure conditions, which is the most that an incubating, stress-driven mechanism allows.
Contamination Testing Methods
Various analytical techniques characterize contamination levels and identify contaminant species.
Ionic Contamination Testing
Several methods quantify ionic contamination:
- ROSE (Resistivity of Solvent Extract): Measures bulk ionic contamination by extracting residues into a test solvent of 75 percent isopropyl alcohol and 25 percent deionized water by volume, then tracking the fall in the solvent's resistivity as ions dissolve. Results are expressed in micrograms of sodium chloride (NaCl) equivalent per square centimeter, per IPC-TM-650 Method 2.3.25, with Method 2.3.25.1 covering bare printed wiring boards. The familiar 1.56 µg/cm² threshold, inherited from military specifications written around rosin fluxes in the 1970s, remains a useful process-control indicator. Since revision G of IPC J-STD-001, however, that number on its own is not an acceptable basis for qualifying a process: bulk resistivity averages localized residues across the whole board and cannot distinguish benign species from aggressive ones, so qualification calls for additional objective evidence.
- Ion chromatography (IC): Identifies and quantifies specific ionic species such as chloride, bromide, sulfate, weak organic acids, and flux activators. Far more informative than ROSE because it reveals the type of contamination, enabling root cause identification rather than a single lumped number.
- C3 (Critical Cleanliness Control): A localized extraction technique (developed by Foresite) that isolates a small region of the board, measures the conductivity of the extract with a sacrificial electrode, and captures the effluent for follow-on ion chromatography. Because it samples a defined area rather than the whole assembly, it pinpoints where contamination resides.
Surface Analysis Techniques
Advanced surface analysis characterizes contamination composition and distribution:
- FTIR (Fourier Transform Infrared Spectroscopy): Identifies organic compounds including flux residues, oils, and polymeric contamination.
- XPS (X-ray Photoelectron Spectroscopy): Surface elemental composition and chemical state information.
- ToF-SIMS (Time-of-Flight Secondary Ion Mass Spectrometry): Extremely sensitive surface analysis identifying organic and inorganic species.
- SEM-EDS (Scanning Electron Microscopy with Energy Dispersive Spectroscopy): Imaging with elemental mapping of contamination deposits.
Environmental Testing
Tests that expose assemblies to controlled environments reveal susceptibility to contamination-related failures:
- Temperature-humidity-bias (THB): Extended exposure to elevated temperature and humidity with voltage applied reveals electrochemical migration susceptibility. The classic condition is 85 °C and 85 percent relative humidity under bias, per JESD22-A101.
- Surface insulation resistance (SIR): Continuous logging of the resistance between biased comb patterns during humid exposure, per IPC-TM-650 Method 2.6.3.7. IPC-9202 builds the measurement into a material and process qualification protocol using the IPC-B-52 standard test vehicle. A gradual decline in resistance signals a growing electrolyte film, while abrupt drops of several orders of magnitude, sometimes followed by recovery, are the signature of dendrites bridging and fusing.
- HAST (Highly Accelerated Stress Test): High temperature and humidity above atmospheric pressure, commonly 130 °C and 85 percent relative humidity, compressing months of THB exposure into days. JESD22-A110 covers the biased variant and JESD22-A118 the unbiased one.
- Mixed flowing gas (MFG): Exposure to controlled concentrations of corrosive gases—typically hydrogen sulfide (H2S), chlorine (Cl2), nitrogen dioxide (NO2), and in some severities sulfur dioxide (SO2)—at fixed temperature and humidity. IEC 60068-2-60 (Test Ke) and EIA-364-65 define the common mixtures and severity classes.
- Salt spray: Exposure to salt-laden mist per ASTM B117 for evaluating marine environment performance. It is a comparative screen rather than a life predictor, because its continuous wetting bears little resemblance to the wet-dry cycling of real service.
Analyzing Corrosion Failures
Failure analysis of corrosion-related problems requires systematic investigation to identify the failure mechanism and root cause.
Visual Examination
Initial visual inspection often reveals telltale signs:
- Discoloration: Color changes on metal surfaces indicating oxidation or corrosion product formation.
- Dendrites: Branching metallic growths between conductors.
- White residues: May indicate flux residue, corrosion products, or other contamination.
- Green or blue deposits: Copper corrosion products.
- Black tarnish: Silver sulfide formation.
Stereomicroscopy and optical microscopy at higher magnifications reveal finer details of corrosion patterns.
SEM Analysis
Scanning electron microscopy provides high-resolution imaging of corrosion features:
- Dendrite morphology: Crystal structure and growth patterns.
- Corrosion product identification: Composition via EDS analysis.
- Pit morphology: Shape and depth of corrosion pits.
- Tin whisker observation: Whisker length, density, and growth patterns.
Cross-Section Analysis
Metallographic cross-sectioning reveals subsurface corrosion:
- CAF paths: Internal corrosion channels through laminate.
- Underfilm corrosion: Corrosion beneath conformal coatings or solder mask.
- Via barrel corrosion: Internal corrosion of plated through-holes.
- Intermetallic growth: Characterizing interface conditions.
Chemical Analysis
Identifying contaminant species aids root cause determination:
- Ion chromatography: Quantifies specific ions like chloride, bromide, sulfate, and organic acids.
- FTIR: Identifies organic contaminants.
- XRF: Elemental screening of deposits.
- Micro-extraction: Localized sampling for analysis of specific residues.
Differentiating the Mechanisms
Several mechanisms produce superficially similar shorts, and their corrective actions differ sharply, so the analysis must separate them before any fix is proposed:
- Electrochemical migration: Branching dendrites on the surface, growing from the cathode back toward the anode and composed of the migrating metal in reduced form. Cleaning, coating, and conductor spacing address it.
- Creep corrosion: A continuous, spreading film of corrosion product, sulfur-rich under EDS and indifferent to bias polarity. Environmental filtration and surface finish selection address it.
- Conductive anodic filament: No surface evidence at all; the path appears only in cross-section, running along glass bundles inside the laminate. Laminate qualification and drilling process control address it.
- Tin whiskers: Single-crystal filaments of nearly uniform diameter, unbranched, growing from a tin surface without regard to the electric field. Finish specification and coating address them.
Three questions usually settle the identification: does the feature depend on bias polarity, what does EDS say about its composition, and does it survive gentle cleaning? Answering them early prevents the common error of cleaning a board more aggressively to solve a problem that cleaning cannot touch.
Conformal Coating Failures
Conformal coatings protect electronics from contamination and moisture, but coating failures can themselves cause reliability problems.
IPC-CC-830 qualifies the materials and groups them by chemistry: acrylic (AR), epoxy (ER), urethane (UR), silicone (SR), and vapor-deposited parylene (XY), with UV-curable formulations now widespread. Acceptable thickness ranges differ by type, running roughly 0.03 to 0.13 mm for acrylic, epoxy, and urethane, 0.05 to 0.21 mm for silicone, and 0.01 to 0.05 mm for parylene, because the chemistries differ in how they flow, cure, and stress the assembly. The choice is a trade-off rather than a ranking: acrylics rework easily but resist solvents poorly, epoxies are tough but nearly impossible to remove, silicones tolerate wide temperature swings but are soft and permeable, and parylene gives the most uniform pinhole-free coverage but requires a vacuum deposition chamber and cannot be selectively applied without masking.
Coating Failure Modes
Coatings fail in a small number of recurring ways, most of which end by admitting moisture rather than excluding it:
- Delamination: Loss of adhesion between coating and substrate allowing moisture ingress.
- Cracking: Brittle fracture from thermal stress, mechanical shock, or coating aging.
- Incomplete coverage: Areas left uncoated due to process problems or shadowing.
- Moisture permeation: All coatings have finite moisture permeability; some applications exceed coating capability.
- Contamination trapping: Coating applied over contamination seals the problem in place.
Coating Analysis
Evaluating conformal coating performance:
- Thickness measurement: Wet-film gauges during application, micrometer or eddy-current measurement on cured coupons, and cross-sectioning where the coating must be measured on the assembly itself.
- Coverage inspection: UV fluorescence for coatings carrying a fluorescent tracer; visual inspection under magnification for others. Shadowed areas beneath tall components and connector bodies deserve particular attention.
- Adhesion testing: Cross-hatch and tape pull testing per ASTM D3359, generally performed on witness coupons processed alongside production boards.
- FTIR analysis: Identifying coating material type and degradation.
Prevention Strategies
Preventing contamination and corrosion failures requires attention throughout the product lifecycle.
Design Considerations
Decisions made before the first board is built set the ceiling on achievable robustness:
- Material selection: Choosing compatible metallizations, avoiding problematic galvanic couples, and matching the surface finish to the expected gaseous-contamination class.
- Adequate spacing: Increased conductor spacing reduces electrochemical migration risk.
- Conformal coating specification: Appropriate coating selection for the application environment.
- Environmental protection: Enclosures, sealing, and environmental control for harsh environments.
Manufacturing Controls
Sound design is undone by uncontrolled process chemistry, so the factory carries much of the burden:
- Cleanliness specifications: Defining and verifying acceptable contamination levels.
- Process controls: Monitoring flux activity, cleaning effectiveness, and handling procedures.
- Material controls: Shelf life management, proper storage, and incoming inspection.
- Clean manufacturing environment: Air filtration, humidity control, and contamination-free materials.
Testing and Qualification
Testing closes the loop by confirming that the design and process choices actually deliver the intended margin:
- Ionic contamination testing: Routine verification of assembly cleanliness.
- Environmental stress testing: Temperature-humidity-bias testing to validate robustness.
- Accelerated corrosion testing: Mixed flowing gas or salt spray for high-reliability applications.
- Field return analysis: Monitoring field failures for corrosion-related problems.
Case Study: Electrochemical Migration Failure
A power supply assembly failed intermittently after several months of operation in a high-humidity environment. Analysis revealed:
- Visual inspection: Metallic growths observed between closely spaced traces on the control board.
- SEM-EDS analysis: Dendritic structures composed primarily of silver with some tin.
- Ion chromatography: Elevated chloride levels on the board surface, traced to flux residues.
- Root cause: No-clean flux residues combined with moisture provided electrolyte for silver migration from a silver-bearing solder alloy.
- Corrective action: Changed to a non-silver solder alloy, increased trace spacing in high-voltage areas, and implemented post-solder cleaning for improved robustness.
Summary
Contamination and corrosion represent significant reliability threats to electronic assemblies, particularly as miniaturization reduces conductor spacing and products operate in increasingly challenging environments. Understanding the sources of contamination, mechanisms of corrosion, and analytical techniques for characterizing these phenomena enables engineers to diagnose failures accurately and implement effective preventive measures.
Key concepts include recognizing the various contamination sources from manufacturing through field operation, understanding electrochemical corrosion mechanisms including electrochemical migration and CAF formation, and applying appropriate analytical methods from ionic contamination testing to advanced surface analysis. Prevention requires attention to design, manufacturing controls, appropriate protective measures, and testing to validate reliability.
As electronics continue to advance into harsher environments and higher reliability applications, contamination and corrosion analysis skills become increasingly valuable for ensuring long-term product performance.