← Back to Cases
simulating a LiPo battery
Keywords
Battery simulationCharging circuit testingsingle fixture, many designsRTT protocolself-test firmware
The Challenge
The client has a device that can run on a LiPo cell, as wel as charge it when plugged in to USB. For consistent testing of a product that has battery charging / discharging, we needed to simulate a LiPo battery.

Our Solution
The 12 IO-modules of the EVAjig come standard with 4 power sources that can also be used as current- or voltage-controlled loads. Thus, the EVAjig can accurately replicate battery characteristics including (dis)charge curves, internal resistance, and temperature effects.
The EVAjig was programmed to simulate the device charging the battery, stop charging when the voltage reaches 4.2V, and running on battery power instead of USB. Next to the battery simulation, the EVAjig measures various voltages, programs the MCU, sends the UUID to the client's backend server.
Several internal software and communication tests are performed by the MCU on the device itself using a self-test-firmware. These tests are initiated and the results conveyed by the RTT protocol that uses the same pins as the SWD-programming pins.
The EVAjig was programmed to simulate the device charging the battery, stop charging when the voltage reaches 4.2V, and running on battery power instead of USB. Next to the battery simulation, the EVAjig measures various voltages, programs the MCU, sends the UUID to the client's backend server.
Several internal software and communication tests are performed by the MCU on the device itself using a self-test-firmware. These tests are initiated and the results conveyed by the RTT protocol that uses the same pins as the SWD-programming pins.
The Results
The system validated charging circuitry and power management under various conditions, ensuring reliable operation in the field. This client tests the two PCBA's that together encompass a single product on the same EVAjig fixture, using two cassettes.