PID Temperature Controlled Oven

41,021

279

56

About: I like making things.

With this instructable, we will take a cheap toaster oven and turn it into an accurate, temperature controlled tempering oven that will be able to achieve a stable and accurate temperature controlled by a microprocessor.

We will combine some common and off-the-shelf components to easily and safely achieve this goal.

Why do we want to do this? After heat treating steel, it's in a very hard and brittle state. So we can use it with less risk of it snapping, we want to temper it. Tempering will slightly soften steel, but more importantly will restore flexibility to it. Most steel manufacturers specify particular temperatures to temper steel at so you can achieve a given hardness rating.

Having the temperature accurate to a fraction of a degree isn't critical for tempering, but I want more accuracy and repeatability than the simple bimetallic strip thermostat that most inexpensive ovens use. ±10°C could easily be a difference of 1-2 Rockwell C points in hardness.

Step 1: Requirements

Here's what you'll need

  1. Toaster Oven
  2. PID Temperature Controller
  3. Solid-state Relay
  4. Temperature Sensor
  5. Insulation

Step 2: Toaster Oven

I was aiming for something pretty low-cost for the toaster oven. I specifically don't want anything with fancy digital controls or anything like that as I'm only going to be bypassing them.

I wanted a toaster oven that has a shield over the heating elements. In an oven with an exposed element, you have radiative heat (essentially infra-red light) where heat is transferred directly from the heating element into the workpiece in the oven. Whilst this heats the part up nice and quickly, and is often what you want in a toaster oven as it will give you a nice crispy exterior, it's harder to measure an accurate temperature of the workpiece as the air temperature in the oven (that the sensor is measuring) will often be lower than the temperature of the workpiece. I couldn't get the exact one I found online that had a shield, so I'll have to fabricate one myself.

Convective heat transfer (or, more simply, convection) instead means that the heating element is heating the air and the air is heating the workpiece and the sensor. This is less efficient and slower, but it allows our sensor to more accurately measure a temperature that will be the same for the workpiece. Speed of heating is less of an issue in this case as tempering cycles are typically 1-2 hours each, so a few more minutes to heat up at the beginning doesn't make a lot of overall difference.

Radiative Heat Transfer

Convective heat transfer

Step 3: PID Temperature Controller

This is the bit that works the magic to make the whole thing sing.

I have gone with an ITC-100 temperature controller from Ink Bird. It's widely available, relatively inexpensive and seems to be pretty well supported.

