This paper presents an innovative variable regulated high voltage power supply (VRHVPS). It has an output voltage ranging from 0V to 500V, for a maximum current of 0.25A. It consists of a switched mode power supply (SMPS) followed by a linear regulator with a power supply rejection ratio (PSSR) of 58dB. The digital control module consists of an 8bit microcontroller, a small digital display, an isolated inter-integrated-circuit ((IC)-C-2) interface with an isolated hall sensor as a current sensor and 12-bit analog to digital converters (ADC) to read the output voltage and current, also a 12bit digital to analog converter (DAC) which controls the linear regulator's output voltage.