I presume the effects can be reproduced in simulation.
Thanks, but as the attached sim (ltspice) shows, its almost impossible to get it oscillating in the sim.
Adding Anode to cathode capacitance, as well as the RC across the base resistor, did not stop the oscillation.
As such, we will try the attached modification next. These are to slow down the transistor.
(The oscillation does not stop the DALI rail being pulled up and down, but we still want to solve it.)
The oscillation (with no mods) happened with FMMT491A and MMBT222A-7F, but not with BC847B. However, I would like to increase the circuits stability margin even with the BC847B being used.
Incidentally, on the PCB, the TLV431’s anode is “white-wired” to the PCB with a short piece of wire…because the layout guy did the footprint the wrong way round…. I am wondering if the stray inductance of this wire is doing it…….even then, adding stray inductance to the sim doesn’t set it off oscillating.