During a conventional vitrectomy, surgeons control the cutting function of the vitrector by a foot pedal connected to a vitrectomy machine. In our work, we assigned this task to a simple robotic arm (
Fig. 2c), controlled by a retinal detection algorithm via a microcontroller (Arduino Pro Mini 328; SparkFun Electronics, Niwot, CO, USA). The robotic arm consisted of a 10 cm metallic beam attached to a servomotor (HS-755HB; Hitec RCD, San Diego, CA, USA). The launch of the pedal initiates the cutting function of the vitrector (i.e., guillotine movement). During PPV surgery and on detection of a dangerous situation (e.g., the retina is sucked into the cutter), the foot pedal must be quickly released to prevent a retinal injury. We programmed the robotic arm to release the pedal once the OCT system would detect the presence of retina in front of the vitrectors’ orifice. The detection algorithm was based on the following steps: (a) An interrogating window was selected, z
min to z
max, corresponding to the length of the orifice (400 µm) (
Fig. 3a). The z
min varied from 100 µm to 200 µm according to the positioning offset of each attached probe in respect to the orifice. The z
max was set to z
min + 400 µm. (b) The vitrector was positioned far from the retina (distance z > 5 mm) to acquire and store a reference A-scan, I
ref(z) (
Fig. 3b). (c) We compared I
ref(z), with intraoperative A-scans (
Fig. 3c), I(z), in real time (i.e., 100 Hz or 500 Hz depending on the OCT unit). (d) When at least 2% of the wavenumbers within the interrogated window met the condition I(z) > S x I
ref(z), where S was a user defined parameter, deactivation of the pedal was triggered. Such a programming approach enabled us to interrogate the presence of retina covering at least any 2% of the vitrector's orifice length.
Figure 3d shows typical A-scans collected during vitrectomy on a pig, where I
ref(z) and I(z) can be appreciated. In this example, I(z) corresponds to a PPV maneuver in which a detached retina moved toward the orifice and triggered the deactivation of the pedal.