Without this, the toaster oven either has a wildly inaccurate temperature control or no temperature control at all. The PID is able to take many measurements of the temperature over time in the oven (the particular model I've chosen samples the temperature twice per second), it works out what the current temperature is, it knows what I want the temperature to be and it can see how fast it's heating up or cooling.

Armed with this data, the PID can then ramp up the temperature and when it's getting close to the temperature I've dialled in, it will slow the rate of heating (by turning the heating element on and off) and then keep the temperature at a stable level (again, by turning the heater on and off). As it's able to calculate the effects of inputting heat, it can maintain a constant temperature (generally within 1°C) whereas using a traditional bimetallic strip thermostat, it will swing up and down by 10° or more.

Step 4: Solid State Relay

The Solid State Relay, or SSR, is essentially a switch with no moving parts. By using a small trigger voltage (from the PID) it is able to switch a much larger voltage (240VAC from the wall).

The PID I'm using has a built-in SSR, but it is only able to switch up to 3A of current - as I'm running on 240V that limits me to around 700W. Most toaster ovens are at least twice this, so I'm using an Ink Bird SSR that's capable of switching up to 25A. This is far more than I'm going to need, but keeping the current lower than the maximum will extend the lifespan of the device and keep it running cooler. I'm also using a heatsink on the SSR to further keep it cool.

Furthermore, you can never be too sure about the actual ratings of eBay components, so with a 1600W oven, I'm only drawing 6.7A which gives me plenty of headroom, even if the component is only suitable for half of it's rated load.

Step 5: Temperature Sensor

The PID I'm using came with a Type K Thermocouple which will suffice to get everything up and running.

This thermocouple is inexpensive and rugged, although not as accurate as some other ways of measuring the temperature.

I have ordered (but not yet received) a 3-wire PT100 resistance thermometer. Instead of relying on the thermoelectric effect to measure the temperature, a PT100 sensor instead has a tiny platinum coil (the PT part of it's name) with a known resistance of 100Ω at 0°C (the 100 part of it's name) and the resistance of this coil varies in a stable and repeatable fashion with changes in temperature.

The PID can be programmed to use almost any commonly found temperature sensor, it defaults to a Type K but can easily be changed to PT100. It is very important to let the PID know what kind of temperature sensor you're using as they all behave very differently and you will get wildly inaccurate readings if you're using the wrong type.

Step 6: Insulation

Most cheap toaster ovens have little to no insulation. They're a metal box for the oven cavity and then an air gap between that and the outer shell.

In order to help keep a more stable temperature in the oven, and to protect the electronics in the PID from the heat of the oven, I've taken the shell off the toaster oven, wrapped the oven cavity in high temperature insulation wool (HTIW) and then put it all back together again.

The fine ceramic fibres in HTIW are really not good to breathe in, so ensure you wear appropriate protective equipment when working with it.

Isowool is an Alumino Silicate Wool (ASW) which is classed as hazardous. It may cause cancer by inhalation and is irritating to the skin. It only takes a minute to put on your safety gear, so play it safe. Do not breathe the fibres from it and protect yourself against skin and eye contact.

Step 7: Connect the Components Together

Before you put all of this gear into your toaster oven, you should first check that it's all working correctly, that you have the relevant configuration in the PID and that you have calibrated your temperature sensor.

How it all goes together will vary depending on the PID and sensor that you have. If you have the Inkbird PID and the Type K thermocouple, then follow my instructions.

WARNING - YOU WILL BE WORKING WITH MAINS VOLTAGE - THIS IS REALLY DANGEROUS IF YOU DON'T KNOW WHAT YOU ARE DOING.

IF YOU ARE NOT SURE HOW TO CONNECT EVERYTHING, PLEASE GET AN ELECTRICIAN TO WIRE IT UP FOR YOU.

With that out of the way, let's proceed.

In the instruction manual for your PID and, possibly on a sticker on the case, will be a wiring diagram like the one above. If you know how to translate it, wiring everything up is quite simple.

Let's start with the temperature sensor. If you are using a 3-wire sensor, then it connects to terminals 3, 4 and 5. Most 3-wire sensors (generally resistance type sensors like a PT100) will have two leads that are one colour and a third lead in a different colour. If you're using 2-wire sensor, then it connects to terminals 3 and 4 and you put a short wire link between terminals 4 and 5. Some PT100 sensors are 2-wire and all thermocouples are 2-wire. A 2-wire PT100 sensor is likely to be slightly less accurate than a 3-wire version.

I've got a Type K thermocouple, so it's a 2-wire sensor. Thermocouples are polarised, one terminal will be positive and one will be negative. PT100 sensors are not polarised, so can be installed either way. My Type K sensor had a red and a blue terminal. I guessed that red was positive and blue was negative and it was correct.

The temperature sensor is the trickiest bit, and you're not going to blow anything up if you get it wrong, so hook it up how it looks like it goes and then test it to make sure it works as expected. If you have a thermocouple connected the wrong way, it will read negative temperatures, not positive. If you have a 3-wire sensor hooked up the wrong way, it will probably just give you a constant, low reading that won't change with temperature.

For the Power input (terminals 9 and 10) check what voltage your PID expects. Mine will take anything between 110 and 240V AC (and you can power it off DC as well). I have a mains lead that I have stripped the ends off to connect it temporarily. When it's in place in the toaster oven, I'll be using some of the internal wiring to power it. In this case, it doesn't matter which one you hook up to Live and Neutral, so connect them up, tighten the screws and make sure there's no bare wire exposed.

Lastly, connect the SSR. Connect terminal 8 to the + input and terminal 6 to the - input on the SSR. You won't be switching anything with the SSR at the moment, but you can watch to see if the LED lights up when the PID switches the output on.

Step 8: Calibrate Your Temperature Sensor

Out of the box, the PID and sensor will probably give you wildly inaccurate temperature readings.

Fortunately there are two things that you should have easy access to that will ensure you can get a pretty accurate calibration. Definitely accurate enough for the purpose of running the tempering oven. What are these magical, mystical items with a known temperature?

Ice Bath Boiling Water A properly made ice bath can be within 0.1°C of 0°C and boiling water will be almost spot-on 100°C at sea level, however this will vary with your altitude above sea level. I recommend starting with an ice bath and then checking with boiling water.

To make an ice bath, you need a container FULL of ice and then 3/4 topped up with water. You MUST have ice going all the way to the bottom of the container and extending above the surface of the water.

Then, once you've added the water to the ice, give it a minute or two to cool, and stir it well.

While you're measuring the temperature, you want the tip of the probe to be in the middle of the water and ice, and keep stirring it around. You don't want it to be up against a piece of ice (which will be colder than 0°C) and you don't want it up against the sides of the container (which will be warmer than 0°C) and you don't want to keep it still as it may slightly warm up the water it's in.

When I first hooked up my sensor and chilled it in an ice bath, it was reading something like 74.3°C for PV (the Process Value, or the current temperature of the process). Don't be alarmed that it's not reading 0. Every thermocouple is slightly different in the voltage level that it will produce at a given temperature. Fortunately the PID has a Sensor Calibration setting (Sn on the LED Display) for this offset.

To program in the offset of 74.3°C (or thereabouts, it was fluctuating a bit even in the ice bath), hold down the SET button for more than 2 seconds to enter setting mode. Once you're in setting mode, keep pressing the SET button until the display reads Sn on the upper display and 0.0 on the lower display.

Using the arrow buttons put in a value of -74.3 - or whatever you were reading in the ice bath, but make sure it's negative if the value it was displaying was positive, or if the PV temperature reading was negative, then put in a positive value. Then, press and hold SET to cycle through the rest of the setting blocks and back to the home screen. This will lock in your temperature offset and this setting will be retained even after you power the PID off.

To check that the calibration has worked, boil some water in a saucepan on the stove.

Once the water has come to a boil, dip the sensor in the boiling water (and be careful to keep your fingers out!). Stay well clear from the sides of the saucepan, make sure the sensor is in the middle of the water. After 10-20 seconds or so, the PID should be reading pretty close to 100.0°C on the top PV LED Display. If you're reading within, say, half a degree of 100.0°C then you're good to go. If it's out, go back to the ice bath (making sure there's still sufficient ice in the bath) and start the calibration process again.

