6
\$\begingroup\$

Imagine you want to produce 1k pcs of hardware(mixed signal) per month and you would like to have tester in order to load firmware, calibrate sensors etc.

How do you approach that problem? I see many of people are talking about in-circuit tester using pogo pins.

Is that something you buy and "just" write firmware and position the pins correctly? Do I need to develop test hardware and then just use pogo pins to connect it with the pcb in testing?

EDIT: Ok, I intendedly asked general question, but I will specify it more.

There is a request to design 4 layer PCB with MCU, external memory, display, eeprom, CAN and Bluetooth Smart. PCB will be produced in 1000 pcs. per month.

Obvious fact is that I must design/buy piece of hardware which I will give to technician in order to test production items before attaching QC marks on it.

  1. Is that kind of hardware something you buy from i.e. NI and use LabView to program the test procedure
  2. Do I need to design PCB with MCU and bunch of analog and digital I/O, program it with production firmware and use it to flash the code to production PCB's. If yes, are the pogo pins and box shown on picture below right way to do it? Example of PCB test box

I agree that the question is too broad but I couldn't find any relevant information regarding the topic online.

Thank you all for your help!

\$\endgroup\$
  • \$\begingroup\$ What kind of mixed signal hardware are you talking about? What is your total component count and component density? Why not consider direct final real run test instead of ICT? \$\endgroup\$ – soosai steven May 10 '16 at 19:55
  • 4
    \$\begingroup\$ Argh! I was in the middle of writing a lengthy answer, with pictures, when this got closed. I agree the question is rather broad, but this is a legitimate and all too often overlooked issue related to designing electronic products. \$\endgroup\$ – Olin Lathrop May 10 '16 at 19:56
  • \$\begingroup\$ @Olin If your draft haven't perished, I could reopen the question. \$\endgroup\$ – Nick Alexeev May 10 '16 at 19:56
  • \$\begingroup\$ @Nick: Already gone. \$\endgroup\$ – Olin Lathrop May 10 '16 at 20:00
  • 1
    \$\begingroup\$ @Spehro A bit tragic that much worse question hang around for much longer. \$\endgroup\$ – Nick Alexeev May 10 '16 at 20:10
8
\$\begingroup\$

Yes, this sort of thing comes up regularly. We have settled on a system that works pretty well for small boards. Here is one example:

The top part is hinged at back and swings up. You then place the board to test in the cradle for that purpose:

What you can't see in that picture are the pogo pins that stick up from the tester under the board. When the lid comes down, it presses on the board at carefully selected points. This compresses the pogo pins a bit so that they make reliable contact. Pads were designed onto the bottom of the board under test for just this purpose.

When the lid is lowered, a little latch swings over part of the lid arm:

This does two things. First, it locks the lid in place keeping the pogo pins compressed a little. Second, it releases pressure on a microswitch. This switch is wired to the processor on the tester. It is used as the signal to start a new test.

The general design is canned, but the details are not. The pogo pins are held in place by the thick plastic piece screwed to the test board. This has holes in it matching thru-hole pads in the test board below. The pogo pins holders are placed into the holes in the plastic from above. A small piece of each holder protrudes thru the pad in the tester board, and is then soldered from the bottom.

This is a convenient way to make electrical connections to the pogo pins. They are just single-pad thru-hole components from the tester board's point of view.

The tester then contains whatever circuitry you need to test the board. This usually includes controllable power supplies with voltage and current signals going into the control micro. In this example, part of the test procedure was performed on a PC, and the tester communicated with the PC via USB. A PIC 18 was used to run the tester.

The test procedure includes programming a PIC in this case. For that we usually start with our USBProg PIC programmer circuit, but use a larger PIC so that there are a bunch of pins available for the test function. We even added 16 reserved commands to the official PIC programmer protocol to support testers that are USBProgs with added features.

Once we have the test circuit board mechanical details, we send them off to a mechanical engineer that we work with. He then takes the general tester design and adds the details for that specific tester. He designs the bottom plastic part, the lid, the exact mounting holes, the plexiglass top cover, and the like. We've done this a few times, and have the process down to a few $1000, usually for three tester units. Of course the cost of developing the tester firmware and host software is the biggest expense.

In general, figure the tester is roughly of the same level of complexity as the thing it is testing. You need to alert management of this early so that they know it's coming. All too often they think you're done with a project when you get the first prototype working on the bench.

Even if you've warned them all along, you still often find inexperienced managers that don't want to take 2 months to develop a proper tester, after having just spent 4 months developing a product that needs testing. The best solution I've found is to just include a tester in the schedule and budget from the first day, although even that doesn't always work. Particularly inexperienced low level managers have a great capacity for being penny-wise and pound-foolish.

\$\endgroup\$
4
\$\begingroup\$

Short answer: Yes - a bed of nails is a good way to accomplish test of your product.

Disclaimer: I work as a test design engineer creating testers for this purpose.

Here is what I can add:

Create a detailed test specification. Whether you or someone else creates a system to test your product, you’ll need clear documentation on what and how accurately you to test it. It also helps to clarify for yourself what elements of the product you want tested. A test spec will also detail what test points on your PCB you want to connect to with a test system.

The type of test you describe is typically referred to as Functional Test (FCT). From my experience there are three main aspects of a FCT system:

  1. Fixture; typically bed of nails, but other fixtures can utilize cables/connectors.

  2. Test Equipment; programmers, software controlled instrumentation (often from National Instruments and/or Keysight) and a PC running software that executes and logs the results of the test.

  3. Software; drivers to communicate with instrumentation & programmers and typically a user interface for the person running the test system.

Depending on your resources, you can purchase a bed of nails fixture, wire it to instrumentation, and write firmware/software to test the product. Many companies that sell test fixtures also provide turnkey solutions where they will work with you to select instrumentation and develop software for the test system.

I design custom PCBs for test systems when necessary, but there is lots of good COTS (commercial, off the shelf) instrumentation for doing exactly what you describe.

For more pictures of what fixtures and test systems look like - the company I work for has a couple pdfs listed under their tutorials section: Circuit Check Tutorials

\$\endgroup\$
3
\$\begingroup\$

In addition to the excellent answer from Olin, you should capture all your automated test results, which implies you have a very capable tester; what follows is useful to explain to management just why you need a very capable test setup.

On that note, manual test time is very expensive compared to automated test time, so a capable automated test set-up will inherently save money.

Automated test time still costs money, so after you have a reasonable data set (1,000 is a good start), consolidate the results and see what tests have not failed on any unit.

These tests should be performed on a batch basis where the first item and some other percentage are subject to these tests. (There are AQL tables available to figure out how many units should get these tests).

Note that the batch based testing is to ensure that a batch of built units or components do not exhibit unexpected faults; if the line gets excessive failures it can be stopped before accumulating too many failed units so whatever the issue happens to be can be fixed.

As you get more and more test results you can refine the testing done, which can significantly reduce the cost and time involved in production testing.

This is, of course, Statistical Process Control and the proper application of it can generate significant savings which go straight to your bottom line.

The last time I did this, I managed to shave $6 per unit off the test (on average), and running 20k units a month - well, it becomes clear when you look at the numbers.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.