When solar photovoltaic panels, especially large-area solar photovoltaic panel arrays or photovoltaic systems are installed on the ground or water surface, they need to track the sun's movement in real time, adjust the orientation of photovoltaic modules, make the sun shine directly to the light-receiving plane of the photovoltaic panel, and improve the photovoltaic power generation. During installation, the angle should be adjusted according to the local latitude, and during operation, it should also be adjusted according to the seasonal changes. All these require sensors to achieve accurate angle and displacement motion control.