In the present invention, a high-voltage DC/DC converter suitable for powering x-ray tubes and the like provides control of a voltage applied to a resonant circuit at least in part according to a timing of a monitored voltage on the resonator thereby compensating for variations in the parameter stability of the resonant circuit, nonlinearity in the resonant gain curve and frequency dependencies.