Anders Bandt

Fine-pitch BGA layout and manufacture

Created on: 2024-12-23

Modified on: 2026-03-03 07:25:02

Scope: this article will discuss BGA technology. A basic introduction will be given, along with PCB design and soldering advice from personal experience

Introduction


Background

A ball grid array (BGA) package is a type of package that leverages a grid array of solder balls on the bottom of your IC package to make a connection to the PCB. The PCB footprint would look like a grid of exposed pads, and the device IC will have solder balls placed along the underside of the device.

When reflowed, the solder balls will melt and collapse into the pad below. Here is a nice no frills YouTube video of reflow happening on the BGA balls.

BGA technology is primarily used for high density devices. We can provide many more interconnection pins compared to packages with pins solely along the perimeter. High density devices are typically ones with very high pin counts, and often this is microcontrollers or processors that have many pins, but the technology can also be used for low-pin count devices that want to have the smallest PCB footprint possible.

Motivations

I was using BGA that had very small packages, both were meant for wearable devices.

  1. AFE4432, an ultrasmall integrated AFE for wearable optical biosensing
  2. BQ25120A, a BMS chip with loads of integrated features

The AFE4432 was the smaller of the two, with 25 pins in a 1.75 x 1.75 mm package. This is a pin to pin pitch of 0.35 mm. That's small!

The BQ25120A was larger, 25 pins in a 2.50mm x 2.50mm package. That's a pitch of 0.4mm.

3D rendering of the BQ25120A chip from TI

Resources


PCB board

It is very important that you realize manufacture of BGA boards IS NOT CHEAP! I got quotes up to the thousands of dollar range for a production run of only 5 boards. This price is mainly drive up through the very fine pitches and small features that are required for the PCB footprints. Like I mentioned earlier, the devices I was designing for had pitches of 0.35mm and 0.40 mm.

The main thing to keep in mind is this is a pretty technical manufacture process, and likely you'll be getting custom quotes from people. I eventually went with PCBWay (tried and true) and paid just short of 500 dollars for a quantity of 5 small 4-layer boards. I will discuss vendor selection and ordering in more detail in Challenges.

Tools needed

As far as tools for final assembly, you will need...

  • some high-quality flux
    • my favorite brand is MG Chemicals. Specifically for this I used some no clean flux paste #8341, but I'm sure many types would work
  • hot air soldering station or a reflow oven

I used a pretty worn down Hakko, which is still a nice soldering station but not the top of the line by any means. I also bought a used unit, and had to repair some leaks on the air hose.

A pic of the hot air soldering station I purchased off eBay. Only 115 bucks, a steal compared to the 700 retail they charge!

An alternative and equally viable solution is to use a proper reflow oven. These are sometimes tricky to get access too, as really I think there is just one hobbyist level design out there (could be wrong about that).

The T-962A, the most common hobbyist reflow oven I've seen. There are also clones available online, but they pretty much follow the same design

People also make them out of toasters with some custom heater element controls that can actually follow a reflow curve. My first two boards I used a reflow oven, and actually with the way I designed it I did not have success (more on that later).

I think both hot-air gun soldering and reflow oven are viable solutions. The main thing to keep in mind is that a regular soldering iron WILL NOT WORK. No exposed pads to solder on!

Design explanation


Scope

The main scope of this problem is a three-parter

  1. Physical footprint creation in ECAD software
  2. Getting the PCB properly manufactured
  3. Final assembly with the BGA parts

These are ordered in design-flow, as well as difficulty. Creating the footprint to desired specifications was the most difficult part, requiring the most research and going back to the drawing board after reading new information. The second hardest part was finding a vendor to manufacture the PCB, as it's a fairly advanced manufacturing process. I discuss that more in Challenges#PCB Manufacture.

And surprisingly, the easiest part was the actual assembly (soldering). I chalk that being the easiest part due to all the work put into steps 1 and 2. Some people may disagree with that stance, and I might be biased having a decent amount of hot-air soldering experience.

Process

Overall the complete process will look like this, from project definition to final assembly

  1. Pick BGA IC you need to assemble
  2. Define and create footprint
    1. this step may be skippable if for some reason your IC has an available footprint online, say from UltraLibrarian or SnapEDA
  3. Lay out PCB
  4. Find manufacturer
  5. Assemble boards (reflow)

Via in-pad

I need to explain another topic that is relevant to the discussion, and that is via in pad technology

The second one is the ability to do via-in pad technology This involves placing a via directly on top of a pad, as opposed of what normally happens where a PCB designer will route a small trace away from the pad. The reason vias are not normally placed on pads is they cause issues during assembly time. They will wick away all the solder from the joint down into the via.

Via in-pad on the left, with the conductive epoxy fill and the final capping to prevent soldering issues

Via-in pad technology solves this issue by backfilling the drilled via with an epoxy. This epoxy can sometimes be conductive or non-conductive, depending on the coefficient of thermal expansion of your laminate. I won't get into that here.

Potential issues

