Hi Jan,
It sounds like you're dealing with a classic issue in PID control, especially in systems with long heat-up times. Here are some suggestions to manage the integral contribution and mitigate overshoot:
- Reset Integral Windup: If the
node-red-contrib-pidallows it, look for a method to reset the integral term when switching between controllers. This could be done by manually setting the integral value to zero in your PI controller when it takes over. - Anti-Windup Strategies: Implement an anti-windup mechanism. This can involve clamping the integral contribution within a specific range or only allowing the integral to accumulate when the error is within a certain threshold.
- Gain Tuning: Experiment with tuning the PID gains, particularly the integral gain. Lowering the integral gain can help reduce overshoot, though it may slow the system's response.
- Using Conditional Logic: Use a function node to manage the transitions between your P and PI controllers. You can switch the control strategy based on the current state of the system, ensuring that the I-contribution is handled appropriately.
If you provide more details about your current implementation, I might be able to suggest more specific changes. Good luck! for better understanding come to this site https://iqratechnology.com/