Pages: 1 ... 135 136 [137] 138 139 ... 194
Author Topic: The Volvo ME7 thread:  (Read 1758933 times)
rkam
Full Member
***

Karma: +4/-0
Offline Offline

Posts: 56


« Reply #2040 on: January 29, 2023, 03:49:32 PM »

No. Denso was a bit different.
There is a list of parameter numbers with a number that is the position in another table. This then points to an address where the value is retrieved from RAM or by  other calculation.
Logged
dikidera
Full Member
***

Karma: +10/-8
Offline Offline

Posts: 152


« Reply #2041 on: January 29, 2023, 04:37:13 PM »

Hehe, needlessly complicated. Look at what my GCC outputted.

Address FFFFB000. My original vector table is at address 7FC58 and it needs to lay in FFFFB000. How do we calculate the address?

We take this seemingly random constant, 0x3FF7EFA8 then we do 3FF7EFA8 + 7FC58 = 0x3FFFEC00 looks close. 0x3FFFEC00  << 2 = 0xFFFFB000.

The constant isn't random you can easily see this, but imagine this kind of code in the whole ROM. Offsets for all mmio registers are hidden like this, probably.
Logged
BaxtR
Full Member
***

Karma: +17/-25
Offline Offline

Posts: 68


« Reply #2042 on: January 29, 2023, 08:59:39 PM »

Updated QHHJ... Getting better, needs sorting but majority of the maps youll ever need are there and good... Feedback welcome
Logged

2007 Volvo S60R, PT6266 BB, 1700x ID Injectors, Walbro525. Halme Built manifold and exhaust #BaxtrPerformance
t6
Full Member
***

Karma: +0/-5
Offline Offline

Posts: 56


« Reply #2043 on: January 30, 2023, 06:47:21 AM »

If someone wants - this is my project with 1.3 bar.
 On QHHJ.
Logged
dikidera
Full Member
***

Karma: +10/-8
Offline Offline

Posts: 152


« Reply #2044 on: February 01, 2023, 02:56:52 PM »

To anyone more familiar with speed density vs MAF, what would you categorize Denso volvos as? It has both a MAF and MAP, I guess it's the same for Bosch ECUs as well.

I am asking because thanks to rkam I managed to label a lot of variables, but none for instance described the so called Injection Quantities of fuel. And from my limited understanding, it really depends which type of system the ECU uses and thus the tables.
For instance most tuning guides talk about milligrams per stroke, but do I necessarily have such tables?

