LED Tester of Color and Position: How Does It Work?

In short

  • What it does. The LED tester finds the color and position of every LED on a PCB or indicator panel, for example keyboard and panel indicators on a production line.
  • What it is. An imager with optics plus software: a DLL API that plugs into your automated tester, or a standalone tester application.
  • How it works. Learn a reference board once, then test each board: position (Column.Row), on or off, and a matching grade against the reference.
  • What you get. Pass/fail per LED against your threshold, per region of interest (ROI), logged to a CSV file.
Colored indicator LEDs

What the LED color and position tester does

The LED tester recognizes the color of each LED and its position in a PCB or indicator layout. A typical use is checking the indicator lights of keyboards or control panels on a production line, where every board must show the right LED, in the right place, in the right color.

The system is an imager with optics and software. The software comes in two forms: a DLL API that you embed in your own automated test system, or a standalone tester application. For how to fit it into an existing line, see how to embed an LED checker into your production line.

The API commands

The API, and the application built on it, is driven by a short set of commands:

01Open / close the camera

Start or stop the imager. For development and debugging, stored images can be loaded instead of live frames.

02Learn a new configuration

Each PCB type, or LED layout, gets its own configuration file, created once by learning a correctly assembled reference board.

03Test

Check all the LEDs that are currently driven on the board, for one ROI or for all of them.

04Log

Write the result of every LED to a *.csv file for traceability.

Step 1: learning the reference board

The tester first learns a correctly assembled board. Figure 1 shows the demo PCB with 37 LEDs used in these tests.

Demo PCB with 37 LEDs used in the LED tester tests
Figure 1: The demo PCB with 37 correctly assembled LEDs.

With all LEDs on, the board is divided into regions of interest. Here there are three: ROI 1, 2 and 3 (Figure 2). Each ROI can be tested on its own, which is useful when one power state drives only part of the board.

PCB with all LEDs enabled, divided into three regions of interest
Figure 2: All LEDs enabled; the board is divided into three ROIs.

Step 2: testing every board

Once the positions and colors of the LEDs are learned, the application flags any LED that does not work. For this demo, two LEDs were switched off on purpose (Figure 3): position 1.1 in ROI 1 (column 2, row 2) and position 5.1 in ROI 3 (column 6, row 2).

Two LEDs switched off on purpose, marked with white and red rectangles
Figure 3: The two LEDs switched off for the demo are marked with white and red rectangles.

For each LED the tester reports three results (Figure 4):

  1. Positionan address in Column.Row format, such as 1.1 or 1.2
  2. Working or notfor example, LED 1.1 is off
  3. Matching gradehow closely the LED matches the learned reference, from analysis of its spectrum and intensity
LED tester results per LED: position, status and matching grade
Figure 4: Results per LED: position, status and matching grade.

Pass/fail by matching grade

The test command runs without a GUI and returns pass or fail for each LED against a matching-grade threshold that you set. For example, with a threshold of 500, every LED that scores above 500 passes and the others fail. A tighter threshold catches smaller color or intensity deviations; a looser one tolerates normal LED-to-LED variation.

The full API command set is shown in Figure 5.

LED tester API command set
Figure 5: The LED tester API command set.

Testing by ROI and logging to CSV

A test can run on one ROI or on all of them. Figure 6 shows the CSV results for ROI 1: one row per LED with its address, status and grade, ready for your traceability system.

LED test results for one ROI in a CSV file
Figure 6: Test results in a CSV file for one ROI.

Plan your LED test

Three LED toolsCheck whether an imager can tell two LED colors apart, estimate how many boards will fail and the test time, and check that the imager resolves every LED on your board.
Open the imager tool

Who benefits

The tester saves time and money and strengthens quality assurance. It is built for manufacturing, test and quality managers: medical device makers, sensor manufacturers, electronics manufacturers and assembly plants. See the LED color and position recognition system, and for the color question in depth, LED tester: who needs it, and how does LED lab testing work? and what is LED functionality, and how can it be tested?

IZAK LED Tester for LED colour and position: tester box with imager, optics and relays
The IZAK LED Tester: imager, optics and relays in one tester box, controlled through the IZAK API. The length of the box depends on the size of the unit under test.

Watch: the LED tester checking colour and position

IZAK demo: the LED tester checks each LED for colour and position with a machine-learning algorithm.

Customer story

A global manufacturer of semiconductor-equipment subsystems bought the LED color and position tester from IZAK Scientific after several successful earlier projects, for our technical skill and fast delivery. They needed to test several PCBs, each with a few LED configurations.

IZAK supplied the recognition API as a DLL with a ready C integration example, which the customer integrated into its own tester software, plus a tester box with an imager, optics and relays as a complete system.

What the customer said

“A smart, simple, easy-to-learn machine-learning tool that learns a new PCB in a few minutes and tests quickly in a free-space configuration.”“We received customized full service and support. This was one of a few projects with IZAK, and the team was professional and delivered on time.” Moshe Aizler, Testing Development Manager, Automation & Control Solutions, MKS Instruments
Test the LEDs on your boardsSend us a photo of the board, the LED colors and what you must verify. We reply with a test concept and the integration level: API, tester box or complete station.

Frequently asked questions

QHow does an LED color and position tester work?
It images the board with an imager and optics, learns a correctly assembled reference board once, and then tests every board: each LED gets a Column.Row address, an on/off result and a matching grade from its spectrum and intensity, compared with a pass/fail threshold you set.
QDo I need a new setup for every PCB type?
No new hardware. Each PCB type or LED layout gets its own configuration file, created by learning one reference board in a few minutes. After that, every board of that type is tested against it.
QCan the tester run inside my existing test software?
Yes. The software is supplied as a DLL API with a C integration example, so your tester calls open/close camera, learn, test and log commands without a GUI. It is also available as a standalone tester application.
>Tzachi Sabati Tzachi Sabati
CEO, IZAK Scientific
Physicist specializing in photonics and quantum technologies, with deep expertise in quantum sensors and advanced optical systems. Leads the Advanced Quantum Lab course at the Technion, bridging academic excellence with industry innovation. At IZAK Scientific, provides cutting-edge photonics-based solutions, developing customized inspection and sensing systems for R&D and production. Passionate about advancing quantum sensing applications and integrating novel technologies to meet industry needs.

 

Get new IZAK guides and tools by email

One short email a month: new technical articles, free calculators and product updates in laser measurement and electro-optics. No spam, unsubscribe anytime.

Get new IZAK guides and free calculators by email, one short email a month: Subscribe · Privacy Policy
Skip to content