Author Topic: Another DIY Reflow Controller  (Read 12263 times)

0 Members and 1 Guest are viewing this topic.

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Another DIY Reflow Controller
« on: December 17, 2013, 08:17:02 am »
Well as it goes I needed a reflow controller, so I made one!

This will be driving your fairly common 1500W walmart special.

All is tested and working, now to finish the firmware!  I did do the board to be open source, so I will post the files up for it soon, also I will post up the firmware once I have it completed.

Specs:

MCU               : ATMEGA644P
Thermocouple: MAX31855 / K Type
USB                : FTDI
SSR                : NTE 75A
Indicator        : RGB LED


Power In and Out

Power In

USB and Thermocouple connection

ISP Header :)

And the main guts! 

« Last Edit: December 17, 2013, 08:21:14 am by MatCat »
 

Online IanJ

  • Supporter
  • ****
  • Posts: 1593
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: Another DIY Reflow Controller
« Reply #1 on: December 17, 2013, 10:48:19 am »
Hi,

Nice one!

Just interested, did you use PID or a simple table, and are you using PWM (slow) for the heaters or just simple on/off.

My own home made oven I found great for small boards but for larger ones (euro card sized etc) I'm having to fit a small fan (running pretty slow) inside to assist in circulating the heat inside the oven.

PS. love the well-used tools etc lying on your workbench......a real sign you often knuckle down to some hard work....... :D

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: Another DIY Reflow Controller
« Reply #2 on: December 17, 2013, 10:53:10 am »
As awesome as it is to build things and as much as i am all for hobby projects..
ya really don't need to worry about reflow profiles for hobby toaster ovens.
A variac on the cable and a one-off temp sensor to figure out the ideal variac position is all you need.

Sorry, i dont want too come across as negative.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline JuKu

  • Frequent Contributor
  • **
  • Posts: 566
  • Country: fi
    • LitePlacer - The Low Cost DIY Pick and Place Machine
Re: Another DIY Reflow Controller
« Reply #3 on: December 17, 2013, 11:16:40 am »
As awesome as it is to build things and as much as i am all for hobby projects..
ya really don't need to worry about reflow profiles for hobby toaster ovens.
A variac on the cable and a one-off temp sensor to figure out the ideal variac position is all you need.

Sorry, i dont want too come across as negative.
Not my experience. You might do without proper profile if you are doing mostly resistors and not too demanding components and are willing to do some manual rework. But even a simplest thing like a 317 with a PCB heatsink: Good luck soldering the regulator properly without tombstoning a close by 0603 or 0402 resistor unless you have a proper pre-heating phase. With slow enough heatup and long enough reflow phase you might, but then you kill your 100+ pin ICs. MatCat is doing it right.
http://www.liteplacer.com - The Low Cost DIY Pick and Place Machine
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: Another DIY Reflow Controller
« Reply #4 on: December 17, 2013, 11:31:50 am »
+1 for a nice project :-+

@PSi: While i also acknowledge that people manage to do what is recognizably SMD soldering using the most primitive of methods, starting from frying pans and kitchen stoves, it doesn't necessarily mean that those methods are good, reliable or desirable. What you suggest will probably work nicely in the majority of cases and i don't want to bash it outright. That said, i did what the OP has done and extensively modified a toaster oven, rearranging the heating and air circulation as well as employing a commercial prigrammable, sequencing PID controller. I didn't do it because i had to, but because i wanted to so there are cheaper alternatives. Still i am happy to say that the performance of that oven has been 100.0%. Not a single failed joint in any of the various boards i have fed it.
I won't argue that similar results can't be achieved with simpler means but this is so damn convenient! No guesswork, no fiddling and watching over the process, no nothing. Just a nice result time after time.

P.S. i moved all heating elements to the top side. This allows me to do double sided loads without fear of the bottom side parts dropping away because that side won't reach liquidus during the normal cycle. I recommend it to others who modify their ovens.
Nothing sings like a kilovolt.
Dr W. Bishop
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: Another DIY Reflow Controller
« Reply #5 on: December 17, 2013, 11:36:28 am »

