ETB duty cycle jitter #4833

This commit is contained in:
rusefillc 2022-11-28 20:01:26 -05:00
parent 3bc52e4f1e
commit 2191960a34
2 changed files with 8 additions and 4 deletions

View File

@ -1348,7 +1348,8 @@ custom stepper_num_micro_steps_e 1 bits, U08, @OFFSET@, [0:3], @@stepper_num_mic
brain_input_pin_e[SENT_INPUT_COUNT iterate] sentInputPins;
int8_t launchFuelAdderPercent
int8_t[3 iterate] sorryUnused
int8_t[1 iterate] sorryUnused
int16_t etbExpAverageLength
float etbDutyThreshold
int16_t coastingFuelCutRpmHigh;This sets the RPM above which fuel cut is active.;"rpm", 1, 0, 0, 5000, 0
@ -1388,7 +1389,7 @@ tChargeMode_e tChargeMode;
pid_s idleTimingPid;See useIdleTimingPidControl
int16_t unused2496
int16_t etbRocExpAverageLength
int16_t tpsAccelFractionPeriod;A delay in cycles between fuel-enrich. portions;"cycles", 1, 0, 0, 500, 0
float tpsAccelFractionDivisor;A fraction divisor: 1 or less = entire portion at once, or split into diminishing fractions;"coef", 1, 0, 0, 100, 2

View File

@ -1336,8 +1336,9 @@ gaugeCategory = Throttle Body (incl. ETB)
etbTargetGauge = etbTarget, @@GAUGE_NAME_ETB_TARGET@@, "%", 0, 100, 0, 0, 100, 100, 1, 1
etbErrorGauge = etb1Error, @@GAUGE_NAME_ETB_ERROR@@, "%", -20, 20, -10, -5, 5, 10, 2, 0
etbDutyCycleGauge = etb1DutyCycle, @@GAUGE_NAME_ETB_DUTY@@, "%", -100, 100, -75, -50, 50, 75, 0, 0
etbDutyRateOfChangeGauge = etbDutyRateOfChange, "ETB duty ROC", "", -100, 100, -75, -50, 50, 75, 0, 3
etbInputErrorCounterGauge = etbInputErrorCounter, "ETB input error counter", "", -100, 100, -75, -50, 50, 75, 0, 0
etbDutyRateOfChangeGauge = etbDutyRateOfChange, "ETB temp: duty ROC", "", -100, 100, -75, -50, 50, 75, 0, 3
etbDutyAverageGauge = etbDutyAverage, "ETB temp: average", "", -100, 100, -75, -50, 50, 75, 0, 3
etbInputErrorCounterGauge = etbInputErrorCounter, "ETB temp: input error counter", "", -100, 100, -75, -50, 50, 75, 0, 0
gaugeCategory = Sensors - Raw
rawTps1PrimaryGauge = rawTps1Primary, "Raw TPS 1 Primary", "V", 0, 5, 0, 0, 5, 5, 3, 0
@ -3927,6 +3928,8 @@ dialog = tcuControls, "Transmission Settings"
field = "PWM Frequency", etbFreq
field = "Minimum ETB position", etbMinimumPosition
field = "Maximum ETB position", etbMaximumPosition
field = "TEMP etbExpAverageLength", etbExpAverageLength
field = "TEMP etbRocExpAverageLength", etbRocExpAverageLength
; we need the term about stepper idle in here, because there's a bug in TS that you can't have different visibility
; criteria for the same panel when used in multiple places
; todo: report bug to TS?