Skip to the content
2 layers75 × 45 mmKiCad Design Files, the printed circuit board in 3D

Discrete 12V single-supply Class AB audio amplifier with active-low relay speaker protection and linear voltage regulator.

Size
75 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
19
Pads
75
Tracks, vias
137, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Oct 2026
Updated
16 Oct 2026

Overview

KiCad Design Files is an open-source printed circuit board by norisionut12, from the norisionut12/12V-Class-AB-Audio-Amplifier repository on GitHub, published under the MIT licence. It is a 2-layer board of 75 × 45 mm with 34 parts on 19 nets, routed with 137 tracks and 0 vias.

It is built around the TIP31C and TIP32C. Its parts include 11 capacitors, 10 resistors, 5 transistors, 5 connectors and 3 diodes. It belongs with the audio and music and power boards of this library.

Main components

2

README

README.md

12V Single-Supply Class AB Audio Amplifier with Speaker Protection

License: MIT EDA: KiCad 10 Simulation: LTspice Technology: Discrete BJT THT

Author: Buta Noris Ionuț


Overview

This repository contains the complete hardware design, mathematical analysis, SPICE simulation validation, and physical prototype implementation of a discrete 12V single-supply Class AB audio amplifier with an integrated speaker protection circuit and linear voltage regulator.

Designed entirely without integrated circuits (utilizing 5 discrete bipolar junction transistors), the amplifier processes a stereo line-level input from a laptop, PC, or smartphone, sums it into a mono signal, and drives an $8\text{ }\Omega$ speaker from a standard $12\text{ V}$ DC power adapter. Because a single-rail supply biases the push-pull output stage at approximately half the supply rail ($6.76\text{ V}$ DC), a large $1000\text{ }\mu\text{F}$ output coupling capacitor is required. At power-up, charging this capacitor produces a severe transient spike ($11.6\text{ V}$ peak at $6.8\text{ ms}$). To protect the speaker voice coil and eliminate the audible turn-on "thump", an on-board RC delay circuit holds the speaker disconnected via an external relay for $\approx 0.27\text{ s}$ until the circuit settles into its DC quiescent operating point.

Full Working Test Setup


Key Features

  • 100% Discrete Analog Topology: Built around 5 bipolar transistors (2N2222 for small-signal amplification and switching, complementary TIP31C / TIP32C for power stages).
  • Stereo-to-Mono Input Mixer: Passive resistive summing network ($1\text{ k}\Omega + 1\text{ k}\Omega$) providing $2\text{ k}\Omega$ inter-channel isolation and AC coupling.
  • High-Gain Voltage Amplifier Stage (VAS): Common-emitter 2N2222 stage with AC-bypassed emitter degeneration ($A_{VAS} \approx 62$, overall $A_v \approx 51\times$ from the VAS base) and $100\text{ pF}$ Miller frequency compensation for RF immunity.
  • Diode-Biased Class AB Output Stage: Complementary TIP31C (NPN) and TIP32C (PNP) emitter followers biased by two 1N4148 diodes ($I_Q = 8.2\text{ mA}$) to eliminate crossover dead-zones.
  • Output Zobel (Boucherot) Network: $10\text{ }\Omega + 100\text{ nF}$ series network ($f_{Zobel} = 159\text{ kHz}$) ensuring unconditional stability when driving inductive loudspeaker loads.
  • Dedicated On-Board Linear Regulator: Zener-referenced (5V1 + TIP31C) emitter-follower regulator stepping down $12\text{ V}$ to $4.33\text{ V}$ under load to safely power the external $5\text{ V}$ relay module.
  • Active Anti-Thump Speaker Protection: RC timing network ($\tau = 4.7\text{ s}$) driving an open-collector 2N2222 stage that delays relay actuation by $\approx 266\text{ ms}$ at power-up.
  • Custom 2-Layer THT PCB: Manufactured with blue soldermask, wide power traces,ground plane (hatched bottom plane), and full component value silkscreen.

Summary of Design Specifications

