The accuracy and scale factor of the optical voltage sensor are considerably affected by the gain drift of the phase modulator induced by temperature fluctuation. In this paper, we present a tracking system for the gain drift of the phase modulator based on four-state modulation which provides a sig