A piezoelectric transducer is driven to mechanically oscillate a mirror at
a mechanical resonant frequency with high precision despite frequency
variations introduced by temperature, tolerances and ageing of
components. Switches are actuated at different times in order to make the
drive frequency correspond to the mechanical resonant frequency.