Characterization
Before calibration, the position of the sensor needs to be adjusted, first using the vertical micrometer to make the optical flow sensor coincident the equator of the sphere with the optical flow sensor. Then the horizontal position can be adjusted using the horizontal micrometer until we reach a SQUAL value of approximately 50. Several recordings of 5 seconds at 1000 Hz are performed to characterize the perimeter measured by the sensor and establish the relationship between the actual and measured perimeter. The recordings have been divided by rotating the sphere around the yaw and roll axes (Figure 1).
Figure 1. SQUAL value recordings for both axes |
Figure 2. Distribution of the SQUAL value on each axis |
The results show a homogeneous distribution of the SQUAL value depending on the relative distance change (Figure 3).
Figure 3. Relationship between relative displacements and the SQUAL value |
The calibration was performed by repeating several measurements of one revolution for the roll and yaw axes (N=6 and N=5, respectively). For each recording, the sphere has been rotated by one revolution using an external mark.
Figure 4. Recordings of absolute displacements in roll and yaw axes of one revolution |
As can be observed in Figure 4, for both axes the recordings converge towards a final value. The conversion factor between mouse internal units and cm is the average of this absolute final value for both axes (N=11). The average final value is 21,966 for the roll axis and 20,109 mouse internal units for the yaw axis, giving a final average of 21,038 mouse internal units for a perimeter of 61.89 cm, hence a conversion factor of 339.92 mouse internal units per cm.