Step 9: Check the Programming in the PID

Now that your temperature sensor is calibrated, you need to check the programming in the PID.

Out of the box, my PID has a SV (Set Value) of 50.0°C and the output set to Heating.

So, to recap, PV is the Process Value - in this case it is the currently measured temperature. SV is the Set Value - the temperature you want to achieve. The PID needs to know if it's controlling heating or cooling. If it's set to heating then it will turn on the output when the Process Value is lower than the Set Value - it wants to heat things up to the SV. If, however, it's set to cooling, then it will turn on the output if the PV is higher than the SV - it wants to cool things down to the SV.

To configure the mode for heating or cooling, hold down the SET key for more than 2 seconds, and then press it repeatedly until you see CF on the LED. Use the arrow buttons to change the value to either 2 for heating (the default) or 3 for cooling. We want it to be set to 2 as we're controlling a heater. Then, hold down SET to cycle through the other setting blocks until you're back at the home screen.

To configure the Set Value, when you're on the home screen (PV reading current temperature at the top and SV reading set value at the bottom) use the arrow buttons to change the SV. PV will probably be giving you room temperature at this stage, assuming the probe isn't still in the ice bath or boiling water. If you set the SV to a temperature less than PV, you should see the OUT LED light up on the PID and at the same time the input LED should light up on the SSR. Play around with the SV and make sure that when the OUT light on the PID lights up that the input LED on the SSR lights up too, and when the OUT light goes out on the PID that the LED on the SSR goes out too. This confirms that the SSR is receiving the correct input signal from the PID.

