only:smarter injector duty cycle limiting

This commit is contained in:
rusefillc 2024-01-07 13:29:06 -05:00
parent 0bfdada528
commit e0a3aba728
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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