

ST2402
OpenTPT — open-source Triple Pulse Test (TPT) platform for characterization of power magnetics.
- Size
- 228.6 × 86.4 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 105
- Nets
- 139
- Pads
- 320
- Tracks, vias
- 404, 71
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 19 Jun 2023
- Updated
- 14 Oct 2026
Overview
ST2402 is an open-source printed circuit board by JunWang-Bristol, from the JunWang-Bristol/OpenTPT repository on GitHub. It is a 2-layer board of 228.6 × 86.4 mm with 105 parts on 139 nets, routed with 404 tracks and 71 vias.
It is built around the STB100N10F7. Its parts include 31 capacitors, 22 resistors, 20 connectors, 5 ICs and 2 transistors.
Main components
1README
README.mdOpenTPT - Open Triple Pulse Test
OpenTPT is an open-source Triple Pulse Test (TPT) platform for magnetic characterization of core loss and inductance in power magnetics and power electronics applications.
📄 Paper: Triple Pulse Test (TPT) for Characterizing Magnetic Components
📋 Overview
The Triple Pulse Test (TPT) is a discontinuous excitation method for characterizing power losses and inductance in magnetic components. Unlike traditional continuous excitation methods, TPT uses a series of precisely timed pulses to achieve steady-state magnetic conditions rapidly.
Discontinuous Procedure
| Pulse | Purpose | Description |
|---|---|---|
| First Pulse | Establish DC bias | No additional DC bias source needed |
| Second Pulse(s) | Stabilizing | Allow transients to settle |
| Third Pulse | Target cycle | Steady-state measurement |
✨ Features
- ⚡ Rapid Testing – Short transition time (100–500 µs), ideal for end-of-line and 100% testing
- 🔄 Bidirectional Current Flow – Emulates practical B-H loop in PWM converters
- 💰 Low Cost – Reduced setup requirements compared to traditional methods
- 🌡️ Constant Temperature – Negligible heat generated during testing
- 📊 DC Bias Capability – Characterize saturation curves with built-in DC bias support
- 🖥️ Web Dashboard – Real-time visualization with Dash frontend
🔧 Hardware Setup
Testing Circuit (Half-Bridge)
Example Equipment
| Component | Supported Models | Description |
|---|---|---|
| Power Supply | BK Precision 9129B | Dual-channel supply (V+ and V-) |
| Oscilloscope | PicoScope 2408B | Captures voltage/current waveforms |
| Control Board | NUCLEO-H503RB, ST2402 | Generates PWM pulses for H-bridge |
| Current Probe | 100 mV/A (recommended) | Measures inductor current, > 20 MHz |
| Voltage Probes | 10:1 passive probes | Input/output voltage measurement |
💡 Use Your Existing Equipment!
TPT is designed to work with lab equipment you likely already have. The modular architecture uses a
hardware_configuration.jsonfile to specify your power supply, oscilloscope, and control board. Simply configure the JSON with your device names and COM ports—no need to purchase specific models listed above.Adding support for new hardware is straightforward: implement the interfaces in
power_supply.py,oscilloscope.py, orboard.py.
🚀 Quick Start
Prerequisites
- Python 3.8 or higher
- Hardware setup (power supply, oscilloscope, control board) connected to your PC
Installation
-
Clone the repository
bash git clone https://github.com/JunWang-Bristol/OpenTPT.git cd OpenTPT -
Create a virtual environment (recommended)
bash python -m venv venv # Windows venv\Scripts\activate # Linux/macOS source venv/bin/activate -
Install dependencies
bash pip install -r requirements.txt -
Configure hardware – Copy and edit the hardware configuration:
bash cp hardware_configuration_template.json hardware_configuration.jsonEdit
hardware_configuration.jsonwith your port assignments:json { "power_supply": "BK9129B", "power_supply_port": "COM3", "oscilloscope": "PicoScope2408B", "oscilloscope_port": "COM5", "board": "NUCLEO-H503RB", "board_port": "COM6", "input_voltage_probe_scale": 10, "output_voltage_probe_scale": 10, "current_probe_scale": 0.1 } -
Verify your setup – Run tests to ensure everything is configured correctly:
bash cd tests python -m pytest .Or run individual hardware tests:
bash python board_tests.py python oscilloscope_tests.py python power_supply_tests.py
Running Your First Measurement
Using Python API
from src.tpt import InductanceMeasurement, CoreLossesMeasurement
# Initialize the measurement system
meas = InductanceMeasurement(
power_supply='BK9129B',
oscilloscope='PicoScope2408B',
board='NUCLEO-H503RB',
power_supply_port='COM3',
oscilloscope_port='USB',
board_port='COM6',
current_probe_scale=0.1 # 100 mV/A probe
)
# Demagnetize the core before measurement
meas.demagnetize()
# Create test parameters for frequency sweep
params = meas.create_balanced_pulse_train(
voltage=10, # Voltage amplitude (V)
frequency=100000, # Frequency (Hz)
num_pulses=4 # Number of pulse pairs
)
# Run measurement...Using Web Dashboard
-
Navigate to the frontend directory:
bash cd src/frontend -
Run the dashboard:
bash python frontend.py -
Open your browser to
http://127.0.0.1:8050
📁 Project Structure
OpenTPT/
├── src/
│ ├── tpt.py # Main measurement classes (InductanceMeasurement, CoreLossesMeasurement)
│ ├── post_processor.py # Waveform analysis and loop extraction
│ ├── board.py # Control board interface
│ ├── oscilloscope.py # Oscilloscope interface
│ ├── power_supply.py # Power supply interface
│ ├── boards/ # Board drivers
│ │ ├── NUCLEO-H503RB/ # STM32 NUCLEO board firmware
│ │ └── ST2402/ # ST2402 driver board support
│ ├── oscilloscopes/ # Oscilloscope drivers
│ │ └── PicoScope.py # PicoScope 2408B driver
│ ├── power_supplies/ # Power supply drivers
│ │ └── BK.py # BK Precision 9129B driver
│ └── frontend/ # Web dashboard
│ └── frontend.py # Dash-based GUI
├── tests/ # Unit tests
├── hardware_configuration_template.json
├── requirements.txt
└── LICENSE📝 Configuration Notes
Current Probe Scale
⚠️ Important: The
current_probe_scaledefines how to convert oscilloscope voltage readings to actual current values:
Current (A) = Oscilloscope Voltage (V) × probe_scale
| Probe Sensitivity | Probe Scale Value |
|---|---|
| 100 mV/A | 0.1 |
| 1 V/A | 1.0 |
| 10 mV/A | 0.01 |
Common mistake: For a 100 mV/A probe, use scale=0.1 (not 10). The probe outputs 100 mV when 1 A flows, so you multiply by 0.1 to get amperes.
🤝 Contributors
| Organization | Contributors |
|---|---|
| PSMA/Würth Elektronik | George Slama, Alfonso Martinez, Matt Wilkowski |
| University of Bristol | Jun Wang, Binyu Cui, Jingrong Yang |
| University of Manchester | Cheng Zhang |
📅 Roadmap
🚧 OpenTPT – Project Under Construction
Expected release: APEC 2027
📄 License
This project is licensed under the BSD 4-Clause License – see the LICENSE file for details.
Copyright © 2023, University of Bristol
📚 Citation
If you use this project in your research, please cite:
@inproceedings{OpenTPT,
title={Triple Pulse Test (TPT) for characterizing power loss in magnetic components in analogous to Double Pulse Test (DPT) for power electronics devices},
author={Wang, Jun and others},
booktitle={IEEE Proc. Annual Conference of the IEEE Industrial Electronics Society (IECON)},
year={2020}
}📧 Contact
For questions, issues, or contributions, please:
- Open an issue on GitHub
- Contact the team at jun.wang@bristol.ac.uk
Parts
105| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 10uF | Capacitor_SMD:C_1210_3225Metric | C1, C12, C15, C16, C17, C20, C21, C22, C23, C24 |
| 8 | MountingHole | MountingHole:MountingHole_3.2mm_M3_DIN965 | H1, H2, H3, H4, H5, H6, H7, H8 |
| 8 | R820 | Resistor_SMD:R_1206_3216Metric | R1, R2, R3, R4, R5, R6, R7, R8 |
| 7 | 100nF | Capacitor_SMD:C_0805_2012Metric | C2, C3, C5, C7, C8, C9, C25 |
| 6 | TestPoint | TestPoint:TestPoint_Plated_Hole_D5.0mm | TP1, TP2, TP16, TP17, TP18, TP19 |
| 4 | 1000uF | Capacitor_THT:CP_Radial_D30.0mm_P10.00mm_SnapIn | C10, C11, C13, C14 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric | C6, C26, C35 |
| 3 | ORG | TestPoint:TestPoint_Keystone_5010-5014_Multipurpose | TP6, TP13, TP15 |
| 3 | Screw_Terminal_01x01 | Library:Banana_4mm_pcb | J15, J16, J17 |
| 3 | TestPoint | TestPoint:TestPoint_Keystone_5010-5014_Multipurpose | TP4, TP5, TP12 |
| 2 | 100R | Resistor_SMD:R_0805_2012Metric | R18, R19 |
| 2 | 100k | Resistor_SMD:R_0805_2012Metric | R30, R31 |
| 2 | 10R | Resistor_SMD:R_0805_2012Metric | R22, R24 |
| 2 | 10k | Resistor_SMD:R_0805_2012Metric | R20, R21 |
| 2 | 10uF 25V | Capacitor_SMD:C_0805_2012Metric | C4, C34 |
| 2 | 10uF 50V | Capacitor_SMD:C_1210_3225Metric | C18, C19 |
| 2 | 1uF 25V | Capacitor_SMD:C_0805_2012Metric | C27, C36 |
| 2 | 2R | Resistor_SMD:R_0805_2012Metric | R23, R29 |
| 2 | 3k 0.5W | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P15.24mm_Horizontal | R9, R10 |
| 2 | 6.3A FA | Fuse:Fuseholder_TR5_Littelfuse_No560_No460 | F1, F2 |
| 2 | BNC | Connector_Coaxial:BNC_TEConnectivity_1478204_Vertical | J13, J19 |
| 2 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J7, J8 |
| 2 | Conn_01x08 | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J3, J4 |
| 2 | Conn_02x02_Top_Bottom | Connector_PinSocket_2.54mm:PinSocket_2x02_P2.54mm_Vertical | J11, J12 |
| 2 | Conn_02x03_Top_Bottom | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J21, J22 |
| 2 | Conn_02x19_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x19_P2.54mm_Vertical | J1, J2 |
| 2 | STB100N10F7 | Package_TO_SOT_THT:TO-220-3_Vertical | Q1, Q2 |
| 2 | Screw_Terminal_01x01 | TestPoint:TestPoint_Plated_Hole_D2.0mm | J14, J18 |
| 2 | WHT | TestPoint:TestPoint_Keystone_5010-5014_Multipurpose | TP10, TP14 |
| 2 | ~ | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U6, U8 |
| 2 | ~ | GS_Library:5_pin_single_smd | U1, U7 |
| 1 | 1k88 | Resistor_SMD:R_0805_2012Metric | R12 |
| 1 | 1uF | Capacitor_SMD:C_0805_2012Metric | C37 |
| 1 | 470R | Resistor_SMD:R_0805_2012Metric | R11 |
| 1 | BLK | TestPoint:TestPoint_Keystone_5010-5014_Multipurpose | TP11 |
| 1 | Conn_01x06 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J5 |
| 1 | Conn_01x10 | Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical | J6 |
| 1 | LM317L_SOT-89 | Package_TO_SOT_SMD:SOT-89-3 | U2 |
| 1 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J9 |
Similar boards
- 2 layers80 × 72 mm

