Skip to the content
2 layers50 × 40 mmCapacitor discharge ignition, the printed circuit board in 3D

Capacitor discharge ignition

Harshavar8jdm/capacitor-discharge-ignition

A minimalist, discrete AC-CDI circuit for small single-cylinder 2-stroke and 4-stroke engines powered by a stator exciter coil and an inductive pulse generator (pickup coil).

Size
50 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
7
Pads
23
Tracks, vias
29, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Aug 2026
Updated
15 Aug 2026

Overview

Capacitor discharge ignition is an open-source printed circuit board by Harshavar8jdm, from the Harshavar8jdm/capacitor-discharge-ignition repository on GitHub. It is a 2-layer board of 50 × 40 mm with 11 parts on 7 nets, routed with 29 tracks and 0 vias.

Its parts include 4 diodes, 2 capacitors, 2 resistors and 2 connectors.

README

readme.md

Single-Channel AC Capacitor Discharge Ignition (AC-CDI)

3D Render

A minimalist, discrete AC-CDI circuit for small single-cylinder 2-stroke and 4-stroke engines powered by a stator exciter coil and an inductive pulse generator (pickup coil).

Designed in KiCad for simple single-sided or double-sided DIY PCB fabrication with standard off-the-shelf discrete components.


Overview & How It Works

This design implements a classic AC capacitive discharge ignition topology. Rather than relying on a 12V battery and a DC-DC boost converter, it runs directly off the high-voltage AC output generated by the stator's ignition source coil.

text
       [ Stator Exciter (HV AC) ] ──> D1 (Rectifier) ──> C1 (400V Charge)
                                                             │
                                                             ▼
[ Pickup Coil Signal ] ──> [ Gate Filter C2/R1/R2 ] ──> D4 (SCR Trigger) ──> [ High Voltage Ignition Coil ]
  1. Capacitor Charging: The high-voltage AC winding on the magneto feeds into pin 2 (AC_INPUT). Diode D1 (1N4007) half-wave rectifies this voltage, charging energy storage capacitor C1 (1 µF, 400V) up to ~250–350V DC across successive flywheel rotations.
  2. Triggering: As the flywheel magnet passes the reluctance pickup coil, a positive voltage pulse enters pin 3 (PICKUP). D3 clips negative flyback spikes, while C2 (3.3 µF), R1 (22kΩ), and R2 (1kΩ) filter noise to prevent premature firing from electrical EMI.
  3. Discharge Pulse: The shaped pulse fires the gate of D4 (2P4M SCR). Once latching occurs, D4 rapidly shorts the positive side of C1 to ground, dumping the stored energy (~40–60 mJ) through terminal J2 into the primary winding of the external ignition coil.
  4. Kill Switch: Grounding pin 1 (IG) through an external handle switch diverts incoming AC charging pulses directly through D2 to ground, disabling capacitor charging and stopping the spark.

Circuit Schematic

Schematic

Schematic Breakdown

  • Storage Capacitor (C1): 1 µF / 400V — Must be a Metallized Polypropylene (MKP) or Polyester (MKT) film capacitor. Standard electrolytics will fail under continuous high $dV/dt$ pulse current discharge.
  • Silicon Controlled Rectifier (D4): 2P4M (400V–600V, 2A sensitive gate SCR in TO-92 or TO-220 package).
  • High-Voltage Rectifier Diodes (D1, D2, D3): 1N4007 (1000V, 1A reverse rating).
  • Pulse Filtering & Gate Load (C2, R1, R2):
    • R1 = 22 kΩ & R2 = 1 kΩ form a voltage divider to limit gate current.
    • C2 = 3.3 µF / 50V (Non-polarized film or X7R ceramic) smooths high-frequency noise.
    • D3 = 1N4007 protects the gate by sinking negative pickup voltage swings.

Pinout & Connector Definitions

Input Header (J1 - 4-Pin Screw Terminal / 5.08mm pitch)

