testNode->setList(NPN);
testNode->setPos(19,20);
testNode->draw();
for each component, so It's pretty straightforward how this can be generalized into lists. Right now two-point components are handled with the one-point component class, but only because the two-point class doesn't yet exist. For the same reason, lines are handled with GL_LINES.
The whole thing actually took an hour or so to type out, and much of that time was devoted to matching grid points to points in the schematic in my notebook. That will not be a problem when the program has an interface. The main thing to note here is how sexy the schematic looks.
The whole thing actually took an hour or so to type out, and much of that time was devoted to matching grid points to points in the schematic in my notebook. That will not be a problem when the program has an interface. The main thing to note here is how sexy the schematic looks.
The circuit itself is fairly straightforward. The left side is two current mirrors. The red transistor is the DUT. depending on its type, one of the the current mirrors supplies a small current to the base, and then current at the collector can be measured via the collector voltage. There is a fixed conversion fact from the difference between collector voltage and supply voltage and the transistor beta given by
(thank you, LaTeX) where alpha_m, Vs, and VBE are for the current mirrors, and Vs is the total voltage from the positive rail to the negative rail.
No comments:
Post a Comment