So far I see SparkAdvanceBase, which means this is the starting point of the Ignition Advance from which all compensations will be substracted. Raising this should up my high end power, yes?
But then, more fuel = more power(to a limit as it's a NA engine). So I need to up the fuel, although I am still searching for the maps and generally labeling functions related to sensor normalization, clamping etc.

And as always rkam was correct once more.

The parameter list is hard coded as a table inside the maps at address ROM:0006B9B8, this is in the BIFUEL LPG model ROM and maps I uploaded earlier.

The address is located after the parameter, so for 0x1005 param, the address in the other table is 0xC, this is multiplied by 12 to get the offset.

ROM:0006BA48                 .long 0x20000, 0x31CD54, 0

What 0x20000 means is yet unknown. 2 byte response

I am attaching the idb in it's current state with ROM,FLASH stitched together with RAM names filled in as well as some other locations I have inferred from whatever was happening. Note, some variable/function names could be very wrong, as it is said in the crypto world, trust, but verify.
« Last Edit: February 02, 2023, 02:29:59 PM by dikidera » Logged
prj
Hero Member
*****

Karma: +1108/-527
Offline Offline

Posts: 6196


« Reply #2045 on: February 02, 2023, 02:14:02 AM »

Most likely it has a MAF and a Boost sensor pre-throttle body. This is not the same as a MAP sensor.
If it indeed has a pressure sensor in the manifold, then idk.

No Bosch ECU has both a MAP and a MAF. They either have a MAP and a boost sensor or a MAF and a boost sensor (if SY_TURBO=1)
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
dikidera
Full Member
***

Karma: +10/-8
Offline Offline

Posts: 152


« Reply #2046 on: February 02, 2023, 05:35:59 AM »

Thanks, I did some digging, what I have is indeed a pressure sensor, but for elevation adaptation.
Logged
rkam
Full Member
***

Karma: +4/-0
Offline Offline

Posts: 56


« Reply #2047 on: February 02, 2023, 06:13:22 AM »

02 means 2 byte (16 bit response)
Logged
keichi
Full Member
***

Karma: +11/-2
Offline Offline

Posts: 100


« Reply #2048 on: February 02, 2023, 06:38:35 AM »

But then, more fuel = more power(to a limit as it's a NA engine). So I need to up the fuel.

Not necessarily.
Too much fuel and you actually loose power.
Numbers given on picture are just example. May differ a bit between engines but general rule is the same.
« Last Edit: February 02, 2023, 06:40:56 AM by keichi » Logged
dikidera
Full Member
***

Karma: +10/-8
Offline Offline

Posts: 152


« Reply #2049 on: February 02, 2023, 06:56:39 AM »

Thanks. Is there a way to incorporate cylinder compression to estimate power? Since a naturally aspirated engine has a fixed compression rather than variable due to turbo.

Usually for my engine it is 200-210 psi per cylinder, BUT I actually have lower compression in cylinders 1,2,3, it's closer to 160-170 psi(permanent damage), and thus it is producing slightly less power than with ideal conditions.

@rkam, thanks once more.
« Last Edit: February 02, 2023, 06:58:33 AM by dikidera » Logged
prj
Hero Member
*****

Karma: +1108/-527
Offline Offline

Posts: 6196


« Reply #2050 on: February 02, 2023, 07:15:09 AM »

Thanks. Is there a way to incorporate cylinder compression to estimate power? Since a naturally aspirated engine has a fixed compression rather than variable due to turbo.
This statement has nothing to do with the truth or reality.

The dynamic compression depends on a large number of factors in both engines. The only thing a turbocharger affects is the intake pressure and exhaust backpressure, nothing else.
All the other factors remain. Dynamic compression is a function of compression ratio and volumetric efficiency. Volumetric efficiency is affected by IAT, intake pressure, exhaust backpressure, and can be greatly variable if the engine has variable cam timing and/or lift.

The only thing that is static is the compression ratio, and it tells you absolutely nothing about power.

Torque (and power, which is just torque x rpm) on an otto engine is generally computed from air consumed by the engine and corrected by ignition angle efficiency, and then the inner engine friction torque is subtracted, which generally gets taken from a RPM x temperature map, and corrected by the variable oil pressure, if such pressure switching is present.
If you have in-cylinder pressure transducers then probably it is possible to calculate the inner torque produced by the engine from that (but you still need to correct it by the friction torque), however it is much easier just to measure the air consumed and the ignition angle efficiency.
« Last Edit: February 02, 2023, 07:19:12 AM by prj » Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
dikidera
Full Member
***

Karma: +10/-8
Offline Offline

Posts: 152


« Reply #2051 on: February 02, 2023, 02:28:35 PM »

Thanks prj, that is very insightful!.
Logged
BaxtR
Full Member
***

Karma: +17/-25
Offline Offline

Posts: 68


« Reply #2052 on: February 04, 2023, 09:20:55 PM »

GMHJ map pack...  Wink
Logged

2007 Volvo S60R, PT6266 BB, 1700x ID Injectors, Walbro525. Halme Built manifold and exhaust #BaxtrPerformance
dikidera
Full Member
***

Karma: +10/-8
Offline Offline

Posts: 152


« Reply #2053 on: February 05, 2023, 06:34:04 AM »

On the topic of map packs, I wrote a tool to search for maps in my flash. Because there are several hundred, manually adding them is cumbersome. Is there some file format I can export them to, such as xml perhaps?

The idea is to import them in WinOLS.
Logged
prj
Hero Member
*****

Karma: +1108/-527
Offline Offline

Posts: 6196


« Reply #2054 on: February 05, 2023, 07:08:28 AM »

CSV works for WinOLS.

Attached is an example from here:
https://tools.vehical.net/s18boost

Another thing you can do is take an A2L or DAM file if you have, write a parser for it and adjust the offsets in it (and delete those that you can't find).
Then import this using the A2L import plugin.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
Pages: 1 ... 135 136 [137] 138 139 ... 194
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.048 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)