Step 10: Install the PID and SSR Inside the Toaster Oven

Now that you've verified that everything is working, you can take the toaster oven apart and install the PID, SSR and temperature sensor.

Your toaster oven will probably be different to mine, so you'll need to work out the best way to take it apart (and put it back together again!)

With mine, I couldn't get the sides of the case off until I'd taken the front off. I couldn't get the front off until I'd undone the spring that holds the door closed (and this was pretty tricky).

Once I got it all apart, I had to then make a cutting template the same size as the PID. My PID is a 1/16 DIN which is 45 mm x 45 mm. I cut out a 45x45 square from some cardboard and using the cardboard as a template, marked a square where the PID would go.

Luckily for me, the thermostat dial on the front panel was ~45x45 so this was the perfect place to install the PID.

I marked the square to cut and then slowly and carefully cut it out with a Dremel and a cut-off wheel. WEAR EYE PROTECTION when you're using the Dremel. Make sure you're not cutting with a grinding disk or grinding with a cutting disk or you are more likely to break it. Also, with the cutting disks, only cut straight lines. They are incredibly brittle and if you try and cut a curve (not that you need to for this project) you'll probably break it and have little bits of disk flying everywhere at very high speed.

Once I had my square cut out, I broke the sharp edges with a file so I didn't cut myself when fiddling around with it.

Step 11: Wire It All Up

This bit is pretty fiddly and difficult to describe what to do as your toaster oven will probably have different wiring to mine.

Here's how I went about working out what went where.

I located the point where the mains wiring came into the case. From here it went first to the thermostat and then from the thermostat to the selector switch, from there to the timer switch and then on to the heating elements.

Seeing as I'm just replacing the thermostat, and I've already wired up the other connections to my PID to test it, I have to take the two wires that go into the thermostat and instead put them through the OUTPUT connectors on the SSR. This means that the PID is switching the SSR on and off, and this switches the power to the heating elements that was otherwise switched by the thermostat dial.

If your toaster oven doesn't have a thermostat (lots of cheaper ones don't) then you'll need to wire the OUTPUT connectors on the PID in series with the mains power to the heating elements.

Don't worry if you don't have one with a timer, I would have preferred one without a timer as well, but this was the cheapest one I could get.

I have used some regular mains cord to make the extra connections because I plan to put thermal insulation in to protect the PID and the wiring.

If you have access to high-temperature wiring, I'd recommend using that as it's going to be safer in the long run.

So, to recap, I have wired the SSR in place of the old thermostat. The PID then switches the SSR on and off which replaces the functionality of the thermostat.

I also took a lead from the mains input and sent this to the power inputs on the PID as it needs power to run as well.

Step 12: Add Insulation

First up, locate your safety equipment. Mask, glasses and gloves at a bare minimum. If this stuff gets in your lungs you can get cancer. If it gets into your skin, you'll be really itchy. Just take a minute now to get safe.

Next up, locate your supply of High Temperature Insulation Wool (Isowool, Rockwool etc).

I measured out a strip that was the depth of the oven from front to back and it was wide enough to cover the top and right-hand side.

I did want to cover the left-hand side too, but there's the spring that holds the door closed, and I didn't want to have the spring breaking fibres off. I couldn't cover the rear as there wasn't a separate outer case over the back.

I had to take the whole control panel off, and then carefully and gently get the insulation behind all the wiring and against the side of the oven. It was really fiddly to do, especially as the only gloves I could find were welding gauntlets - at least my arms were covered too.

