Modification Design Notes

    Well this is what the new crank trigger input circuit looks like.  The input diode limits the pickup's voltage swing of 14 volts to 5 volts.  The 2.7k helps pull up the pickup's output to give a better edge. The second diode going to the +5v supply and R23 limits the input voltage going to the op-amp to under one diode drop above Vcc.  This is needed to bleed the charge off the input diode created by its capacitance.  R22 was reduced to 562 ohms to improve the edge going to the schmitt trigger.  At first I removed R28 to decrease the load on the op-amp's output but found that it could not source current well.  The resulting slew rate was distorted and had a knee in it.

    The unused magnetic input circuit re-configured to handle the Hall Effect sensor in the distributor.  Will use this path to detect the CAM position to synchronize the injectors.  This circuit ended up the same topology as the original distributor input handler with the exception of R8.  I reduced this value by a factor of 8 to increase the edge going into the 74HC14-1.

A short Readme file on the setup conditions can be found here.
 

This was before I replaced R28 which helped
the op-amp's output edge and the coupling 
resistor was still 4.7k  See how slow the edge is.
Note the 24us propagation delay.

- R28 removed (no pull down)
- R22 = original 4.7k coupling resistor
- Input = Function Generator
- #1 = 74HC14-4 Inverter Output
- #2 = 74HC14-3 Inverter Input
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output high

This is across the 4.7k coupling resistor.

- R28 removed (no pull down)
- R22 = original 4.7k coupling resistor
- Input = Function Generator
- #1 = LM2904D-1 Output
- #2 = 74HC14-3 Inverter Input
- T1 = when the output of the op-amp hit zero
- T2 = when the inverter's output went high

This shows how poorly the LM2904D performed
without the load resistor.

- R28 removed (no pull down)
- R22 = original 4.7k coupling resistor
- Input = Function Generator
- #1 = LM2904D-1 Output
- #2 = LM2904D-2 Input
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output went high

Things are improving with the addition of the
load resistor.  A little better edge.
Note the 15us propagation delay (better).

- R28 = 562 ohms (892 ohms total)
- R22 = original 4.7k coupling resistor
- Input = Function Generator
- #1 = 74HC14-4 Inverter Output
- #2 = 74HC14-3 Inverter Input
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output went high
- V1 = state change trip voltage

This across the 4.7k coupling resistor again.
You can clearly see the RC delay it causes.

- R28 = 562 ohms (892 ohms total)
- R22 = original 4.7k coupling resistor
- Input = Function Generator
- #1 = LM2904D-1 Output
- #2 = 74HC14-3 Inverter Input
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output went high
- V1 = state change trip voltage

Got a decent slew rate with the 892 ohm load.

- R28 = 562 ohms (892 ohms total)
- R22 = original 4.7k coupling resistor
- Input = Function Generator
- #1 = LM2904D-2 Input
- #2 = LM2904D-1 Output
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output went high
- V1 = state change trip voltage

Looking at the over shoot caused by the 
capacitance of the input diode.  R23 and the
limiting diode are doing their jobs.

- Input = Function Generator
- #2 = LM2904D-2 Input

You can see how reducing the series resistance
has improved the response. The input to the
schmitt trigger is almost the same as the output
of the op-amp and we still have amble phase
margin.

- R28 = 562 ohms (892 ohms total)
- R22 = 562 ohms (coupling resistor)
- Input = Function Generator
- #1 = 74HC14-3 Inverter Input
- #2 = LM2904D-1 Output
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output went high
- V1 = state change trip voltage

Here is the total propagation delay through the
circuit now.  We started with 24us and with a
few tweaks got it down to 9us.

- R28 = 562 ohms (892 ohms total)
- R22 = 562 ohms (coupling resistor)
- Input = Function Generator
- #1 = Trigger input edge (J1-23)
- #2 = 74HC14-4 Inverter Output
- T1 = trigger edge arrived at the input (J1-23)
- T2 = inverter's output went high

Here is a look at the trailing edge performance.
Not really an issue as it won't be used by the
ECM's code any more.

- R28 = 562 ohms (892 ohms total)
- R22 = 562 ohms (coupling resistor)
- Input = Function Generator
- #1 = Trigger input Falling edge (J1-23)
- #2 = 74HC14-4 Inverter Output - Falling edge
- T1 = falling edge arrived at the input (J1-23)
- T2 = when the inverter's output went low

A look at the total propagation delay of the
CAM position input circuit. Same as the crank
trigger circuit, as it should be.

- #1 = Trigger input edge (J1-4)
- #2 = 74HC14-2 Inverter Output
- T1 = trigger edge arrived at the input (J1-4)
- T2 = inverter's output went high

A look at the unloaded response of the crank
trigger pickup.  You can see that its response
is not too bad to about 50% of the supply
voltage.  After that it takes forever to get to the
rail.

- Vcc = 14 volts
- No cable.  Scope at unloaded trigger output
- T1 = trigger rising edge
- T2 = when the output voltage reached max.
- V2 = maximum output voltage

Here is rise time (of the first 50%) of the
unloaded pickup.  The capacitance of the cable
and ECM will slow things down.

- Vcc = 14 volts
- No cable.  Scope at unloaded trigger output
- Scope calculated rise time: 1.17us

You can see how things slow down when the
capacitance of the cable is added.  Also at this
point the Magnetic Output is still attached.  It
also loads the square wave output.

- Vcc = 14 volts
- 12' supplied cable with Mag line still hooked up
- Scope calculated rise time: 5.07us

Same conditions as above.  Cable loading has 
no effect this far out.

- Vcc = 14 volts
- 12' supplied cable with Mag line still hooked up
- T1 = trigger rising edge
- T2 = when the output voltage reached max.
- V2 = maximum output voltage

You can see the improvement to the square
wave output when the magnetic trigger output
line is unloaded.  When I install it in the car I
will leave this line dis-connected at the plug.

- Vcc = 14 volts
- 12' supplied cable with Mag line disconnected
      at weather-pack plug
- Scope calculated rise time: 3.5us

Here is the response when finally connected to
the ECM.  I left the .001uf input filter cap in
place.  Slows things down a bit but also helps
filtering out high frequency noise that may
cause false triggering.

- Vcc = 14 volts
- 12' supplied cable with Mag line disconnected
     at weather-pack plug.
- Attached to ECM input (J1-23)
- Rise time calculated at same V2 as
     sdata16 above: 7.44us

Here is the relationship between the trigger
signal as it enters the ECM and the input to 
to LM2904D op-amp.  V2 is the threshold when
the op-amp will react.

- Vcc = 14 volts
- 12' supplied cable with Mag line disconnected
     at weather-pack plug
- Attached to ECM input (J1-23)
- #1 = trigger input (J1-23)
- #2 = LM2904D-2 Input
- T2 = when LM2904D-1 Output reacted to the 
            input signal.
- V2 = LM2904D-3 non-inverting input hysteresis
            trip voltage.

Well here we have the whole thing from the
pickups edge to the 74HC14 Schmitt trigger's
edge.  Total propagation delay: 18us

- Vcc = 14 volts
- 12' supplied cable with Mag line disconnected
- Attached to ECM input (J1-23)
- #1 = trigger input (J1-23)
- #2 = LM2904D-1 Output
- #3 = 74HC14-4 Output
- Delta T - Total propagation time