How do PID temp controllers implement control

  • Thread starter Thread starter Engn_sam
  • Start date Start date
  • Tags Tags
    Control Pid
Click For Summary
SUMMARY

This discussion focuses on implementing temperature control for a snow heating mat using Arduino and solid-state relays. The participants emphasize the use of on-off control with a deadband to prevent endless cycling, rather than employing full PID control. They recommend utilizing the Arduino PID library for basic proportional control, where only the proportional component is active. Key resources include examples of relay control and background on control theory.

PREREQUISITES
  • Understanding of Arduino programming and libraries
  • Knowledge of solid-state relays and their operation
  • Familiarity with temperature control concepts, specifically deadband
  • Basic principles of control theory, particularly proportional control
NEXT STEPS
  • Explore the Arduino PID library for practical implementation
  • Research the concept of deadband in control systems
  • Investigate examples of Arduino-based sous vide projects
  • Learn about the differences between P, PI, and PID control strategies
USEFUL FOR

This discussion is beneficial for hobbyists, engineers, and developers interested in temperature control systems, particularly those working with Arduino and solid-state relays in heating applications.

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   Reactions: 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.
 

Similar threads

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