remove fan-controls
This commit is contained in:
@@ -29,16 +29,12 @@ static const float TARGET_MAX_C = 80.0f;
|
||||
static const float EMERGENCY_MAX_TEMP_C = 70.0f;
|
||||
static const float CORNER_STOP_MARGIN_C = 3.0f;
|
||||
|
||||
// Dual PI — heat on avg, mix on spread (no D term)
|
||||
// Heat PI on average temp (no D term)
|
||||
static const float HEAT_PI_KP = 4.0f;
|
||||
static const float HEAT_PI_KI = 0.05f;
|
||||
static const float MIX_PI_KP = 40.0f;
|
||||
static const float MIX_PI_KI = 2.0f;
|
||||
static const float SPREAD_TARGET_C = 0.5f;
|
||||
static const float HEAT_UP_BAND_C = 8.0f;
|
||||
// Mix PI only at/above target; below target use minimum stir only (no mix PI).
|
||||
// Cap mix fan — high airflow often increases spread / heat loss rather than fixing it.
|
||||
static const uint8_t FAN_MIX_MAX_PWM = 140;
|
||||
|
||||
// Fixed circulation fan (~70%, fanchars winner); override with "fan <pwm>" when regulating
|
||||
static const uint8_t FAN_STIR_PWM = 178;
|
||||
|
||||
// Legacy aliases for autotuner relay math only
|
||||
static const float PID_KP = HEAT_PI_KP;
|
||||
@@ -81,7 +77,7 @@ static const uint32_t AUTOTUNE_RELAY_PERIOD_MAX_MS = 2400000UL;
|
||||
static const float FANCHARS_MAX_CORNER_C = 60.0f;
|
||||
static const float FANCHARS_COOL_AVG_C = 40.0f;
|
||||
static const float FANCHARS_PRECOOL_MARGIN_C = 2.0f;
|
||||
static const float FANCHARS_HEATER_PCT = 85.0f;
|
||||
static const float FANCHARS_HEATER_PCT = 100.0f;
|
||||
// Coarse sweep order: 30%, 100%, 60%, 80% fan
|
||||
static const uint8_t FANCHARS_COARSE_PWM[] = {77, 255, 153, 204};
|
||||
static const uint8_t FANCHARS_COARSE_COUNT =
|
||||
|
||||
Reference in New Issue
Block a user