View Single Post
      04-18-2024, 10:04 AM   #16
rotors
New Member
5
Rep
9
Posts

Drives: bmw m240i
Join Date: Jul 2023
Location: berlin

iTrader: (0)

So, after growing some gray hairs from this ECU, which from now on shall be the last "modern" stuff I ever touch again, I feel indebted to this forum to share some tips about what I've done.

Here's a dump of my personal notepad about how to tune a B58, course 101 for dummies. Note that my usecase is gas pump, catless, opf-less, B58TU HPFP, and some personal taste here and there.

my target boost = 1.3 bar, 18.85 psi
desired torque table = Maximum torque limit [nm]
load limiter vs rpm = Maximum Relative Filling Characteristic (with and without Spool)

high iat/ect ign timing limiters: ignition correction full load * ignition timing correction (factor-full load)
depending on iat and ect, the maximum ammount of timing that can be subtracted from the base table is computed as product of the 2 tables
this is an important limiter in the summer when IATs sit at 50+deg C; 4-5-6 degs. of timing are subtracted regularly but this is not knock related



interesting tables: compressor map with required compressor/turbine output kw (how much kw of power does the turbine need to deliver, in order for the compressor to flow y kg/h of air at X p.r)
wastegate position feed forward ( x axis = coefficient between flow that goes out of wastegate and flow that passes turbine;
distribution factor = % of exhaust flow that goes through turbine
low distribution factor = most of the flow goes out the wgt
high distribution factor = most of the flow goes out the turbine
y axis = compressor flow
z axis = wgt position as a base(then it gets PID'ed); if overboost = decrease Z value, if underboost = increase Z value
lambda target superknock = target lambda when ecu detects preignition or severe knock
pressure ratio limitation = (reduces p/r at redline + high iat + high flow(set to 3 across the table)

power setting table: maximum relative filling characteristic % = limits load[limit] vs rpms
maximum torque limit = requested torque vs rpm = base table to set how fast the car goes. lulz.


changed tables under:
boost
boost control
factor for p and d share == 2 (last cell, at maf kg/h from 1200 to 1500
---------------needs PID tuning to get to higher boost in higher rpm
boost target
boost ceiling dynamic hpa from 2000 to 2500
boost set limit last cell from 3 to 3.5(top row, last cell from 1051kg/h to 1700kg/h)
filter constant last cell from 0.02 to 0.1(top row, last cell, from 1120kg/h to 1700kh/h)
pressure loss
pressure loss of exhaust hpa == toned down a lot (bcuz no cat)
pressure ratio
maximum replacement pressure hpa from 2000 to 2500
turbine
boost setpoint limit set to 3.1 from 3
compressor map with required compr/turbine output
under 800kg/h scaled down 15%(because overboost at this point is very frequent)
last 2 rows scaled up 5%
catalyst
catalyst heating
activation
maximum distance from 250 to 0
maximum EGT from 900 to 0
maximum vehicle speed from 90 to 0
maximum engine temp from 327.670 to -40
vehicle speed threshold from 655340 to -40
operating mode
operating mode catheating set to 0
efficiency
activation catalyst diagnosis from 1 to 0
efficiency code bank 1 from 3 to 0
efficiency dtc bank 1 from 1056 to 0
o2 heater circuit diagnosis behind catalyst from 1 to 0
cooling
coolant target
operating mode control from 130 to 85
operating mode normal from 103 to 85
operating mode warmup max temp from 112 to 85
operating mode warmup max temp from 110 to 85
set coolant temp in eco mode from 110 to 85
intercooler pump
intercooler pump volume flow -> drastic changes
engine speed
idle -> to experiment later
limit
maximum rpm oil temp - drastic change
fuel
load limit
load limitation l stoich adaption from 176 to 200
load limitation injection from 145 to 225
scalar
fuel scalar = equivalent of VE table. STFT has to be 1 == no trim needed; positive stft = need fuel = increase in fuel scalar table

setpoint
duration of lambda enrichment suppression set to 0 everywhere
lambda component protection switch from 1 to 255 (to use tables target bank 1 and 2)
lambda target super knock *= 0.95 in areas where lambda is not 1
lambda target bank 1 == lambda target bank 2; enriched at wot and leaned out at cruise
lambda threshold for using fuel tables from 0.998 to 0.7 as instructed
lambda timer for using fuel tables from 1 to 0 as instructed
switch for enrichment suppression, from 0 to 255 as instructed
particulate filter
load limitation opf protection % from 110 to 250 %
ignition
correction
ignition correction full load (and partial load, stock they were identical)
smoothed out
ignition timing correction factor full load (and partial load, stock they were identical)
(rescaled entirely not to reduce timing if ect <100 and iat <50) and tapered off in other areas
setpoint
extended Y axis to 200, by eliminating first Y axis row for following maps:
base igniting timing, full load, partial load, cold and warm (4maps)
left stock all except for 200% load row, wich is taken from 180 and scaled down
ignition timing full load spool - reduced 2.5 degrees in between 1500-3000 @ 140-180 load
made base timing (full load warm + partial load warm) be equal past 160% load
torque reduction(lean afr)
last row, decrease timing - HC says not needed, reverted to stock
torque reduction factor(coolant temp) set to 0.5 for cold temps, and for overheating
load
reduction factors
target torque reduction factor load and rpm set to 1 all round
target torque reduction factor rpm set to 1 all round
target torque reduction factor temp. (has bullshit oil temp scale. re-axed oil temp axis)
(related map) minimum engine temp to activate the yellow warning lamp from 124 to 110
(related map) minimum engine temp to activate the red warning lamp from 128 to 113
Load Limitation (Injection) % from 145 to 250
setpoint
maximum relative filling characteristic from 185 -> 160 to 200 -> 180
maximum relative filling characteristic spool from 185 -> 160 to 200 -> 180
maf
flow quotient
mass flow quotient for maf sensor ceiling last row from 1.35 to 2
oil pump
oil pump pressure setpoint bump in oil pressure
particulate filter
bit coded type of particle filter from 3 to 0
load limitation opf protection set from 110->55 to 250 everywhere
maf power output from 1000 to 1150
particulate filter functionality from 3 to 0
pressure difference set to 0 everywhere
sound tuning
activation
burble activation from 1 to 0
lots of other shit done to minimise noise, including exhaust flap and burble disables
sport display
gauge scaling
changed all to 450hp/700nm
Torque:
gear
maximum permissible clutch torque set to 1000 everywhere
gradients
maximum torque prediction gradient set to 3276 as indicated in map help
intervention
maximum torque memory from 500 to 750
maximum engine speed to enable torque tables set to 10 as indicated
torque threshold from 550 to 1000 both tables
monitors
maximum engine power monitor from 100 to 500
maximum engine torque monitor from 350 to 1000
maximum power monitor kw from 250 to 1000
maximum torque monitor nm from 500 to 1000
time threshold exceeded acceleration ms from 500 to 5000
engine speed threshold moftrqact from 450 to 10000
engine speed threshold function monitoring from 800 to 10000
opf
torque imiter opf nm set to 1000 every cell
torque limiter opf 2 set to 1000 every cell
torque limiter switch opf cars 2 from 1 to 0
engine speed for max power from 4775 to 6500
full load boost limitation from 485 -> 291 to 600 -> 450
full load boost limitation 6mt from 485 -> 291 to 650
full load torque limitation nm from 500 -> 650
full load torque limitation 6mt nm from 500 -> 650
load specification at full load from 120 to 200
maximum allowed torque injection active from 600 to 750
maximum power output -> multiplied throughout by 1.3
maximum torque idle 500 to 750
maximum torque at clutch from 600 to 750
maximum torque at clutch engaged from 600 to 750
maximum torque for pi controller from 550 to 750
maximum torque limit from 500 ->333 to 650-> 450
relative filling limitation from 80->60 to 80 everywhere
torque k0 limit from 600 to 750
Appreciate 1