Pages: 1 ... 5 6 [7]
Author Topic: True ME7.5 Speed Density  (Read 62910 times)
prj
Hero Member
*****

Karma: +915/-426
Offline Offline

Posts: 5835


« Reply #90 on: October 30, 2022, 06:14:23 PM »

You're not gonna do a stupid pressure based ECU on ME7 lol.
Nor is there any need for it.

And M2.3.2 modifying my VE table there is no problem.
If you modify the constants you just recalculate the whole table...
I mean it's not that hard to correct (A+B)*C to amount to the same thing if you want to change one.
Logged

PM's will not be answered, so don't even try.
Log your car properly.
_nameless
Hero Member
*****

Karma: +320/-448
Offline Offline

Posts: 2672



« Reply #91 on: November 19, 2022, 07:08:49 AM »

Real sd me7.5 gtx2871 on pump gas 500cc wm vs mk8 golf r with dq381 trans tune and stage 1
https://youtube.com/shorts/uQYRrKtX9w8?feature=share
Logged

If you are in the market for a tune and would like the ease of downloading and flashing a dyno tested tune for a fair price check out https://instatune.sellfy.store/
kacperoooni
Full Member
***

Karma: +9/-2
Offline Offline

Posts: 122


« Reply #92 on: December 06, 2022, 06:30:57 PM »

You need to do more FR reading. dpsfg_w is the one that is important. psfg_w gets calculated from that via integrator KISRM.
So:
1. Acquire the uhfm - well the ECU does that for you in 1ms raster and places it into a variable. Good.
2. Add a filter map and insert lookup to it in some slow-ish raster, like 10-100ms. I used simple multiplication and nmot_w x rl_w map. I hijacked fvisrm for this, because it's not used anymore. A good scaling is to have e.g. 65535 as pass through value, then you can just right shift result 16, or just take the high bits after 16x16 mult.
3. Modify place where dpsfg_w gets calculated (this is done in synchro-raster) and instead of doing the MAF calculation:
a) Take the raw uhfm_w, convert to pressure via some added constants (I called them DSMGRAD and DSMOFS).
b) Subtract psfg_w from this (you get new dpsfg, pre-filter).
c) Apply filter by multiplying the result by filter value (hijacked fvisrm in my case), this limits the rate of change and gets rid of the extensive jitter. Remember that because it's in synchroraster your filter value needs to decrease with RPM to have same result.
d) Assign result to dpfsg_w.
4) Modify DHFM diagnosis to check for valid pressure sensor readings instead, and make it trip error code, so if your MAP sensor craps out you can still switch to alpha/n.
5) Tie up loose ends. There are some places that use mshfm_w and you need to change those to use msdk_w.

It's a lot of work tbh. This list should help you implement.
But doing it for any bin - it's like a full time job. Even if somebody posts the bin, I think you will spend longer time reversing what is done instead of just writing yourself.
For simpler code writing I recommend using Keil uVision, assembling it to .H86 and then using hex2bin on .H86 file. Then you can use macros and labels, especially for bounds checking.

And once that's all done, now you need to really UNDERSTAND how the ME7 speed-density model works.
This means that it actually really matters what you have in KFURL, KFPRG and KFPBRK.
Because if you have garbage in there then your load will be completely wrong, even in so far that the car will not even stay running.
With a MAF it's irrelevant what you have there because it only uses it to calculate ps_w, and then uses inverse to get back to rl. Thus it makes no difference on load.
This took me few hours on dyno to dial in, and I knew exactly what I was doing. If you don't know what you're doing good luck.

And finally you will have to tweak ESUK, because MAP sensor is much slower than MAF at reading air and you will need more aggressive enrichment.

Even when people bought the SD solution from me, some never got it to work, because they did not have enough knowledge to tune the VE model.

Could I post code? Probably.
Would it be of any use to anyone except to someone using the exact binary the code is posted for? No
Would it be of any use to the average "tuner", who has no clue how the VE system works? No - they never calibrated it and they won't even get the car to start on SD if it's significantly modified from stock.

I posted full custom boost pid for NA ME7 with all the code, I doubt anyone ever used it.

Thats why I left SD project, even if I got it to work pretty well, the amount of work to make it work was not worth using it instead of MAF sensor.
Logged
fknbrkn
Hero Member
*****

Karma: +177/-18
Offline Offline

Posts: 1401


mk4 1.8T AUM


« Reply #93 on: September 19, 2023, 02:35:03 AM »