Not my experience. You might do without proper profile if you are doing mostly resistors and not too demanding components and are willing to do some manual rework. But even a simplest thing like a 317 with a PCB heatsink: Good luck soldering the regulator properly without tombstoning a close by 0603 or 0402 resistor unless you have a proper pre-heating phase. With slow enough heatup and long enough reflow phase you might, but then you kill your 100+ pin ICs. MatCat is doing it right.

Mike uses the variac + toaster oven method as well

Reflow bit starts at 14min


« Last Edit: December 17, 2013, 11:39:21 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: Another DIY Reflow Controller
« Reply #6 on: December 17, 2013, 11:50:59 am »
Fair enough but he seems to have a wetware PID controller in the loop anyway :P.

He makes an important point towards the end of the video - avoid blasting away with the heater elements right from the start because the IR from the glowing heaters will fry the composites on the board. It is exactly the behavior one sees with a PID controller and a soaking ramp: the elements are just starting to show deep cherry / oily look which means they are somewhere around 500-550 C. The temp ramps up with nearly constant heating power that is a fraction of the max. That does the trick for presoak and then smoothly increase power to ramp up to liquidus and then down after the 10-20 seconds of liquid solder.

All of that can be done with a variac and eyeball. However unless you already have the variac, a PID controller will probably be the cheaper option. Of course a variac has other good uses so why not.
Nothing sings like a kilovolt.
Dr W. Bishop
 

Online IanJ

  • Supporter
  • ****
  • Posts: 1593
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: Another DIY Reflow Controller
« Reply #7 on: December 17, 2013, 12:02:15 pm »
All,

May I speculate:-

Unattended, reliable reflows across varying sizes of pcb's & smd technologies etc require a reasonable setup by way of reflow profile, control hardware/heaters etc.

Anything else then you either have to monitor it closely, take lady luck in your arms or have had run your setup sooooo many times your experience has won out.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #8 on: December 17, 2013, 08:20:58 pm »
I am using a PID loop in this setup, I am actually going to be using this setup to do small production runs so I do need it to be a descent profile.  The oven I am using is convection so has the fan, and I am going to be insulating it too to minimize temperature variant as much as possible.

It might be considered a bit overkill for the general hobby use, but I do a lot of prototyping and my own production runs (sometimes up to 5k units), so yeah I think it's worth it.

I plan to have the firmware workable today, so if I do I will do a video of the first test reflow which is to test the PID loop and temperature reaction times so I can fine tune if need be.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: Another DIY Reflow Controller
« Reply #9 on: December 17, 2013, 08:26:21 pm »
Be wary of the fan, they can cause intermittent problems with components moving during reflow even when you think you have the air volume low enough.

Depending on the position and orientation of objects inside the oven, and on your PCB, you can get funneling effects in various locations which concentrate the air.
« Last Edit: December 17, 2013, 08:28:33 pm by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: Another DIY Reflow Controller
« Reply #10 on: December 17, 2013, 09:05:02 pm »
Since i mentioned the fan, let me elaborate that my fan is not an original pizza oven gizmo. It is an adaptation from a microwave oven fan and sits in a separated compartment with a diffusor grating in front of the fan prop. The airflow is relatively modest and definitely turbulent. Just enough to move the air in a cycle but not to create any kind of blast or streamlines.
Nothing sings like a kilovolt.
Dr W. Bishop
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #11 on: December 17, 2013, 10:56:32 pm »
I pretty much have the firmware in a workable state to do a test run... the only hardware hurdle left is isolating the thermocouple since the entire oven including the rack is tied to ground, my plan is to use a little bit of insulator to isolate it from the rack and have the thermocouple attached to the bottom of the rack. 

I also still need to whip up the computer program so that I can log the reflow profile, as well as control it from computer.  I will probably do this in java so that it can be cross platform easily.

