I have a circuit that has around 500V on it. I want to reduce the voltage to some sub-circuits. Effectively there is a load that has around 500V and I wish to attenuate this with regulation. A simple emitter follower with degeneration should do the trick. The bjt needs to be on the high side because of the common ground between the different subcircuits.
The only problem is actually programming the base current. I want to avoid having high voltages on a pot that will be used to set the voltage attenuation for safety reasons(else I would just use the pot directly instead of the bjt).
I eventually want to program the base using a uC instead. The load current, which should be irrelevant to the problem, is around 50mA. I don't need full scale range but from about max Vcc(95%+) to around 1/4 Vcc. The main thing is proper attenuation and regulation(which can be done with caps afterwards). It does not have to work "fast" either.
Any ideas?