- Fri Jun 25, 2021 2:57 pm
#51411
I've the last year or so, I've been slowly developing my own board, mainly for educational purposes, but to be PnP compatible with a motorcycle that I have.
I have an issue with my latest revision that I need a little help understanding. I *think* I understand what's going on, and broadly what the solution might be, but I'm a bit hazy on the specifics.
First - let me describe the problem - it's very noticeable.. when powered on, the fuel pump runs for the allotted time, then when it tries to switch off, the fuel relay on the bike goes into a continuous cycle of clicking on/off, and never switches permanently off (note - the engine is not turning, this is purely at ignition on).
My previous board revision did not exhibit this problem, and the feature that I introduced onto this version of the board was an onboard VR (NCV1124DR2G based). Through trial and error, and building up multiple boards, I'm entirely convinced that what is probably happening is flyback from the fuel relay coil is *probably* charging up one of the capacitors on the VR circuit, and tripping the fuel pump mosfet back on for a moment.
Here's a capture of a scope of what's happening to demonstrate. You can see the spikes appearing after 5 seconds, where the bike fuel pump relay is clicking on and off.
Yellow = Fuel pump voltage (after the relay on the bike)
Pink = Fuel pump mosfet collector output (marked FUELPUMP-OUT in the below circuit)
Purple = +5v
The fuel pump circuit is straightforward:
The VR circuit is pretty much straight from the datasheet - though C5 and C13 are not fitted at this time, so the only capacitors in play here are C12 (220nF) and C14 (22nF):
The issue *has* to be related to the introduction of the VR circuit because as I built up a fresh board this afternoon, I built up only the minimum necessary for the fuel pump control to work, and the problem was not evident. Then I added the NCV1124 IC, and the problem started manifesting itself.
As said - I suspect the issue is related to flyback, and if so, the solution is probably a diode, but I don't want to make any assumptions - can anyone help point me in the right direction please?
Thanks,
Mike
I have an issue with my latest revision that I need a little help understanding. I *think* I understand what's going on, and broadly what the solution might be, but I'm a bit hazy on the specifics.
First - let me describe the problem - it's very noticeable.. when powered on, the fuel pump runs for the allotted time, then when it tries to switch off, the fuel relay on the bike goes into a continuous cycle of clicking on/off, and never switches permanently off (note - the engine is not turning, this is purely at ignition on).
My previous board revision did not exhibit this problem, and the feature that I introduced onto this version of the board was an onboard VR (NCV1124DR2G based). Through trial and error, and building up multiple boards, I'm entirely convinced that what is probably happening is flyback from the fuel relay coil is *probably* charging up one of the capacitors on the VR circuit, and tripping the fuel pump mosfet back on for a moment.
Here's a capture of a scope of what's happening to demonstrate. You can see the spikes appearing after 5 seconds, where the bike fuel pump relay is clicking on and off.
Yellow = Fuel pump voltage (after the relay on the bike)
Pink = Fuel pump mosfet collector output (marked FUELPUMP-OUT in the below circuit)
Purple = +5v
The fuel pump circuit is straightforward:
The VR circuit is pretty much straight from the datasheet - though C5 and C13 are not fitted at this time, so the only capacitors in play here are C12 (220nF) and C14 (22nF):
The issue *has* to be related to the introduction of the VR circuit because as I built up a fresh board this afternoon, I built up only the minimum necessary for the fuel pump control to work, and the problem was not evident. Then I added the NCV1124 IC, and the problem started manifesting itself.
As said - I suspect the issue is related to flyback, and if so, the solution is probably a diode, but I don't want to make any assumptions - can anyone help point me in the right direction please?
Thanks,
Mike