The system will have the ability to hold 10 reflow profiles, with 20 points each, the time and temperature can be anything within the 20 points, and of course programmable from PC.
 

Offline calexanian

  • Super Contributor
  • ***
  • Posts: 1881
  • Country: us
    • Alex-Tronix
Re: Another DIY Reflow Controller
« Reply #12 on: December 18, 2013, 05:03:19 am »
I want to make a cam/variac operated one. As the cam turns it wiggles around the variac setting the heat. It worked for the staging control in the Saturn rockets. All of those stages and separations... Motor and cam controlled.
Charles Alexanian
Alex-Tronix Control Systems
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #13 on: December 18, 2013, 08:39:17 am »
Murphy always gets you somewhere!  First I found out I actually traced the RX/TX lines to the FTDI wrong on the PCB!  :palm:  Since The MCU has plenty of horses I just implemented software serial to make it work, then Murphy came in even worse, causing ground inductance issues with the Thermocouple, stick that thing in the oven and it just goes haywire!   So I am probably going to have to rethink my nice compact design for better shielding from the AC.
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #14 on: December 23, 2013, 10:20:25 pm »
It turns out it was the thermocouple I was using, I tried a different thermocouple and blam things are working as expected!  Here is a chart of the first dry run to see how close reality would get to my profile.  Obviously a bit of tweaking to be done, but not too bad!  Odd saw shape at the end is because I kept opening and closing the door and seeing how the pid would react hehe.

 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #15 on: December 23, 2013, 11:57:10 pm »
After a little tweaking on the profile here is a workable profile, I did reflow a single test board that I picked because it has a 5A inductor and DPAK5 with large heatsink plane so it was a good test to reflow, and that went ok, it could of used about an extra 20 seconds in reflow so I will probably lengthen the reflow profile slightly.

Here is the new chart
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #16 on: December 24, 2013, 06:19:59 am »
Got a little video put together of a reflow, figures the one on camera has to have it's cap go sideways ROFL.  All is well though I think maybe it's in reflow slightly too long?  There was a slight yellowing to the silkscreen which I did not expect at all, otherwise went quite well though.

 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: Another DIY Reflow Controller
« Reply #17 on: December 24, 2013, 08:37:39 am »
Nice work  :-+
One suggestion: you can see how the inductor reflows later than the smaller components when you ramp up the heat. At the same time you also make the notice that the reflow phase should maybe be a little shorter. I have tried to avoid over 20 sec in liquidus. One way to get that is to prolong the soak phase at ~150 C. I have set it at 2 minutes and in practice it is about 90 seconds due to the lag of actual temp vs setpoint. Anyway, that gives the larger components some time to warm up to the soak temperature and from there they reach liquidus a bit quicker making the relative delay shorter.
Nothing sings like a kilovolt.
Dr W. Bishop
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #18 on: December 24, 2013, 09:32:21 am »
Nice work  :-+
One suggestion: you can see how the inductor reflows later than the smaller components when you ramp up the heat. At the same time you also make the notice that the reflow phase should maybe be a little shorter. I have tried to avoid over 20 sec in liquidus. One way to get that is to prolong the soak phase at ~150 C. I have set it at 2 minutes and in practice it is about 90 seconds due to the lag of actual temp vs setpoint. Anyway, that gives the larger components some time to warm up to the soak temperature and from there they reach liquidus a bit quicker making the relative delay shorter.
Yeah I planned to shorten that phase a little bit, plus when I did that run I had 6 boards in the oven in various locations to look for hot zones, really the only boards that lagged where the ones towards the front by the window, which makes sense.   Overall I am pretty happy!  Now it's time to put some polish in the firmware, and whip up a good companion PC software for it too.

 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #19 on: December 25, 2013, 01:14:42 am »
