Showing posts with label etch. Show all posts
Showing posts with label etch. Show all posts

Saturday, September 14, 2013

My PCB Fabrication Process

Desulfator

My last desulfator design was Rev B. I decided it should be Rev A (even though Rev B is etched on the board), as it was the first desulfator board I actually built. For future reference I'm doing major revisions A, B, C, but minor (and or pre release) tweaks 001, 002, etc. So this should be Rev A 003, I think.

For more information on the desulfator see my previous post here.

Specs / Limitations


  • When I do the layout I've found I can etch down to about 0.010"(50% success), but 0.020" is much more forgiving (80+% success). So I do most of my traces as 0.020". but they won't fit between some pins, so I run a 0.020" trace as close as I can, end it, put a 0.010-0.012 trace in the tight spot, end it, and continue with a 0.020 trace.
  • I try to maintain 0.025" clearance around traces, since I don't use a solder mask it helps me avoid bridging traces.
  • I flood-fill everything I can, the more copper I leave on the board the quicker it etches.
  • So far I only do single-sided boards. Hasn't been a huge issue yet. I'd be tempted to just order 2 sided boards when I need them.

I use the toner transfer method for both the etch resist and the silkscreen. As far as prep it goes like this:
Copper Side First
  1. Sand board with 400grit (wet sandpaper) wet with just a drop of dish soap
  2. Dry board with a paper towel
  3. Apply rubbing alcohol and dry with a paper towel.
  4. Print resist on a piece of shiny paper, I have varing results with this, seems to depend on the paper I find. I read that the (glossy) whites of newspaper / magazine ads worked the best, but I find that some heavily colored ads have more of the wax / clay stuff on them and work better for me, with the exception of the silk screen side (more on that later)
  5. Align board and paper, either fold the ends over to keep it in place or use a tiny piece of tape. Then run through laminator 5+ times.
  6. Soak in cold water until paper starts to dissolve. Some times it peels off, other times I have to rub it until just the toner remains. sometimes I loose traces and stuff, if it's not too tight I continue, otherwise back to step 1.
  7. Gently dry and examine carefully, touch up little holes in the flood fills and broken traces with a permanent sharpe(3 coats).
Etching
For etching I use cupric chloride, it works really good above 60F, somewhere around 40-50F and below it's really slow. It needs to work fairly fast, the majority of the problems I've had with it were when it's cold out and instead of 20-40 minutes it took 2-3 hours.

