Description
This model implements a PID (Proportional-Integral-Derivative) feedback controller for Heaters in Thermal Management Systems. Given the error between a desired target temperature and the current temperature, the controller determines the required heater power output to minimize this error. The controller is tuned based on a set of gains (, , ) and includes power limiting capabilities.
Example Use Cases
- Closed Loop Thermal Control: Act as a controller for a heater in a thermal system, adjusting component temperature towards its ideal operating point via heater control in the same thermal network.
- Analysis of Thermal and Electrical Systems Management: Model the dynamic impacts that heaters can have on electrical resources (e.g., battery charge during eclipse) within the simulation.
Module Implementation
This model assumes that the thermal dynamics of a controlled system can be managed through a PID control law. The temperature error for the current timestep is defined as:
where is the desired temperature and is the measured temperature. The PID control law implemented determines the target heater power output via:
Where:
- is the proportional gain
- is the integral gain
- is the derivative gain
- is the temperature error at time
- is the integral of temperature error over time
- is the derivative of temperature error
The final power output is constrained to the operational limits set for the Heater Management Software:
where and are the minimum and maximum allowable heater power levels.
Integral Windup Protection
To prevent integral windup when the controller output saturates, the model implements two levels of protection:
- Integral Limiting: The integral term is bounded by: $$
|I| \leq \frac{P_{max} - P_{min}}{|K_i|}
$$ 2. Saturation Protection: When the output is saturated, the integral accumulation is adjusted to prevent further windup: - If and : reduce integral accumulation - If and : reduce integral accumulation
Discrete Implementation
In the discrete-time implementation, the control law becomes:
where is the discrete time index and is the simulation time step.
Assumptions/Limitations
- A single instance of the Heater Management Software can only manage one heater towards one target temperature.
- The controller operates in discrete time steps and requires proper tuning of PID gains for optimal performance.
- Thermal system dynamics are not explicitly modelled; the controller assumes the heater is apart of a Thermal Network where the heater can influence the controlled temperature.