The transient surface potential Ψs of an m.o.s. capacitor is regulated to a given value Ψ0 by controlling the gate voltage. Simultaneously, the oxide voltage drop, depletion layer charge and generation current are measured. We present an application of this circuit to the determination of the deep doping profile in a silicon substrate.