With the waveform entirely below 0 V, and the High level right at 0 V, I do get an output of about 2V zero to peak. But when I raise the HI part of the waveform to just a little bit above 0V, using the DC offset adjustment of my function generator, the output all but vanishes.
The output should swing to close to 5V, so something is incorrect. Maybe resistor values are incorrect ?
With the input simply grounded, (150K 12k 4k7) Spice gives
Vbb = 680.33099mV
Vbase = 344.21611mV so that means Q1 is comfortably OFF.
When the input lifts to 258mV, the collector has dropped from 5V to ~2.5V
Resistor values are absolutely correct. I don’t rely on color codes. I measure each and every resistor to know absolutely what the resistance value is.
Since you made no mention of a load resistor, I tested without a load resistor and with a load resistor that measures 1.6M ohm. The output values I measured we’re very similar, so the numbers I will report below were measured without any load resistor at all.
With the input grounded, the output is 5.01 V, as measured on my Fluke 8845A.
I put a Kikusui PMC35-3 variable power supply on the input so that I could slowly increase the voltage from 0 V to your recommended 250 mV. Because this is an analog power supply, I cannot get exactly 0.25000 V. However, I was able to increase it to 0.252 V, and with that voltage on the input, the output falls only slightly to 4.851 V.
However, if I continue to increase the input voltage to 326.3 mV, the output will drop to 2.553 V. In other words…
Input=0v, Output=5.0V
Input=252mV, Output=4.851V
Input=326.3mV, Output=2.553V
When I simulate that same circuit, I get this…
Input=0v, Output=5.0v
Input=252mV, Output=3.25v
Input=326.3mV, Output=90.94mV
At this point, I'm not sure we are really making progress. The only thing I can suggest is that I purchase a
dual BC847B to ensure the hFE of both NPNs is the same and then I can breadboard that.
I found 8 part numbers in stock at DigiKey from reputable vendors. Please let me know
which part number I should buy, and I will go proceed with that. Of course, I will also be testing the comparators when they arrive as well.