Today I did 100 boards so it was a good test of the system, I did tweak the reflow time so that liquid stage was about roughly 20 seconds, and that worked perfectly, though I think I will slightly lower the peak temperature by about 20F.  I also aluminum-foiled the door (except small window).  First reflow was 63 boards since that was all I could fit on the rack, only had 2 fails do to parts going cockeyed but that was mostly because of an uneven spot on the rack, and I was happy to see pretty much all of the boards reflowed at the same time, showing that there is little in hotspots, the oven is getting warmed up pretty evenly.  I do have a video which I am currently editing of that.
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #20 on: December 25, 2013, 01:39:10 am »
 

Offline Milan

  • Contributor
  • Posts: 12
  • Country: cs
    • CNC MASINE
Re: Another DIY Reflow Controller
« Reply #21 on: December 25, 2013, 09:51:27 pm »
Hi, nice project.  :-+

I also made one controller for my workshop.

MCU: PIC18f4520
Sensor: PT100
Oven heaters power: 600W

This project are in test phase.

On the last picture is the new PCB design.
If testing goes well, I will post schematic and code. :)

Milan
skype: mladenovic.milan.kg
www.cncmasine.com

The greatest enemy of knowledge is not ignorance,it is the illusion of knowledge.
 

Offline MatCatTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Another DIY Reflow Controller
« Reply #22 on: December 25, 2013, 10:47:57 pm »
I will post full schematics for my design shortly, I need to polish it up a little and fix the UART RX/TX issue.  I will post the full Altium Designer project, as well as gerbers.  I still have some work to do on the firmware to enable full PC functionality, plus PC code to go with, so once I have all that working I will also publish all the code.   
 

Offline jesuscf

  • Frequent Contributor
  • **
  • Posts: 499
  • Country: ca
Re: Another DIY Reflow Controller
« Reply #23 on: December 28, 2013, 04:15:17 pm »
Today I did 100 boards so it was a good test of the system, I did tweak the reflow time so that liquid stage was about roughly 20 seconds, and that worked perfectly, though I think I will slightly lower the peak temperature by about 20F.  I also aluminum-foiled the door (except small window).  First reflow was 63 boards since that was all I could fit on the rack, only had 2 fails do to parts going cockeyed but that was mostly because of an uneven spot on the rack, and I was happy to see pretty much all of the boards reflowed at the same time, showing that there is little in hotspots, the oven is getting warmed up pretty evenly.  I do have a video which I am currently editing of that.

Nicely done!  In my experience if the reflow should be less than 60 seconds or the silkscreen changes color.  if the reflow temperature is over 230C the solder masks may get darker.
Homer: Kids, there's three ways to do things; the right way, the wrong way and the Max Power way!
Bart: Isn't that the wrong way?
Homer: Yeah, but faster!
 

Offline scopeman

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: us
Re: Another DIY Reflow Controller
« Reply #24 on: December 29, 2013, 01:29:12 am »
Wow MatCat,

Really Sweeeeet!

Now I wonder if I can steal that new Black and Decker that Ali just bought at Kohls for 25 bucks.....???

Somehow I think she would notice.....

Doe's Altium offer an Export option that can save the files in P-CAD 2006 format?

Sam
W3OHM

W3OHM
 

Offline Rick~K

  • Newbie
  • Posts: 2
  • Country: us
Re: Another DIY Reflow Controller
« Reply #25 on: January 12, 2014, 10:08:28 pm »
Really nice controller, even a oven full of boards reflowed pretty even.

Rick
K8OHM
 

Offline scopeman

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: us
Re: Another DIY Reflow Controller
« Reply #26 on: February 20, 2018, 02:57:47 am »
I will post full schematics for my design shortly, I need to polish it up a little and fix the UART RX/TX issue.  I will post the full Altium Designer project, as well as gerbers.  I still have some work to do on the firmware to enable full PC functionality, plus PC code to go with, so once I have all that working I will also publish all the code.

Hi MatCat,

Did you post this project somewhere?

Sam
W3OHM
W3OHM
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf