From Thursday, May 23rd (05:00 PM CDT) through Friday, April 24th (1:30 AM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID control temperature of oven

Hi! I should check the temperature of an oven through a PID control.
I wish that, after setting the reference temperature, the system acts on the power supply and change the current on the resistances of the oven, so that the temperature of the oven reaches the reference temperature.
Not knowing the programming language labview, I wanted to know if any of you have already saved the program in the PC and can post it, please.
Thank You!

0 Kudos
Message 1 of 7
(2,955 Views)

Search the forums for PID control.  This question has been asked numerous times.  I bet you'll find some examples in the first few pages of the hundreds of hits you'll get.

0 Kudos
Message 2 of 7
(2,934 Views)

I think you will find that using typical PID controls on an oven will prove unsuccessful because the temperature typically reacts too slowly after changes in the power supply.  You may end up having to write your own routine that checks the temperature at longer intervals and adjusts the power supply.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 3 of 7
(2,919 Views)

@aputman wrote:

I think you will find that using typical PID controls on an oven will prove unsuccessful because the temperature typically reacts too slowly after changes in the power supply.  You may end up having to write your own routine that checks the temperature at longer intervals and adjusts the power supply.


With the correct tuning parameters, PID works very well in slow systems such as large heaters with substantial lag between a change in the output and a change in the response. I've used the LabVIEW PID block in several such applications with good results.

0 Kudos
Message 4 of 7
(2,901 Views)

That's why I used words like "think" and "may".  I haven't been successful at it but I am definitely no expert.  Smiley Wink

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 5 of 7
(2,893 Views)

@aputman wrote:

That's why I used words like "think" and "may".  I haven't been successful at it but I am definitely no expert.  Smiley Wink


What sort of incorrect response do you get from the heater system? If you're actively working on such a project I'd be happy to help.

 

For tuning a slow system, I highly recommend starting with the Cohen-Coon method (or the similar Ziegler-Nichols Open Loop approach). Take the PID out of the loop. Set the output at a fixed level and allow the system to stabilize. Change the output, and allow the system to stabilize again (make sure you wait until the system is actually stable). Record the output and process variable the entire time. Then you use that data to make a couple of quick measurements, plug the numbers into the tuning formula, and you get your gains. Unless the system is horribly non-linear, these gains will work well. Make sure you get all the units correct (for example, the LabVIEW PID block expects Integral Time in minutes, and not an integral gain).

0 Kudos
Message 6 of 7
(2,884 Views)

No this project is long gone but thanks for the info.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 7 of 7
(2,872 Views)