USB Power supply Active Load Tester or short PAL Tester is unit designed for testing the quality of the power supplies.
Idea was to create low-cost, precise device for simultaneous measurement of Voltage and Current drawn from the device under test. This is one of my weekend projects that I have decided to release to the public. All source files can be found on projects GitHub page.
- Open Source and Open Hardware
- Modular design, easy to understand and change/adapt to your needs
- Uses widely available and off-the shelf components
- Components Bill of Material is below $10
- Integrated USB-to-Serial converter for easier interface with the device
- API for communicating with PC
- Recording Voltage vs Amps data and graphing the results
- Easy to use
- PSU under test max voltage 55V
- Current Load of 5A (or more by changing Rs value)
- Current and Voltage measurement accuracy is below 5%
Component list and estimated price:
- 1x – PIC16F1829 [$1.6]
- 1x – MCP6002 Rail-to-Rail OpAmp [$0.69]
- 1x – MCP4726 12bit DAC [$0.96]
- 1x – IRF L3705 Logic Level N-MOSFET [$0.5]
- 1x – CH340T USB-to-Serial converter [$0.99]
- 10x – 1 ohm 1% 1/2W resistor
miscellaneous (resistors and capacitors)
How to build your own USB Power supply Active Load Tester:
If you are going to use photo etching or toner transfer method to make DIY board, there are bottom layer printouts in the Hardware folder that are ready for you to print and create a board via your favorite PCB manufacturing technique.
Once you have finished with developing, cleaning and drilling the board, in Hardware folder you have a file “Component-placement.png” which shows how and where to position components.
If you want to make changes or review the design, Schematic files (in .pdf) and Altium project files are available for download in Hardware folder. Open the design files in Altium or convert them to your favorite CAD and edit them.
Device operation for laymans:
The microcontroller sets the voltage on the positive input of the Op amp through a Digital-to-Analog converter (DAC).
The output of the op-amp then drives the N-MOSFET that allows current to flow.
The negative input of op-amp is connected to the sensing resistor (Rs) that is between the source of the N-MOSFET and GND.
The voltage across Rs (and thus voltage on the negative input of the op-amp) is proportional to the current flowing through the resistor. For 1 Ohm resistor, V=1 ohm x Current draw.
Read More: USB power supply active load tester