This is where the BIN Hackers and definition junkies discuss the inner workings of the EEC code and hardware. General tuning questions do not go here. Only technical/hardware-specific/code questions and discussions belong here.

Moderators: EDS50, cgrey8, 2Shaker, Jon 94GT

Post Reply
xafalcon
Gear Head
Posts: 42
Joined: Mon Jul 26, 2010 10:42 pm
Location: New Zealand

MAF transfer multiplier vs cpu frequency, any relationship?

Post by xafalcon » Sun Nov 07, 2010 4:51 am

Is there any relationship between the calculation applied to the MAF transfer binary data and the cpu crystal frequency? For example the A9L EEC4 8061 processor with a 15MHz crystal has a multiplier of X/3.1562283 to arrive at kg/hr (which is converted from lb's/clock tick the file note says). Now the EEC5 ecu I'm trying to define at the moment has an 18MHz crystal on a 8065 cpu.

So how does the binary data multiplier change to account for this? Is it as simple as 3.1562283 x 15 / 18 = kg/hr?
1995 RHD Mustang running Australian EEC4 retro-fit 220kW 5.0 and BTR Transmission. Tuned using TunerPro and Binary Editor on Moates Quarterhorse.

mpaton
BIN Hacker
Posts: 381
Joined: Mon Jun 23, 2008 1:39 pm

Re: MAF transfer multiplier vs cpu frequency, any relationsh

Post by mpaton » Fri Dec 03, 2010 11:55 am

xafalcon wrote:Is there any relationship between the calculation applied to the MAF transfer binary data and the cpu crystal frequency? For example the A9L EEC4 8061 processor with a 15MHz crystal has a multiplier of X/3.1562283 to arrive at kg/hr (which is converted from lb's/clock tick the file note says). Now the EEC5 ecu I'm trying to define at the moment has an 18MHz crystal on a 8065 cpu.

So how does the binary data multiplier change to account for this? Is it as simple as 3.1562283 x 15 / 18 = kg/hr?
I'm afraid this won't directly answer your question, but.....

The MAF really does measure flow rate, but that sampled rate is not fed directly into the air Mass calculation. Instead the analog input is read usually on some interrupt like PIP, or a 1mS interrupt if the ECU has one of those. Then the flow rate from the analog input IMAF is voltage corrected to become VMAF and then converted to a mass flow rate using the MAF transfer function. The transfer function output is then converted to a mass value by multiplying the flow rate by the time since the last sample was taken. These Mass values are summed until it is time for them to be consumed by a later calculation, at which point they can be left as mass, or divided by the total time for an average or "integrated" Mass flow figure.

So time does come into it, and that could be done by time ticks (affected by frequency) or by number of fixed interval interrupts(unaffected once interrupt is set). But I haven't seen enough code to know what's happening in yours.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests