Improved systems, methods, and devices relating to optical fiber scanners are provided. In one aspect, a scanning apparatus includes an optical fiber and a piezoelectric actuator coupled to the optical fiber to deflect a distal end of the optical fiber in a scanning pattern. The apparatus can include drive circuitry coupled to the piezoelectric actuator, sense circuitry electrically coupled to the piezoelectric actuator and the drive circuitry to determine displacement of the piezoelectric actuator, and a processor coupled to the drive circuitry and the sense circuitry to drive the piezoelectric actuator in response to the displacement.