Sign in with STEVE

steve/lga-package

Land grid array sensor and oscillator packages by maker outline: Bosch BMI088 and BMI160, ST L3GD20, LPS22HH and LPS25HB, Microchip VLGA-4.

v1.0.0 Latest STEVE MIT 3
Isometric
part.py 73 lines · Python · STEVE runtime · checked
Download
1"""Land grid array (LGA, HLGA, VLGA) sensor and oscillator packages, each from its maker's data sheet outline. Centred on the origin with the seating plane
2on the XY plane, the body's length along X and its width along Y; the lands are on the underside, each its own copper solid. Dimensions from the outline
3named by `package`; see the README."""
4from steve import Model
5
6package = "BMI088" # maker's package outline, named by the device whose data sheet prints it
7detail = "full" # full: body, pin-1 mark and lands; simple: the body only
8
9# outline: (kind, pins, body length along X, body width along Y, height, standoff, land rows), mm, nominal values as printed.
10# A land row is (lands, pitch, direction, offset, land size along X, land size along Y): "x" rows run along X at Y = offset, "y" rows run along Y at
11# X = offset; the lands of a row are centred on the body's centre line.
12# BMI088: Bosch Sensortec BMI088 data sheet, BST-BMI088-DS000-19, revision 1.9 (01/2024), p. 54, Figure 10: 4.50 x 3.00, 0.95 +/-0.05 high; 7 + 7 lands
13# 0.250 x 0.475 at 0.50 pitch (3.00 span), rows 2.33 apart; two end lands 0.475 x 0.250, 3.83 apart, on the centre line.
14# BMI160: Bosch Sensortec BMI160 data sheet, BST-BMI160-DS000-09, revision 1.0 (November 2020), p. 106, Figure 41: 3.00 x 2.50 x 0.83 +/-0.05; 14 lands
15# 0.475 x 0.25; 3 + 3 along the long sides at 0.50 pitch (1.00 span), 4 + 4 along the short sides at 0.50 pitch (1.50 span); each land's outer end
16# (0.1) in from the body's edge (a reference dimension), which puts the land centres 0.9125 and 1.1625 from the centre lines.
17# L3GD20: ST L3GD20 data sheet, DocID022116 Rev 2 (February 2013), p. 42, Figure 21 (drawing 8125097_A): D1 = E1 = 4.000; A2 0.785 + A3 0.200
18# (A1 1.000 maximum); 4 lands a side, T1 0.400 (across the edge) x T2 0.300, pitch N1 0.650 (N2 0.975, L2 1.950), M 0.100 in from the edge, which
19# puts the land centres 1.7 from the centre lines.
20# LPS22HH: ST LPS22HH data sheet, DocID030890 Rev 2 (February 2019), p. 55, Figure 26 (DM00386636_1): HLGA-10L 2.0 x 2.0 x 0.73 typical (0.8 maximum); 10 lands
21# 0.25 x 0.275 +/-0.05, the 0.275 across the edge; 3 + 3 at 0.5 pitch (1 span) along two sides, 2 + 2 at 0.5 along the others; lands (0.1) in from
22# the edges (reference), which puts their centres 0.7625 from the centre lines.
23# LPS25HB: ST LPS25HB data sheet, DocID027112 Rev 4 (August 2016), p. 46, Figure 22 and Table 24 (8398191_3): HLGA-10L 2.5 x 2.5 x 0.76 typical
24# (0.8 maximum); pad size 0.3 x 0.45 +/-0.05 (10x), the 0.45 across the edge; 3 + 3 at 0.6 pitch along two sides and 2 + 2 at 0.6 along the
25# others, row centres 0.92 from the centre lines.
26# AUA: Microchip DSC60XX data sheet, DS20005625C, pp. 15-16, drawing C04-1202A (4-lead VLGA 2.5 x 2.0 mm, package code AUA): D 2.50, E 2.00 BSC,
27# A 0.84 (0.79 to 0.89), standoff A1 0.02 (0.00 to 0.05); lands b1 x L 0.65 x 0.65, pitch e 1.65 BSC along D and e1 1.25 BSC along E.
28OUTLINES = {
29 "BMI088": ("LGA", 16, 4.5, 3.0, 0.95, 0.0, ((7, 0.5, "x", 1.165, 0.25, 0.475), (7, 0.5, "x", -1.165, 0.25, 0.475),
30 (1, 0.0, "y", 1.915, 0.475, 0.25), (1, 0.0, "y", -1.915, 0.475, 0.25))),
31 "BMI160": ("LGA", 14, 3.0, 2.5, 0.83, 0.0, ((3, 0.5, "x", 0.9125, 0.25, 0.475), (3, 0.5, "x", -0.9125, 0.25, 0.475),
32 (4, 0.5, "y", 1.1625, 0.475, 0.25), (4, 0.5, "y", -1.1625, 0.475, 0.25))),
33 "L3GD20": ("LGA", 16, 4.0, 4.0, 0.985, 0.0, ((4, 0.65, "x", 1.7, 0.3, 0.4), (4, 0.65, "x", -1.7, 0.3, 0.4),
34 (4, 0.65, "y", 1.7, 0.4, 0.3), (4, 0.65, "y", -1.7, 0.4, 0.3))),
35 "LPS22HH": ("HLGA", 10, 2.0, 2.0, 0.73, 0.0, ((3, 0.5, "x", 0.7625, 0.25, 0.275), (3, 0.5, "x", -0.7625, 0.25, 0.275),
36 (2, 0.5, "y", 0.7625, 0.275, 0.25), (2, 0.5, "y", -0.7625, 0.275, 0.25))),
37 "LPS25HB": ("HLGA", 10, 2.5, 2.5, 0.76, 0.0, ((3, 0.6, "x", 0.92, 0.3, 0.45), (3, 0.6, "x", -0.92, 0.3, 0.45),
38 (2, 0.6, "y", 0.92, 0.45, 0.3), (2, 0.6, "y", -0.92, 0.45, 0.3))),
39 "AUA": ("VLGA", 4, 2.5, 2.0, 0.84, 0.02, ((2, 1.65, "x", 0.625, 0.65, 0.65), (2, 1.65, "x", -0.625, 0.65, 0.65))),
40}
41# Proportions, for looks only: the pin-1 mark on top, and how deep each land sits in its pocket of the body (LAND_DEPTH; the outlines give no land
42# thickness). The lands' underside is the seating plane, so neither affects fit.
43LAND_DEPTH = 0.03
44
45kind, pins, length, width, top, standoff, rows = OUTLINES[package]
46model = Model()
47model.plane("body_plane", on="XY", offset=standoff, name="Body")
48with model.sketch("body_sketch", on="body_plane", name="Body") as sk:
49 sk.rect("body_rect", (-length / 2, -width / 2), (length / 2, width / 2))
50model.extrude("body", "body_sketch", distance=top - standoff, op="new", body="body_body", name="Body")
51if detail == "full":
52 model.plane("top_plane", on="XY", offset=top, name="Top")
53 with model.sketch("mark_sketch", on="top_plane", name="Pin-1 mark") as sk:
54 sk.circle("mark_circle", (-length / 2 + 0.15 * width, width / 2 - 0.15 * width), 0.05 * width)
55 model.extrude("mark", "mark_sketch", distance=-0.03, op="cut", body="body_body", name="Pin-1 mark")
56 # Each land is its own copper solid in a pocket of the body, from the seating plane up.
57 lands = []
58 for r, (count, pitch, direction, offset, size_x, size_y) in enumerate(rows):
59 for i in range(count):
60 along = (i - (count - 1) / 2) * pitch
61 x, y = (along, offset) if direction == "x" else (offset, along)
62 tag = f"land_{r}_{i}"
63 with model.sketch(f"{tag}_sketch", on="XY", name="Land") as sk:
64 sk.rect(f"{tag}_rect", (x - size_x / 2, y - size_y / 2), (x + size_x / 2, y + size_y / 2))
65 model.extrude(tag, f"{tag}_sketch", distance=standoff + LAND_DEPTH, op="new", body=f"{tag}_body", name="Land")
66 model.extrude(f"{tag}_pocket", f"{tag}_sketch", distance=standoff + LAND_DEPTH, op="cut", body="body_body", name="Land pocket")
67 lands.append(f"{tag}_body")
68# Body: moulding on a laminate substrate (ptfe, the nearest plastic in the material list); lands: copper.
69model.material("ptfe", bodies=["body_body"], color="#26282b")
70if detail == "full":
71 model.material("copper", bodies=lands, color="#c9ccd1")
72result = model.result()
73

