After continuing to ponder why the analog circuit was not functioning, I decided to play with it a bit more. I found one wrong connection and added a schmitt trigger input to the reset comparator.
The results are encouraging. Obviously it needs some refinement. But this curve set is unmistakable as that of a NPN. The ugly drooping of the collector-emitter bias is likely due to the high output impedance and poor voltage regulation of the passive supply. A voltage follower might solve this issue.
I also redesigned the part that supplies collector current, and thought about how to use it for PNP devices, though my first idea is wrong. The schematic below reflects these changes, including the wrong idea.
After more fiddling around, and some more circuit changes I started to get nicer plots like this:
It looks like I have base bias stability problem. More tinkering on this is sure to come.
Monday, August 26, 2013
Thursday, August 22, 2013
Steps!
So the previous efforts with etching payed off. The circuit works as planned, and while the intervals aren't quite as even as I was hoping, it should be easy to correct with resistor substitution. See below for a scope shot of the ramp output of the summing network and the buffered square waves feeding the decade counter.
Next step is to feed it through an amp with gain variable from 1 to 3 or so, and then a voltage follower, and then I'll really have something.
Next step is to feed it through an amp with gain variable from 1 to 3 or so, and then a voltage follower, and then I'll really have something.
Wednesday, August 21, 2013
I think I need a better curve tracer..
While it has been enlightening to look at some basic I-V curves of two-terminal devices, to ease my experimentation with home made transistors I need something that will step the signal to the third terminal. In the case of cuprous oxide or point-contact transistors this takes the form of a stepped current, and if I do as planned and experiment with crude thin film field effect transistors it would be a stepped voltage.
Even though there are cheaply available commercial solutions, I want to build it myself, of course.
And since I'm really perverse, I'll be relying on analog techniques.
My first go at a design was through using LTSpice, but I have not yet been able get it to work as it does in the simulations. Big Surprise, right? It's certainly not the first time I've been misled by circuit simulators.
The above circuit seemed like a reasonable way to go about things. I use a voltage doubler to create a current pulse once per cycle timed to coincide with the middle of a flat portion of the stepped ramp applied to the base of the device under test - DUT, or Q4 in the schematic. The ramp is generated by the interesting configuration of Q2 and Q1, which are fed by square waves from the comparator U2, buffered by Q3. The basic idea is that one cycle of the square wave, via C2, charges C1 through Q1. This turns on Q2 which reinforces the original voltage on the base of Q1. In theory it should remain steady until another pulse arrives through C2, stepping the voltage higher until the comparator U3 triggers, turning on M2 and shorting the base of Q1 to ground, discharging both C1 and C4, resetting the circuit for another accumulation. In practice the circuit proved very unstable, either ramping up and not discharging, or else discharging and not ramping up. There was a critical setting of R6/R7 that allowed repeated ramping, but there was a varying dead time between each ramp, and it is neccesary to be able to control both the peak ramp voltage and step interval over a wide range.
I've tried to duplicate the problem behavior in simulation, but have been unable so far. The circuit as built, minus the 5V regulator:
I decided a little breakout board for a 16 pin surface mount (SOIC) chip would make a fine test of my ability to create usable single sided PCBs at home. The results were excellent! This is way easier than messing with heat transfers of toner and ferric chloride. Plus, the etchant takes on a lovely emerald green color. Supposedly this mix will not have to be discarded; it can be rejuvenated by re-oxygenation by bubbling air through it or adding more H2O2. A capful of muriatic acid may eventually be needed, says the internet, but only if that pretty green color can't be achieved through oxygenation.
I suppose even the most extreme radical fundamentalist homebrew electronics devotees such as myself can get dragged into the future. All the traces came out fine on the above board, which is my first ever home-built circuit to use surface mount chips. As you can see, I don't currently have a stock of surface mount resistors, but that will change soon as this first attempt went so well for the SOICs. That 5V regulator missing from the previous circuit can be seen attached to this one. Also seen is the oddity of a DIP being attached as if it were a SOIC. Too think of how much more time it takes me to assemble circuits dead-bug style, or Manhattan style, or ugly style, or on perf board, when compared to how fast I made this PCB and how easily these chips when on.. ..and I was already not feeling very well today. If I were to drill a few strategic vias before etching I could even do this for 2 sided boards without much added difficulty.
Even though there are cheaply available commercial solutions, I want to build it myself, of course.
And since I'm really perverse, I'll be relying on analog techniques.
My first go at a design was through using LTSpice, but I have not yet been able get it to work as it does in the simulations. Big Surprise, right? It's certainly not the first time I've been misled by circuit simulators.
It works just fine for a variety of different step intervals and step numbers, in simulation. |
I've tried to duplicate the problem behavior in simulation, but have been unable so far. The circuit as built, minus the 5V regulator:
This was a test of two methods new for me: hand drawing with a sharpie marker, and using 1:1 31% HCL and 3% H2O2, or muriatic acid from a hardware store and hydrogen peroxide from a drugstore. |
Freshly etched bare board. |
half populated next attempt at stepped ramp generator for curve tracer |
Subscribe to:
Posts (Atom)