Reducing Effort and Increasing Reliability with an Automated Test Bench

Article By : Himanshu Goyal and Ashish Purohit, Landis+Gyr

Using an integrated solution helps create a highly reliable, flexible, scalable, and powerful test automation framework to address the challenges presented by manual testing in smart meter metrology validation.

Amid the latest trends and developments in the electronics industry, how is the test and measurement industry keeping up? This month’s In Focus looks into the factors driving the innovations and developments in T&M, the new challenges, and opportunities.

The energy meter is a critical part of the electric utility infrastructure. It does not provide a control function for the power system, but it is one of the most important elements from a monitoring and accounting standpoint. We design installed meters to standards and codes that discourage tampering and detect tampering attempts. The electricity meter must be accurate and dependable, maintaining its performance in spite of environmental and electrical stresses.

Metering system validation, if carried out correctly, reduces exposure to commercial risk created over time by possible over- or under-metering total energy. Some believe that modern fiscal standard metering systems are “fit and forget” black box systems. Metering systems include many separate measurement elements, all of which are susceptible to calibration drift and measurement bias over time.

During development cycles, we need to repeat firmware tests to ensure quality. Every time we modify the source code, we must execute test cases. Manually executing test cases can be costly, time consuming, and prone to error. After analyzing these facts, we designed a system for energy meter validation. In our testing system, we address most of the existing system limitations and drawbacks of current running test benches and applications. We used TestStand software to create a common test bench to validate all energy meter utilization, instantaneous energy parameters, communication topology, security, and tampering.

Validating Energy Meters with a Test Automation Platform Based on NI Products

Major test benches and applications have some restrictions and limitations. We developed a platform using TestStand and LabVIEW software to validate utility meters and functionality, and address these restrictions and limitations.

TestStand industry-standard test management software helps in building and deploying automated test systems faster. TestStand includes a ready-to-run test sequence engine that supports multiple test code languages, flexible result reporting, and parallel/multithreaded test.

Figure 1: TestStand software from NI.

We developed various test modules to validate the different functional points in Table 1.

Table 1. Smart Meter Test Modules Included in Automation Testing

We have created an automated test system to test energy meters, as shown in Figure 2. We power the meters with the reference source and control the meters with an application we developed using LabVIEW visa toolkit. The system automatically runs the test sequence by providing variations in input parameters. We developed all the device drivers and DLLs for external hardware and DLMS protocol for smart metering on the LabVIEW platform.

Figure 2: Test bench setup.

The panel tester can select projects based on tester selection, as shown in Figure 3. The tester can view all test cases module wise in the test database section on the left. The tester can add and remove test cases in the tests to perform section. Using this panel, the user can start/abort test on UUT, change priority of test cases, remove all test cases, and more.

Figure 3: Test selection panel.

During execution, the tester can see test step result status in terms of pass/fail or done. All step result data is stored in a database for report generation and future analysis or reporting purposes.

Figure 4: Test execution window.

We used LabVIEW to create a report generation tool in which users can choose from many criteria, and based on user selection, the tool establishes the connection with a database to get the test result data. Users can view detailed reports or step reports. Users can view test results based on firmware version selection, start and end date, and more.

Figure 5: Report generation tool.

The report generation tool includes many advanced features like generating reports in Excel or Word, saving reports to a local desktop, print, email, and file import/export.

The table shows the time-based effort calculation after implementing the smart meter validation test bench.

Table 2: Time-Based Effort Calculation

This excludes a few modules with current running automation test bench like LED, security, display, and more.


The energy meter automatic test bench we developed using NI software is a reliable and consistent solution for the smart meter industry. Using this integrated solution, we can avoid the restrictions and limitations of current systems and reduce test system time and cost. We saved about 65 percent of manual effort after this smart meter test bench implementation. This automated test bench can help metering industries improve their existing test systems and meets the future challenges of the changing metering industry in smart metering implementation.


 Lucky Draw 2021

Leave a comment