[my first post here]
I'm hoping someone here can show me what I'm doing wrong, because I'm getting some screwy results trying to do something really simple.
This is an experiment, for my benefit, measuring the beta of a transistor. Should be simple, right? Drive the DUT (device under test) with a known base current, measure the collector current, divide I
C by I
B and voila. Except no voila here, just a bunch of values that make no sense.
The rig I'm using is this:

Pretty simple: I'm using a current mirror to supply the base current, adjusting it to a small known amount (using 20 μA). I'm using 2 meters, a DMM (cheap one but accurate) for the base current, an analog one for collector current. It's breadboarded on a board that seems to have good connections. Using a fresh 9-volt battery for the tests.
I'll post a table of result values when I do some more systematic tests, but to give you an idea, I tested a 2N2222, applied 20 μA base current, got an I
C of 25 mA. That would be a beta of 1,250, which seems ... unlikely.
Another thing: some of the transistors being tested get really, really hot, even though the I
C would indicate that they're well within their current and power limits. That 100Ω resistor is an attempt to limit current enough to prevent heating; I don't like it being there, and it's probably interfering with accurate measurement.
I tried using a 5-volt supply (well-regulated, using a 7805); the collector current barely registered at all (30 μA vs. 20 μA base current, beta basically zilch).
My understanding of things transistor tells me that in order to make a beta test that's anywhere near accurate, the transistor needs to be within its active region. I'm not sure that's the case here.
My intent here is to teach myself transistor basics through a hands-on experiment; I'd also like to come out of this with a simple, accurate-enough beta test rig to go through transistors and weed out bad ones. (After heating up some of them I'm pretty sure a lot of my 2222s and 3904s are fried!)
So what am I doing wrong here?