Building a low-cost Test Fixture Guillaume Vier Agenda - - PowerPoint PPT Presentation

building a low cost test fixture
SMART_READER_LITE
LIVE PREVIEW

Building a low-cost Test Fixture Guillaume Vier Agenda - - PowerPoint PPT Presentation

Building a low-cost Test Fixture Guillaume Vier Agenda Background Motivations Architecture Bed of nails Test Controller Flasher Conclusions 2 Background Ubidata founded in 2003 in Brussels


slide-1
SLIDE 1

Building a low-cost Test Fixture

Guillaume Vier

slide-2
SLIDE 2

Agenda

  • Background
  • Motivations
  • Architecture
  • Bed of nails
  • Test Controller
  • Flasher
  • Conclusions

2

slide-3
SLIDE 3

Background

  • Ubidata founded in 2003 in Brussels
  • Telematics and mobile logistics solutions
  • We design and build our own battery-powered

tracking device

3

slide-4
SLIDE 4

Motivations

  • Functional testing at the end of the assembly line
  • Run self-test on each PCB
  • Program production firmware
  • Small form factor:
  • PCB: 67 mm x 36 mm
  • Test points: ø 0.6 mm, spacing 1.27 mm

4

slide-5
SLIDE 5

Motivations

Standard test fixture (€€€)

5

Can we build something cheaper with off-the-shelf components?

slide-6
SLIDE 6

Architecture

  • Bed of nails: custom PCB + soldered test probes
  • Test controller: Raspberry Pi Zero
  • Flasher: OpenOCD

6

slide-7
SLIDE 7

Bed of nails

Custom PCB to:

  • align the Device Under Test over the probes
  • connect test points to larger header

PCB designed with KiCad

7

slide-8
SLIDE 8

Bed of nails

Step 1: schematics

  • wire test probes to a larger connector

8

slide-9
SLIDE 9

Bed of nails

Step 2: create custom footprint for probe Constraints:

  • manufacturer’s capability:
  • pad to pad spacing
  • annular ring size
  • Test points spacing
  • Probe diameter

Pad size: 1.1 mm x 2 mm, ø 0.75 mm

9

slide-10
SLIDE 10

Bed of nails

Step 3: PCB layout

  • DUT’s edges drawn on silkscreen layer
  • Test points’ coordinates extracted from DUT’s gerber

files

  • Set origin point for the grid on new layout
  • Place footprints with:
  • Position Relative To… -> Use Grid Origin

10

slide-11
SLIDE 11

Bed of nails

11

slide-12
SLIDE 12

Bed of nails

12

slide-13
SLIDE 13

Bed of nails

13

slide-14
SLIDE 14

Test Controller

  • Raspberry Pi Zero running TinyCore
  • Minimal Linux system
  • Runs from RAM
  • Test scripts written in Python
  • Communicate with DUT via UART

14

slide-15
SLIDE 15

Test Controller

Pimoroni Automation pHAT:

  • 1 relay -> Supply power to DUT
  • 3 ADCs -> Measure voltage rails

15

slide-16
SLIDE 16

Flasher

  • Connect to microcontroller via SWD
  • OpenOCD compiled with GPIO bitbang support

./configure --enable-sysfsgpio --enable-bcm2835gpio

  • Running on the Pi Zero
  • Define pins for SWD in script

16

slide-17
SLIDE 17

Conclusions

Standard Low-cost Bed of nails 3000 € - 6000 € 2 PCBs: 24 € 13 probes: 18 € Others: 20 € Test controller 100 € RPi Zero + pHAT: 25 € Flasher 2 x 300 € 0 € Total 3700 € - 6700 € 87 €

17

Cost comparison

slide-18
SLIDE 18

Conclusions

  • Cheap
  • Robust
  • Easy to build/replicate

Limitations: not suited if special probes required (e.g. RF probes)

18

slide-19
SLIDE 19

Assembly

19

slide-20
SLIDE 20

References

  • Test probes P50 series:

https://be.farnell.com/fr-BE/multicomp/p50-e-120-g/levier-large-point/dp/1568259

  • Automation pHAT from Pimoroni:

https://shop.pimoroni.com/products/automation-phat

20