Skip to the content
2 layers228.6 × 101.6 mmPCB Design Coursework, the printed circuit board in 3D

PLECS, MATLAB and KiCad design archive for a 30 Vac / 35 Vdc to 10 V isolated SMPS forward converter.

Size
228.6 × 101.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
29
Pads
199
Tracks, vias
117, 1
Pours
4
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
25 Aug 2026
Updated
25 Aug 2026

Overview

PCB Design Coursework is an open-source printed circuit board by Durant-li, from the Durant-li/smps-forward-converter repository on GitHub. It is a 2-layer board of 228.6 × 101.6 mm with 44 parts on 29 nets, routed with 117 tracks and 1 via.

It is built around the TC4425AVPA, BYV25FX-600,127 and ECA2AM102, with the IRFI530NPBF and VS-KBPC606PBF among its other parts.

Main components

5

README

README.md

SMPS Forward Converter Design and Simulation

Portfolio archive of an EEEE2071 group project covering the design, simulation, control, and PCB implementation of an isolated switch-mode power-supply forward converter.

The design target was to convert either a 35 V DC source or a 30 V RMS, 50 Hz AC source into a regulated 10 V DC output over an approximately 7.5-50 W load range. The work progressed from an ideal PLECS model to non-ideal device models, rectified AC input, isolated gate drive, magnetic and thermal analysis, Type I/Type III feedback control, and PCB layout.

This was a team project. The original report credits Alfred James, Jiahe Zhao, Junkai Zhou, and Yunzhe Jiang. Student IDs were removed from the public report. Publication permission does not imply sole authorship by the repository owner.

Design targets

RequirementTarget
DC input35 V
AC input30 V RMS, 50 Hz
DC output10 V
Output power7.5-50 W
Output-voltage ripple< 0.2 V
Switching frequencyapproximately 100 kHz
Nominal duty cycle0.4

System overview

text
30 V RMS / 50 Hz AC
        |
full-wave rectifier + input reservoir capacitors
        |
two-switch isolated forward converter
        |
secondary rectifier + LC output filter
        |
10 V DC load

feedback path: output sensing -> Type I/Type III compensator -> PWM -> isolated gate drive

Design evolution and results

1. Ideal DC-input converter

The ideal model used a 35 V DC source, 100 kHz switching, 0.4 duty cycle, a 7:5 transformer turns ratio, a 40 uH output inductor, and 18.75 uF total output capacitance. The reported steady-state result was approximately 10.00 V DC with 0.10 V peak-to-peak ripple.

Ideal forward-converter model

2. Non-ideal component model

The non-ideal stage introduced:

  • 0.11 ohm MOSFET on-state resistance;
  • 1.3 V diode forward drop and 0.04 ohm diode on-state resistance;
  • measured capacitor ESR values of 1.07, 1.07, and 2.47 ohm;
  • practical capacitor values and transformer-ratio adjustment.

With the original ratio, the reported output fell to about 8.62 V with 0.63 V ripple. Changing the transformer ratio to 28:23 restored the DC level to approximately 10.10 V, while the high ESR still produced about 0.73 V ripple.

Non-ideal forward-converter model

Two non-ideal files are intentionally retained:

  • 02a_nonideal_report_model.plecs reproduces the schematic used for the report figures;
  • 02b_nonideal_component_value_revision.plecs contains the later 4.7 uF + 4.7 uF + 10 uF capacitor revision.

3. Rectified AC input

The AC-input stage added a full-wave bridge and two 1 mF reservoir capacitors. A 29:21 transformer ratio was used in the report model, producing a reported DC component of approximately 10.02 V. The remaining 100 Hz input-envelope ripple motivated the closed-loop control work.

AC-input forward-converter model

4. Isolated gate drive

The gate-drive model uses a 1:1:1 transformer, 470 nF AC-coupling capacitor, 18 V Zener clamps, 56 ohm protection resistors, and 22 kohm pull-down resistors. A 15 V, approximately 96.8 kHz, 0.4-duty input produced a reported gate-source waveform of roughly -1 V to 14 V.

