I need a lowpass filter to turn an Arduino PWM output into a proper DC with MINIMUM ripple and drift.
I have to control a photomultiplier-tube (PMT) via a 0-5V DC control voltage that generates the high voltage (HV) needed to drive the PMT.
As the HV follows the 0-5V DC control voltage (CV) according to the equation HV = CV * 250 any fluctuations are scaled up by a factor of 250 and hence are introducing noise and variability in the PMT output.
As the voltage - once set - is not changed frequently, settling time of the DC/filter is uncritical (maybe in the order of 0.5 sec or so).
I was considering an active 2-3 pole filter employing a LM358 OpAmp (I do not have symmetrical power available in the present circuitry hence this consideration).
Has anyone done this already and can help me with a schematic or other hints, dos, donts?
I would like to keep the ripple below 1 mV, as said, settling time is not critical, so I think Rs in the range of 100k and Cs at about 0,47 to 1 µF should work, I'll check out the filter calculator!
I don't know how to add a DAC to the arduino, so I think I go for an OpAmp active 2-pole lopass.
Again, many thanks.