paddy-dee Posted April 17, 2019 Report Share Posted April 17, 2019 Hello forumHave there a question about the PID controller. I use two PID controllers (auto tune) in master slave mode (cascade) to heat and cool. I switch with the BIT "action; 0 = Reverse (Heating), 1 = Direct (Cooling)" to heat or cool.My problem is the controller output:The controller is cool, the setpoint is not quite reached yet and the contoller output has eg a value of 20%. Now the actual value falls below the setpoint. So I switch the PID controller to "heat up". Now the controller output still has 20% at the output. When switching from cooling to heating, the controller output is not reset, also not recalculated for heating.Is there a way to reset the controller? So that he recalculates the controller output?I'm doing an ugly detour right now! I change the proportional band to 0.1% for one second and then back to the effective value. The controller output is calculated "new" again.Works, but I do not like it that way. Link to comment Share on other sites More sharing options...
Gabriel Franco Posted April 17, 2019 Report Share Posted April 17, 2019 After you switch cooling/heating bit, you need to re-configure PID. Link to comment Share on other sites More sharing options...
paddy-dee Posted April 18, 2019 Author Report Share Posted April 18, 2019 Dear Gabriel Thank you so much for this quick and perfect reply !!! Kind regards Patrick Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now