While alternatives are available, perhaps the simplest method for position detection involves imaging the trapping laser exiting the sample chamber onto a quadrant photodiode. Lateral deflections of the beam are measured similarly to how it is done using atomic force microscopy (AFM).