Because we have to create a via, and are dealing with very small packages there is a risk of issues during the PCB manufacture. The risk is dealing with annular ring, which refers to the radius between a hole (via) diamter and the diameter of the pad.

A picture is worth a thousand words, so refer to this diagram for what something good looks like

(Left) a good via, perfectly centered. (Center) shows a slight offset. (Right) shows complete breakout, the hole is outside the pad

With basic geometry and some simple tolerance math, you can see that your probability of breakout occurs as you increase your hole diameter, or decrease your pad size.

A graph of estimating the probability of breakout occuring across annular ring widths. This graph should probably just be used for explanation only, I'm sure it would actually differ a lot between manufacturers and how big your hole is (as annular ring is simply a relative measurement)

Footprint creation


At the start of this project, I had never created a footprint from scratch. My usual workflow was simple: find the part on Ultra Librarian, download the footprint, and move on. So I had to research what went into the finer details of creating custom footprints. To make matters worse, there is a lack of online information about BGA footprints, especially at the fine-pitch I was dealing with. These sources often had direct contradictions, forcing me to congregate all my information and make a guess on what best suited my design.

NSMD vs. SMD

Really the key piece of information to keep in mind is how you define your solder-mask relief. There are two main types of solder-mask relief, SMD (soldermask defined) and NSMD (non soldermask defined). To explain the difference in simple terms, SMD pads have the actual copper of the pad go under the soldermask a little bit. NSMD pads don't, with a slight gap between the copper edge and the start of your soldermask.

SMD pad. No gap between the soldermask and the edge of the pad.

NSMD pad. The gray area is the solder mask gap

The difference in pad types affects how the BGA balls will be soldered on. The two below images explain it visually.

Simple graphic showing how the BGA balls will sit on SMD vs. NSMD pads

Side view of how the BGA ball will sit on SMD vs. NSMD pads

For my application I decided to go with SMD (after much deliberation). There seems to be some debate about this topic and what is better. There are probably more clear tradeoffs that I can't clearly explain here.

The consensus I read is that NSMD is the general solution for BGA technology. This is because it allows tighter control of the copper etch process and a reduction in the stress concentration points on the PCB. However, I steered towards SMD after reading that SMD has an advantage for very fine-pitch BGA parts (< 0.4 mm pitch), which mine were. For the small, delicate pads that mine were SMD helps reduce the risk that they will peel off when they are heated.

3D rendering of what my final pinout looked like, vias and all

Computing math behind footprint

Here is the final values I used, for my 5x5 BGA device with 0.35mm pitch

Altium pad settings for my footprint pads

However, I'll jump ahead and note that my eventual PCB manufacturer couldn't actually meet these specification as is. When I sent my design files off, they informed me that they exposed area (yellow) was too small.

Image from the PCB vendor they attached along with their explanation of manufacturing challenges

They came back with two options.

The first was increase the amount of exposed copper from 6.6mil to 9 mil. This meant changing my solder mask expansion number from -0.05 mm to -0.0414mm.

The second was to turn the footprint into a NSMD pad, and making the solder mask 1 mil (0.0254 mm) bigger than the pad. However, they said because the pitch is so small, they likely would have recommended that I don't cover the whole part with solder mask (this constraint is known as solder mask sliver, and is a minumum value)

MATLAB script

I built a MATLAB script that helped me compute how my values stacked up compared to my specifications (DRC settings). This includes things like annular ring breakout (mentioned in Annular ring section).

%% DRC
copper_clearance_MIN = 3 % in mils
bga_diameter_MIN = 8 % in mils
annular_ring_MIN = 3 % in mils


%%%%%%%%%%%%%%%%%%%
% units in mm    %%
%%%%%%%%%%%%%%%%%%%
copper_r = 0.27/2
sm_r = (copper_r - 0.05) % based on rec to move the solder mask over 0.05mm
pad_spac = 0.35
hole_r = 0.15/2
hole_r_TOL = .08 % +/-


%%% audit BGA size %%%
perc_off = 100*(copper_r*2*39.37008 - bga_diameter_MIN)/bga_diameter_MIN
disp("BGA pad diameter is better(+)/worse(-) than spec by margin %")
disp(perc_off)


%%% calculate the solder mask bridge %%%
sm_bridge = pad_spac - (2*sm_r);
disp("\nSolder resist bridge (um): ")
disp(num2str(sm_bridge*1000))
disp("Solder resist bridge (mils): ")
disp(num2str(sm_bridge*39.37008))


%%% calculate copper clearance %%%
copper_clearance = pad_spac - (2*copper_r);
disp("\nCopper clearance (um): ")
disp(num2str(copper_clearance*1000))
disp("Copper clearance (mils): ")
disp(num2str(copper_clearance*39.37008))

% audit vs DRC
perc_off = 100*(copper_clearance*39.37008 - copper_clearance_MIN)/copper_clearance_MIN;
disp("Copper clearance is better(+)/worse(-) than margin by %")
disp(perc_off)


