
PCB Layout
chgopireddy/Full-Bridge-Class-D-Audio-Amplifier
LTspice Model for Full Bridge Class D, Voltage Mode Control, Peak Current Mode Control

Discrete Class-D amplifier using 555, LM358, IR2110, and MOSFET half-bridge—built in KiCad with ngspice simulation.
ClassDamp is an open-source printed circuit board by technoas123, from the technoas123/classD_amplifier repository on GitHub. It is a 2-layer board with 11 parts on 23 nets.
It is built around the IR2110L4, 1N4148WT and IRF540N. Its parts include 5 diodes, 4 transistors and 2 ICs. It belongs with the audio and music and interfaces and adapters boards of this library.
This repository contains the complete design of a fully discrete Class-D audio amplifier built using simple, commonly available analog components such as a 555 timer, LM393 comparator, MOSFET half-bridge, and an LC output filter. The entire design is created in KiCad, and simulated using ngspice. No dedicated Class-D ICs are used — this project demonstrates the fundamental principles behind PWM-based audio amplification.
C:.
│ classDamp.kicad_pcb → PCB layout (2-layer board)
│ classDamp.kicad_prl → KiCad project local data
│ classDamp.kicad_pro → KiCad project file
│ classDamp.kicad_sch → Main KiCad schematic
│ fp-info-cache → KiCad footprint cache
│ readme.md → Documentation (you are reading this)
│
├───classDamp-backups → Automatic KiCad backups
│ *.zip → Time-stamped backup archives
│
├───footprints → Custom footprint library
│ LM393.kicad_sym
│ 478CKS010M.kicad_sym
│ MFR-25FBF52-1K.kicad_sym
│
└───models → SPICE models for simulation
555_timer.lib → NE555/TLC555 model
LM393.lib → LM393 comparator modelThis design implements a single-channel Class-D amplifier using:
Produces ~100 kHz triangular carrier waveform for PWM.
Compares audio input with triangle wave → produces PWM.
Switches the supply voltage at high frequency based on PWM.
Reconstructs the audio from PWM.
All active components (555, comparator, MOSFETs) use custom SPICE models stored in /models/.
ngspice model files included:
models/555_timer.libmodels/LM393.libSimulation setup in KiCad:
.include "./models/555_timer.lib"
.include "./models/LM393.lib"
.tran 50n 5mSimulations validate:
classDamp.kicad_pcbFootprints are stored in /footprints/ and referenced inside the KiCad project.
Stored in models/:
555_timer.libSPICE model for NE555 / TLC555 Used for generating triangle wave.
LM393.libDual-comparator SPICE model Used for PWM modulation.
These models have been formatted to be ngspice-compatible and used directly inside KiCad simulations.
The simulation verifies the following:
From 555 timer pin 2/6.
Duty cycle changes based on audio input (sine wave).
High-frequency MOSFET switching.
LC filter reconstructs original analog audio.
Open the project in KiCad
Open the schematic (classDamp.kicad_sch)
Ensure the .lib files paths are correct
Open Simulation → Run Simulation
Use .tran 50n 5m or suitable transient analysis
Plot:
V(triangle)V(pwm)V(switch_node)V(output)This project can be released under MIT, GPL, or any open license you prefer. (You can let me know and I’ll insert an appropriate license section.)
This repository contains backups showing continuous progress, model files, and custom footprints for analog simulation and PCB layout exploration.
11 parts, built around the IR2110L4, 1N4148WT and IRF540N. 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.
From the technoas123/classD_amplifier repository on GitHub, at the commit this page was made from: the board is classDamp.kicad_pcb and its schematic classDamp.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask technoas123 before reusing the design.

chgopireddy/Full-Bridge-Class-D-Audio-Amplifier
LTspice Model for Full Bridge Class D, Voltage Mode Control, Peak Current Mode Control

AssaadMH/sensorless-bldc-control
Spinning a brushless motor with no position sensor — commutating on the back-EMF zero crossings instead.


ahan-halder/Audio-Power-Amplification-using-Class-D-Topology
Class D Amplifier

kj-49/path-pilot
A self-navigating robot built on an AVR128DB28 microcontroller

MadsRudolph/62768-energy-system
Team project for 62768 Electrical Energy Systems (DTU, June 2026, 3-week course). We design and build a complete electrical energy system per the course requirement spec (Kravspecifikation), from idea to a working…

Aruzamen-Cristian/Lemurian-Clean
El robot acuático recolector de basura, Lemurian-Clean, es una innovadora solución para la limpieza de cuerpos de agua.
