MembersPage/MichaelRichards/Projects/NicksGTX/Trigger (2006-03-16 04:43:08)

Distributor Wiring

Distributor Pin Factory Colour Signal
1 Black / Lt Green GND
2 White / Red +12V
3 White / Brown Spots Trigger 1
4 Yellow / Blue Trigger 2

Triggering problem

Fero figured out the location of the slots:

Mazda_BP8_CAS.jpg

The camwheel rotates counterclockwise.

I've turned this diagram into a graph of the timing versus pulse signals.

mazdatrigger.gif

As you can see from this diagram the sync pulse rising edge occurs 10 camdegrees after TDC of cylinder 1. I don't see this as a problem because neither the engine nor the ECU care what cylinder is being fired first. This means the falling edge of the first primary pulse occurs 47 camdegrees after TDC1 and 43 cam degrees before TDC3 (next cylinder to fire).

So what if we consider TDC3 the first cylinder of the cycle? The window of 86 crank degrees of possible advance is large enough. The injection and coil firing lines int the h table will just need to be bumped one ahead.

When fed with 12V the trigger2 outputs 5V or 0. Great for the hall trigger setup. Thanks again to Fero.

When the crank trigger is hooked up to the board it measures about

Double-check polarity !

I am going to be using fully sequential injection so this makes primary and secondary triggers necessary.

Config Settings:

trigger1, rising,coil,filtering

TODO: are you sure about rising edge?

primary_trigger=07

trigger2, rising, enabled, filtering

TODO: are you sure about rising edge?

secondary_trigger=1D

not used in coil type triggers

trigger_tooth=FF

another_trigger_tooth=FF

tooth_wheel=FF

(*16 usec) x crank_minper value=minimum period in usec

Max RPM=8000. So at 8500 RPM, 1crankrot=7ms, 3.5 msec minimum trigger period, 80% of which is: 0xB0

crank_minper=B0

The crank trigger occurs 80 degrees before TDC. Fero used 0xA2 which is 81 degrees. I assume this value is adjusted and found with a timing light once the engine is running.

ign_tdcdelay=A0

This is the default value. Interpolation slope, to determine how much is added on top of the 14V value.

ign_dwell6=88

I have no idea what a good ignition crank is for this engine. Fero used 13.25 degrees and so will I for now.

ign_crank_advance=35

These are not used for coil setup

tooth_wheel_twidth1=FF

tooth_wheel_twidth2=FF

I believe this is how many trigger pulses before the phase is reset. In our case it should be 4 primary pulses for 720 degrees of revolution

reset_engphase_after=04

TODO - need help with this one! rising edge is 18 camdegrees BTDC and falling edge is 57 camdegrees ATDC. The last pulse before TDC occurs a whopping 80 camdegrees before.

Can you double-check polarity because it sounds like reversed.

I'm uncertain how to turn these details into values.

cam_sync_f_edge_phase=FF

cam_sync_r_edge_phase=FF

TODO: copy it to here:

h[2]=....