Skip to the content
PCBKitNew board
4 layers104.1 × 132.6 mmAmpeater, the printed circuit board in 3D

10 A/us high current electronic load for power supply testing

Size
104.1 × 132.6 mm
Copper layers
4
Thickness
1.61 mm
Parts
97
Nets
70
Pads
273
Tracks, vias
425, 155
Pours
15
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
28 Mar 2022
Updated
12 Dec 2023

Overview

Ampeater is an open-source printed circuit board by Acliad, from the Acliad/Ampeater repository on GitHub, published under the MIT licence. It is a 4-layer board of 104.1 × 132.6 mm with 97 parts on 70 nets, routed with 425 tracks and 155 vias.

It is built around the TLV9162ID, AD5452YRMZ and IRF3205. Its parts include 33 resistors, 22 capacitors, 8 connectors, 5 ICs and 5 switches. It belongs with the power boards and the STM32 boards of this library.

Main components

3

README

README.md

Overview

This project is a 50 W electronic load. The table below outlines the basic specs for the load.

DescriptionSpec
Supply Voltage12 V
Slew Rate10 A/µs
Maximum Current10 A
Maximum Power Dissipation50 W
Program Resolution (low range / high range)1 mA / 10 mA
Program Accuracy0.2% $\pm$ 0.2% FS
Maximum Overshoot1%
Measurement Readout Accuracy0.2% $\pm$ 0.2% FS

The primary challenge with designing an electronic load is to making it stable over a wide range of load currents and input conditions. This challenges becomes worse when the design demands a fast rise time. The target slew rate for this load is 10 A/µs, which is quite fast. In comparison, the Keysight EL34243A has a slew rate of about 5 A/µs.

This challenge is two-fold. The initial and obvious challenge is the control loop, which is discussed in detail in the Theory Of Operation section. Simply, this requires proper compensation to maintain stability and rise time. The more nefarious issue is the issue of input impedance, largely due to the inductance of the wires connecting the load to the source being tested. This inductance is, in general, not known and can vary widely, in the range of 50 nH to 2 uH between short, heavy gauge wire and garden-variety banana cables. This inductance has a large affect on the control loop and can significantly change the rise time and stability of the load.

Because the current level and slew rate are so large, the slew rate and overshoot specs are defined to be valid for input inductances in the range of 100 nH–roughly 10 cm of 12 AWG wire. This was the assumed input inductance during the design stage.

Design and Simulation

The Control Loop

Figure 1 shows the main control circuit. The main compensation components have been highlighted. Q201 and gate resistors are used to switch the current range between 1 A and 10 A. For this analysis, assume either R211+R212 OR R214 is connected. R202 isolates the output of the opamp from the gate capacitance, which is required for stability. This compensator is known as a Type III compensator. There are two compensators, each designed to sink up to 0.5/5.0 A. This is done to reduce power dissipation in each transistor.

Figure 1: Control Loop Circuit

The poles and zeros of the compensator can be set by the compensation components outlined in Figure 1, with equations given in Switch-mode power converter compensation made easy.

Figure 2 shows the SPICE simulation setup for the control loop, where the spice models for the TLV9162 were provided by TI and the spice models for the IRF3205 were provided by Infineon. R6 and C4 are used to compensate for the inductance L1.

Figure 2: Simulation Schematic

The values for the compensation components were tuned until the desired step response was obtained. Figure 3 below shows the simulated step response to 10 A for RS = 0.2, L1 = 100 nH. The compensation values are given in Figure 1. The overshoot spec is met and the 10% to 90% rise time was measured to be 1.03µs.

Figure 3: Simulated Step Response

Controlling The Control Loop

An STM32L041 was used as the microcontroller for this board. It was chosen for its availability at the time of design (which was during the 2022 parts shortage). It features an on-board 12-bit ADC, which has enough resolution to meet the measurement specs, but the resolution can be further improved using hardware oversampling.

A DAC is used to set the control voltage for the control loop. The chosen DAC is the ADI AD5452YRM, a fast settling time R2-R DAC. This DAC was chosen as the step response of the DAC needed to be at least as fast as the response of the overall control circuit. The chosen DAC should be more than sufficent for the task.

Figure 4 shows the DAC arrangement. As noted in the image, the reference voltage is being fed into the current output pin of the DAC and the output voltage is being taken from the Vref pin. R2-R DACs generally allow this arrangement (unless the output is internally buffered), but typically require the reference voltage to be much less than than the supply voltage to overcome the required Vgs of the internal FETs. The ADI datasheet is not clear on how much larger Vcc should be, so the first attempt simply used a 3.3V supply.

