...
To clarify, the unit I'm talking about, would read 2 hall effect sensors, and drive 6 - 8 injectors, and also talk to the main unit over something simple like serial.
Let's call this the injector driver assembly. (IDM)
Let's call the other (main) unit the PCM (powertrain control module)
This is pretty much what it is in standard format from car companies haha.
So the IDM will know when to inject the fuel. It will have the hardware to inject the fuel, but thats it. ( yeah right, "thats it", huge project).
The PCM, will send over serial, little pieces of data to the IDM.
The pieces of data will include volume of fuel, etc.
Also, a good idea would be that if the communication fails for more than a second or so, the IDM would just turn itself off.
How do PWM chips work exactly?
I remember a few months ago thinking about this, and thinking of tiny chips that play back a sound from memory on the chip. I remember thinking...
"What I need is a chip like that for each injector, so when it's triggered to inject, it would play back it's sound (or injector driving PWM data), and drive the amplifier, driving the injector. "
Of course it would need to run at a much higher frequency than a chip meant for sound or music playing, but is similar technology possibly viable for this?
If the IDM was configured to not even adjust timing or anything, but just determine engine position, each injector driver circuit could have the above idea imlemented, and an amp, and the timing could just be changed by changing the data that gets "played back".
I will try to explain that better.
Let's think "like" the IDM for a second, controlling a single injector.
-We just got a signal from the hall sensor on the cam, this is the exhaust stroke.
-OK, another hall cam signal, this will be an injection, wait...
-Now signal detected from crankshaft, time to start injection data.
-Start playing PWM data from memory chip, voltages go to amplifier, and drive injector.
And the data on that chip, would be sent from the PCM, so the IDM could be a fairly dumb machine.
From the seat of the PCM,
-keep sending data over the serial to the IDM : "RPM", and it would send a number back.
-Then, we would send it injection pattern data constantly as the fuel demand changes.
I don't know the exact speed or bitrate etc that this might be, but for simplicity sakes, lets pretend that 30 degrees before top dead center, to 30 degrees after, is represented by something like this:
"0000000000000000000000000000000000000000000011111 000000000000"
So when you send a serial message to the IDM, it would be something like:
"inject=000000000000000000000000000000000000000000 0011111000000000000"
And that would be the data that the IDM "plays" to generate the PWM signals to the amplifiers, and then to the injectors.
So lets's pretend some more, rpm's are 2000, and throttle position is at 0 ( foot off gas pedal), the PCM would send this to the IDM:
"inject=000000000000000000000000000000000000000000 0000000000000000000"
Then when the engine slowed down, the PCM would configure the injection pattern for idling, something like this:
"inject=000000000000110000011000001100000110000001 1000000000000000000"
( That is 5 little shots of fuel.)
Harder fueling might look like this:
"inject=000000111111000111111000111111111000001111 1100000111111000000"
And really hard fueling might not have enough time for 5 injections any more, so it could be 4 injections, 3, 2, 1, whatever.
The point is that the PCM can generate the injection pulse timing in with the injecion pattern, and the IDM will just keep putting out the signals it's told to, at the right time.