This active clamp design is elegant and simple, and works well to prevent OUT from exceeding the supply voltage (+15V), but fails when IN is low enough to reverse bias Q1's base-emitter junction beyond its reverse-breakdown voltage. When this happens, that junction begins to conduct, and its otherwise perfect behaviour is ruined.
Q2 is just a diode-connected device matching Q1, to obtain a \$1 \times V_{BE}\$ offset.
This \$V_{OUT}\$ vs. \$V_{IN}\$ is what I'd like to see, if Q1's B-E junction didn't ever break down:
However, if I use a transistor whose base-emitter reverse-breakdown voltage is 7V, this is what would happen when IN drops 7V below the base potential of +14.3V:
The problem is clear, that low input potentials (below about 7V here) don't survive intact to OUT.
Edit: Properties that I wish to retain:
Extremely high impedance looking into Q1's emitter. Inputs all the way up to 14.8V won't even know Q1 is there.
Clamping level is precise, within 0.1V of +15V, and easy to "set". This is why I am using BJTs, their \$V_{BE}\$ is so predictable.
A sharp "knee" when the input passes +15V, and Q1 begins to conduct. The transition is much sharper there than a regular diode clamp to a low-impedance source of +14.3V.
Question:
Can anyone suggest a way to avoid or compensate for reverse breakdown, without compromising these virtues?
Are there other designs with similar simplicity, impedance and clamping "sharpness" that do not suffer from this problem?
Update
Some users (Vladimir, Tim Williams) suggested fitting Q1 with collector and emitter reversed. Spehro Pefhany fixed a problem with doing only that, and both Tim and tobalt suggested using a different MOSFET/BJT to shunt. This is what I've done with those ideas:
simulate this circuit – Schematic created using CircuitLab
By reversing Q2, it solves the original problem I had of the base-emitter junction being excessively reverse biased, but it simply moves that problem to the other side. To deal with that, D2 absorbs most of what would have appeared between Q2's base and emitter, and that junction can now never go beyond -3V or so.
Q1 is the new current shunt, but its base-collector junction also suffers from being reverse biased when IN (and consequently Q1's collector) goes negative. That problem is easily solved by D1.
However, something else unexpected happens, which really improves the sharpness of the knee, and flatness of the clamped output. With Q2 reversed, its current gain is now very low, meaning that when clamping occurs, a big chunk of current that exits its emitter is drawn in from the base, via D3. Consequently, the voltage across D3 and Q1's \$V_{BE}\$ now track each other much more closely. I've been able to remove the very stable 0.7V offset provided by the diode-connected transistor, and replace it with D3 to leverage this new behaviour.
A simulation predicts that current from OUT to ground via the clamp remains under 100nA all the way up to 14.9V input, which is better than my original design. The knee is sharper, and OUT never exceeds 100mV above \$V_{REF}\$ all the way up to 50V at IN. Again, better than the original circuit.
Since there are so few stages in the design, there's very little delay between an increase in input potential and the onset of current shunting, and step response is really good.