Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
Namespaces | Functions
fan_curve.cpp File Reference

Implements measured fan curve interpolation and tolerance helpers. More...

#include "fan_curve.h"
Include dependency graph for fan_curve.cpp:

Namespaces

namespace  FanCurve
 Fan characterization table and interpolation helpers.
 

Functions

size_t FanCurve::pointCount ()
 Returns the number of measured fan-curve points.
 
const FanCurvePointFanCurve::points ()
 Returns the measured fan-curve table.
 
uint16_t FanCurve::expectedRpmForPwm (uint8_t pwmPercent)
 Interpolates the expected RPM for a PWM command.
 
uint16_t FanCurve::rpmToleranceForExpected (uint16_t expectedRpm)
 Calculates the tolerated RPM deviation for an expected speed.
 
bool FanCurve::isPlausibilityRegion (uint8_t pwmPercent)
 Checks whether a PWM command is high enough for RPM plausibility checks.
 

Detailed Description

Implements measured fan curve interpolation and tolerance helpers.