A high voltage power supply for use in a system such as a microfluidics
system, uses a DC--DC converter in parallel with a voltage-controlled
resistor. A feedback circuit provides a control signal for the DC--DC
converter and voltage-controlled resistor so as to regulate the output
voltage of the high voltage power supply, as well as, to sink or source
current from the high voltage supply.