From d0f20af0fe0d91b26be641c5295815fd4a265716 Mon Sep 17 00:00:00 2001 From: kifir Date: Fri, 26 Jul 2024 15:21:10 +0300 Subject: [PATCH] add `Coolant Temperature Boost Multiplier` and `Intake Air Temperature Boost Multiplier` curves #6424 --- firmware/integration/rusefi_config.txt | 7 +++++++ firmware/tunerstudio/tunerstudio.template.ini | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 89e8b4c709..fbf869712f 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -2030,6 +2030,13 @@ int16_t[ALTERNATOR_VOLTAGE_TARGET_SIZE x ALTERNATOR_VOLTAGE_TARGET_SIZE] autosca uint16_t[ALTERNATOR_VOLTAGE_TARGET_SIZE] alternatorVoltageTargetLoadBins;;"Load", 1, 0, 0, 1000, 0 uint16_t[ALTERNATOR_VOLTAGE_TARGET_SIZE] alternatorVoltageTargetRpmBins;;"RPM", 1, 0, 0, 18000, 0 +#define BOOST_CURVE_SIZE 5 +float[BOOST_CURVE_SIZE] cltBoostCorrBins;;"C", 1, 0, -100, @@CLT_UPPER_LIMIT@@, 2 +float[BOOST_CURVE_SIZE] cltBoostCorr;;"ratio", 1, 0, 0, 5, 2 + +float[BOOST_CURVE_SIZE] iatBoostCorrBins;;"C", 1, 0, -100, @@CLT_UPPER_LIMIT@@, 2 +float[BOOST_CURVE_SIZE] iatBoostCorr;;"ratio", 1, 0, 0, 5, 2 + @@BOARD_CONFIG_FROM_FILE@@ end_struct diff --git a/firmware/tunerstudio/tunerstudio.template.ini b/firmware/tunerstudio/tunerstudio.template.ini index 3ce7a41e9d..821246a459 100644 --- a/firmware/tunerstudio/tunerstudio.template.ini +++ b/firmware/tunerstudio/tunerstudio.template.ini @@ -532,6 +532,22 @@ enable2ndByteCanID = false yBins = cltFuelCorr gauge = CLTGauge + curve = cltBoostCorrCurve, "Coolant Temperature Boost Multiplier" + columnLabel = "Coolant", "Multiplier" + xAxis = -40, 120, 9 + yAxis = 0, 3, 10 + xBins = cltBoostCorrBins, coolant + yBins = cltBoostCorr + gauge = CLTGauge + + curve = iatBoostCorrCurve, "Intake Air Temperature Boost Multiplier" + columnLabel = "Air Temp", "Multiplier" + xAxis = -40, 120, 9 + yAxis = 0, 2, 11 + xBins = iatBoostCorrBins, intake + yBins = iatBoostCorr + gauge = IATGauge + curve = crankingCltCurve, "Cranking Coolant Temperature Multiplier" columnLabel = "Coolant", "Multiplier" xAxis = -40, 120, 9 @@ -1989,6 +2005,8 @@ menuDialog = main subMenu = boostOpenLoopGearAdderDialog, "Boost control open loop gear adder", { isBoostControlEnabled } subMenu = boostPidDialog, "Boost control PID", { isBoostControlEnabled && boostType == 1 } subMenu = boostTargetDialog, "Boost control target", { isBoostControlEnabled && boostType == 1 } + subMenu = cltBoostCorrCurve, "CLT boost multiplier" + subMenu = iatBoostCorrCurve, "IAT boost multiplier" groupMenu = "Boost blend tables" groupChildMenu = boostOpenBlend1Cfg, "Open loop 1 bias", { isBoostControlEnabled }