Hi Everyone,
So I'm ready to make the jump to smd and try my hand at some stenciling and baking. I worked on an avr based PID controller last year with a converted toaster oven that has 2 elements on top and 2 elements on bottom. My first test shows that I tweaked the PID algorithm pretty well for the sensor in air (not attached to a PCB), but then I thought I'd attach it to a small test pcb with a paperclip and see how that would go. Here are some pictures and I've got some questions at the end for anyone who has experience here!
I am using a profile that goes like this:
warmup ramps to 150 deg C @ 3C/s and the stage does not end until 90s after the the temp reaches 100C
reflow ramps to 200 deg C @ 3C/s and the stage does not end until 90s after the the temp reaches 185C
cooldown ramps down to 25 deg C @ 6C/s
Oven does have a convection fan I run all the time during the cycle.
My oven has a metal pan that sits on top of the metal bars so I left it in, but I wonder if I'd get better results without it (allowing the bottom two elements more direct access to the pcb's) - So this is question #1.
series 1 is PV (present value, temp), series 2 is SV (set value), series 3 is CO (controller output). The CO is 0 for completely off to 120 for completely on (120 half cycles @ 60 Hz):
Sensor placed about 1" above the metal tray. I suspect when I was playing with this last year, I must have tweaked the PID parameters by putting the sensor in air:
Sensor paper clipped to a small pcb:
Question #2 is - should I be taking the temperature of the pcb surface? Is this the best place to sense? Assuming this is true, I'm going to need to go back and tweak my PID parameters for this condition to improve performance.
Question #3 is - I am a bit surprised as the temp spikes with it was attached to the pcb. I expected the pcb to dampen the temperature changes much moreso than the air but yet between 400 and 500 seconds it was a spiky up and down deal. Does this make sense? Why would this be? My sample time is 5s between pid operations so each temperature is an average of all the readings the unit took for that 5s (4 per second so 20 measurements from a max6675).
Any other thoughts?
Thanks,
Alan