Abstract: A procedure and an apparatus for producing an a.c. voltage, in which procedure the a.c. voltage (u.sub.o) is produced via inversion from a d.c. voltage (U.sub.A). The d.c. voltage (U.sub.A) is produced by a generator (4). Moreover, the d.c. voltage (U.sub.A) is measured and stabilized. The frequency of the a.c. voltage is determined by means of an oscillator (9).