I keep it out in the garage, as I prefer not to risk spilling stuff like that in the house. (I don't want to spill it out there either, but I have better ventilation and access to a garden hose for emergency clean-up)

    8. Etch until traces are isolated.
    9. Rinse thoroughly, then Sand with 400 grit to remove toner, should look
        like this: (note the 2 is missing from the 2013? yep, didn't transfer perfect)
Bottom
Then the Front (silkscreen)
    10. Dry then drill two holes (for through-hole parts) as far apart as possible
          (either corner would be good) and use them to align your silk screen (do
          steps 3-6). I poke a wire right through the board and paper for alignment.
          (remove wire before running through laminator) Note: I try to use mostly
          white paper for this as the colors tend to stick.
Top
When it's all assembled and tested I spray the copper side with several thick coats of Rust-Oleum clear coat.

Thursday, February 21, 2013

Lead Acid Battery Desulfator

UPDATE 2:
My parts have arrived, I've got the schematic sorted out (I think). I think I'm going to do a start to finish post on my current PCB fab procedure and make a new board, even though the other one seems to work. I've got the correct parts and the other pcb is together and working. I'd like to see if they work differently.

Desulfator-RevB - KiCAD 3D Render

The Theory:
When a lead acid battery sets discharged sulfate crystals form on the  plates, reducing the surface area and thus potential capacity of the battery. A desulfator pulses a high voltage / current spike into the battery that causes vibrations that knock the sulfate crystals off the plates.
The usual frequency is around 1khz, though the vibrations are usually in the mhz range. It's described as ringing a bell. The desulfator rings it a thousand times a second and the harmonic vibrations actually do all the work. Therefore the actual frequency doesn't seem to be particularly important.
It would probably be best to remove the battery from the vehicle so we don't pulse high voltage through computers, regulators, etc. It may take a week to several months to restore a battery anyway, so doing it out of vehicle is preferable anyway.

Desulfator Rev. B - Top
The Specs:
  • Unit is controlled by the venerable 555 timer, although an attiny would work and allow more control / monitoring of progress.  (Possible future design)
  • Should work on many voltages
  • May work on nicad's too.
  • This is basically a reference design. I want to see if (and how well) it works before spending a lot of time designing my own system (if I even need too, let's not go reinventing the wheel right?)
  • I'm trying for a compact design, altoids tin or smaller. preferably 50mm x 50mm, as if it works well I may get a batch made and try to sell them.

Desulfator Rev B - Bottom
Limitations:
  • As the battery size increases the amperage needs to increase. Two resistors can be replaced with pots to adjust the frequency and duty cycle of the 555, but this results in increased heat on the inductors. (we'll try the default settings to start)
  • Increased amperage requires bigger, more expensive inductors.
  • It's not self-powered, so a trickle charge is needed for operation.
  • No reverse - polarity protection, hook it up backwards and you will probably destroy it. (I'm going to look into this, doesn't seem it would be too hard to prevent this, definitely looking into this before selling any)
Notes:
I'm basing this on Ron Ingraham's design, I don't think he followed the component numbering of the original, so if they say you can substitute something for R1, it may not be R1 in the schematic.

Update 1:
My parts haven't arrived and I've run out of patience. So I scrounged some inductors (about 600uh and 180uh) substituted some other parts and it seems to work.

Only found two problems:
1. I  missed a trace (somehow missed it in the schematic) and that prevented the duty cycle from dropping below 25% and caused the frequency to change with it. it was really frustrating. I eventually found it and added a bodge wire. Now RV2 adjusts frequency and RV4 adjusts duty cycle. I also added a 180K resistor to RV2, but that's just because I only had 100K pots (should have been at least 300K+. I highly recommend using pots for these. Then you can just dial it right in. (with a power supply and scope or by ear and watching that nothing gets hot)
2. Stupid (me) used non-polarised caps (C) instead of polarised caps (CP) in the schematic, so 3 caps were backwards.

I've corrected all these things in the schematic. I need to clean up the schematic and get it uploaded. I'm not sure if I'm going to roll all this into Rev B or go to Rev C. I have made a number of minor changes, but it's not a redesign by any means.





Rev. B Changes:
1. Replaced R2 & R4 with Pot's for adjustment. Resistors should fit instead, so it's optional
2. Added C41, C43 for more options on the low esr cap.
3. Noted in schematic different options for assembly.
4. Has component locations for several variations on the circuit. Board shouldn't be completely populated.
5. Might have placed the power connector on backwards. Oops.
6. PCB layout is Copyright for now. Free for Personal Use. I may release it to public domain eventually. I just don't want anyone selling these untested boards yet.

Links:
KiCAD + PDF Files

Make sure you add the cache library at the very top of the KiCAD libraries for the schematic. It's a PITA it doesn't do this automatically. The PDF's may or may not work, they gave me a fit. Make sure you print at 100%, no scaling.
Pictures of latest board in my PCB Fab post

Desulfator Information (mine is based on the low power - Ron Ingraham design)

Friday, January 11, 2013

My Failed Fan Controller Design

I've spent all the time and resources I'm willing to on this project for now. I may complete it at a later date. It all works except the input voltage from the furnace transformer is too high after rectification (38-40v).  The 78M05 I'm using is 35v max and it doesn't tolerate any more. It doesn't seem to damage it, as even after testing as bad on the furnace it works fine on 18v (max on my lab PS) I tried to build a SMPS replacement based on Roman Black's design, that also worked fine on 18v and blew at least a zener diode when on the furnace. I used parts I had on hand, so sometime I will get precise values and try again. For now I'm ordering a snap-disk. Perhaps some of this design may be useful to someone for other purposes. It really sucks, as the controller works fine, I just can't get the voltage regulated to 5v. If you have any ideas feel free to comment. It's probably easy and I'm just not seeing it :)

My Dad's woodstove is ducted into his furnace. It works OK, but he has to manually turn the blower fan on to circulate the air through the house. This is OK when they're up and keep the fire going, but if they don't get up during the night the fire burns down and it circulates cold basement air. Brrrr



I realize I could just use a therm-o-disk, but what fun is that?

Plus I get a bit more practice making boards. NOTE: I bumped the zone fill clearance from .020 to .025, that definitely helped me not bridge pins to ground. It's a simple board and I used mostly .025 traces with a few .012 and .080 ones as needed. I can etch .012 very consistently, even .008 fairly well, but I keep tearing pads off drilling. The extra copper seems to help considerably. Extra copper around pad make things much easier drilling and mounting. Essential for wire connections. My first board's traces got torn up where wires mounted (all .012 traces). Notice the pads across the top of the following image compared with the bottom of the board above:



 Requirements:
  • Run off furnace power (28VAC)
  • Switch fan on at approx 120F, off at 90f
  • Make sure fan runs at least 10 minutes when turned on.
  • Cheap, hopefully less than a $15 T-O-D
Specs:
  • Controlled by a attiny85
  • PCB was done for a full-bridge rectifier, but we may use a half-bridge to keep the voltage under control. (use 2 diodes instead of 4) (Note: Didn't Work)
  • Used Salvaged Components where possible
Parts List:
  • Attiny85 ($1.30) 
  • lm335a Sensor ($1.00) (I had some of these, I would use a mcp9700-e/to($0.25) in the future. the board supports it, just omit the 2k resistor)
  • lm7805 Regulator ($0.50)
  • 2n7000 mosfet ($0.60)
  • 2x 1n4007 diodes ($0.50x2)
  • 330u 50v cap (salvage)
  • 10u cap(salvage)
  • 0.1u cap
  • 10K resistor
  • 2K Resistor (omit for mcp9700)
  • RY5W-K Relay (salvage)(you can get ones with ~30ma coils for less than $2.50 and drop the mosfet, though a mosfet does make it more robust IMO) You could also try a solid state relay
Schematic

The 7805 was a bit close to the cap, that will be fixed in the linked files. I intended to use a to-92 regulator, but the one I had was rated for 100MA. I thought my relay was 150MA. It was a last minute change. As it turns out it uses about 9MA idle and 54MA with relay powered. I could have used the to-92 after all.Total cost was under $5, though to buy all the parts would be more like $10, the cheapest T-O-D I found was $8. If I have the wrong temp with this I just reflash the chip, with a T-O-D I buy a different one.



Code is in Arduino, you will need the attiny85 hardware files, a programmer or an arduino, some wires and bits. See this guide for more information. I may redo it in AVR C sometime, I just wanted it up and running. I didn't need to do anything special.

 /*  
  Fan Controller intended for a attiny85, but takes ~3k, change pins below for arduino and uncomment the serial for debugging on the arduino.  
  it's intended for a furnace, so no fancy pwm or anything, thought it wouldn't be hard to add.  
  Stephen Evans - stevesfixitshop.blogspot.com  
  */  
    
 #define INPIN 3  
 #define OUTPIN 2  
 #define ONTEMP 48  
 #define OFFTEMP 32  
 #define DEL 600000  
   
 unsigned long wait = 0;  
 int avread = 0;  
 int ain[10];  
 int i = 0;  
 void setup() {  
 // Serial.begin(9600);  
  pinMode(OUTPIN, OUTPUT);  
 }  
   
 void loop() {  
  //make 10 readings  
  while(i<=9){  
   ain[i] = analogRead(INPIN);  
   delay(10); // wait for adc to stabilise  
   i++;  
  }  
  i=0;  
    
  //average the readings  
  avread = 0;  
  while(i<=9){  
   avread = avread + ain[i];  
   i++;  
  }  
  i=0;  
  avread = avread / 10;  
    
  //Convert reading to degrees C  
  float sensorValue = ((avread*4.8)/10)-284.15;  
 // Serial.println(sensorValue);  
    
  // turn fan on  
  if(sensorValue >= ONTEMP){  
   digitalWrite(OUTPIN, HIGH);  
   wait = millis() + DEL;  
  }  
    
  // turn fan off if below set temp and delay has passed.  
  else if (sensorValue <= OFFTEMP && millis() >= wait){  
   digitalWrite(OUTPIN,LOW);  
  }  
  // every 50 days millis rolls over to 0, this makes sure it doesn't mess things up  
  else if (millis() <= (wait-DEL-50)){  
   wait = millis();  
  }  
    
 }