Month: September 2015

µC Prototype JFET Vpp/Idss Tester Part 4: 20 JFETs, 10 TL072s and a bunch of drilling later..

So after the previous failure with using a lower value sense resistor (which was probably not the real issue), I decided to keep the 100 ohm resistor in place and just buffer the reading with an opamp. I tested it on a breadboard first to empirically verify it wasn’t a really dumb idea.

I mean, it may be a really dumb idea, but it worked as I hoped.

Here you can see the top of the board with poorly drilled holes and a mash-pot of resistors. It’s a prototype and my Mouser order that included an assortment of 1% metal film resistors didn’t arrive yet, so I used what I had available. When I ran out of carbon film 5% I used what was left of the metal films. I even had to resort to 1/8 watt resistors on the attentuator following the opamp. The header has expanded to 8 pins so you can either monitor the original voltage or half voltage. At the least one resistor in the attenuator should be socketed or a trim pot. Ideally we’d be able to measure the value of the resistor network or the trim pot from the micro itself, but that adds a lot of complexity — but perhaps a 4:1 muxer for each ADC would be in order, along with detection for over-voltage before the attenuator so we can just sample the before that.. then we could actually add gain to the opamp instead of operating at unity to measure low Idss/Vpp devices more accurately.

Wouldn’t it be nice if I had real 2×4 headers, cables to plug into them, and better sockets for the JFETs? Ah well, it will do for now! I have yet to test it, I’m working on a new board design with relays (or maybe a muxer with low On resistance), the microcontroller and extra ADCs on board.. Of course that means I’ll need a way to create 2 layer boards of higher quality than what I’ve been producing.. and vias.. oh fun.

Updates to come!

µC Prototype JFET Vpp/Idss Tester — scalable to 20-50+ at a time Phase 3: The 8 Little JFETs That Could, my Second Etched PCB And FAILURE!

So I decided to setup a new PCB with 3 pins to connect to, otherwise I had to hook the ADCs into the relays. Now they can have their own run straight to the board, and the relays can have their NO or NC contact hooked up to the same trace. The JFET gate is COM. This was a pretty good improvement although I didn’t really have female 0.1″ pitch headers — I had some cheap 6 pin “Arduino” headers that are NOT the breakable kind. That left me with a few 2 pin headers until I wised up and heated a razor up with a propane torch in order to split them.

One 3 pin header holds the JFET (rather loosely in these, unfortunately) while the other 3 pin is for the relay/ADC connections. If you look closely you’ll note the toner transfer wasn’t perfect and my freehand quick drilling job is even less so, but I knew this was a prototype and I wasn’t too concerned with it so long as I had enough copper to solder to. I’ll probably try a smaller bit next time and I’ll fill the pads in completely.

I switched from an Arduino Due to an AtMega2560 board since they had them for $10 at MicroCenter. It actually has a 16 channel muxer to the ADC so I can measure 16 JFETs at a time without adding any ADCs. I did order some ADCs as samples, hopefully they’ll be approved and sent to me so I get some freebies. I went with mostly surface mount so I can do a two layer PCB and leave the ADC signal traces on top, I did a couple quick designs of such a PCB and it wound up being extremely easy to get what looks like good routing to me.

The board supports 2 rows of 9, I left an extra one in each row for redundancy in case I had bad traces on any of the cells. Fortunately they all turned out fine. You’ll also note I only filled in one row, as I figured I’d run into a bit of a problem testing the 2N5638 JFETs which can exceed a 50ma Idss and thus exceed 5.0v

JFET Tester Phase II

So I decided to change the sense resistor from 100Ω to 47Ω and did some minor revamping of the Arduino sketch. The program is still pretty poor, but it does its job for the time being. I ran out of 1MΩ resistors so I used 10MΩ, which shouldn’t affect Idss or Vpp readings. Unfortunately it seems like going with the 47/10M combo causes some serious heat in the devices. Almost immediately after I hooked power up (12V) I smelled hot plastic. My initial thought was that I got the polarity incorrect and I even feared that I might have blown the muxer or ADC in the AVR chip.

Now I’m really not that familiar with transistors at all, nevermind JFETs (this is a learning experience for me), but I’m assuming I’m getting too much voltage with the 47Ω sense resistor in place. I didn’t want to use a straight voltage divider, I may have to go back to 100Ω and use a JFET or op-amp buffer with an attenuator after it.

The measurements on the other hand seemed OK (I had 2SK170s in every other socket), but I shouldn’t be nearly melting devices or measuring with die/case temperatures anywhere near that high. Touching one of the devices extremely briefly nearly gave me a burn, at which point I immediately pulled the power.

At this point I’m going to consider my options and re-design, a TL072 (has a JFET LTP on the input, so very high input impedance) might be smaller than TO92 JFETs for a buffer, and would certainly be linear. I’m not sure I want to use any SMD stuff, and I really don’t want to deal with making vias in prototype PCBs.

Update: Also the 1M resistors that were supposed to be in place were apparently 1K. Apparently I’m awesome at reading DMMs and color bands. I redesigned the board for an opamp buffer before discovering that.

µC Prototype JFET Vpp/Idss Tester — scalable to 20-50+ at a time Phase 2: The 12 Little JFETs That Could and my First Etched PCB

I’ve been experimenting with making PCBs. I’ve always wanted to, but it’s something that I’ve never actually had the chance to do. I went through many a lot of iterations trying to get the toner transfer method to work.