ParameterDesign Choice / ConditionValue (Simulated / Verified at $27^\circ\text{C}$)Circuit Reference
Power SupplySingle-rail standard DC adapter$12\text{ V}$ DC, $98\text{ mA}$ total ($32\text{ mA}$ board + $66\text{ mA}$ relay)J5, C5, C6
Speaker LoadCapacitively coupled loudspeaker$8\text{ }\Omega$C10, J2 (Relay COM-NO), J4
Audio Input$3.5\text{ mm}$ stereo jack summed to mono$(V_L + V_R)/2$, $Z_{in} = 5.1\text{ k}\Omega$/channel at $1\text{ kHz}$J1, R2, R3, C4
Voltage GainInverting VAS + unity follower$32.1\text{ dB}$ ($40\times$) from source; $34.2\text{ dB}$ ($51\times$) from Q2 baseQ2, R7, R8, C8
Bandwidth ($-3\text{ dB}$)High-pass coupling + Miller pole$301\text{ Hz} \dots 31\text{ kHz}$C4, C7, C8, C10
DC Output BiasNear $V_{CC}/2$$6.76\text{ V}$ (thermal drift: $-20\text{ mV/}^\circ\text{C}$)R4, R5, R6, R7, R8
Output Stage BiasComplementary Class AB push-pull$I_Q = 8.2\text{ mA}$R7, D2, D3, Q3, Q4
Output ImpedanceOpen-loop emitter follower$18\text{ }\Omega$R7, Q3, Q4
Regulator OutputActive-low $5\text{ V}$ relay supply$V_Z - V_{BE1} - I_E R_E = 4.33\text{ V}$ ($5.05\text{ V}$ unloaded)R1, D1, Q1, C2, C3
Protection DelayRC ramp to $V_{BE5(on)} \approx 0.66\text{ V}$$\tau = 4.7\text{ s} \rightarrow t_d = 0.27\text{ s}$R10, C11, Q5, J3

Hardware Showcase

Full Circuit Schematic (KiCad)

KiCad Schematic

2D PCB Layout & 3D Visualizations

2D PCB Routing (Front)3D Rendered Top View
2D PCB Traces3D Rendered Bottom View ("BUTA NORIS")

Physical Bare PCB & Assembled Prototype

Manufactured Bare PCB (Front & Back)Assembled Board Close-up

Repository Structure

text
├── Docs/
│   ├── Documentatie_Romana.docx  # Comprehensive engineering report (Romanian)   
├── Fabrication_Gerbers/
│   └── gerber_files_final.zip                # Complete Gerber drill production files
├── Images/                                   # Schematic captures, renders, and photos
├── KiCad_Design_Files/
│   ├── final.kicad_pro                       # KiCad 10.0 project file
│   ├── final.kicad_sch                       # KiCad schematic sheet
│   └── final.kicad_pcb                       # KiCad PCB layout file
├── LTspice_Simulations/
│   ├── Simulare_acBode.asc                   # AC frequency sweep simulation (.ac)
│   ├── Simulare_boxa.asc                     # Large-signal transient audio simulation (.tran)
│   └── Stabilizator_12_5.asc                 # Linear regulator DC operating point simulation (.op)
├── .gitignore                                # Git ignore configuration for KiCad & LTspice cache
├── LICENSE                                   # MIT Open-Source License
├── README.md                                 # Main project showcase and technical summary
├── bill_of_materials.md                     # Categorized component table (BOM)
└── hardware_design_documentation.md          # Theoretical circuit simulation data

Getting Started & Hardware Setup

  1. PCB Assembly: Solder components in ascending order of profile height:
    • $0.25\text{ W}$ metal film resistors (R1–R10) and small-signal/Zener diodes (D1–D3).
    • Ceramic disc capacitors (C1, C5, C7, C9) and TO-92 transistors (Q2, Q5).
    • Radial electrolytic capacitors (C2, C3, C4, C6, C8, C10, C11) — strictly observe polarity markings on the silkscreen.
    • Power transistors in TO-220 packages (Q1, Q3, Q4).
  2. External Relay & Speaker Wiring:
    • Connect J3 (J_Comanda_Releu: 5V, GND, IN) to the control header of a standard $5\text{ V}$ active-low relay module (JQC-3FF-S-Z).
    • Connect J2 (J_Audio: COM, NO) to the Normally Open (NO) and Common (COM) screw terminals of the relay module.
    • Connect an $8\text{ }\Omega$ loudspeaker to terminal J4 (Boxa).
  3. Power-Up: Apply $12\text{ V}$ DC (minimum $250\text{ mA}$ capability) to connector J5 (Alimentare). After $\approx 0.27\text{ s}$, the relay clicks, connecting the speaker without any audible thump.

