Programmable Digital Ignition
NEW! Click here for a TCI version of the circuit (tested on PIC12F675)
NEW! Click here for DC-DC converter schematic (for those engines without high volt aleternator)
Click here to download the "Ignition Wizard" program
Click here to download the C source code of the program
Click here to download the ASM source code of the program (please note on the bugs fixed on the program!)
Click here to download the Excel sheet with calulated values
Click here to go to the servo page

    Two Stroke CDI (Capacitive Discharge Ignition)

    The next schematic shows the coil configuration at magnetic plate and the position of the pick-up at the outer sider of the plate. This pick-up is triggered by the step on the plate. Below are shown the signals measured by means of an oscilloscope at the output of the magetic plate, and the output of CDI for the primary of the HV coil.

    Ignition performing

    The ignition explained here is a conventional one in wich the trigger is controller by means of a microcontroller, in this case PIC16F84 of MicroChip. This micro has a FLASH memory that can be saved with a simple programer that you can build easily, all information about the programmer can be found at JDM.

    PIC receives the signal from the pick-up and delays it by using an internal table. This means that the starting point of the ignition should be place before of PMS at the most advanced point in wich you want to the ignition works.

 

    First graph shows the real advance curve measured in degrees over the PMS, nevertheless the PIC can not perform advancing, else it will make a delay from the pickup signal (typically at 36 degrees). For the maximum advance point, the PIC will do a zero delay (for 36 deg. advance). When this maximum value is determined, the second graph can be done, this graph shows delay in degrees that the PIC should perform after receiving the pickup pulse.

    The PIC computes the elpased time between the last pulse and the present one, and by using this count it access to a table in which are stored time to delays vs measured period.

    CDI Schematic

NOTES about the circuit:

capacitor charge

   PIC program

Ignition table (at the begining of the program) stores a series of values calculated with an Excel sheet. This values varies from the maximum allowed speed (15000 rpm) to the minimum stored at the curve (5000 rpm). For the lower values a simply calculation is done in order to calculate a fixed degre for the advance.

The program also has ignition rev-limiter for higher rpm







IGNITION TEST MACHINE


Here you can see the exact point where the spark is done while the arrow turns at high speed


This electric motor can reach upto 30.000 rpm
When the electric motor moves the machine, the alternator generates the current
for the ignition performing. No external power is required.








Last modified: FEB/10/2009