How do PID temp controllers implement control

  • Thread starter Thread starter Engn_sam
  • Start date Start date
  • Tags Tags
    Control Pid
Click For Summary
The discussion focuses on implementing temperature control for a snow heating mat using an Arduino and solid-state relay. Participants suggest using on-off control with a deadband to prevent endless cycling, arguing that a simple proportional control is sufficient for this application. They clarify that while PID control can be used, in this case, only proportional control is necessary, as integral and derivative components may complicate the setup. The deadband is emphasized as crucial for maintaining stable operation without constant cycling. Overall, the consensus is that a straightforward approach with a deadband will effectively manage temperature control.
Engn_sam
Messages
6
Reaction score
0
My group members and I are trying to build a snow heating mat. So far, we are using nichrome heating wires sandwiched in silicone rubber connected to an arduino that controls a solid state relay to turn on and off electric current from a wall plug. What I want to know is how to control the temperature. We decided to stick with an on and off control since it's the easiest to work out but I want to know how you implement a P or PID control. Do I need like a variable resistor or something? Or what way is the PID control supposed to vary the power output?
 
Engineering news on Phys.org
I don't think PI or PID is justified for something like that. A simple proportional control wi a dead and will do.

You need the dead and to prevent it from cycling endlessly.
 
Here is the arduino PID library:
http://playground.arduino.cc/Code/PIDLibrary

Here is an example using the library with a relay:
http://playground.arduino.cc/Code/PIDLibraryRelayOutputExample

Background on the development of the arduino PID library:
http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/

Some background on control theory:
https://en.wikipedia.org/wiki/Control_theory

If you google "arduino sous vide" you'll get many results where a relay, heater & PID* are used together with an arduino to maintain a temperature setpoint.

*While a PID controller is used, I & D are set to zero so it's P only. like anorlunda recommends.
 
  • Like
Likes BvU
anorlunda said:
I don't think PI or PID is justified for something like that. A simple proportional control wi a dead and will do.

You need the dead and to prevent it from cycling endlessly.
What's a dead and. and is it safe to use a proportional control with a solid-state relay
 
With on-off control, you need deadband to prevent endless cycling. With deadband, you can't use integral control, because that would cycle.

All you need is two statements. Let T be temperature, P set point, and D deadband.

if P-T > D then turn_on;
If T-P > D then turn_off;

D is your only tuning parameter.

Good luck.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 16 ·
Replies
16
Views
5K
Replies
14
Views
5K
Replies
13
Views
5K
  • · Replies 39 ·
2
Replies
39
Views
20K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K