Land grid array (LGA, HLGA, VLGA) packages for board layouts: body, pin-1 mark and the lands underneath, each from the outline printed in the maker's data sheet. See the README.

Land grid array package

Land grid array sensor and oscillator packages (LGA, HLGA, VLGA), each modelled from the outline printed in its maker's data sheet: the body and the lands underneath. The body and each land are their own solids. The package is centred on the origin with the seating plane on the XY plane, the body's length along X and its width along Y. Choose the outline with package, named by the device whose data sheet prints it.

Source

Package Outline Body (L x W x H) Lands Data sheet, page
BMI088 LGA-16 4.50 x 3.00 x 0.95 7 + 7 lands 0.250 x 0.475 at 0.50 pitch, rows 2.33 apart; 2 end lands 0.475 x 0.250, 3.83 apart Bosch Sensortec BMI088, BST-BMI088-DS000-19, revision 1.9 (01/2024), p. 54, Figure 10
BMI160 LGA-14 3.00 x 2.50 x 0.83 14 lands 0.475 x 0.25: 3 + 3 at 0.50 pitch along the long sides, 4 + 4 at 0.50 along the short sides, outer ends (0.1) in from the edges Bosch Sensortec BMI160, BST-BMI160-DS000-09, revision 1.0 (November 2020), p. 106, Figure 41
L3GD20 LGA-16 4.000 x 4.000 x 0.985 4 lands a side, 0.400 (across the edge) x 0.300, pitch 0.650, 0.100 in from the edges ST L3GD20, DocID022116 Rev 2 (February 2013), p. 42, Figure 21 (8125097_A)
LPS22HH HLGA-10 2.0 x 2.0 x 0.73 10 lands 0.25 x 0.275 (the 0.275 across the edge): 3 + 3 and 2 + 2 at 0.5 pitch, (0.1) in from the edges ST LPS22HH, DocID030890 Rev 2 (February 2019), p. 55, Figure 26 (DM00386636_1)
LPS25HB HLGA-10 2.5 x 2.5 x 0.76 10 lands 0.3 x 0.45 (the 0.45 across the edge): 3 + 3 and 2 + 2 at 0.6 pitch, row centres 0.92 from the centre lines ST LPS25HB, DocID027112 Rev 4 (August 2016), p. 46, Figure 22 and Table 24 (8398191_3)
AUA VLGA-4 2.50 x 2.00 x 0.84 4 lands 0.65 x 0.65, pitch 1.65 along the length and 1.25 across; standoff 0.02 Microchip DSC60XX, DS20005625C, pp. 15-16, drawing C04-1202A (4-lead VLGA, package code AUA)

