How do PID temp controllers implement control

  • Thread starter Thread starter Engn_sam
  • Start date Start date
  • Tags Tags
    Control Pid
AI Thread 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.
 
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top