The output impedance of an R2-R DAC in this reverse arrangement is equal to the R value, which is 10k for the AD5452YRM. It is possible that the RC time constant could slow down the output transition, so the traces connecting the DAC to the opamp input should be kept short.

Figure 4: DAC Schematic Block

Heatsinking

A large heatsink was chosen to be capable of dissipating at least 50 W with forced air cooling. The thermal calculations were done assuming smooth fin design, however, the chosen heatsink has serrated fins which should significantly improve the heatsinking ability.

Human Interfacing

A colored LCD, two pushbuttons, and a rotary encoder with a built-in push button is used to interface with the electronic load. The primary function of the buttons are:

  • Output On/Off
  • Slew Rate Setting
  • Range Selection

The rotary encoder is used to set the load current.

Results

The final board is shown in Figure 5. All basic DC functions worked including range switching, current measurement, and current sinking up to 10 A. It was found to be stable over the entire range of set current, with some small amount of ringing on the 10 A setting with 2X3ft (6ft ~ 2nH input inductance).

Figure 5: Assembled Ampeater

The output was found to be overdamped when two 8 cm lengths of 12 AWG wire were used to connect to the load. The scope capture is shown in Figure 6. The capture is measured across Rsense of one of the control loops with a resistance of ~0.2 Ohms, so 1 V equals 10 A of load current. The capture shows a clearly overdamped response, which makes the load very stable but much slower than desired with a rise time of ~11 µs. To adjust this, the compensation components must be tuned and the measurement performed until the results are acceptable. This is still a TODO item.

Figure 6: Scope capture measured across one controller's Rsense

Both the hardware and software are currently in prototype phase and much remains to be done, especially on the software side. However, early results are quite good and all specs appear to be met except the rise time. Tuning of component values will need to be done to ensure this spec is met.

