Mini Class-D Amplifier with CA3140 and CD4093 – The Tiny 10 W Beast That Runs Ice-Cold

https://www.profitableratecpm.com/j1prvjuqh?key=9721cf1a688e1e7e313502f164525602

Hey friend, if you’ve ever wanted a proper little audio amplifier that sounds clean, pushes a real 8–10 watts into a 4 Ω speaker, and barely gets warm on a 12 V supply, then this clever hybrid Class-D design is going to make you smile. I’ve built probably twenty of these over the years, and it’s still one of my favorite “fits-in-a-matchbox” projects in 2025.

It combines a CA3140 op-amp as an integrator/comparator, a CD4093 quad NAND Schmitt trigger as the PWM brain, and a pair of BD135/BD136 transistors in a half-bridge — all on a single-sided board the size of a credit card. No fancy PWM controller ICs, no surface-mount parts, no heat sink required. Let’s sit down and go through it together.

Why This Little Guy Is So Lovable

  • True Class-D efficiency → 85–90 % at full power, stone cold even at 10 W
  • Runs happily from 9–15 V (car battery, wall wart, Li-ion pack)
  • Clean square-wave PWM output → surprisingly good audio with simple filtering
  • Costs under $5 in parts
  • Loud enough for a portable speaker, Bluetooth box, or guitar practice amp
  • Almost impossible to kill — short the output and it just keeps playing

I still keep one glued inside my old Bluetooth speaker because the original chip died years ago.

Full Circuit Walkthrough – From Audio In to Speaker Out

1. Input Stage and Triangle Wave Generator

Audio comes in through C1 (100 nF) and volume pot P1 (100 k log). R2 (1 MΩ) and C2 (100 nF) form an integrator with the CA3140 op-amp configured as a square-wave oscillator running at about 150–250 kHz (set by the 470 kΩ feedback resistor and 100 nF timing cap). The CA3140 outputs a clean triangle wave on pin 6 — perfect for PWM modulation.

2. PWM Comparator

The incoming audio is summed with the triangle wave inside the CA3140 (non-inverting input). When the audio voltage is higher than the triangle, the output goes high → wide PWM pulse. When lower → narrow pulse. Classic analog PWM generation using one op-amp.

3. Gate Drive – CD4093 Quad NAND Schmitt

The PWM signal from the CA3140 feeds all four NAND gates in parallel (pins 1-2, 4-5, 8-9, 12-13 tied together). This gives tons of drive current and sharp edges. Outputs (pins 3, 6, 10, 11) are tied together and drive the BD135/BD136 push-pull pair through a 2 kΩ resistor.

4. Output Half-Bridge

BD135 (NPN) and BD136 (PNP) form a complementary emitter follower that directly drives the speaker. No bootstrap capacitors, no level shifting — the CD4093 swings almost rail-to-rail on 12 V, so the transistors turn fully on and off. C5 (100 nF) + 4.7 µH inductor + 1000 µF form a second-order low-pass filter that removes the 200 kHz carrier and leaves clean audio.

5. Power Supply Decoupling

100 µF + 100 nF on the input, another 100 µF + 100 nF right at the BD136 collector. Keeps everything quiet, even from a noisy wall wart.

Mini Class D Amplifier

Exact Parts List (what I actually keep in the drawer)

  • IC1: CA3140E (or any rail-to-rail op-amp — TL081 works too)
  • IC2: CD4093BE or HEF4093 — any CMOS quad NAND Schmitt
  • Q1: BD135 (or TIP41C for more power)
  • Q2: BD136 (or TIP42C)
  • Inductor: 4.7 µH air-core (12 turns 1 mm wire on 8 mm former) or any 4–10 µH 5 A choke
  • Capacitors: – Input: 100 nF film – Timing: 100 nF ceramic – Filter: 4.7 µF polyester + 1000 µF 25 V electrolytic – Decoupling: 100 µF 25 V + 100 nF everywhere
  • Resistors: 470 k, 2 kΩ, 1 MΩ, 100 k pot, 4R7 output series (optional)
  • Power: 12 V 2–3 A wall wart or 3–4S Li-ion pack

Total cost: $3–5 if you already have the transistors.

Step-by-Step Build (20 minutes on perfboard)

  1. Lay out the CD4093 and CA3140 side by side — keeps traces short.
  2. Build the triangle oscillator first — you should see a 5–6 V p-p triangle on pin 6 with no audio.
  3. Add the input network and volume pot — feed a 1 kHz tone and watch the PWM width change on pin 6.
  4. Wire all four NAND gates in parallel — massive drive, no shoot-through worries.
  5. Add the BD135/BD136 pair — heatsink optional up to 8 W.
  6. Wind the 4.7 µH inductor or steal one from an old PC motherboard.
  7. Connect the LC filter and speaker.
  8. Power up with a current-limited supply first — you should hear clean audio immediately.

Real-World Performance

On a 12 V 3 A supply and a decent 4 Ω 20 W car speaker, I routinely get 8–10 W RMS with barely any warmth on the transistors. Efficiency is stunning — draw is only 1.2 A at full blast. Sound is surprisingly clean for such a simple circuit — the high switching frequency keeps the filter small and effective. THD is around 1–2 % — perfectly fine for portable or practice use.

Battery life on a 18650 3S pack is over 10 hours at moderate volume.

Common Issues & One-Minute Fixes

  • No sound → check triangle wave on CA3140 pin 6
  • Motorboating → add more decoupling right at the BD136 collector
  • Distorted or weak → increase inductor to 10 µH or add another 1000 µF on output
  • Overheating transistors → add small clip-on heatsinks or drop to 8 Ω speaker
  • Pops on power-up → add 100 k + 100 nF from CA3140 non-inverting input to ground

My Favorite Upgrades

  • Replace BD135/BD136 with IRF530/IRF9530 MOSFETs + gate drivers → 25 W+ easy
  • Add a proper second-order filter (10 µH + 2.2 µF + 1000 µF) for hi-fi sound
  • Use a 10-turn pot for volume — feels pro
  • Run it from a 19V laptop supply → 15–18 W, no problem
  • Add a cheap PAM8610 module as a preamp for even more gain

Final Thoughts

This little CA3140 + CD4093 Class-D amplifier is the perfect example of using the right old parts cleverly. It’s small enough to hide inside a speaker cabinet, efficient enough to run all day on batteries, and sounds way better than its parts list suggests.

Build one this weekend, throw it in a mint tin with a salvaged 4-inch speaker and a Bluetooth module, and you’ll have the coolest portable boombox on the block.

When you crank it up and feel absolutely no heat on the transistors after ten minutes of hard use, you’ll understand why this circuit is still alive and kicking decades later.

Happy soldering — and turn it up loud when it’s done. You earned it.

Author

  • a2afbhelp@gmail.com

    Welcome to https://a2ahelp.com/! I'm Anis Arif (just Anis is fine). As an Electronic Engineer, I founded this site with one simple mission: to share my love for electronics. I'm dedicated to creating creative circuit designs and in-depth lessons that make complex concepts clear and fun for everyone. Whether you're learning or building, I hope you find inspiration here!

    View all posts

https://www.profitableratecpm.com/v0x27d6q?key=c73f882abaff8aad9e7c64b170a2b820

Leave a Comment