Skip to the content
2 layers228.6 × 86.4 mmST2402, the printed circuit board in 3D

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

1

README

README.md

OpenTPT - Open Triple Pulse Test

License Python

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

PulsePurposeDescription
First PulseEstablish DC biasNo additional DC bias source needed
Second Pulse(s)StabilizingAllow transients to settle
Third PulseTarget cycleSteady-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

ComponentSupported ModelsDescription
Power SupplyBK Precision 9129BDual-channel supply (V+ and V-)
OscilloscopePicoScope 2408BCaptures voltage/current waveforms
Control BoardNUCLEO-H503RB, ST2402Generates PWM pulses for H-bridge
Current Probe100 mV/A (recommended)Measures inductor current, > 20 MHz
Voltage Probes10:1 passive probesInput/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.json file 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, or board.py.


🚀 Quick Start

Prerequisites

  • Python 3.8 or higher
  • Hardware setup (power supply, oscilloscope, control board) connected to your PC

Installation

  1. Clone the repository

    bash
    git clone https://github.com/JunWang-Bristol/OpenTPT.git
    cd OpenTPT
  2. Create a virtual environment (recommended)

    bash
    python -m venv venv
    
    # Windows
    venv\Scripts\activate
    
    # Linux/macOS
    source venv/bin/activate
  3. Install dependencies

    bash
    pip install -r requirements.txt
  4. Configure hardware – Copy and edit the hardware configuration:

    bash
    cp hardware_configuration_template.json hardware_configuration.json

    Edit hardware_configuration.json with 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
    }
  5. 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
python
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
  1. Navigate to the frontend directory:

    bash
    cd src/frontend
  2. Run the dashboard:

    bash
    python frontend.py
  3. Open your browser to http://127.0.0.1:8050


📁 Project Structure

text
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_scale defines how to convert oscilloscope voltage readings to actual current values:

Current (A) = Oscilloscope Voltage (V) × probe_scale

Probe SensitivityProbe Scale Value
100 mV/A0.1
1 V/A1.0
10 mV/A0.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

OrganizationContributors
PSMA/Würth ElektronikGeorge Slama, Alfonso Martinez, Matt Wilkowski
University of BristolJun Wang, Binyu Cui, Jingrong Yang
University of ManchesterCheng 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:

bibtex
@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:

Parts

105
QtyValueFootprintReferences
1010uFCapacitor_SMD:C_1210_3225MetricC1, C12, C15, C16, C17, C20, C21, C22, C23, C24
8MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965H1, H2, H3, H4, H5, H6, H7, H8
8R820Resistor_SMD:R_1206_3216MetricR1, R2, R3, R4, R5, R6, R7, R8
7100nFCapacitor_SMD:C_0805_2012MetricC2, C3, C5, C7, C8, C9, C25
6TestPointTestPoint:TestPoint_Plated_Hole_D5.0mmTP1, TP2, TP16, TP17, TP18, TP19
41000uFCapacitor_THT:CP_Radial_D30.0mm_P10.00mm_SnapInC10, C11, C13, C14
310uFCapacitor_SMD:C_0805_2012MetricC6, C26, C35
3ORGTestPoint:TestPoint_Keystone_5010-5014_MultipurposeTP6, TP13, TP15
3Screw_Terminal_01x01Library:Banana_4mm_pcbJ15, J16, J17
3TestPointTestPoint:TestPoint_Keystone_5010-5014_MultipurposeTP4, TP5, TP12
2100RResistor_SMD:R_0805_2012MetricR18, R19
2100kResistor_SMD:R_0805_2012MetricR30, R31
210RResistor_SMD:R_0805_2012MetricR22, R24
210kResistor_SMD:R_0805_2012MetricR20, R21
210uF 25VCapacitor_SMD:C_0805_2012MetricC4, C34
210uF 50VCapacitor_SMD:C_1210_3225MetricC18, C19
21uF 25VCapacitor_SMD:C_0805_2012MetricC27, C36
22RResistor_SMD:R_0805_2012MetricR23, R29
23k 0.5WResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P15.24mm_HorizontalR9, R10
26.3A FAFuse:Fuseholder_TR5_Littelfuse_No560_No460F1, F2
2BNCConnector_Coaxial:BNC_TEConnectivity_1478204_VerticalJ13, J19
2Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ7, J8
2Conn_01x08Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ3, J4
2Conn_02x02_Top_BottomConnector_PinSocket_2.54mm:PinSocket_2x02_P2.54mm_VerticalJ11, J12
2Conn_02x03_Top_BottomConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ21, J22
2Conn_02x19_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x19_P2.54mm_VerticalJ1, J2
2STB100N10F7Package_TO_SOT_THT:TO-220-3_VerticalQ1, Q2
2Screw_Terminal_01x01TestPoint:TestPoint_Plated_Hole_D2.0mmJ14, J18
2WHTTestPoint:TestPoint_Keystone_5010-5014_MultipurposeTP10, TP14
2~Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU6, U8
2~GS_Library:5_pin_single_smdU1, U7
11k88Resistor_SMD:R_0805_2012MetricR12
11uFCapacitor_SMD:C_0805_2012MetricC37
1470RResistor_SMD:R_0805_2012MetricR11
1BLKTestPoint:TestPoint_Keystone_5010-5014_MultipurposeTP11
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ5
1Conn_01x10Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ6
1LM317L_SOT-89Package_TO_SOT_SMD:SOT-89-3U2
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ9

Similar boards

  • 2 layers80 × 72 mmESC PLC, the printed circuit board in 3D

    ESC PLC

    Simon-VDVelde/ESC-with-FOC-and-Ethercat

    147 parts
  • 2 layers228.4 × 85 mmLeChiffre, the printed circuit board in 3D

    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 layers146.1 × 118.8 mmApiaster, the printed circuit board in 3D

    Apiaster

    nmunnich/apiaster

    Apiaster is a 50 key keyboard designed to be cheap, adjustable, and upgradeable.

    105 parts118
  • 2 layers63 × 81 mmEspLora, the printed circuit board in 3D

    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 mmAS3397 proto SMS, the printed circuit board in 3D

    AS3397 proto SMS

    PhysicsDptAngers/polyUAnalog

    Open source, analog and polyphonic synthesizer

    105 parts88MIT
  • 2 layers265.6 × 436 mmAhokore, the printed circuit board in 3D

    Ahokore

    dezlidezlidezli/ahokore

    Ahokore is a 36-key one-piece split keyboard, with full wireless functionality.

    105 parts84
  • 2 layers30.5 × 42.2 mm3bpV2Plus RevB, the printed circuit board in 3D

    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.