Wildguzzi.com

General Category => General Discussion => Topic started by: Meinolf on March 09, 2019, 11:37:07 AM

Title: Displayed fuel consumption calibration
Post by: Meinolf on March 09, 2019, 11:37:07 AM
Hi,

the other day Paul(Daytona) sent an inquiry if the continued analysis of the disassembled 2230- and 3222-BINs also brought forth a clue how the difference between actual and displayed fuel consumption could be avoided. Indeed, and it's rather easy.

The code calculates the fuel consumption based only on the final fueling value for the left cylinder. The different fuel values for the right cylinder are not taken into account. I couldn't find any routines in the code which take care of the average consumption, so this is likely taken care of by the dashboard ECU, based on the consumed fuel transmitted to it via CANBus.


(https://i.ibb.co/dLF7KVp/Fuel-cons-3222.jpg) (https://ibb.co/dLF7KVp)


The scaling value is: Fuel_Cons_scale_fac tor_4C1D0

The routines in the 2230 are very similar, the scaling factor is here: Fuel_Cons_scale_fac tor_4C58A


(https://i.ibb.co/B4Gq9Fz/Fuel-cons-2230.jpg) (https://ibb.co/B4Gq9Fz)


Beard and Paul have received updated XDFs for the One- and TwoLambda BINs. Eventually Beard will make them Beard has made them (5AM One and Two Lambda XDFs 1.32) available for download here: https://www.von-der-salierburg.de/download/GuzziDiag/

Cheers
Meinolf
Title: Re: Displayed fuel consumption calibration
Post by: Wayne Orwig on March 09, 2019, 02:30:30 PM
They are disassembling the code?
 :bow:

Makes my head hurt any time I have tried that type of thing. And that is easily a complex real time OS to time everything, adding to the confusion.

Title: Re: Displayed fuel consumption calibration
Post by: Meinolf on March 10, 2019, 12:36:55 AM
Hi Wayne,

They are disassembling the code?

The dissassembled code has been available for a long time, the challenge was and is to make sense of the assembler code.

During the last 18 months or so a small team is diligently exploring the code.

First and foremost John Th. from the UK, a triking enthusiast and electronic engineer, who does most of the heavy stuff. Recently John dissected a 5AM and reversed engineered the PCB, components and connections from the ECU and ASICs to the ECU pins. Really astounding work.

Then Beard, whose focus is on the communication and OBD parts. This guy writes code, both assembler and hi level languages, faster than I could ever write in plain German.

And lastly myself, the junior partner of this undertaking, with a rather limited understanding of electronics and assembler programming and reverse engineering.

Cheers
Meinolf
Title: Re: Displayed fuel consumption calibration
Post by: beetle on March 10, 2019, 03:03:19 AM
Don't sell yourself short, Meinolf. Your willingness and enthusiasm to build the simulators is very much praiseworthy. Kudos to you, Beard & John.


Title: Re: Displayed fuel consumption calibration
Post by: antmanbee on March 10, 2019, 06:58:47 AM
I agree, you have all done some phenomenal work and it is so much appreciated!
Many Thanks