The circuit presented here is for a DC-CDI which are used in motorcycles. A DC-CDI is the one in which the high voltage (200-400VDC) is converted from 12V supply voltage.
Researched and Submitted by: Abu-Hafss
Studying the circuit, we see that it has two parts i.e. the CDI unit, enclosed in the pink box and the remaining circuit on the left is high voltage converter.

The working of the CDI may be found in this article.
The circuit on left is a high voltage converter based on a blocking oscillator. The components Q1, C3, D3, R1, R2, R3 and transformer T1 forms the blocking oscillator.
L1 is the primary coil and L2 is the feedback coil. C1, C2 and D1 are DC voltage smoothing components.
How it Works
When the circuit is powered on, R3 provides forward bais to the base of Q1. This turns on Q1 and current starts flowing thru the primary coil L1 of the transformer.
This induces voltage in the secondary or the feedback coil L2.
The red (phase) dots in the transformer symbol indicates that the phase of the voltage induced in L2 (and L3) is shifted 180°.
Which means when the bottom side of L1 is going negative, the bottom side of L2 will be going positive.
The positive voltage of the L2 is fed back to the base of Q1 thru R1, D1, R2 and C3. This causes the Q1 to conduct more hence, more current flows thru L1 and ultimately more voltage is induced into L2.
This causes L1 to saturate very rapidly which means no more changes in magnetic flux and hence no more voltage is induced into L2.
Now, C3 starts discharging through R3 and finally Q1 is switched off. This stops the current flow in L1 and hence the voltage across L1 comes to zero.
The transistor is now said to be "blocked". As C3 gradually loses its stored charge, the voltage on the base of Q1 begins reverting to a forward-bias condition by means of R3 thus switching on Q1, and hence the cycle is repeated.
This switching of Q1 is very fast such that the circuit oscillate at quite high frequency. The primary coil L1 and secondary L3 forms a step-up transformer and thus a fairly high alternating voltage (more than 500V) is induced in L3.
To convert it to DC a fast recovery diode D2 is deployed.
The zeners, R5 and C4 forms the regulator network. The sum of the values of the zeners should be equal to required high voltage to charge the CDI's main capacitor (C6).
Or alternatively a single TVS diode with desired breakdown voltage may be used.
When the output at the anode of D2 reaches the breakdown voltage (sum of zener values), the base of Q2 receives the forward bais and hence Q2 switches on.
This action steals the forward bais of Q1 thus stopping the oscillator temporarily.
When the output is dropped below the breakdown voltage, Q2 switches off and hence the oscillation resumes. This action is repeated very rapidly that the output is maintained slightly below the breakdown voltage.
The positive trigger pulse at point (D) in the CDI unit is also fed to the base of Q2. This is important to pause the oscillation because SCR U1 demands the current across its MT1/MT2 to be zero to be able to self-disconnecting.
Moreover, this increases power economy as all power supplied during discharging is wasted otherwise.
A special request from Mr. Rama Diaz to have multi CDI sections sharing a common HV converter circuit. Some parts of his request is quoted below:
Ok most engines these days don't have distributors anymore, they have a coil for each spark plug or in many cases have a dual post coil that fires 2 spark plugs at the same time, this is called "wasted spark" since only one of the two sparks is actually getting used each ignition event the other one just fires into the empty cylinder at the end of the exhaust stroke, so in this configuration a 2 channel CDi will run a 4cyl and 3 channel for 6cyl and 2 x 2 channel for v8 etc...
Almost all 4 stroke engines have 2 cylinders that are paired so only 1 coil (connected to 2 spark plugs) will fire at a time the other one/s will fire at the alternate ignition events driven by a separate trigger signal, Yes aftermarket ECU's have up to 8 completely separate ignition trigger signals....
yes we could just have 2 or 3 totally separate units but i would like to have everything contained in one unit if possible, and im thinking there would be some way to share some of the circuitry...
...so im thinking you could have one heavier current step-up section to provide the ~400v then have two (or 3) separate CDI coil driver sections with a separate trigger signal for each one to drive the coils independently....possible??
That way i could use 2 (or 3) dual post coils attached to 4 (or 6) spark plugs and have then all fire at the correct time in wasted spark configuration 🙂
This is exactly the way we often do it now inductively using simple transistor based ignitors but the spark strength is often not strong enough for turbo and high performance applications.