Once the insulation was in place, I put the outer case back on and it all held in quite well.

Step 13: Put It All Back Together

In putting it all back together, at this point you want to try and add some insulation. I'm going to fill the void in between the oven cavity and the outer case with Isowool. You'll notice a distinct lack of Isowool in my photos - that's because I don't have it on hand yet so I'm going to have to take it apart and add it later.

I can't really run the oven like this - the compartment where the PID lives is designed to get warm and it's likely too warm for the PID.

I will be putting a sheet of Isowool on the oven side of the cavity where all the controls live. This will regulate the temperature in there, keeping it within the operational range of the PID and ensure that my wiring doesn't melt.

I will be packing Isowool in between the oven cavity and the outer case on the top and left-hand side, this will help regulate temperatures inside the oven. I'll also see if I can find some way to put Isowool on the rear of the oven as well - the better insulated it is, the better the PID will be able to keep an even temperature.

Sensors Contest 2017

Runner Up in the
Sensors Contest 2017

Share

Recommendations

  • Toys Contest

    Toys Contest
  • First Time Author

    First Time Author
  • Big and Small Contest

    Big and Small Contest

56 Discussions

0
None
FrancescoV29

Question 4 weeks ago

Hi! Great tutorial thank you very much, it is super useful in so many applications. I only have limited knowledge of electronics and i am trying to apply this process to my ovens so i have a lot of questions.

First of all, my oven has two thermostats to control the temperature of top and bottom heating elements separately. Do i then get a PID that has 4 outputs? Will that control both sets simultaneously? Or do i need to get 2 separate PIDs? Second question is about power, this oven is a three phase, although we run it on single phase off a converter. I have attached a picture of the inlet of power, how would i go about connecting the PID it to this? (If it is even possible)
Thirdly, would the PID be running the heating elements at full power until it begins to approach the set temperature? Because this would most likely short the oven (as I mentioned we run it off a converter) and if that is the case, is there a way around it?

sorry to overwhelm you with questions, but you seem to be the man to ask.
Thank you so much for the tutorial

D3CF8C69-F12C-4F81-9744-0FC4CB71CE90.jpeg38F2D395-0B67-43A8-902F-ABE4F5719CC2.jpeg591B04C0-14C5-48D5-9656-513BE8C43C2C.jpegBAF9FDA8-2D34-4EEE-A5DD-215D75EBAFC2.jpeg
0
None
ReggieM1

Question 4 months ago

You mentioned a temp of around 450 degrees. I would like to make a mini Pizza oven that reaches 500 or perhaps even as high as 550 degrees. I would also add an alarm as well as a thermal cutoff as a safety measure. Am I pushing one of these ovens beyond it's temp limit. It should cook a pizza fast enough where you would not want to leave it untended. I would also consider mounting the PID controller externally.

1 more answer
0
None
kai.hReggieM1

Answer 8 weeks ago

I don't know if the oven would even reach 500 degrees, particularly with a glass door that will let a fair bit of heat out.

0
None
akshay.d21

Question 2 months ago

Thanks for the process. Will this work with a cartridge heater that is rated 100 - 150 Watts? Please let me know. thank you!

1 more answer
0
None
kai.hakshay.d21

Reply 8 weeks ago

Sorry mate, I really don't know if it will work or not.

0
None
Kdemon

7 months ago

What a great instructable, keep up the good work!

0
None
Shecta

7 months ago

Great Instructable, clear explanations and photos. Glad to see that you are also safety conscious. I'm going to modify a bit to use in a poultry incubator.

0
None
Col68

Question 8 months ago

Hello Kai.h,

Thank you very much for your sharing, it motivated me a lot to realize it but i received a PID REX-C100FK02-V*AN DN (Aliexxx) it is very strange to those i can see on the internet shares, i do not know but he has the dangerous air ? The microcontroller chip is HY16F88VB look like PIC16F but it is not the same manufacturer (apparently).

Do you think i will take a chance to use this model ?