For complete mathematical derivations, thermal drift analysis, and Safe Operating Area (SOA) verification, see hardware_design_documentation.md.
For the complete component purchasing list, see bill_of_materials.md.

Parts

34
QtyValueFootprintReferences
3100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C5, C9
21000uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC6, C10
2100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R10
21N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD2, D3
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3
22N2222Package_TO_SOT_THT:TO-92_InlineQ2, Q5
2TIP31CPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q3
110Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR9
1100pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC7
1100uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC3
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5
110uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC2
1150Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR8
11uCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC4
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6
12kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR7
1330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
147uCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC11
147uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC8
15V1Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
1AlimentareConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1BoxaConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1J_AudioConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1J_Comanda_ReleuConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1Mufa JackConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1TIP32CPackage_TO_SOT_THT:TO-220-3_VerticalQ4

Similar boards

  • 2 layers209 × 139.5 mmPEH PCB, the printed circuit board in 3D

    PEH PCB

    jodhsinghnahal/piezo_matlab

    Simulation, circuit and PCB design repository for investigating piezoelectric energy harvesting (PEH) interfaces under conventional vibration excitation and underwater acoustic excitation.

    27 parts
  • 2 layers98 × 50 mmRegulation, the printed circuit board in 3D

    Regulation

    henrides/bench_psu

    48 partsMIT
  • 2 layers69 × 39 mmBatteryCharger, the printed circuit board in 3D

    BatteryCharger

    phildimond/AlarmController

    ESP32 Ethernet Alarm controller with MQTT integration

    24 partsApache-2.0
  • 2 layers65 × 66.3 mmPCB checkpoint2, the printed circuit board in 3D

    PCB checkpoint2

    eugeetcheverry/TP-taller-de-circuitos

    Diseño de fuente estable

    26 parts
  • 2 layers96.5 × 94 mmLinear supply, the printed circuit board in 3D

    Linear supply

    anshu-patra/pcb_design

    a linear voltage power supply which takes in 220v and 50hz ac as input and converts it into a linera voltage power supply of 5V and 2A stable supply and also contains a foldback short circuit protection

    21 partsMIT
  • 2 layers80 × 75 mmPlanta control, the printed circuit board in 3D

    Planta control

    cesar191/diseno_PCB

    diseño de una pcb de control el cual puede tener diferentes estructuras

    55 parts
  • 2 layers110 × 100 mmSchematicPLC V0.1, the printed circuit board in 3D

    SchematicPLC V0.1

    nxvxr14/control-celda-fts-mecatronica-UNAB

    IMPLEMENTACIÓN DE UN SISTEMA PARA CONTROL DE SUPERVISIÓN Y ADQUISICIÓN DE DATOS DE LA CELDA MECATRÓNICA DE FISCHERTECHNIK DEL LABORATORIO DE AUTOMATIZACIÓN UTILIZANDO HARDWARE Y SOFTWARE LIBRE

    189 parts

Questions

How big is the KiCad Design Files PCB?

It measures 75 × 45 mm and has 2 copper layers, 1.6 mm thick.

What parts does the KiCad Design Files use?

34 parts, built around the TIP31C and TIP32C. 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 KiCad Design Files KiCad files?

From the norisionut12/12V-Class-AB-Audio-Amplifier repository on GitHub, at the commit this page was made from: the board is KiCad_Design_Files/final.kicad_pcb and its schematic KiCad_Design_Files/final.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the KiCad Design Files 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).