Pdi control with compensation fan

hello everyone,
I have a doubt with the pdi control. I have implemented a pdi control to control a resistor through the temperature and get the desired temperature. now I have to make another mode of operation where a fan is activated to compensate the over oscillation that occurs when the desired temperature is exceeded.
I think that I need another pdi, but I don't know how implement it. if anyone has a simple example to share it would be appreciated.
if you need more information let me know.

thanks in advance.

For a heating-only controller, you can avoid overshoot entirely by correctly choosing the Kp, Kd and Ki constants.

This slows down the overall response of the PID controller, so some do not consider such a setting to be optimal.

Thanks for replying. but i need to make the case using the fan for the compensation.

Yes, you can instantiate another PID for the fan (use REVERSE controller direction).

Another possibility is to use the same PID as for the heater and change the controller direction. Here, you'd probably need a separate enable output for the fan.

I think you'd only get marginal overshoot improvement by using a fan ... tuning your existing gains to achieve a near ideal response would be more beneficial.

i need to make the case using the fan for the compensation

Perhaps your instructor is looking for a better response, for example, one demonstrating that using a fan would be inefficient, unnecessarily complicate the project, and be a waste of space and energy.

Thanks!!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.