You need to do more FR reading. dpsfg_w is the one that is important. psfg_w gets calculated from that via integrator KISRM.
So:
1. Acquire the uhfm - well the ECU does that for you in 1ms raster and places it into a variable. Good.
2. Add a filter map and insert lookup to it in some slow-ish raster, like 10-100ms. I used simple multiplication and nmot_w x rl_w map. I hijacked fvisrm for this, because it's not used anymore. A good scaling is to have e.g. 65535 as pass through value, then you can just right shift result 16, or just take the high bits after 16x16 mult.
3. Modify place where dpsfg_w gets calculated (this is done in synchro-raster) and instead of doing the MAF calculation:
a) Take the raw uhfm_w, convert to pressure via some added constants (I called them DSMGRAD and DSMOFS).
b) Subtract psfg_w from this (you get new dpsfg, pre-filter).
c) Apply filter by multiplying the result by filter value (hijacked fvisrm in my case), this limits the rate of change and gets rid of the extensive jitter. Remember that because it's in synchroraster your filter value needs to decrease with RPM to have same result.
d) Assign result to dpfsg_w.
4) Modify DHFM diagnosis to check for valid pressure sensor readings instead, and make it trip error code, so if your MAP sensor craps out you can still switch to alpha/n.
5) Tie up loose ends. There are some places that use mshfm_w and you need to change those to use msdk_w.

It's a lot of work tbh. This list should help you implement.
But doing it for any bin - it's like a full time job. Even if somebody posts the bin, I think you will spend longer time reversing what is done instead of just writing yourself.
For simpler code writing I recommend using Keil uVision, assembling it to .H86 and then using hex2bin on .H86 file. Then you can use macros and labels, especially for bounds checking.

And once that's all done, now you need to really UNDERSTAND how the ME7 speed-density model works.
This means that it actually really matters what you have in KFURL, KFPRG and KFPBRK.
Because if you have garbage in there then your load will be completely wrong, even in so far that the car will not even stay running.
With a MAF it's irrelevant what you have there because it only uses it to calculate ps_w, and then uses inverse to get back to rl. Thus it makes no difference on load.
This took me few hours on dyno to dial in, and I knew exactly what I was doing. If you don't know what you're doing good luck.

And finally you will have to tweak ESUK, because MAP sensor is much slower than MAF at reading air and you will need more aggressive enrichment.

Even when people bought the SD solution from me, some never got it to work, because they did not have enough knowledge to tune the VE model.

Could I post code? Probably.
Would it be of any use to anyone except to someone using the exact binary the code is posted for? No
Would it be of any use to the average "tuner", who has no clue how the VE system works? No - they never calibrated it and they won't even get the car to start on SD if it's significantly modified from stock.

I posted full custom boost pid for NA ME7 with all the code, I doubt anyone ever used it.


Sooo me7 commercially dead (or just not worth it), it would be nice to check SD code  Roll Eyes
Logged
prj
Hero Member
*****

Karma: +915/-426
Offline Offline

Posts: 5835


« Reply #94 on: September 19, 2023, 02:54:30 AM »


Sooo me7 commercially dead (or just not worth it), it would be nice to check SD code  Roll Eyes

I'm making a file dump of all my cal shit, since I don't do cal anymore and couldn't care less if it gets copied around.
It's not going to be free, but all that stuff will be on there.
Logged

PM's will not be answered, so don't even try.
Log your car properly.
_nameless
Hero Member
*****

Karma: +320/-448
Offline Offline

Posts: 2672



« Reply #95 on: September 19, 2023, 06:14:26 AM »


Sooo me7 commercially dead (or just not worth it), it would be nice to check SD code  Roll Eyes
I sent you working code
Logged

If you are in the market for a tune and would like the ease of downloading and flashing a dyno tested tune for a fair price check out https://instatune.sellfy.store/
fknbrkn
Hero Member
*****

Karma: +177/-18
Offline Offline

Posts: 1401


mk4 1.8T AUM


« Reply #96 on: September 19, 2023, 09:29:32 AM »

I sent you working code

I need moar
Logged
adam-
Hero Member
*****

Karma: +122/-33
Offline Offline

Posts: 2178


« Reply #97 on: October 30, 2023, 10:57:23 AM »

I'm making a file dump of all my cal shit, since I don't do cal anymore and couldn't care less if it gets copied around.
It's not going to be free, but all that stuff will be on there.
Group buy?
Logged
sda2
Full Member
***

Karma: +19/-0
Offline Offline

Posts: 68


« Reply #98 on: November 02, 2023, 01:14:21 PM »

I posted full custom boost pid for NA ME7 with all the code, I doubt anyone ever used it.

We use it ported to MS43, thank you for that!
Logged
prj
Hero Member
*****

Karma: +915/-426
Offline Offline

Posts: 5835


« Reply #99 on: November 02, 2023, 02:09:44 PM »

We use it ported to MS43, thank you for that!
Unexpected but good to hear that.
Logged

PM's will not be answered, so don't even try.
Log your car properly.
tao13
Sr. Member
****

Karma: +16/-46
Offline Offline

Posts: 460


« Reply #100 on: December 01, 2023, 10:35:05 AM »

DELETED post, i moved in other topic.
« Last Edit: December 02, 2023, 12:13:46 AM by tao13 » Logged
crackerx
Jr. Member
**

Karma: +1/-8
Offline Offline

Posts: 43


« Reply #101 on: December 02, 2023, 04:59:39 AM »

ROFL...

DELETED post, i moved in other topic.
Logged
Pages: 1 ... 5 6 [7]
  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)