From c8e779753a9f1c4d8dfc3b96c1cea01d21d67123 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 17 Feb 2024 18:27:32 -0500 Subject: [PATCH] torque estimation for external TCU #2409 only:meta --- firmware/controllers/algo/fuel/fuel_computer.txt | 3 +++ firmware/integration/rusefi_config.txt | 1 + firmware/tunerstudio/rusefi.input | 2 ++ 3 files changed, 6 insertions(+) diff --git a/firmware/controllers/algo/fuel/fuel_computer.txt b/firmware/controllers/algo/fuel/fuel_computer.txt index 3743457395..40c4ad987d 100644 --- a/firmware/controllers/algo/fuel/fuel_computer.txt +++ b/firmware/controllers/algo/fuel/fuel_computer.txt @@ -27,5 +27,8 @@ struct_no_prefix fuel_computer_s float normalizedCylinderFilling;Air: Normalized cyl filling;"%", 1, 0, 0, 100, 1 uint8_t brokenInjector + uint8_t unused88 + uint16_t idealEngineTorque + bit injectorHwIssue end_struct diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 9912111051..56939ebf17 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1632,6 +1632,7 @@ int8_t[TRACTION_CONTROL_ETB_DROP_SIZE x TRACTION_CONTROL_ETB_DROP_SIZE] traction int8_t[TRACTION_CONTROL_ETB_DROP_SIZE x TRACTION_CONTROL_ETB_DROP_SIZE] tractionControlIgnitionSkip;;"%", 1, 0, 0, 100, 0 float auxSpeed1Multiplier +float brakeMeanEffectivePressureDifferential uint8_t[146] unusedOftenChangesDuringFirmwareUpdate;;"units", 1, 0, 0, 1, 0 ! end of engine_configuration_s diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index a4584997d6..305c6c8a3b 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1592,6 +1592,7 @@ gaugeCategory = Transmission ISSGauge = ISSValue, @@GAUGE_NAME_ISS@@, "RPM", 0, {rpmHardLimit + 2000}, 200, {cranking_rpm}, {rpmHardLimit - 500}, {rpmHardLimit}, 0, 0 tcRatioGauge = tcRatio, @@GAUGE_NAME_TC_RATIO@@, "", 0, 100, 0, 0, 100, 100, 4, 4 shiftTimeGauge = lastShiftTime, "Last Shift Time", "S", 0, 2, 0, 0, 2, 2, 4, 4 + idealEngineTorqueGauge = idealEngineTorque, "idealEngineTorque", "", 0, 100, 0, 0, 100, 100, 4, 4 gaugeCategory = Knock knock1Gauge = m_knockCyl1, "Knock Cyl 1", "dBv", -60, 10, -60, -60, 10, 10, 0, 0 @@ -4718,6 +4719,7 @@ dialog = tcuControls, "Transmission Settings" field = auxSpeed1Multiplier, auxSpeed1Multiplier field = useAuxSpeedForSlipRatio, useAuxSpeedForSlipRatio field = useVssAsSecondWheelSpeed, useVssAsSecondWheelSpeed + field = brakeMeanEffectivePressureDifferential, brakeMeanEffectivePressureDifferential dialog = mc33810Dialog, "MC33810 IGN/INJ driver" field = "SPI settings"