The utility model relates to a digitized high voltage direct current power supply, and comprises a main power circuit, a digitized control circuit based on DSP and a control program of host computer based on PC, wherein the main power circuit comprises a three phase rectifying element [1], a soft start element [2], a filter element [3], a resonance inverting element [4], a high frequency and high voltage transformer [5], a doubling circuit [6] and a two-stage voltage divider [7]; the digitized control circuit based on DSP comprises an interface circuit of IPM drive signal, a high voltage feedback element, a resonance overcurrent protection element, a soft start circuit and a serial communication interface circuit. The voltage of power frequency electrical network is converted into DC voltage which is used as busbar voltage by three phase rectification, soft start and filter, and the busbar voltage is converted into 20KHz quasi-sine-wave by the resonance inverting element which is driven by a phase difference computed by the DSP according to feedback signal, and then 0-100Kv AC high voltage is output by the high frequency and high voltage transformer [5] and the doubling circuit [6]. The utility model adopts a host computer as a control device, and outputs the voltage via the control instructions of the DSP, therefore meets the requirements of voltage withstand test of insulation material.