
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.

Discrete 12V single-supply Class AB audio amplifier with active-low relay speaker protection and linear voltage regulator.
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.
Author: Buta Noris Ionuț
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.
2N2222 for small-signal amplification and switching, complementary TIP31C / TIP32C for power stages).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.TIP31C (NPN) and TIP32C (PNP) emitter followers biased by two 1N4148 diodes ($I_Q = 8.2\text{ mA}$) to eliminate crossover dead-zones.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.2N2222 stage that delays relay actuation by $\approx 266\text{ ms}$ at power-up.| Parameter | Design Choice / Condition | Value (Simulated / Verified at $27^\circ\text{C}$) | Circuit Reference |
|---|---|---|---|
| Power Supply | Single-rail standard DC adapter | $12\text{ V}$ DC, $98\text{ mA}$ total ($32\text{ mA}$ board + $66\text{ mA}$ relay) | J5, C5, C6 |
| Speaker Load | Capacitively 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 Gain | Inverting VAS + unity follower | $32.1\text{ dB}$ ($40\times$) from source; $34.2\text{ dB}$ ($51\times$) from Q2 base | Q2, 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 Bias | Near $V_{CC}/2$ | $6.76\text{ V}$ (thermal drift: $-20\text{ mV/}^\circ\text{C}$) | R4, R5, R6, R7, R8 |
| Output Stage Bias | Complementary Class AB push-pull | $I_Q = 8.2\text{ mA}$ | R7, D2, D3, Q3, Q4 |
| Output Impedance | Open-loop emitter follower | $18\text{ }\Omega$ | R7, Q3, Q4 |
| Regulator Output | Active-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 Delay | RC 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 |
| 2D PCB Routing (Front) | 3D Rendered Top View |
|---|---|
![]() | ![]() |
| 2D PCB Traces | 3D Rendered Bottom View ("BUTA NORIS") |
|---|---|
![]() | ![]() |
| Manufactured Bare PCB (Front & Back) | Assembled Board Close-up |
|---|---|
![]() | ![]() |
├── 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 dataR1–R10) and small-signal/Zener diodes (D1–D3).C1, C5, C7, C9) and TO-92 transistors (Q2, Q5).C2, C3, C4, C6, C8, C10, C11) — strictly observe polarity markings on the silkscreen.TO-220 packages (Q1, Q3, Q4).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).J2 (J_Audio: COM, NO) to the Normally Open (NO) and Common (COM) screw terminals of the relay module.J4 (Boxa).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.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 100nF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C1, C5, C9 |
| 2 | 1000uF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C6, C10 |
| 2 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4, R10 |
| 2 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D2, D3 |
| 2 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2, R3 |
| 2 | 2N2222 | Package_TO_SOT_THT:TO-92_Inline | Q2, Q5 |
| 2 | TIP31C | Package_TO_SOT_THT:TO-220-3_Vertical | Q1, Q3 |
| 1 | 10 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R9 |
| 1 | 100pF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C7 |
| 1 | 100uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C3 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 1 | 10uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C2 |
| 1 | 150 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R8 |
| 1 | 1u | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C4 |
| 1 | 220 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6 |
| 1 | 2k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R7 |
| 1 | 330 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 47u | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C11 |
| 1 | 47uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C8 |
| 1 | 5V1 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1 |
| 1 | Alimentare | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | Boxa | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J4 |
| 1 | J_Audio | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | J_Comanda_Releu | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J3 |
| 1 | Mufa Jack | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | TIP32C | Package_TO_SOT_THT:TO-220-3_Vertical | Q4 |

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



phildimond/AlarmController
ESP32 Ethernet Alarm controller with MQTT integration


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

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

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
It measures 75 × 45 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
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).