In retrospect my big mistake was grabbing Kodak’s Ultra High Quality inkjet glossy photo paper. Photo paper can work well, but not this 10.7mm thick stuff with a plastic back. I didn’t actually have an iron, so I tried everything I could think of and only wound up going from almost no toner transfer to getting around 80% of the toner transferred with lots of broken traces. I started with a ‘hobby iron,’ which didn’t have enough contact area or enough heat. I was going to use a hobby heat gun, but I couldn’t locate it. I went through probably around 20 sheets of the stuff. I tried heating the paper from the back lightly with a propane torch, which actually gave me some results but only near the center. I heated the copper layer with the torch first, and actually destroyed a couple boards that way by applying too much heat from the torch. I did wind up getting vastly improved transfer this way as I rolled a piece of ~1.5″ aluminum pipe over it and VERY gently heated the paper with a torch.. but I was still left with an unusable amount of transfer.

So I was going to buy baking sheets today (aka cooking parchment, apparently) as I read that had excellent qualities for laserjet toner transfer. But before I ran to Walmart I was in Walgreens which is much closer to me. I picked up their glossy ink jet photo paper thinking I couldn’t do much worse than what I had already done. I learned that there were many thicknesses of glossy photo paper (The More You Know..) and this material actually had a paper back so it should fall apart in water and require less work for removal. I bought a cheap $18 iron while I was there. I’m not sure if it was the iron or the paper (but I’m betting it was mostly the paper with the iron not exactly hurting matters) but I got usable transfer on my first try. There was one little area where a large power trace was broken. I had the foresight in Walgreens to pick up fine-tipped Sharpies, so I scribbled in the broken trace and dumped the board in some Ferric Chloride.

First JFET PCB

This was a pretty good choice for a first etched PCB, I went through a bunch of layout iterations for each module that would be duplicated over the board, and I finally got something that I liked — the trace layout looked better to me than some of the other options and it was efficient in terms in space usage from left to right. I couldn’t fit a 5th row on the PCB without significantly reducing how many columns I had. I intended on using PCB terminals from Radio Shack (hence the 0.3″ spacing next to the resistors), but they were too bulky so I just soldered some Male-Male jumper wire to hook into the Arduino and the 8-way relay boards I ordered before I decided to start making PCBs. I’ll probably wind up integrating the relay board onto the JFET tester with an ADC and a header to connect directly to the Arduino. At least making PCBs is a cheap hobby, and I’ve always wanted to make SO many PCBs — I’ve always resorted to wiring on standard perfboard with thin wire and a decent amount of solder to work as ‘traces’ for audio amplifiers. PCBs would make things SO much easier — if only I had a small CNC mill to drill all the holes for me!

As you can see, each DUT Cell has gotten smaller with time. The last one got slightly larger to accommodate the RS PCB Terminals, but they’d need even more space to properly fit. They hit the resistor on the cell it’s in and on the one before it.. then there’s little clearance even between the terminals so it’d be hard to insert wires.

I actually picked up an AVR ATMega2560 based board cheap at MicroCenter. I’ve been using AVRs forever, the Arduino IDE just makes things a little easier  in some respects, even if it is a bit more limiting than I’d like. I’m used to using Atmel’s stuff, I’ve been using AVRs since the first ATMegas came out and there was a long lead time on the 16MHz variants, so at least I’m fairly familiar with them and their inner workings. I couldn’t resist buying the ATMega2560 board as it has *16* ADC inputs without using an external multiplexer or ADC. I have a few ADCs laying around, but the only one I could find is a TLC1543IN which wouldn’t work with the Arduino Due without a level shifter as this particular model of the 1543 (IN) is a 5v part, so it would blow up the Due’s 3.3v IO without bi-directional level shifters which I don’t have.. nor do I have signal MOSFETs, and IRF510s in a TO-220 would look ridiculous even in the interim. 🙂

I’ve only physically populated a single row, and I used 1% metal film resistors (again from Radio Shack since they’re right there and I don’t have to wait for things even if I pay through the nose and out the other side of it).  Clearly I’m not an electronics engineer, and my circuit design is probably poor overall for some reason, but the JFETs will (hopefully) not oscillate and we’re only testing two parameters so it should suffice. I measured the resistors to make sure I was reading the bands correctly (it’s been a while and I don’t have a magnifying glass — and damn they’re harder to read than I remember), and my little Fluke thought they were all within +/- 1%. I didn’t want reading variations with 5% resistors.

The process is the same as before. The relays are flipped to measure IDSS or Vpp, and we use a single pin to flip the relays. We’ve just scaled it up some by taking it off of a breadboard. You can see the PCB I printed this time only does 36 FETs at a time. I was trying to minimize the area outside of the center of the board and these are just prototypes so there was no reason to not do so.

Speaking of, I have design decisions to make for my prototypes — either use ATTiny828s that have 4 ADCs and mux them out to 28 for a mere $2.24 each (in TQFP from DigiKey) and put them on board (say with 112 JFETs on a larger board) with serial uplinks or to a control processor either on or off the board. With only 512B of RAM they’d need a separate processor to offload readings as quickly as possible. At least it’s cheaper than a halfway decent ADC and leaves me room to update their firmware and possibly do things a bit differently.

Here’s an example of *90* JFETs in the same board space (4.5″x6.375″), up from 36. They’re packed in tight, but there’s enough clearance everywhere. This one uses 2 pin male headers for each JFET.. routing them to a central place for a ribbon cable would be nice, but would require a two sided layout which I’m not quite ready for yet..

So I’m going to wire the 12 JFETs up to a couple 8-relay boards and see what happens. Hopefully I didn’t screw up the circuit design from my breadboard layout and there’s nothing seriously wrong with the design..

Part 3 incoming, it’s either going to detail a massive failure and/or another upgrade.. hooray?