In general, the best type of filter is a second order Butterworth, but a simple first order filter can do much to reduce controller output jitter and save the life of your valve or variable frequency ...