Maker Pro
Maker Pro

PID Control of an Induction Cooker.

Dear all.

I am a hobbyist in need for some advise. First a little bit background and description of my project. I am in need for a very precise temperature control of a large (50L) pot of water. Up till now I have done that with a 2kW ordinary cook top, a PID Controller (REX C100) and a SSR. Works fine, but 2kW is a bit sparse so I have bought an 3.5 kW induction cooker.

The Induction Cooker has a rotary control (potentiometer) with and on / off switch integrated. 4 leaders to the pot, 0V - 5V - center tap and an on / off signal enabling the device.

My take on this, in order to not doing any permanent and physical changes to the cooker, I just disconnect the flat control cable from the mainboard and set in on an 4PDT toggle switch and by that throwing the entire control out to external. By that I can toggle between ordinary and external control.

The PID Controller (REX C100) has a 5V PWM signal, periods adjustable but min. 1 sec.

An second order low pass RC filter (C1-R3-C2-R4) deals with that without too much ripple on the voltage. Somewhat slow in response, but no concern as after all it is 50L of water to change :)

I have not build the circuit yet, as I am still waiting for some parts, but simulates in LTSpice.

First 'problem'. By opening and measuring the voltage on the control knob, I discovered it is not a 0 - 5V, but rather a 5 - 0V signal. The center tap rests against the 5V side of the pot. at minimum setting. I needed to inverse the signal, and found that best to do before the filter. I uses a transistor (Q1) as a NOT gate, and that seems to be working fine as well. I have access to both 0V and 5V from the cooker, and I uses that on the transistor, no need to build an voltage supply.

Second problem, and here I do need help. It turns out that the minimum power on the induction cooker is 500W. It goes to 500W immediately after enabling the device. Hmmm ... after testing, 500W is enough to slowly, slowly rise the temperature even in this large amount of water, so I do need to implement the on/off function.

What I was hoping to achieve was an accumulation of voltage in C3 from the PWM signal, so that if no pulses had been on for a while, C3 would drain and cutting the on / off line switching the device off. By the first puls from the PID, C3 would charge and opening the line again.

My smoothed signal would be better to use, but that is not so easy, since it is inverse.

I do need some advise her, gentlemen :)

Regards

Endre
 

Attachments

  • Hendi_Simple_Zero.pdf
    10.6 KB · Views: 223
I have seen it before, - writing up clears one's mind.

As I write 'my smoothed signal would be better to use', - a parallel filter before the NOT gate gives me a decent 0 - 5 V to handle. But how is it best to switch it?
 

Attachments

  • Hendi_Simple_Zero_2.pdf
    10.4 KB · Views: 202
Hi Adam. Thks for the interest.

Well, - the timing is adjustable, but the shortest period i can set is 1 sec. To turn off the line, I am hoping for a delay ... that the pwm has been fully off for a 'while', some 15 sec or around there.

At the first puls of signal, the line back on.
 
Hi again Adam. I'm not sure I use the right words. With 'period' I mean the portion of time the pwm is 'chopping' up.

At 50% output, the signal is 5V 0.5 sec and 0V 0.5 sec. At 10% output the signal is 5V 0.1 sec and 0V 0.9 sec.

When the PID output goes to 0, - there are no pulses, so a steady 0V.

Endre
 
I hoped to switch off the line after there has been no output from the PID for some sec, - say 15 sec.

Maybe I need a timer for this?

Endre
 
He is a circuit that I think might work. You may have to change the timing components for what you want. But it shows the circuit switching off after about 10 seconds and then on again when it sees the next pulse. If it sees a pulse within this time the circuit doesn't switch off. You will need to add some supply decoupling capacitors which I have not shown.
Adam

PWNCCT.JPG

PWM.jpg
 
He is a circuit that I think might work. You may have to change the timing components for what you want. But it shows the circuit switching off after about 10 seconds and then on again when it sees the next pulse. If it sees a pulse within this time the circuit doesn't switch off. You will need to add some supply decoupling capacitors which I have not shown.
Adam

View attachment 15583

View attachment 15584

This is great Adam. Thank you so much. I do have to study this in order to understand, and with my slow mind it might take most of the evening :)

I am a complete rookie when it comes to circuit engineering, as I used to be a mechanical engineer before retirement.

Again thanks.

Endre
 
I am also slow, I make as much progress sometimes as an asthmatic ant carrying heavy shopping. But when I do understand things it is usually there to stay.
All the best Adam
 
Well Adam :)

I have now implemented your suggestion to my circuit and it seems to be just what I hoped for.

Timing components that would be the capacitance of your C1 and the resistance value of your R1 I assume? Yes, timing will be essential, as most of the time the controller will work between 0 and 500W to keep an steady temp.

By the way, - do you mind enlighten me around your statement 'You will need to add some supply decoupling capacitors which I have not shown.' as I don't know what that is?

I owe you one, Adam

Regards
Endre
 

Attachments

  • Hendi_Simple_Zero_3.pdf
    11.3 KB · Views: 138
Well Adam :)

I have now implemented your suggestion to my circuit and it seems to be just what I hoped for.

Timing components that would be the capacitance of your C1 and the resistance value of your R1 I assume? Yes, timing will be essential, as most of the time the controller will work between 0 and 500W to keep an steady temp.

By the way, - do you mind enlighten me around your statement 'You will need to add some supply decoupling capacitors which I have not shown.' as I don't know what that is?

I owe you one, Adam

Regards
Endre

Most circuit will require some capacitance across the supply to ensure stability. I would put a 22uF and a 100nF across the supply lines for your circuit. Make sure the voltage rating of the capacitors is above the max D.C voltage of your circuit

http://en.m.wikipedia.org/wiki/Decoupling_capacitor
Adam
 
Most circuit will require some capacitance across the supply to ensure stability. I would put a 22uF and a 100nF across the supply lines for your circuit. Make sure the voltage rating of the capacitors is above the max D.C voltage of your circuit

http://en.m.wikipedia.org/wiki/Decoupling_capacitor
Adam

Yes, yes ... I see what you mean now even before reading your link. There is 19 components on the board, with various needs at various times, sucking juice from tiny wires.

It is fascinating to see the similarities with pneumatic and hydraulic as I used to work with in the 70s and 80s.

Thanks again. Yes, I owe you one

Endre
 
Top