Patent ID: 8758255

Claim:
A method of imaging an internal structure of a patient from within the internal structure, the method comprising: communicating a control signal to an actuator of an imaging device, the actuator causing oscillation of a movable component of an imaging apparatus positioned in a distal portion of the imaging device to image the internal structure of the patient based on the control signal; receiving a feedback signal from a monitor positioned in the distal portion of the imaging device, the feedback signal being representative of a position of the movable component; processing the feedback signal; adjusting an aspect of the control signal based on processing the feedback signal; and communicating the adjusted control signal to the actuator of the imaging device; wherein the feedback signal is representative of the movable component reaching a boundary of a motion profile of the imaging apparatus, wherein receiving the feedback signal comprises receiving a binary signal, wherein the monitor is a switch, and wherein processing the feedback signal comprises: determining whether the binary signal is valid for each motion cycle of the imaging apparatus; calculating a percentage of motion cycles with valid signals for n motion cycles; and comparing the calculated percentage to a desired percentage.