Isolated gate-drive model

5. Feedback control

The control/ directory contains PLECS and MATLAB models for Type I and Type III compensators. The control objective was high loop gain around the 100 Hz rectifier ripple while keeping loop gain low near the 100 kHz switching frequency and maintaining adequate phase margin.

Type IType III
Type I Bode resultType III Bode result

6. Magnetic, thermal, and PCB work

The archive also includes:

  • a magnetic-component model for transformer/inductor behaviour;
  • a converter loss model used for heatsink analysis;
  • the final KiCad schematic and PCB layout;
  • the custom symbol and footprint definitions required by the KiCad files.

The large third-party 3D model library and all KiCad backup/cache files were deliberately excluded.

Repository structure

text
.
|-- models/       staged PLECS converter and gate-drive models
|-- control/      Type I/Type III PLECS and MATLAB files
|-- analysis/     magnetic-component and heatsink/loss models
|-- hardware/pcb/ final KiCad design source
|-- assets/       selected, compressed figures for review
|-- docs/         public report and engineering notes
|-- NOTICE.md     authorship, privacy, and provenance statement
`-- README.md

How to inspect the project

PLECS

The models were created with PLECS 4.8. Open the numbered files in order:

  1. models/01_ideal_forward_converter.plecs
  2. models/02a_nonideal_report_model.plecs
  3. models/02b_nonideal_component_value_revision.plecs
  4. models/03_ac_input_report_model.plecs
  5. models/04_gate_drive.plecs

The magnetic, thermal, and controller models can then be inspected independently.

MATLAB

Run control/type1_bode.m or control/type3_bode.m with the Control System Toolbox available. Each script constructs the plant and compensator transfer functions and opens a margin plot.

KiCad

Open hardware/pcb/PCB_Design_Coursework.kicad_pro. The schematic, PCB, custom symbols, and custom footprints are included. Missing 3D-body warnings are expected because externally supplied 3D models were not republished.

Important model-traceability note

The archived source contains a historical inconsistency: the report's non-ideal component table specifies 4.7 uF, 4.7 uF, and 10 uF output capacitors, while the schematic used for several report figures contains three 6.25 uF capacitors. The AC report model also preserves the three-6.25-uF configuration.

This repository does not silently rewrite those historical artifacts. It preserves the report model and the later component-value revision as separate files. See docs/model_traceability.md before using the numerical results as validation data.

Main engineering lessons

  • Ideal calculations are a starting point; diode drops and switch resistance materially change the required turns ratio.
  • Capacitor ESR can dominate high-frequency output ripple and controller-plant dynamics.
  • A 100 kHz output filter is not an efficient way to reject the rectifier's 100 Hz envelope; closed-loop regulation is required.
  • Transformer reset constrains the forward-converter duty cycle to below 0.5.
  • Simulation step size must be selected carefully to avoid misleading ripple measurements.
  • Hardware-oriented PCB decisions include current-dependent track width, short switching loops, decoupling placement, isolation, thermal clearance, and accessible test points.

Documentation

Parts

44
QtyValueFootprintReferences
4BYV25FX-600EEEE2071_Electrical:SOD113U17, U23, U31, U33
4MountMountingHole:MountingHole_3.2mm_M3_Pad_ViaU29, U30, U32, U35
4RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalU24, U25, U27, U28
4TO220_HeatsinkEEEE2071_Electrical:TO220_HeatsinkU1-Mosfet1, U2-Mosfet1, U3-Diode1, U4-Diode1
3FCapacitor_THT:C_Rect_L7.0mm_W3.5mm_P2.50mm_P5.00mmU14, U18, U19
3FCapacitor_THT:CP_Radial_D10.0mm_P2.50mm_P5.00mmU36, U38, U40
2Converter_OutEEEE2071_Electrical:2wayTerminalBlockU44, U45
2ECA2AM102Capacitor_THT:CP_Radial_D18.0mm_P7.50mmU11, U12
2IRFI530NPbFEEEE2071_Electrical:TO-220FPABU16, U20
2VDiode_THT:D_DO-35_SOD27_P7.62mm_HorizontalU21, U22
10.1 uFCapacitor_THT:C_Rect_L7.0mm_W3.5mm_P2.50mm_P5.00mmU39
11uFCapacitor_THT:C_Rect_L7.0mm_W3.5mm_P2.50mm_P5.00mmU37
1AC_PowerEEEE2071_Electrical:2wayTerminalBlockU43
1ETD_34-Transformer_1P_1SEEEE2071_Electrical:ETD_34-XMRU26
1HEEEE2071_Electrical:ETD_34-LU34
1PWM_InputEEEE2071_Electrical:LP-0841-3B-05AU42
1PWM_PowerEEEE2071_Electrical:2wayTerminalBlockU41
1TC4425AVPAPackage_DIP:DIP-8_W7.62mm_Socket_LongPadsU5
1TP_DC_LinkTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmU9
1TP_PWM_OutTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmU1
1TP_Q1_GateTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmU3
1TP_Q2_GateTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmU7
1Toroid-Transformer_1P_2SEEEE2071_Electrical:Toroid-Transformer_1P_2SU15
1VS-KBPC606PBFEEEE2071_Electrical:Diode_Bridge_Vishay_KBPC6U6

Similar boards

  • 4 layers200 × 115 mmClampinator, the printed circuit board in 3D

    Clampinator

    AdrianR3/Clampinator

    Inspired by the ODrive Regen Clamp, the clampinator is a custom built regeneration clamp targeting 16-60V systems.

    211 parts
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers115 × 14.5 mmUFC Function Select, the printed circuit board in 3D

    UFC Function Select

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    44 parts431
  • 2 layers37.7 × 20 mmCandleLight, the printed circuit board in 3D

    CandleLight

    HubertD/candleLight

    stm32f0 usb can adapter (KiCAD)

    44 parts400
  • 2 layers88.9 × 88.4 mmTeensypi v91, the printed circuit board in 3D

    Teensypi v91

    simondlevy/Hackflight

    Minimalist flight-control toolkit for makers

    44 parts334GPL-3.0
  • 2 layers125 × 98 mm3-in-1, the printed circuit board in 3D

    3-in-1

    mudmin/AnotherMaker

    This is where I will store code snippets for AnotherMaker Videos

    44 parts258
  • 2 layers65 × 56.5 mmRPiG3iMac, the printed circuit board in 3D

    RPiG3iMac

    qbancoffee/imac_g3_ivad_board_init

    iMac G3 IVAD board initialization with an arduino

    44 parts240LGPL-3.0
  • 2 layers54.4 × 49.3 mmFx3 tn20k adapter, the printed circuit board in 3D

    Fx3 tn20k adapter

    Stefan-Olt/MISRC

    MISRC Is a multi channel RF capture device for FM RF, S-Video, CVBS RAW capture and anything else, but intended and supported for the decode family of projects vhs-decode, ld-decode, hifi-decode.

    44 parts236CC-BY-4.0

Questions

How big is the PCB Design Coursework PCB?

It measures 228.6 × 101.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PCB Design Coursework use?

44 parts, built around the TC4425AVPA, BYV25FX-600,127, ECA2AM102 and IRFI530NPBF. 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 PCB Design Coursework KiCad files?

From the Durant-li/smps-forward-converter repository on GitHub, at the commit this page was made from: the board is hardware/pcb/PCB_Design_Coursework.kicad_pcb and its schematic hardware/pcb/PCB_Design_Coursework.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCB Design Coursework design in my own project?

Its repository states no licence, so its author keeps all rights: ask Durant-li before reusing the design.