Monday, 5 August 2013

CAS vs Injector Pulse Relationship

Just a few pics showing the relationship between the CAS signals and the injector outputs on the stock ECU:








The last pic shows the relationship between the crank pulse and the start of the fuel pulse.  Not that the fuel pulse always starts at the same place, around 500-600us after the falling edge of the crank signal, regardless of RPM or load.  The width is varied by changing the end point of the pulse.

Here's a slightly dubious pic of some of the traces stitched together (if only I had a 4-channel scope!):




Friday, 5 July 2013

Fuel Pulse Width

I got my dev board measuring the fuel pulse width today.
Here's a quick pic of pulse width against rpm and afm volts:


More details to follow when I've had time for some more investigation...

Tuesday, 2 July 2013

Stock Rev Limit

I started looking at the fuelling on the stock ECU today.
The first thing I did was look at where the RPM limit was.

It looks like the ECU stops injecting fuel above 7197 RPM, and doesn't start injecting fuel again until the revs drop below 6935 RPM.


Monday, 24 June 2013

Stock Ignition Map Continued

I've been doing some more work extracting the stock ignition map.
I've tried changing ECT and IAT temperature, enabling/disabling TEN, and playing with the WOT and closed throttle switches.
So far the only thing that seems to affect the timing is whether the closed throttle switch is shorted to GND or not.

Closed throttle ignition timing:



Open throttle ignition timing:

The data can be downloaded here and here.

Friday, 21 June 2013

Idle Valve Drive

Just had a quick look at the idle speed output.
With TEN shorted to GND it outputs a fixed 160Hz PWM with a negative width of ~2.6ms and a positive witdh of ~3.6ms.
It seems unaffected by AFM voltage and RPM.
At some point I'll look at what it does when TEN isn't enabled.

Wednesday, 19 June 2013

First attempt at extracting the stock Ignition Map

I've been doing some more fiddling with the stock ECU and can now control the RPM and AFM voltage going into it, and measure the spark angle coming out (using my STM dev board).

I wrote a little bit of code that steps the RPM and AFM voltage and spits the spark angle out of the UART.
I logged the UART data and inserted it into Excel and managed to produce this:


As before I've currently got TEN shorted to GND, and a fixed resistor for IAT (2k) and ECT (330R), and closed/wide-open throttle inputs left open.

Note that I've added 10 degrees to the angles to account for the stock static 10 degree offset.

I'll publish the raw data once I've done some more work and confirmed what I'm doing and what I think I'm measuring are correct.

One more note whilst I'm thinking about it - The ECU logs an error when the AFM voltage drops to 0.2V or lower.

---
Update: Although the static timing is set at 10 degree on the MX5, I've just been looking at the spark outputs again - at idle with TEN and closed throttle shorted to GND (the conditions under which static timing is set on the engine)  the spark triggers at 3 degrees before the falling edge of the crank signal.
So, rather than being at -10 degrees, I think the falling edge of the crank signal is probably more like -7 degrees.
Though given that people often increase the advance by 2 to 4 degrees on the 1.6 engine my additional 10 degrees advance is probably about right!

Thursday, 13 June 2013

ECT and IAT Calibration

Some notes on the ECT (engine coolant temp) and IAT (intake air temp) sensors.
The following is info I've googled, so I don't know if it's accurate or not...
The voltage is calculated from the 'googled' temp/resistance values based on the 2k7/5V pull-up in the stock ECU.

Temperature, Resistance, Voltage
-20, 16150, 4.28
 40,  1150, 1.49
 80,  330, 0.545

ToDo: Update with some better data when I've found it.