Rules? Absolutely!
http://pcbget.ru/Files/Standarts/IPC_7351.pdfThe easiest to remember:
Toe: solder fillet in the lengthwise direction. Add >= 0.3mm to max component dimension.
Heel: * * * * under-component direction. Subtract >= 0.3mm to min component dimension. (Usually you have to subtract max lead length 'L' from min overall width 'B', but if this is missing, min. body width 'A' can be used.)
Side: -0.03 to +0.03 of max. lead width and positional tolerance.
There are a couple basic types of solder joints:
- Flat or curved leads, laying on pads: gull-wing (SO, QFP) and J-lead (SOJ, PLCC) for example. These have all three types of fillets.
- Solid, leadless, or metallized ends: SON/DFN/QFN periphery contacts, chip (R/L/C) ends, flat-lead diodes, SOT tabs, etc. These have toe fillets, and have >= 0.3mm side fillets if the metal protrudes from the body (diodes and SOTs).
If there's no side fillet (or it's not desirable to make one), the side clearance should be about equal to the the average or maximum dimension (the +/- 0.03mm case).
Most chip R's and D's don't have side metallization, so no side fillet is possible there anyway; the pad should be made equal size for these. Most chip L's and C's are metallized all around, but side fillet is undesirable as it increases strain on the part, and can lead to tombstoning (for small parts, sometimes 0603s, usually smaller) and more risk of fracture.
QFN lands are covered by plastic on three sides, so they only get added toe length.
Likewise, chip R's, C's, etc. don't have a heel fillet, so that added dimension is near zero.
- Flat-face lands. PQFNs, LGAs, BGAs, exposed thermal pads. There is no toe, heel or side, just a periphery, which, as you might now be expecting... as it's flat with the surface, the pad size is +/- 0.03mm of nominal.
BGAs are kind of a special case, because the ball allows the pad to be somewhat larger or smaller. Which one you choose also depends on choice of SMD/NSMD (solder mask defined, or non-) pads. NSMD is generally preferred (i.e., solder mask expansion is outside the pad, so the full pad copper is soldered).
Tim