I know it is old post and old topic but I do not think it would be wise to start a new one.
(...)
Without adaption knock control retards the ignition angle individualy for every cylinder by KRFKN(KRFKLN in stationary mode) with every recognized knocking cycle and sums it up in wkr(x).
wkr(x) is limited to KRMXN (which is the max value incl. adaption) on retard and 0 on advance of ignition.
For advancing the values in wkr (x) back to 0 the counter zkrvf(x) is used. It is initialized on every knocking cycle with the values out of KRVFN which controls how fast the ignition is phased back to normal. For every non knocking cycle were the ignition angle is limited due to knock control activity, this counter is decremented by 1. When the counter is 0 the ignition angle is advanced by 1 degree and reinitialized with KRVFN.
I would like to kindly ask if it is in fact 1 degree by which ignition angle is advanced when counter initialized with KRVFN rolls? I think it should be 0.75 degree or KRFK(L)N value.
Now the adaption comes into play. (...)
How does the adaption learn the values:
When adaption is active ( TCO>TMKRA + knock control is active) and writing into the adaption map is not forbidden due to rl < LKRAN, TCO<TMKRAS, N<NKRAMIN, N>NKRAMAX, ASR, VMAX,NMAX, then the values of wkr(x)+KRDWKLA (which is 0 on S4/RS4) is written into the adaption map if the value is more retarded than the saved value in wkra(x).
If the current ignition retard in wkr(x) is more than KRDWA earlier than the stored value in wkra(x) and zkrvf(x)=0 the value in the adaption map is advanced by KRDWSA.
Is wkr(x) value signed or not? I am asking because 06A906032FC (HW/SW 0261207204/360294 at least) has KRDWKLA set to -1.5* and I would like to be sure if adaptation is using current wkr(x) increased by 1.5* or decreased by 1.5*.
Also I do not understand last sentence - does it mean that if wkr(x) is greater than KRDWA (2.25*, which should mean wkr(x) is unsigned) on each zkrvf(x) counter roll adaptation value is advanced by KRDWSA (1.5*)?
(...)
The mean value of the last 6 ignition corrections dwkrz(x) due to knock control also influence the max. allowed load in LDRXN. It has a long term adaption which becomes active above RLKRLDA.
The correction factor for LDRXN can be found in KFFLLDE. How fast the adaption works can be influenced by TLKRLDAB and TLKRLDAU.
If there are any specific questions just feel free to ask.
I would also like to kindly ask for KFFLLDE ignition advance correction axis location in mentioned above 1.8T ME7.5 file and also for confirmation of TLKRLFAB/U addresses (0x01EB36, 0x01EB46) in same file.