Dual Hall Input Problem Fixed, but No Fuel
Posted: Tue Apr 17, 2012 1:35 pm
Hi Guys
I have installed an independent dual injection setup with a V3 Microsquirt, using two Hall sensors and a single-tooth cam wheel, firing two LS2 coils.
Hall 1 is connected to the OPTO+ and - wires; and Hall 2 to the VR2+ wire (VR2- being ignored). The sensors have 1k pull-up
resistors so that when the leading edge of the trigger tooth enters the sensor the output goes high, and when the trailing edge
passes output is pulled low. After much messing about I now have some sensible spark events going on, but with the following
problem:
If I set input capture to trigger rise, Input 1 triggers on the leading edge of the tooth but Input 2 triggers on the trailing
edge. If I set trigger fall, then the reverse occurs. This is based on observing the spark occurrence, sensors are fixed and
trigger tooth leading edge is set to TDC which is correct starting advance for this engine. Ultimately I would like to be able to
use trigger rise or fall for cranking timing, not calculated.
Am I right in thinking that this is an inevitable result of using Hall sensors on these inputs? I tried using VR1 and VR2 but all
I got for Cylinder 1 was a gibberish kind of triggering and no fuel, hence reverting to OPTO as per documentation.
I am looking at inverting one of my Hall input signals using a PNP transistor, since it is evident that the processor input circuit
is inverting one of them already. Is this the right thing to do? Is there a good reason to pick one over the other? I am
thinking of inverting Hall 2 on the VR2 input. I am guessing that I should put around a 2k resistor between the Base and Hall
output, and that the impedance of the VR input will be massive enough that I can just put VR2+ onto the Collector with no
additional load resistance and leave VR2- disconnected. The Emitter will be connected directly to +12V. Does this sound about
right, or should I invert Hall 1 output on the OPTO input, or is there a simpler/better way?
Best regards
Nick
I have installed an independent dual injection setup with a V3 Microsquirt, using two Hall sensors and a single-tooth cam wheel, firing two LS2 coils.
Hall 1 is connected to the OPTO+ and - wires; and Hall 2 to the VR2+ wire (VR2- being ignored). The sensors have 1k pull-up
resistors so that when the leading edge of the trigger tooth enters the sensor the output goes high, and when the trailing edge
passes output is pulled low. After much messing about I now have some sensible spark events going on, but with the following
problem:
If I set input capture to trigger rise, Input 1 triggers on the leading edge of the tooth but Input 2 triggers on the trailing
edge. If I set trigger fall, then the reverse occurs. This is based on observing the spark occurrence, sensors are fixed and
trigger tooth leading edge is set to TDC which is correct starting advance for this engine. Ultimately I would like to be able to
use trigger rise or fall for cranking timing, not calculated.
Am I right in thinking that this is an inevitable result of using Hall sensors on these inputs? I tried using VR1 and VR2 but all
I got for Cylinder 1 was a gibberish kind of triggering and no fuel, hence reverting to OPTO as per documentation.
I am looking at inverting one of my Hall input signals using a PNP transistor, since it is evident that the processor input circuit
is inverting one of them already. Is this the right thing to do? Is there a good reason to pick one over the other? I am
thinking of inverting Hall 2 on the VR2 input. I am guessing that I should put around a 2k resistor between the Base and Hall
output, and that the impedance of the VR input will be massive enough that I can just put VR2+ onto the Collector with no
additional load resistance and leave VR2- disconnected. The Emitter will be connected directly to +12V. Does this sound about
right, or should I invert Hall 1 output on the OPTO input, or is there a simpler/better way?
Best regards
Nick