I’m building an system which has:
a heating element working with a dedicated temp sensor (temp1) and a PID Controller (PID1). The heating element needs to sustain a certain temperature (temp1) when enabled.
There’s another temp sensor that measures the air temp (temp2), which also needs to sustain a certain temperature. Presumably, it also needs a PID controller (PID2) as the temp1 is different from temp2 (but controlled by heating element & PID1).
The challenge is that with two co-dependent PID Controllers, I’m not sure how to make PID1 and PID2 work together, so that when temp2 is out of target, then PID2 activates PID1 to sustain temp2. In its turn PID1 would sustain temp1.
I hope this makes sense. Any help would be appreciated.