CIRCUIT DESIGN:
The entire circuit shown above can be used. The CDI unit enclosed in pink box can be used to drive one dual post ignition coil. For 4- cylinder engine, 2 CDI units; for 6-cyl, 3 CDI units can be used. When using multi CDI units, the diode D5 (encircled in blue) has to be introduced to isolate the C6 of each section.
TRANSFORMER SPECIFICATIONS:
Since the frequency of the oscillation is fairly (more than 150kHz), ferrite core transformers are used. A tiny 13mm EE core transformer can perfectly do the job but, handling such a small component might not be easy. A little bigger may be selected. Enameled copper wire 0.33 - 0.38mm for the primary (L1) and 0.20 - 0.25mm for the secondary L2 & L3.
The picture shows the bobbin's top view.

For primary winding, start from pin no. 6, wind 22 neat turns in the direction shown and end at pin no. 4.
Cover this winding with a transformer tape and then start the secondary winding. Starting from pin no. 1, wind 140 turns (in the same direction as that for primary) and make a tap at pin no. 2 and then continue another 27 turns and end at pin no. 3.
Cover the winding with tape and then assemble the 2 EEs. It is advisable to make an air gap between the 2 EEs. For this a tiny paper packing may be used. Finally use the tape to keep the 2 EEs united.