Pin #LabelDescriptionConnected Device
1IGIgnition Kill Switch WireEngine stop switch / Key switch (shorts to GND to kill spark)
2AC_INPUTHigh Voltage AC SourceMagneto / Stator High Voltage Exciter Coil (~100V–300V AC)
3PICKUPTiming Trigger InputReluctance / Pulser Coil Signal Wire
4GNDChassis / Engine GroundEngine block / Frame Ground connection

Output Header (J2 - 2-Pin Screw Terminal / 5.08mm pitch)

Pin #LabelDescriptionConnected Device
1GNDPrimary Coil Ground ReturnIgnition coil frame / Primary (-) lead
2COILDischarge OutputIgnition coil primary (+) terminal

Layout & PCB Design

PCB Layout

When laying out the PCB, pay close attention to trace widths and high-voltage spacing:

  1. High-Current Pulse Loop: The trace path C1 (+) ──> SCR Anode (Pin 2) / Cathode (Pin 1) ──> J2 (COIL) carries instant discharge currents upward of 30A to 80A. Keep these traces short and set the trace width to at least 2.5 mm to 3.5 mm (100–140 mil).
  2. Creepage & Clearance: Maintain a minimum of 1.5 mm to 2.0 mm isolation spacing between the +300V charging net (D1 anode / C1 positive leg) and all low-voltage gate/trigger components (C2, R1, R2, PICKUP).
  3. Ground Plane: Use a solid bottom copper ground pour. Ensure J2 Pin 1, D4 Cathode, D3 Anode, R2, and J1 Pin 4 connect directly to this plane with wide thermal reliefs.
  4. SCR Pinout Verification: Check the physical footprint of your 2P4M SCR before soldering. Standard 2P4M in TO-92 layout:
    • Pin 1: Cathode (GND)
    • Pin 2: Anode (+400V / C1)
    • Pin 3: Gate (Trigger Signal)

Testing & Troubleshooting

Bench Check (Before Hooking Up Stator)

  1. Diode Check: Verify diode orientation (D1 & D2 cathodes face right towards C1; D3 cathode faces up towards PICKUP).
  2. Capacitor Type: Double-check that C1 is rated for at least 400V DC (630V recommended for long-term safety factor).
  3. Continuity: Verify zero resistance between J1 Pin 4 (GND) and J2 Pin 1 (GND).

On-Bike Installation

  • Connect J1 Pin 4 directly to a clean, unpainted engine ground point.
  • Measure AC voltage across AC_INPUT and GND while kicking/cranking the engine without the CDI connected. Expect ~50V to 150V AC free-cranking output.
  • If spark is intermittent or weak at high RPM, experiment with decreasing C2 slightly (e.g. 1 µF to 2.2 µF) to reduce signal delay, or verify pickup coil gap distance.

Parts

11
QtyValueFootprintReferences
31N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D2, D3
11KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR2
11uF/400VCAP-TH_L22_0-W7_8-P20_00-D0_8_MPP105J2G20AJ22810_C506841:CAP-TH_L22_0-W7_8-P20_00-D0_8_MPP105J2G20AJ22810_C506841C1
122KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR1
13.3uF/50VCAP-TH_L5_5-W4_0-P5_0-D0_5_RCER71H335K3M1H03A_C1620511:CAP-TH_L5_5-W4_0-P5_0-D0_5_RCER71H335K3M1H03A_C1620511C2
1SCR_2P4M2P4M:TO255P470X1000X2380-3PD4
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2
1Screw_Terminal_01x04TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_HorizontalJ1

The 10 most common of 11 parts.

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the Capacitor discharge ignition PCB?

It measures 50 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Capacitor discharge ignition use?

11 parts. 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 Capacitor discharge ignition KiCad files?

From the Harshavar8jdm/capacitor-discharge-ignition repository on GitHub, at the commit this page was made from: the board is capacitor-discharge-ignition.kicad_pcb and its schematic capacitor-discharge-ignition.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Capacitor discharge ignition design in my own project?

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