cuprio

What is solder mask?

Solder mask is the thin polymer coating, usually green, that covers a PCB's copper everywhere except the pads that will be soldered. It stops solder from bridging between pads and traces, protects copper from oxidation and handling, and adds insulation between conductors.

  • 2 min read
  • 6 sections
  • 4 sources

What is solder mask made of?

Most boards use liquid photoimageable (LPI) mask: it is coated over the board, exposed through the mask artwork and developed, so openings land accurately on the pads. JLCPCB uses LPI and offers green, purple, red, yellow, blue, white and black, with an ink thickness of at least 10 µm. PCBWay adds matte green and matte black. Mask color is not only cosmetic: the dark and white inks need wider dams, as below.

What is a solder mask dam, and how small can it be?

A dam, or web, is the strip of mask left between two neighboring pad openings. It is what prevents a solder bridge between fine-pitch pins. JLCPCB's minimum dam on 1 oz copper is 0.10 mm for green, red, yellow, blue and purple and 0.13 mm for black and white, rising to 0.20 mm on 2 oz copper. PCBWay quotes 4 mil (about 0.10 mm) for green and at least 4.5 mil for black and multicolor inks. If the gap between two pads is too narrow to hold a dam, the pads end up sharing one opening, so the dam rule is worth checking as soon as a fine-pitch part is chosen.

How much bigger than the pad should the opening be?

The opening is usually drawn the same size as the pad and adjusted by the fabricator. KiCad's documentation states that most commercial fabricators expect the global mask expansion to be zero and make their own adjustment in CAM, so it should normally be left at zero. JLCPCB's current laser direct imaging allows a 1:1 pad-to-opening ratio and asks for at least 0.09 mm between an opening and a neighboring trace. PCBWay's minimum opening margin is 2 mil.

Mask-defined or copper-defined pads?

On a non-solder-mask-defined (NSMD) pad the opening is larger than the copper, so the copper edge defines the pad. On a solder-mask-defined (SMD) pad the mask overlaps the copper. TI recommends NSMD pads for QFN and SON packages because copper etching is more accurate than mask registration and solder can anchor to the pad edges. TI gives typical NSMD openings of 0.1 to 0.14 mm larger than the pad, and for 0.5 mm pitch suggests one opening around each row of pads instead of individual dams.

Should vias be covered by mask?

Covering a via with mask is called tenting; it keeps solder and flux out of the hole and reduces shorts to nearby pads. KiCad lets each via follow the board rule or be forced tented or not tented. Vias inside pads need filling instead, see via-in-pad.

How is solder mask checked?

  • The mask ships as its own Gerber layer for each side; see Gerber files.
  • KiCad reports an error when one mask opening exposes copper from two different nets, because solder can short them during assembly.
  • Silkscreen that lands on a mask opening is flagged too, since fabricators may drop ink printed on bare copper. See silkscreen.
  • Mask also changes impedance on outer layers: JLCPCB models its mask with a dielectric constant of 3.8. See controlled impedance.

Sources

  1. JLCPCB: PCB Manufacturing & Assembly Capabilities

    LPI mask, colors, ink thickness, dam minimums by color and copper weight, 1:1 expansion, trace clearance, mask dielectric constant

    jlcpcb.com
  2. PCBWay: PCB Capabilities

    Mask colors, dam and opening minimums

    pcbway.com
  3. Texas Instruments: QFN and SON PCB Attachment (SLUA271C)

    NSMD versus SMD pads, opening size, 0.5 mm pitch guidance

    ti.com
  4. KiCad 9 Documentation: PCB Editor

    Mask expansion setting and zero default, via tenting, mask aperture and silkscreen DRC checks

    docs.kicad.org
Close view of the two-wheel robot controller, a board designed in Cuprio

Be first in when we open.

Start with 600 welcome credits and get 30% off your first 12 months.