Comments
Hello, please recommend a DC CDI for a two-stroke engine.
Hi, you can try the circuits presented in the following article:
https://www.homemade-circuits.com/make-this-enhanced-capacitive-discharge/
Good evening Mr. Swagatam. I noticed in my CDI circuit that from around 5000 RPM onwards, the spark power decreases significantly. I assembled the circuit according to the description provided in this article. However, I am using a 1.5uF/400V polyester capacitor and the coil is from an inductive system. Could this be the problem?
Good evening Tony,
yes, both the capacitor value and the coil type could be the reason for the loss of spark energy above 5000 RPM. Try optimizing the capacitor with lower uF values and higher voltage variants, MKT type, and make sure the coil you are using is designed for CDI systems only and not for conventional inductive ignition systems
Good Mr. Swagatam, I made the circuit and it worked perfectly with lost double spark coil, then I remembered that I need a rpm limiter with two step for start.a simple analog circuit maybe with adjustment potentiometer. Does Mr have any suggestions?
That’s great news Tony! Glad you could make it work for you! For a RPM limiter, you can consider trying the following circuits, let me know if you have any further doubts:
https://www.homemade-circuits.com/frequency-to-voltage-converter-circuit/
https://www.homemade-circuits.com/wp-content/uploads/2025/06/vehicle-high-low-speed-limiter-circuit.jpg
Good day, sir. Swagatam and the rest. Returning only to inform the success of assembly and operation of the proposed circuit. I had some problems with the inverter but after solved it worked perfectly. I would like to send a video showing, but here it was not possible.
Thank you Tony, I am so glad the circuit worked for you.
Yes, it would be really great if you could sed me the video of the working unit.
Please send it to my email ID:
homemadecircuits
@gmail.com
Bom dia novamente Sr. Swagatam. Só mais uma pergunta apenas.
Qual a voltagem dos capacitores C1, C2, C3, C4 E C5 respectivamente que posso utilizar???
Hi Tony, all those capacitors can be rated at 50V minimum, or higher.
Boa noite Sr. Swagatam. Primeiramente gostaria de agradecer por disponibilizar o diagrama deste circuito (CDI DC) achei muito interessante e pretendo usa-lo em meu projeto. O projeto em questão é meu carro, um (VW Gol 1995 “Brasil”) com motor 4 cilindros turbo que eu mesmo montei o qual vou instalar uma injeção “SPEEDUINO”. Eu consigo usar este circuito para funcionar em conjunto com a injeção, coletando os sinais de ignição e utilizar sistema de centelha perdida ???
Ok Sr. Swagatam, vou estudar e construir o circuito. quando funcionar voltarei aqui para relatar sobre. Muito obrigado 👍
No problem, Tony! All the best to you!
Perfect, if you allow me, I have some more doubts.
The signal I want to use is the coil firing command coming from the Speeduino ignition output. This is a square wave 0–5V pulse, already with dwell time included (about 4 ms).
Can I feed this signal directly into point D of your circuit?
Also, does point E go to the + terminal of the ignition coil’s primary winding?
Then, where do I connect the – terminal of the coil? Because your circuit does not show a connection for that.
Yes, you can feed the square wave pulses to point D.
Point E should be connected to the primary coil of the ignition coil, which is probably + in a car ignition coil.
The ground of the CDI circuit will connect with the ground of your vehicle.
You can also consider try the following enhanced version of the circuit:
https://www.homemade-circuits.com/universal-multi-spark-enhanced-cdi/
Thank you Tony,
Yes you can use the above CDI circuit with battery and trigger it via Speeduino sync pulses.
To implement wasted spark, select a coil setup that supports it and ensure the CDI capacitor and SCR are strong enough.
Build carefully, checking voltage, timing and component ratings, especially for a car engine.
Hi Mr. Swagatam. Thank you for sharing this detailed guide! I followed your instructions and built the circuit exactly as described with the exception of couple of capacitors but very close to your spec. However, I noticed that the output from the UF4007 diode was only 38V DC. Is this the expected voltage, or could there be an issue with my setup or what do you think I missed? I’d appreciate any insights you might have. Thanks again for your valuable contribution!
i had the same problem in the zener diodes I had the error zener diodes how many volts you used should be about 300 v
there is only one problem that at high revs the voltage in c6 drops to 50 v, in short, the circuit does not work for demonstration purposes
Hey Sinan. I just wanted to take a moment to thank you for sharing your experience with the circuit. It really means a lot. Knowing that someone else has been through the same challenge makes the learning process feel a little less daunting! Yes, you are right! I looked at the specs of the Zener diodes I used and they were only 12V. Unfortunately I do not have any other Zener with higher ratings, but I take your word for it that it can’t maintain charge at higher RPMs.
I have an old Kawasaki mule that has a bad cdi and it has been discontinued. A second hand from ebay cost >$500. I may keep looking for other options. Thank you.
Hello Mr. Nestor, actually this circuit wase designed and tested by a different author, who is quite reliable as far as I know him. However since it is not designed by me, I am not sure about the results of this circuit, mostly because it involves an SMPS transformer. However, if your input DC is 12V then 38V is not bad if nothing is heating up. The output voltage from the smps transformer will depend on the switching frequency and also the turns ratio…
I appreciate your very prompt response. Thank you.
Hello Swagatam,
Thank you for sharing your expertise.
I am trying to inspect/repair an old DC CDI unit for a single cylinder, 4-cycle 250cc bike.
I am having a terrible time trying to remove the OEM’s protective gel, which is mixed with many small white stones (silica?).
Do you know what is the right solvent for quickly and effectively removing this junk? I was not able to find any useful info on the net.
Thanks.
Hello Dustin,
I guess you are referring to the hard epoxy which is put into the CDI box to hide its details by the manufacturer. Unfortunately, there’s no solvent or chemical available which can dissolve this epoxy. The only way is perhaps to slowly and carefully break it bit by bit, until the circuit board is sufficiently retrieved.
Hello, I have built the circuit according to the diagram.
However, instead of a 3.3nF capacitor, I used a 3.9nF capacitor, and instead of an 18nF capacitor, I used a 15nF capacitor.and for C2 I use 470uf 16 volt electrolytes capacitor, I also built the transformer according to the formula.For building the transformer, I used enameled wire from a miniature relay and an small armature…
But the circuit doesn’t work. I’ve checked it multiple times, and everything seems correct. However, when I connect the input voltage, the TIP31 transistor gets very hot. I replaced it with a TIP41 transistor, but it still gets hot, and the capacitor doesn’t charge…
Is it possible that some of the components are faulty?
What do you think could be the issue? Please guide me; I would appreciate your help.
Thank you, my friend. Best regards!
trafonun çıkışları şemaya uygun değil. dikkat etmemişler tasarım hatalı
ya trafoyu ters pinlerden saracaksınız yada şemayı ters çevireceksiniz
140 spir lik sargının çıkışı uf4007 diyotunun anot ucuna denk gelmesi lazım.
Hi, the above circuit was designed by a different author Mr. Abu Haffs, however it was tested by him to be OK.
Actually the transformer is the heart of the circuit and if the windings are not wrapped correctly or if the direction of the winding is not correct then the circuit will fail to oscillate and the transistor will start heating up.
You can try swapping the wire ends of either the primary winding or the secondary winding and check the response.
Hello, regarding capacitor C2, which type of capacitor should I use?
The capacitor is 470 microfarads, but I could only find electrolytic ones. However, the polarity is not specified in the circuit. What alternative value or type can I use instead?
Thank you for your response.
C2 capacitor can be an electrolytic, because it is fed from a rectifier diode, so electrolytic can be used.
The value can be anything above 220uF
Interesting project, I have to try it, I have almost all the components and I only need to make the transformer, the only component that I think I will not get on the market is the TVS since here in Guatemala it is difficult to locate these components and especially because the value of it.
I already designed the single-sided printed circuit board, it’s just for testing.
Greetings from Guatemala, Sergio Lorenzana.
Thank you Sergio, glad you found the project interesting.
Hope it works for you.
Let me know how it goes….
hello dear Swagatam thanks for sharing this project,
I want to make this but I’m having a little trouble
can you share PCB diagram and full part for me?
I appreciate it
Thank you David,
However, I am sorry, i do not have the PCB design for the above circuit. You may have to contact a professional PCB manufacturer for designing the PCB layout and for producing the sample PCBs.
Dear Swagatam, have a nice day!
I am making a friend a PCB according to your diagram for his 150cc motorcycle 1 cylinder.
For obvious reasons, the circuit is sensitive to the quality of the components.
Can I use the following parts?
BT151-800R as U1
BC547C as Q2
MJE13005 as Q1
SF18 as D2
SK56 3A rated SMD as D1
Please tell me whether it is possible to shift the ignition timing in this circuit using elements. To an earlier or later position. You may need to install a toggle switch
Regards
Thank you Sergey,
You can use the mentioned parts except MJE13005, which might not work well for a 12V application, instead you can use any other 50V or 100V 5 amp transistor.
I don’t think this circuit can be modified to shift and customize the ignition timing, I am not so sure about it.
Sir what are the first circuit capacitor voltage values.can you send parts list pls
PADMAHARSHA, The capacitor voltage values that are not specified in the diagram are all 50 V rated. Resistors are all 1/4Watt 1% MFR type.
Hi ,
Does motorcycle has a alternator as well. Please let me know.
Is thta not part of CDI circuit.
Thanks
Susanta’
Yes, all vehicles have an alternator. A voltage of around 100 to 200 V AC is fed to the CDI for generating the sparks
Hi
I made this circuit
The first problem for me was the number of turns of the transformer. When I reduced the number of primary turns to 10 and the number of feedback turns to 2 , the circuit was fixed.
Now it works properly but at low speed
When the rpm goes up to ~3000, the spark is very low
Can you tell me my problem?
(I changed the number of turns because the transistor was saturation)
Thank you
Hi,
I am glad you could make this circuit successfully.
At high speeds it seems the current entering the CDI coil cannot reach optimal value. I guess the C6 should be increased a bit, which might solve the problem, but I am not sure I am only guessing.
Try increasing the value of C6 from 1.5uF to 3 uF/600V and check the response
Hi Swagatam, Joop here from Holland. I made two dc cdi ignition and it Works 100% up to 350hz with a sparkdistance of 20mm with a quality Wilma mkp 1uf 630Volt condenser and a good coil. It draws 7-8 Watt at 14Volt With for 75 Volt zeners and a very small transformer.
Now my question: Can I use 18 or even 20Volt? I need 480hz. My bike is a triple cilinder, and it has one cdi with a strange distributor wich connects the ground off the 3 coils in turns to ground.
I tryed it for a short time and it gives a stronger spark up to 530hz.
Thank You for schering you knowledge.
Regards Joop
Hi Joop,
You can use 18 to 20V, but make sure to increase the gate resistor value of the SCR to around 470 ohms 1/2 watt. The frequency of the sparks will depend on the RPM of the bike wheel. The wheel rotation will be converted to pulses from the pickup coil and sent to the CDI for triggering the ignition coil. As your bike moves faster the sparks will become faster and vice versa.
I would like to try construct the circuit for a half-bridge for a DC to DC inverter . I have a hope that for a large part of my desired application, you did a commendable job as if you are an alien from space. I shall try to make a minor modification or none at all.Thankfor your effort in arranging that the converter must operate with the fire semiconductor there are other areas that deserves technical appreciation, also I leave that to other. Thank you Homemade.
Alfred,
Malawi.
Thank you Alfred, glad you found the post helpful! Surely, you can construct it for your inverter project. Hope it works for you.
All the best to you!
Hi Swagatam,
I made this circuit but i’m not satisfied with final results because i’m facing these issues
Can you please help me, how can i overcome these issues?
Hamza.
Hi Hamza, try increasing the primary turns to 30 or 40 turns and check if that reduces the current consumption or not?
The transformer is the crucial part in this design, if it is not built correctly or the winding polarity is not correct, there could be problems. Make sure to put an paper gap between the E-core edges.
Padmaharsha, The zener diodes decide the voltage level that can be stored in the capacitor C6, which in turn decides how strong the CDI output voltage and the spark will be.
Sir
What are the 3 zener diode specs for dc cdi
Sorry, I have no idea what type of CDI is required for operating a 4 cycle engine, so not sure how the above circuit can be modified?
The capacitor, SCR and the transformer are the 3 important parts of the circuit.
Would it be possible to modificate it for 4 cyl with 8000 rpm? What is the week part, transformer or the ingnition capasitor?
Or other?
regards,
Eric