PID cascaded temperature control

I'm doing PID temperature controller using PLC.

I'm doing a cascaded P, and PI controller of both temperature set points.

My question is how would I map the output of the first controller which is PI which should be converted as a temperature set point of the the second controller ?
 
What PLC/DCS are you using?

If you cannot set the outpt scale in the P/PI-controller, then I guess the output is 0-100? You have to match this to to process value of the second controller.

If output is 0-100 and temperature of second controller is say 0-850degress, then you have to multiply the output with 8.5.
 
I'm using beckhoff twincat3

I have two pid loops and one is PI that has a set point temperature. I want to control the second loop. but I don't know how to map the output of the first loop which is Y to the set point input of the second loop. Math ?
 
I want to control the second loop. but I don't know how to map the output of the first loop which is Y to the set point input of the second loop. Math ?

Yes. And you also need to consider desired max and min for setpoint to second controller (the PI). This depends on the how the process is designed. You need some process specification.
 
I have two pid loops and one is PI that has a set point temperature. I want to control the second loop. but I don't know how to map the output of the first loop which is Y to the set point input of the second loop. Math ?

Yes. And you also need to consider desired max and min for setpoint to second controller (the PI). This depends on the how the process is designed. You need some process specification.

As DIRT indicates, you will need to determine the allowable max and min setpoints for your final process, and use math to assign the max and min outputs of the outer loop to the setpoints of your inner. In other words, you don't want the first loop (outer) to send a 0 setpoint to the second loop (inner) if your desired process control is 50 - 80 degrees.
 
I use the minimum of both controllers as output to the valve that way it is always on the safe side.
I am controlling the superheat of the coolant and the temperature of the process.
 
It's just a scaling problem and it can be handled in several ways depending on what your PID allows. Some simple solutions:

Scale 0-100% to the range in engineering units of the secondary loop.

Set the output range for the primary loop to be the range in engineering units of the secondary loop instead of 0-100%.
 

Similar Topics

How best to consistently scale the PID SP of the inner loop when it can operate in both cascaded and single loop mode? Right now, I have an...
4
Replies
5,963
Views
TM221CE24R, Machine Expert Basic, PID Assistant (native block, not scripted). Controlling a steam valve via PWM (%Q0.1) for a slow batch heating...
12
Replies
363
Views
Hello, for the first time in my career, I have a project involving PID control on Mitsubishi FX5U controllers. I’ve spent years working with...
17
Replies
827
Views
Has anyone been working with the Colab Research tool in Google? It showed up in this forum ca. Oct, 2024. It's a way to do modeling, plots, etc...
2
Replies
319
Views
I've put something together here. Archive contents: Project1.exe – approximation/tuning soft csv files initial data examples Comments...
54
Replies
2,856
Views
Top