Case Studies

Lithium-Ion Battery End-of-Line Test Stand Development

Posted in Automotive, Battery Pack Test Systems, Energy and Utilities, Green Technology, LabVIEW, Manufacturing Automation and Intelligence, MES, Test & Measurement Automation, Test Stand


DMC delivered an automated production test station to an international manufacturer of large, commercial, rechargeable lithium-ion batteries. The system performs essential end-of-line functional verification of both battery packs and battery modules.

The client provided DMC a high-level test specification, and from this, we were able to rapidly deliver two complete test systems configured to the client’s needs. We achieved this within the client’s fast-moving timeframe driven by start-of-production.

DMC followed a well-structured project process to design, program, fabricate, and commission the system. We combined strict attention to the client’s production test plan with our deep knowledge/experience in automated test equipment to yield a reliable design tailored to the client’s needs. The completed system increased the client’s quality control capabilities for their new product to a level well beyond that of prior products.


DMC Test Stand ImageDMC’s solution is built on the National Instruments platform, leveraging LabVIEW to control the electromechanical system and COTS hardware from NI and other vendors to establish the required data acquisition and instrumentation.

We delivered a fully open solution (including all source code and hardware schematics), enabling the client’s in-house engineers and developers to maintain, refine, and expand the system over time to support evolving test requirements.

Design and Architecture

DMC worked with the customer to translate testing requirements into an abstract system state diagram depicting the connection schema that forms the backbone of the test stand.

Abstract System State Diagram
Abstract System State Diagram - click for full-size image.

Electrical Panel Layout

Test Stand High Power Panel (Left) and Low Power Panel (Right)
Test Stand High Power Panel (Left) and Low Power Panel (Right)

  • High-Power Panel
    • High-Power relays
    • Length-matched high-power cabling
  • Low-Power Panel
    • Fusing Infrastructure
    • CAN Communication
    • Data Acquisition Hardware (National Instruments cDAQ Chassis)
    • Housed ‘Bus’ Architecture
  • Safety Interlocks
  • Door Proximity Sensors
  • 2 E-STOP Buttons
  • External Interlock Inputs
  • Hardware and Software Inputs to Interlock Loop

Bus Architecture

System State Diagram with Bus Highlights
System State Diagram with Bus Highlights - click for full-size image.

To maximize the number of external (DUT) connections a single piece of instrumentation could utilize, we used a bus architecture in the electrical design. The names and a brief description of the bus function are as follows:

  • Measurement Bus (Green)
    • Route the testing instrumentation probe lines out to external connectors
  • High Power Bus (Blue)
    • Route high-power signals between the high-power connectors mounted to the test stand
  • Sense Bus (Purple)
    • Route the sense lines for the high current test instrumentation out to a DUT connector interface
  • Power Supply Bus (Orange)
    • Route the power from a programmable power supply out to an external connection interface
  • Bus Bus (Yellow)
    • Route signals from one bus to another bus

Software Architecture

DMC’s employed our Flex Framework, the DMCquencer, and additional LabVIEW Object-Oriented Programming (LVOOP) on this test stand. DMC’s Flex Framework is a collection of common tools and standard resources that engineers can draw from while designing an application.

Designed in LabVIEW, the application is easily extensible and open source. DMC provided the source code for the project to the customer, enabling them to further customize the test stand and truly ‘own’ the equipment.

  • Testing Modes
    • Automated Mode
      • Single-click operator interface
      • Allows for the running of pre-defined testing sequences
      • Ideal for a production environment
    • Manual Mode
      • Unlocks full diagnostic capabilities of the test stand via on-demand user operations
      • Enables engineers to construct/debug new test sequences
      • Ideal for debugging or a research and development environment

Integration with DUT

LP and HP ConnectionsAn ability to interact with multiple DUTs was a crucial requirement from the customer, so DMC designed the test system to work for a variety of DUTs via a standard interface. In this case, the test system interacts with two primary DUTs:

  1. Battery Modules
    1. a collection of battery cells
  2. Battery Packs
    1. a collection of battery modules

A set of rugged, durable connectors for both high and low power DUT interaction expose the test system's instrumentation and signal lines. These connections points are routed to the DUT via a connector harness which allows for any future devices to interact with the system for the relatively low cost of creating a new harness. Furthermore, multiple types of measurements can be brought out on each connector enabling the test system to take a variety of measurements without having to change wiring connections manually.

For each DUT type and model number, the customer can define a unique routine built upon existing test types. This style of DUT-agnostic electromechanical design adds value to the test station as it becomes a flexible testing asset, thus eliminating the need to create a unique tester for each product.

Database Integration & Logging

MES Database Integration

DMC worked in parallel with the client’s engineering teams to integrate with an existing Manufacturing Execution System (MES) database. When an operator scans a barcode on the device under test, a query is made to the MES database to obtain a model number and automatically select which set of verification tests to run on the DUT.

Rest API & TDMS Logging

DMC implemented a variety of logging destinations for this test system. Detailed logs of system operation and internal variable changes are logged to a TDMS file while the system is operating.

Additionally, DMC worked with client software architecture teams to develop a database schema which captured the results of an automated test sequence. We utilized REST API calls to push data to this database and tested the functionality from both a simulated test stand and actual test stand environment to verify successful integration.

Project Outcome

DMC delivered two test systems to the client’s new manufacturing facility, and the modern test systems have paved the way for the consistent and reliable end-of-line testing of the client’s products.

Click Here for more information on DMCs latest generation of Battery Production Test systems.

Customer Benefits

  • Open Modular Platform
    • Commercial Off-the-Shelf (COTS) hardware platform
    • Utilizes industry-standard, high-performance National Instruments devices
  • Customer Ownership and Maintainability
    • Full source code delivered, providing the end customer with full ownership and independent maintainability of the system
  • Visibility and Traceability into Product Quality
    • MES Database integration provides readily accessible and traceable test results
  • Flexibility
    • Provides flexibility through user-defined and customizable test procedures
  • Dual Operating Modes
    • Fully automated one-click (production) Manual (diagnostic) and testing modes


  • National Instruments LabVIEW
  • Windows 10 PC Platform
  • National Instruments DAQmx, XNET, CAN, Digital Multimeter, Power Supply
  • High Power Isolation and Continuity (Ground Bond) Test Equipment
  • GPIB, RS232, CAN Communication
  • Low Power Relay and High-Power Contactor Multiplexing Topologies
  • Powerful, Flexible Test Sequencer
  • Webasto (AeroVironment) Cycler Integration
  • MES Database Integration