Thank you in advance for all information, cordially.

20180327_154803.jpg20180329_000612.jpg20180327_155039.jpg20180327_155231.jpg20180327_125220.jpg20180327_124909.jpg
2 more answers
0
None
Col68Col68

Answer 7 months ago

Hello dear Kai.h thank you very much for your instructions and advice that i will follow, finally it still works despite the fairly thin PCB, i think this is a new cheap model, thanks again for your help and sharing your project , cordially.

1
None
kai.hCol68

Answer 8 months ago

Hi Col68,

I can't really offer any helpful advice on that particular unit - I've not encountered it before, so I don't know if it will work or not. If it's a PID for controlling temperature, you should be able to work it in by following the instructions you got with the PID controller and seeing if you can match up the connections as per my example. If you are at all unsure however, please speak to someone who can offer you professional advice as you are working with mains voltage electricity and it is quite dangerous if you don't know what you are doing.

0
None
MichaelI93

9 months ago

Hi, I use a heated rotary carpet cleaner http://www.craftexcleaningsystems.co.uk/machines-c...

Would it be possible to replace the thermostat for a PID to keep the heat output from the "air gun" at a steady temperature? Basically the green heater air gun blows heat onto the metal base plate, to dry the top of a bonnet mop, (round towel like pad), carpet shampoo sprayed onto carpet is absorbed by the drying bonnet mop! Curious to know if a steady temperature would be more efficient than a thermostat which will cut out and cool about 7 - 8 degs before heating begins again. Thanks

1 reply
0
None
kai.hMichaelI93

Reply 9 months ago

It would be difficult, but I'm sure you could do it. You would need the temperature sensor attached to the metal base plate and then somehow wire it up so that the output from the PID turns the hot air gun on and off. I would recommend seeking professional help when working with mains voltages though.

0
None
anysf

1 year ago

if i build this oven, can i used it for pyrolysis? is it suitable for the process?

2 replies
0
None
kai.hanysf

Reply 1 year ago

No, I don't think it will go hot enough. I think this oven would struggle to hold a temperature much over 200° - 220°. For pyrolysis I think you need temperatures up around 300°

0
None
anysfkai.h

Reply 1 year ago

Do you have any article that prove this? Because i need this for my project. I made this process by using oven and i didn’t make it. So i need an article to prove that oven is not suitable for this process.

THIS IS LAME AND DANGEROUS! Folks, don't do it.

SSR's normally fail as shorted (you'll be heating 100% power without any control).

Real industrial SSR applications must have safety feature (thermal cutoff, bimetal for example, and/or mechanical relay that feeds current to SSR - then you can switch off heating using PID's alarm output if things go wrong).

Second typical scenario is shorted thermocouple, resulting in ambient temperature readout on a display, therefore PID (simple models without TC short detection) will be heating 100% power constantly, trying to heat up without success (but in reality it will overheat/burn object you're trying to heat in controlled manner).

1 reply
0
None
kai.hsjws.and.betas.killer

Reply 1 year ago

Thank you for your concern. This is not intended to be used unattended in an industrial environment, but in a workshop where you can keep an eye on it. If the thermocouple (which I've now replaced with a PT100 sensor) reads room temperature while it's in operation, then this is a pretty good indication that something is wrong.

0
None
johnip4

1 year ago

Nice job. The as built pictures look really good. Our maker group is doing a similar project where the oven will be used to reflow solder SMS circuit boards.
Our local pottery suppliers sells a ceramic blanket that isn't carcinogenic. Apparently the fibres are water soluble so they won't stay in your lungs.
I've been told that the failure mode of an SSR is in a closed position. As such the oven would be energized without any temperature control. This can be a problem with unattended devices. Th PID control I have has an over temperature set point that can be used to initiate an alarm if things go wrong.

2 replies
0
None
Tecwyn Twmffatjohnip4

Reply 1 year ago

I thought SSRs failed open and electromechanical relays failed closed ... Could be wrong though.