TODO

  • Hardware

    • Add output buffer to range select switch
    • Increase reference voltage
    • (Probably) decrease low range current sense resistor
    • Make slightly longer for connectors
    • Add power switch labels
    • Add spots for R6 and C4 (simulation reference designators) compensation resistor/cap
    • Tune compensation values on prototype board to increase rise time.
  • Software

    • Investigate a continuos mode ADC sampling that doesn't require polling of every channel for a single channel read
    • Use a faster LCD Library utilizing DMA
    • Add proper return type and error throwing for completion
    • Use the Vrefint to measure external VDDA for more accurate readings
    • Implement encoder velocity
    • Implement slew rate limiting
    • Implement a calibration routine to calibrate to resistors
  • Documentation

    • Add more discussion on compensator in Theory Of Operation (not currently done do to the absurdity of trying to add equations to GitHub's Markdown)
    • Update images of board

Parts

97
QtyValueFootprintReferences
1010kResistor_SMD:R_0603_1608MetricR206, R207, R208, R209, R213, R221, R306, R307, R308, R309
60.1uFCapacitor_SMD:C_0603_1608MetricC202, C301, C304, C306, C309, C310
61.5kResistor_SMD:R_0603_1608MetricR101, R201, R210, R215, R301, R304
40.1irex_Resistor_SMD:Rohm_GMR100_B6.40x3.20mmR211, R212, R219, R220
4100Resistor_SMD:R_0603_1608MetricR204, R205, R218, R310
410uFCapacitor_SMD:C_0603_1608MetricC101, C102, C103, C303
4IRF3205Package_TO_SOT_THT:TO-220-3_VerticalQ201, Q202, Q203, Q204
4M3MountingHole:MountingHole_3.2mm_M3_PadH101, H102, H103, H104
4NetTie_2irex_NetTie:NetTie-2_SMD_Pad12.0milsNT203, NT204, NT205, NT206
30.01uFCapacitor_SMD:C_0603_1608MetricC302, C305, C308
31uFCapacitor_SMD:C_0603_1608MetricC201, C307, C311
21N4007Diode_SMD:D_SOD-123FD301, D302
22Resistor_SMD:R_2512_6332MetricR214, R222
2270pFCapacitor_SMD:C_0603_1608MetricC205, C208
2430pFCapacitor_SMD:C_0603_1608MetricC203, C206
25.1kResistor_SMD:R_0603_1608MetricR203, R217
282pFCapacitor_SMD:C_0603_1608MetricC204, C207
291Resistor_SMD:R_0603_1608MetricR202, R216
2NetTie_GND_I-irex_NetTie:NetTie-2_SMD_Pad8.0milsNT201, NT202
10603_Jumperirex_Jumper:Jumper-2_0603_1608Metric_Trace12milJP201
11.3 C°/Wirex_Heatsink:Heatsink_HeatsinkUSA_3.00x1.65in_2xDrill5.25mm_TO-220-MountHS201
112V InputConnector_BarrelJack:BarrelJack_CUI_PJ-102AH_HorizontalJ101
113kResistor_SMD:R_0603_1608MetricR303
12.4" Color LCDirex_Display:LCD-Generic-2.4in_77.18x42.72mm_ReducedCourtyardDS301
130kResistor_SMD:R_0603_1608MetricR302
16.2kResistor_SMD:R_0603_1608MetricR305
1AD5452YRMPackage_SO:MSOP-8_3x3mm_P0.65mmU303
1AZ1117-3.3Package_TO_SOT_SMD:TO-252-2U101
1BOOT0TestPoint:TestPoint_THTPad_D2.5mm_Drill1.2mmTP301
1DAC_JumperJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP301
1Encoder/Range SelectRotary_Encoder:RotaryEncoder_Alps_EC12E-Switch_Vertical_H20mmSW304
1FanConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalM201
1I+_BananaConnector:CalTest_CT3151J103
1I+_ThroughHoleTestPoint:TestPoint_THTPad_D4.0mm_Drill2.0mmJ102
1I-_BananaConnector:CalTest_CT3151J105
1I-_ThroughHoleTestPoint:TestPoint_THTPad_D4.0mm_Drill2.0mmJ106
1I_TerminalBlockTerminalBlock_Philmore:TerminalBlock_Philmore_TB132_1x02_P5.00mm_HorizontalJ104
1MCP1501Package_TO_SOT_SMD:SOT-23-6U302
1On/Offirex_Button_Switch_SMD:SW_PUSH-12mm_Wuerth-430476085716_HandSolderSW302
1Pinkirex_LED_SMD:LED_Kingbright_AA3528V_3.5x2.8mm_handsolderD101
1Power Switchirex_Button_Switch_THT:SW_E-Switch_EG1271_SPDTSW101
1RSTirex_Button_Switch_SMD:SW-PUSH-6x3.5mm_CK-PTS636SL43x_HandSolderSW301
1STM32L041F6PxPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU301
1SWD_HeaderConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_HorizontalJ302
1Slew Rateirex_Button_Switch_SMD:SW_PUSH-12mm_Wuerth-430476085716_HandSolderSW303
1TLV9162Package_TO_SOT_SMD:SOT-23-8U201
1TestPointTestPoint:TestPoint_THTPad_D2.5mm_Drill1.2mmTP302
1UART_HeaderConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_HorizontalJ301

Questions

How big is the Ampeater PCB?

It measures 104.1 × 132.6 mm and has 4 copper layers, 1.61 mm thick.

What parts does the Ampeater use?

97 parts, built around the TLV9162ID, AD5452YRMZ and IRF3205. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Ampeater KiCad files?

From the Acliad/Ampeater repository on GitHub, at the commit this page was made from: the board is PCB Design Files/Ampeater.kicad_pcb and its schematic PCB Design Files/Ampeater.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ampeater design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers54.4 × 22.9 mmCurrent, the printed circuit board in 3D

    Current

    ataradov/current

    Current profiler

    55 parts1
  • 2 layers77.7 × 73.2 mmBMT BionX Minimum Translator vereinfacht, the printed circuit board in 3D

    BMT BionX Minimum Translator vereinfacht

    stancecoke/BionX_Minimal_Translator

    Drive your BionX motor with a no-name battery and a Kunteng LCD-display without any further BionX-components

    40 parts22GPL-3.0
  • 2 layers50.2 × 73 mmLibreductioner, the printed circuit board in 3D

    Libreductioner

    andreasb242/Libreductioner

    Induction loop sender for mower

    39 parts8GPL-2.0
  • 2 layers98.8 × 55.1 mmH bridge controller, the printed circuit board in 3D

    H bridge controller

    jayanta525/dual-h-bridge

    Dual H-Bridge Controller with IRF3205 and IR2104 MOSFET Driver, and with ATMega328P-AU PWM Controller

    104 parts5MIT
  • 2 layers90 × 44 mmDC AC Inverter EGS, the printed circuit board in 3D

    DC AC Inverter EGS

    stefaweb/DC-AC-Inverter-EGS

    Mini DC-AC Inverter with EGS002 module

    42 parts5
  • 2 layers80 × 100 mmCustomPCB, the printed circuit board in 3D

    CustomPCB

    Cpp-homies/MAPLE

    M.A.P.L.E: Modular Automated Plant Life Enclosure

    23 parts4MIT
  • 2 layers92.6 × 52 mmSineWaveInverter, the printed circuit board in 3D

    SineWaveInverter

    ampnics/Project-10

    Mater KiCad with Projects is a series of lectures in which we are learning PCB designing

    44 parts2