Design of a Three-Axis Surface Encoder with a Blue-Ray Laser Diode