Really hard to read english, I can't tell if it is using google translate or just weird way of writing.
Marty, this is not what you have at all.
Here is a small description of the logic needed to do this properly:
Enable conditions:
1. External switch switched to on.
2. Pedal <X %
3. EGT < X
Operations:
1. Floor throttle
2. If RPM > X, cut ignition
3. Retard ignition by fixed amount (enough to build boost).
4. Enrich fuel based on RPMxEGT map
5. Lambda control off, misfire monitoring off, torque monitoring off on all levels
Calibration:
1. Find RPM point and ignition retard amount where the car makes enough boost.
2. Set safe pedal/EGT disable point.
3. Cal the RPMxEGT map so that the system can work as long as possible preferrably without ever hitting the EGT cutoff.
This system WILL drive you through a wall if you leave the clutch in. So it is only for motorsport use.
Implementation is a different question entirely. Better know ME7 and asm well, it's not easy. Also, prepare to replace turbos and manifolds quite often.
Measurement EGT is active all the time, I do not want to overheat the turbocharger.
ALS is activated above 1500 rpm. At idle the engine is running normally.
When you turn on the switch system is activated whenever the position of the accelerator pedal is "0". Automatic engine and ECU returns to normal operation after touching the foot of the accelerator pedal.
Summing ALS active when:
The accelerator pedal: position = 0
Engine speed> 1500 rpm
EGT temperature - in the testing phase <975 Celsius
Throttle position - determined by the ECU
Switch - running mode Race.
I hope that now more clearly written.
P.S. Disabling control misfire is not necessary. I do not make the cut-off ignitions.