Control amplitude of excitation of resolver