- 2 layers228.4 × 85 mm

LeChiffre
tominabox1/Le-Chiffre-Keyboard
Great thanks goes to Jake at P3D for really making the case amazing and open sourcing his work. Check him out at P3Dstore.com
105 parts183GPL-3.0 - 2 layers27.9 × 101.6 mm

MFOS Eight Stage Phase Shifter - Main
mzuelch/CATs-Eurosynth
Analog Synth Eurorack Modules
105 parts166MIT - 2 layers146.1 × 118.8 mm

Apiaster
nmunnich/apiaster
Apiaster is a 50 key keyboard designed to be cheap, adjustable, and upgradeable.
105 parts118 - 2 layers63 × 81 mm

EspLora
BerkeleyHCI/PolymorphicBlocks
A Python-based hardware description language for PCBs for higher-level (block-diagram / system-architecture level) PCB design through libraries of directly reusable subcircuit generators.
105 parts94BSD-3-Clause - 2 layers70.5 × 100.2 mm

AS3397 proto SMS
PhysicsDptAngers/polyUAnalog
Open source, analog and polyphonic synthesizer
105 parts88MIT - 2 layers265.6 × 436 mm

Ahokore
dezlidezlidezli/ahokore
Ahokore is a 36-key one-piece split keyboard, with full wireless functionality.
105 parts84 - 2 layers30.5 × 42.2 mm

3bpV2Plus RevB
zaxour/TripleBypassV2Plus
Variant of Tian Feng's Triple Bypass V2 with fixes and functionality added
105 parts81
Questions
How big is the ST2402 PCB?
It measures 228.6 × 86.4 mm and has 2 copper layers, 1.6 mm thick.
What parts does the ST2402 use?
105 parts, built around the STB100N10F7. 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 ST2402 KiCad files?
From the JunWang-Bristol/OpenTPT repository on GitHub, at the commit this page was made from: the board is src/boards/ST2402/ST2402.kicad_pcb and its schematic src/boards/ST2402/ST2402.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the ST2402 design in my own project?
Its repository states no licence, so its author keeps all rights: ask JunWang-Bristol before reusing the design.