%%% calculate annular ring %%%
annular_ring = copper_r - hole_r;
disp("\nAnnular ring (um): ")
disp(num2str(annular_ring*1000))
disp("Annular ring (mils): ")
disp(num2str(annular_ring*39.37008))

% audit vs DRC
perc_off = 100*(annular_ring*39.37008 - annular_ring_MIN)/annular_ring_MIN;
disp("Annular ring is better(+)/worse(-) than margin by %")
disp(perc_off)

PCB Manufacture


After I got my design finalized, the next hurdle was finding a suitable vendor for the PCB board manufacture.

The vendor will have to have a few capabilities

  1. Very tight tolerances on their manufacturing
    1. The spacing between some of these pads will be less than 6 mils, that's a common constraint.
  2. Support for via-in pad technology.

Vendor sourcing

I got some recommendations for a local Dallas (when I was living there) company to use. They had excellent customer service, got on a design call with me to understand my requirements, and were very responsive.

There was only a couple issues with them, the main one being I only wanted 5 boards (their minimum quantity). No board shop with that level of design support and customer support really wants to support a production run of only 5 boards.

The eventual quote I got from them (and several other U.S. board shops was over a thousand dollars). Really at that level it's a quote telling you that we aren't interested in making 5 boards for you. No bueno for a personal project, no matter how motivated I was on it.

I eventually went back to my roots with PCBWay (not a sponsor haha!). I ordered from them in college, but didn't think their manufacturing capabilities were up to snuff with what I was looking for. However, I checked their "Advanced Capabilties" section and thought that their copper to copper clearances might be able to work with me.

The engineers had some questions and we want back and forth for a little bit. Their main questions were actually about the solder-mask, but I conveyed that the way I had it was intentional. They expressed concerns about problems in manufacture but I was willing to take the risk. Eventually we agreed and I got it manufactured!

Receiving the boards

I was very excited to receive these boards, after spending $483.86 total, the most by far I had ever spent on PCB boards. I doubt many hobbyists will ever spend that much on 5 boards in their hobbyist careers.

An image of the BQ25120A pads

A nice microscope shot I took of the underside of the AFE4432 on top of the PCB location

top of the AFE4432, ignore the incorrect A1 position location :)

Assembly


Potential issues

There are many things that can go wrong with BGA footprints during the assembly process. A number of them are demonstrated in this X-ray inspection taken after soldering on a board.

An X-ray of the various assembly issues that might occur during BGA assembly

The solder balls shorting between one another is a common problem. For large packages, opens become more of an issue as the chip may not lie perfectly flat in the PCB, leaving an open. A solder ball may be missing on the chip as well, possibly knocked off at some point after manufacture. In my semiconductor testing days we put chips through hot-temp qualification, and I had a few chips get balls knocked off coming back from that stress.

It should be noted that most of these assembly issues (shorts, opens, etc.) occur with large packages. They have more surface area, so can deviate from the PCB more. I am using relatively small pin-count devices, so there is less risk for me. However, we still want to design our board in any such way that we can help prevent any of these issues that may occur during soldering.

my experience

The actual soldering part of these chips went way better than anything I could have hoped for. I did hand-assembly of 5 boards over the course of many months, and the BGA chips were by far the chips I had the least problems with. Various QFN packages had many more botched solder jobs with either shorts or discontinuity.

My main advice for this includes

  1. a liberal usage of flux
    • this keeps the chip from flying away when you blow the hot air, as many of these are tiny
    • keeping your air pressure low helps with this too
  2. soldering until you see the package "snap" into place plus 10 seconds

But yeah overall whenever I had to replace one of the BGA packages I was much more enthusiastic to perform the rework compared to pretty much every other IC in the design.

Conclusion


Status and Results

400 dollars later for a small 45 mm x 45 mm PCB, and we had the prototypes in hand.

Reflection

In hindsight for a hobbyist level project I don't know of these packages are worth the extra design complexity and cost. If I didn't have these packages on my board, for such a small board I could have made 5 for about 20 bucks. This would have made uprevving my design to fix first round mistakes so much easier. Instead, I was stuck with my initial design for many months as I paid so much for the samples.

For v2 of the project in question I designed these for (sorry, top secret for now!) I actually switched over to simpler footprints. This makes parts cheaper, layout easier, and only costs me a slight increase in part footprints on my board. However, the parts I was left to choose from aren't next-gen and don't have all the features. In particular, I missed the BQ25120A for power management, that thing had voltage monitoring, configurable charge protection, AND handled providing system power from your battery pack. A job that in my new design takes a few different ICs, all larger than the BQ25120A.

Anyway, the ability to uprev a PCB design is worth it so I'm not planning on any fine-pitch BGA designs for now.

Looking forward

As PCB manufacturing technology improves, I can see the cost for producing these coming way down. I'm sure the same principles of any industry cost relationship will apply, and as they become more popular as a package type economies of scale will bring the cost down.

Even though I will steer away from using them when I can, I realize I will encounter them again. And I'll be prepared

Additional Information


Online Resources