This paper describes the optimal design of a miniature fiber-optic linear displacement sensor. The sensor consists of a triangular reflective grating and two. displacement, pressure, temperature and electric field. Recently, high precision fiber displacement sensors have received significant attention for applications ranging from industrial to medical fields that include reverse engineering and micro-assembly (Laurence et al.