An AC current source for capacitance-based displacement measurements