Self-contained Semiconductor Curve Tracer - Page 1
Forum section: electronics / projects

author: ccktek
author_rank: Regular Contributor
timestamp: April 17, 2021, 10:39:53 pm
content: I describe here my semiconductor curve tracer with built-in LCD display. The analog circuitry is based on the Heathkit IT-1121; it and the display are controlled by a C program and gnuplot plotting library running in Linux on a Raspberry Pi. The families of characteristic curves of two transistors can be superimposed in different colors, facilitating matching. The orientations of PNP and NPN displays are the same, allowing for comparison of complimentary pairs. This project is a work in progress in that future improvements such as more annotation on displays may be implemented with time.Searching for a suitable curve tracer, I considered many possibilities including the Tektronix 575-576-577 series. Prices varied from hundreds of dollars for a 575 junker to thousands for a pristine 577, eliminating these classic beauties. Several add-on tracers looked promising but of course require an external oscilloscope, which I wanted to avoid; perhaps one of these could be adapted for a self-contained display. The Heathkit IT-1121 receives favorable comments on various forums, and its specifications are respectable. Or a completely new design would be possible, but why re-invent the wheel? I considered cannibalizing an IT-1121 and using its circuit board in a new enclosure with display and control electronics. Looking ahead I feared that much modification might be required, so I decided to replicate the IT-1121 circuit from scratch and go from there with mods as needed (and there would be many).The first step in the project was therefore building an IT-1121 circuit from the construction manual, which is easily available online. All parts were either available as specified or as substitutes with one exception, the mains transformer. That transformer has multiple windings that supply both power and the sweep signal. A search yielded neither the correct part nor a usable substitute. I managed to come close with a kluge of separate junkbox transformers. The result was a good accessory curve tracer when used with an analog scope.However, the display suffered from two defects. First, the left-to-right trace did not always superimpose perfectly with the right-to-left retrace, giving a double line that Heath calls “looping,” possibly worsened by the incorrect transformer. Second, the intensity of the traces varied significantly and abruptly over their courses. I eventually discovered that this phenomenon was caused by an appalling waveshape deviation from sinusoidal in my mains supply; sudden changes in dv/dt resulted in corresponding changes in intensity on an analog scope.A third problem that would become important later was the unchangeable 120Hz sweep repetition frequency. I eliminated all three problems by replacing the mains sweep generator with a new sawtooth generator circuit. The retrace was so brief that it was invisible on an analog scope; retrace would be suppressed in the digital display via software later. Pulse generator circuitry including Q5 and Q6 was eliminated; pulses are formed in the sawtooth generator and coupled to IC6 via an opto-isolator (the sweep generator floats relative to the main circuit). C11 through C14 were changed from 10uf to 100uf to accommodate lower sweep frequencies.The new sweep circuit eliminated the need for sweep windings on the mains transformer; a single transformer with 56V and 18V windings replaced the kluge. I used standard 3-terminal regulators for all power supply voltages except for 250 volts, for which I used a small boost converter (search “DC-DC Boost Converter Board 8-32V to 45-390V High Voltage Capacitor Charging”). These changes eliminated the need for Q13 through Q16 and associated circuitry.The innocent-looking little boost converter is capable of potentially very dangerous voltage and current. The time-honored troubleshooting technique of brushing one’s bare finger tip around the circuit while it is operating is ill-advised when the boost converter is connected. The dangerous high voltage is of course also available at connections to devices under test.Curves displayed with the IT-1121 show increasing positivity from lower left to upper right for both polarity types. As such, the external oscilloscope positioning controls must be adjusted to place the origin at the bottom left for NPN and upper right for PNP devices. I prefer to view PNP families of curves upside down and backwards so they appear in the same orientation as for NPN. This requirement is met with additional sections to SW3, actually electromechanical relays controlled by the Pi. All sections of SW3 in the modified circuit are relay sections – there is no polarity switch on the front panel.Another relay controlled by the Pi is used to switch between two devices under test. The software allows either device or both of them to be displayed in different colors on the same grid with the same origin, even if they are of different polarities. Complimentary pairs can then be matched, or at least compared quantitatively.I use the ubiquitous MCP3008 ADC with the Raspberry Pi to generate plots on a 7” LCD display. A 74HCT541 buffer allows the MCP3008 to operate at 5 volts in conjunction with the 3.3 volt signal levels of the Pi. This hardware combination may be open to criticism but was straightforward to implement and gets the job done nicely. In retrospect the new Raspberry Pi Pico with its built-in ADCs might have been worth investigating, but it was unavailable at the project’s inception.The software is bare bones – primitive command line communications, no GUI, no error traps. Control via touch screen may be part of future enhancements, but for now I use a 6”x2.5” miniature keyboard/mousepad mounted on the front panel. I initially attempted software in Python with the Matplotlib library; it worked but was abysmally slow. C with gnuplot is superior. There is a trade-off between curve noise and acquisition time; in the current version about 1000 points are acquired in about 1 second, for 100 points per sweep when all 10 sweeps are set. Proportionately less time is required when fewer sweeps are set. A 300 microsecond delay in the program sets the acquisition rate in each sweep. Time for each sweep is set by the .047uf or .22uf capacitor and 1.3M or 220K resistor in the sweep circuit. Acquisition of curves for one or two DUTs can be set for single or continuously repeating. The WiringPi library simplifies and clarifies programming for and wiring of the MCP3008.Recent experience has reminded me that curve tracers like this one are quite capable of destroying even a hefty transistor instantaneously. It is prudent to start a test with the controls at non-threatening settings.Power transistors NTE36 (NPN) (red) and NTE37 (PNP) (blue). These are sold as a complimentary pair. Settings are 20V full scale horizontal, 1A full scale vertical, and 5ma base current steps:Small signal transistors 2N2222 (NPN) (red) and 2N3906 (PNP) (blue). 10V full scale horizontal, 50ma full scale vertical, and .02ma base current steps:Two 2N2222s from same bulk tape. 10V full scale horizontal, 50ma full scale vertical, .02ma base current steps:2N5485 JFET. 20V full scale horizontal, 5ma full scale vertical, -0.2V steps (top trace 0.0V):1N5369 51V zener diode. 100V full scale horizontal, 5ma full scale vertical:Random junkbox LEDs: 5V full scale horizontal, 25ma full scale vertical:

author: bob91343
author_rank: Super Contributor
timestamp: April 18, 2021, 01:33:47 am
content: Did you create a PCB for this project? I would be interested in getting one and building this.

author: ccktek
author_rank: Regular Contributor
timestamp: April 18, 2021, 03:16:12 pm
content: bob91343,You would be welcome to a PCB design if one existed. I used Manhattan style construction for the circuit board.

author: bob91343
author_rank: Super Contributor
timestamp: April 19, 2021, 04:09:15 pm
content: It would be nice to see some pictures. I would love to have such a unit. Good job!

author: ccktek
author_rank: Regular Contributor
timestamp: April 19, 2021, 10:03:45 pm
content: Thanks for the kind words.Its current state is a very ugly mock-up, not suitable for publication. However, here's a pic of the main circuit board, also ugly to most observers but beautiful to its creator; it will go as-is into the final enclosure. Just yesterday I was finally able to meet with my machinist friend who owns a bending brake, and we got started on a custom enclosure -- some pieces shown in the other photo.

author: MathWizard
author_rank: Super Contributor
timestamp: April 20, 2021, 08:30:32 pm
content: Looks like a cool project. I build a couple of basic CT's, but they would need a lot of fine tuning to make useful, and it certainly never measured 2 DUI.A useful CT is on my short list of things to make or get. I'd also love to copy older analog models. I've also been meaning to make some kind of wheatstone bridge type comparator tester for matching BJTs

author: FrancisM
author_rank: Contributor
timestamp: April 21, 2021, 06:45:15 pm
content: ccktek,I like what you did and the way you explain your progress. What I can see is nothing uggly but a lot of work and time to it.The result is self explanatory.My own one built during the first lockdown with parts on hand is way less ambitious voltage-wise and limited to small signal tansistors.And as I like scopes, it needs a scope. Underneath, you can see a somewhat different style...Francis

author: ccktek
author_rank: Regular Contributor
timestamp: April 22, 2021, 03:51:52 am
content: Francis, well done! I've used your same technique, usually when I don't expect much in the way of trouble shooting or modifications.

author: ccktek
author_rank: Regular Contributor
timestamp: August 01, 2021, 06:40:57 pm
content: "It would be nice to see some pictures."Vide infra

author: m3vuv
author_rank: Super Contributor
timestamp: October 18, 2021, 01:55:26 pm
content: can we get the bom and schematic for this?

author: ccktek
author_rank: Regular Contributor
timestamp: October 18, 2021, 03:50:14 pm
content: Quote from: m3vuv on October 18, 2021, 01:55:26 pmThanks for your inquiry. (bom = bill of materials?) For the IT-1121 portion of the project a google search of "it-1121 manual" yields several sources of the IT-1121 schematic and parts list. Schematics of important mods to the IT-1121 are in my initial post. I do not have publish-quality versions of the power supply schematic; it uses common 3-terminal regulators and the boost converter.

author: MathWizard
author_rank: Super Contributor
timestamp: January 20, 2023, 07:37:16 am
content: Yeah ccktek that looks nice, I'll probably make something very similar fairly soon. I need to order some ADC/DAC parts. I have some sheet metal from old DVD players. So I can make a proper front panel too.I made an octopus tracer before, I think I still have it for checking zener's. 1 time I made an R2R ladder step generator, and had that hooked up driving a DUT. That was on a breadboard tho.Here's someone's IT-1121 video for anyone lookinghttps://www.rsp-italy.it/Electronics/Kits/_contents/Heathkit/Kits/Heathkit%20IT-1121%20semicond%20curve%20tracer.pdf

author: ccktek
author_rank: Regular Contributor
timestamp: January 20, 2023, 04:03:58 pm
content: MathWizard, thanks for your link to the IT-1121 repair. The curves he obtains show the annoying “looping” described in the Heath manual. The looping can supposedly be minimized with an adjustment (R5), not described in his video. R5 was not included or necessary in my modified circuit. If I had it to do over, given many mods and adaptations, I would have started from scratch with a new circuit (as you are apparently doing).C’est la vie.Please post progress on your own CT project.