diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index d1f709536e..3c24011d25 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1612,7 +1612,12 @@ uint8_t unusedExplicitFilling2 int8_t[TRACTION_CONTROL_ETB_DROP_SIZE x TRACTION_CONTROL_ETB_DROP_SIZE] tractionControlEtbDrop;;"%", 1, 0, -100, 0, 0 -uint8_t[172] mainUnusedEnd;;"units", 1, 0, 0, 1, 0 + uint8_t maxInjectorDutyInstant;If injector duty cycle hits this value, instantly cut fuel.;"%", 1, 0, 50, 200, 0 + uint8_t maxInjectorDutySustained;If injector duty cycle hits this value for the specified delay time, cut fuel.;"%", 1, 0, 50, 120, 0 + uint8_t autoscale maxInjectorDutySustainedTimeout;Timeout period for duty cycle over the sustained limit to trigger duty cycle protection.;"sec", 0.1, 0, 0, 5, 1 + + +uint8_t[168] mainUnusedEnd;;"units", 1, 0, 0, 1, 0 ! end of engine_configuration_s end_struct diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 4aa606410e..6ed91e6507 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -3950,6 +3950,11 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ field = "!https://rusefi.com/s/debugmode" field = "Debug mode", debugMode + dialog = dutyCycleLimiting, "Injector Duty Cycle Limiter" + field = "Instantaneous injector duty cycle limit", maxInjectorDutyInstant, {isInjectionEnabled} + field = "Sustained injector duty cycle limit", maxInjectorDutySustained, {isInjectionEnabled} + field = "Sustained injector duty cycle delay", maxInjectorDutySustainedTimeout, {isInjectionEnabled} + dialog = limitsSettings, "Limits" field = "Cut fuel on RPM limit", cutFuelOnHardLimit field = "Cut spark on RPM limit", cutSparkOnHardLimit @@ -3959,6 +3964,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ field = "Boost cut pressure", boostCutPressure field = "Boost cut pressure hysteresis", boostCutPressureHyst field = "Minimum oil pressure after start", minOilPressureAfterStart + panel = dutyCycleLimiting dialog = softRpmLimitSettings, "Soft RPM Limit" field = "Window size", rpmSoftLimitWindowSize