The model uses the nominal or typical value of each dimension. Where a maker gives only a maximum height and typical layer heights (L3GD20: A2 0.785 + A3 0.200, A1 1.000 maximum) the model uses their sum; LPS22HH and LPS25HB give 0.73 and 0.76 typical (0.8 maximum). Land centres come from the pitch and the spans; where an outline places a row only by its lands' gap to the body's edge (BMI160, L3GD20, LPS22HH), the centre is the half body less that gap and half the land.

Each catalogue reference model was measured against its outline (land size and land centre; the outline's in brackets):

Catalogue model Outline Lands Land centres Height
Bosch_LGA-16_4.5x3mm_P0.5mm_LayoutBorder7x1y_ClockwisePinNumbering BMI088 0.25 x 0.475 (0.250 x 0.475) rows +/-1.163 (1.165), ends +/-1.913 (1.915) 0.95 (0.95)
Bosch_LGA-14_3x2.5mm_P0.5mm BMI160 0.25 x 0.50 (0.25 x 0.475) +/-1.15 (1.1625), +/-0.90 (0.9125) 0.78 (0.83)
LGA-16_4x4mm_P0.65mm_LayoutBorder4x4y L3GD20 0.30 x 0.40 (0.300 x 0.400) +/-1.70 (1.7), +/-0.975 and 0.325 (0.975, 0.325) 1.025 (1.000 maximum)
ST_HLGA-10_2x2mm_P0.5mm_LayoutBorder3x2y LPS22HH 0.25 x 0.275 (0.25 x 0.275) +/-0.763 (0.7625) 0.80 (0.73, 0.8 maximum)
ST_HLGA-10_2.5x2.5mm_P0.6mm_LayoutBorder3x2y LPS25HB 0.30 x 0.45 (0.3 x 0.45) +/-0.925 (0.92), +/-0.30 (0.3) 0.825 (0.76, 0.8 maximum)
VLGA-4_2x2.5mm_P1.65mm AUA 0.65 x 0.65 (0.65 x 0.65) +/-0.825 x +/-0.625 (1.65 and 1.25 pitch) 0.86 (0.79 to 0.89)

The KiCad footprints of these models name the BMI088, L3GD20, LPS22HH, LPS25HB and DSC60XX data sheets; the Bosch LGA-14 footprint names the BMI160.

Measured and found to be other parts, with their reasons in COVERAGE.md: Bosch LGA-8 2 x 2.5 (BMP280's lands are 0.20 x 0.35), Bosch LGA-8 2.5 x 2.5 (BME280's lands are 0.35 x 0.35), Bosch LGA-8 3 x 3 (BME680's lands are 0.40 x 0.40), LGA-14 3 x 2.5 (LSM6DS3TR-C's lands are 0.475 x 0.25), LGA-14 3 x 5 (LSM303DLHC's lands are 0.8 x 0.5), LGA-14 2 x 2 at 0.35 (its footprint names the 12-land LIS2DH12) and TI's SIL0010A MicroSiP (up to 1.578 high with parts on top).

Proportions, for looks only: the pin-1 mark on top, and how deep each land sits in its pocket of the body (0.03 mm; the outlines give no land thickness). The lands' undersides are the seating plane (AUA: 0.02 below the body, its standoff), so neither affects fit. Not modelled: the pressure sensors' vent hole and exposed sensing area on top, the pin-1 land's chamfer or index mark, and the lid's rounded edges.

Materials: the body is moulding on a laminate substrate (ptfe, the nearest plastic in the material list); the lands are copper, each set into a pocket of the body. The data sheets give no weight.

Other LGA packages aren't here yet; see COVERAGE.md.

  1. 1.0.0 Latest
More #ic-package
STEVEMIT

steve/son-package

No-lead small-outline IC packages by TI outline: WSON-6/8/10/12/14/16, VSON-8/10, VSON-HR-8 and X1SON-8, 0.4 to 0.8 mm pitch.

17 15 sizes 0 2 weeks ago v1.4.0
STEVEMIT

steve/sot-package

Small-outline transistor packages by TI outline: SOT-23, thin SOT-23-5/6/8, SC-70-3/6, SOT-553 and SOT-563.

9 9 sizes 0 3 weeks ago v1.0.1
STEVEMIT

steve/so-package

Small-outline IC packages by TI outline: SOIC-8/14/16, 16W and 20W, SSOP-16/20/28, QSOP-16, MSOP-8/10, TSSOP-8, 38/44 (4.4 mm) and 48/56 (6.1 mm).

9 17 sizes 0 3 weeks ago v1.1.0
STEVEMIT

steve/qfn-package

Quad flat no-lead IC packages by TI outline: VQFN-20 (0.65 mm pitch) and VQFN-24/32/48/64 (0.5 mm pitch), with exposed thermal pad.

8 6 sizes 0 4 weeks ago v1.0.0