I'm building this for all of us. This takes time and hard work, any donation to the cause is appreciated. You can currently donate via Venmo or PayPal.
Load a CSV datalog from the sidebar to view charts and performance data.
Datalog Viewer
CMP
Tune Analyzer
No Files Loaded
Load a CSV datalog, XDF, and BIN from the sidebar to run analysis.
Tune Analyzer
Tune Health
Fuel Scalar Analysis
Table:
WGDC Base Analysis
Table:
WGDC P-Factor Analysis
Table:
WGDC D-Factor Analysis
Table:
Ignition Timing Analysis
Table:
Operating Envelope
Thermal Proximity
MG1 Tuning Checklist
BIN View / Compare
No BIN Loaded
Load a BIN file from the sidebar to compare calibration tables.
BIN View / Compare
Select a table from the list to view comparison
Intake & Ignition Timing System
Manages the intake pathway, bridging physical intake devices (Valvetronic valve lift, throttle, camshaft phasing) with ignition angle optimisation and mass-flow regulation. Eisy calculates optimal ignition conditions based on fill, temperature, and lambda, and feeds delta ignition angle corrections into the Tqe ignition efficiency hook (BMWtqe_fac_eff_DeltIg_M). It also manages multi-spark control for cold starts, cat heating, and HC reduction.
Turbocharger Control System
Owns the full boost control loop: setpoint calculation from engine torque demand, PI wastegate control, compressor surge prevention via the blow-off valve, closed-loop adaptation to compensate for turbo ageing/altitude/temperature, and race-start pre-spool logic.
Airpath & Charge Fill System
Computes relative cylinder fill ratio (Rfv) from the S58 intake components — Valvetronic valve lift, turbo boost contribution, throttle restriction, Miller cycle correction, and residual gas fraction. Rfv_soll feeds directly into the NeMo optimal torque map (KF_MDIOP_1_TQE) as its primary axis input, and drives the boost pressure setpoint.
Knock & Combustion Torque Balancing
Cylinder-individual knock detection via piezoelectric sensors and engine-order FFT analysis (Eo 0.5–3.0). Applies per-cylinder ignition angle retard through a PI controller, manages Valvetronic excenter angle correction for combustion torque balancing (VBR = Verbrennungsbalanceregelung), and stores learned retard offsets in NVM.
Lambda & Fuel Injection System
Three-layer fuel control: BMW_CPS_Lam manages closed-loop lambda correction with pre/post-cat O2 sensors and adaptive long-term trim. BMW_CPS_Inj handles split injection pulse timing (PL1/PL2), fuel rail pressure, and anti-stall. BMW_CPS_Wi manages optional water injection for intake charge cooling under high load.
Cam / Vanos — VANOS & Valve Lift Control
BMW_CPS_Ewg manages variable cam phasing (VANOS) for intake and exhaust camshafts on the S58, alongside Valvetronic valve lift control. Intake cam targets (GKF_ESPR) and exhaust cam targets (GKF_ASPR) define advance angle vs. engine load and speed in both warm and cold states. The EWG electrically-actuated exhaust bypass valve integrates with the boost control loop via ewgsp position targets, adaptive end-stop learning, and thermal path switching for GPF warmup.
Neural Knock Control (KlaNN / KraNN)
KlaNN (Klopf-Lern-ANN) is a feed-forward neural network that learns per-cylinder knock susceptibility and applies additive ignition angle corrections on top of the classical Ctb retard. KraNN provides crankshaft-noise separation to reduce false knock detection. Both networks operate from 1,150–9,200 RPM using gradient-descent weight updates per combustion event. Note: KlaNN and KraNN calibration weights are internal ECU state — they are not exposed in the MHD XDF mapping layer and have no static calibration tables to display here.
Gearbox Interface (MGbx / NGang)
BMWmgbx interfaces the S58 DME with the ZF 8HP automatic gearbox and manual gearbox position sensor (GbxPos). It computes per-gear torque drag losses, monitors clutch slip via engine-to-output speed differential, and gates drive-ready state for the ISC and MSA modules. NGang sends the ECU's target gear request over CAN to the ZF transmission control unit. Note: Gearbox calibration tables are managed by the ZF TCU — none appear in the MHD XDF mapping layer.
Exhaust, Catalyst & GPF System
BMW_CPS_Ausy controls the exhaust backpressure flap for acoustic overrun sound (Schubblubbern), cold-start cat warmup, and turbo outlet heat management. GPFload tracks soot accumulation in the gasoline particulate filter; GPFheat triggers active regeneration when passive oxidation is insufficient, requesting rich lambda enrichment from Lam and ignition retard from Eisy to maximise exhaust enthalpy. GPFdiag provides OBD pressure-ratio diagnostics (DBE upstream ΔP) for GPF efficiency monitoring.
Engine Speed Control & NMAX Governor
BMW_CPS_ISC (Leerlaufregler) manages the full engine speed envelope: idle speed setpoint vs. coolant temperature and auxiliary loads; speed stabilisation torque reserve to absorb A/C compressor, alternator, and gearbox engagement steps; NMAX hard rev cut with configurable approach ramp; auto-start/stop (MSA/AutStru) torque shaping during restart; and A/C idle speed bump (+500 RPM). The ISC module coordinates with Tqe for torque reserve authority and with Eisy for ignition advance on knock-induced idle speed perturbations. 200 BMWisc_* calibration parameters from the BMW S58 A2L.
NeMo Torque Architecture
The NeMo (New Motor Management) three-layer torque framework on the S58 / MG1CS024. Tqe (BMW_CPS_Tqe) — combustion engine coordination at the crankshaft: optimum inner torque KF_MDIOP_1_TQE, ignition efficiency hook η_ig, static & dynamic torque limits, DFCO, cylinder deactivation, and 48V load-response reserve (364 parameters). Tqc (BMW_CPS_Tqc) — central torque arbitration hub: arbitrates MDrive, ACC, ASR, MSR, gearbox, and EM requests; anti-jerk regulation; drivetrain loss estimation; driver-wish torque shaping (232 parameters). Tqw (BMW_CPS_Tqw) — drivetrain & wheel coordination: 48V recuperation limits, K0 clutch intervention masking, hybrid/electric axis setpoints (28 parameters).
FILES
Lap Datalog
DME Datalog
s
Laps
Lap Analysis
No Lap File Loaded
Load a lap file from My Files to get started. Supports RaceChrono, AiM, Apex Pro, Harry's LapTimer, SoloStorm, TrackAddict, RaceCapture, and VBOX.
Color by
Apex Speed by Corner
BIN Calibrations
Uploading…
File NameSizeUploadedTypeActions
Upload BIN Calibrations
Drag your ECU calibration files here or click Browse Files to upload.
Supports these files: .bin
Drop to upload
Tune Datalogs
Uploading…
File NameSizeUploadedTypeActions
Upload Tune Datalogs
Drag your MHD CSV datalog exports here or click Browse Files to upload.
Supports these files: .csv
Drop to upload
Lap Datalogs
Uploading…
File NameSizeUploadedTypeActions
Upload Lap Datalogs
Drag your lap timer files here or click Browse Files to upload.
Supports these files: .csv, .vbo
Drop to upload
Shared Links
TypeTitleCreatedExpiresViewsActions
No shared links yet. Share a datalog from Tune or Lap Analysis to see it here.