To control the rotation speed. Magnetic metal parts will periodically enter in sensor detection area during device rotation. After that, the sensor will deliver a signal through its NPN output corresponding to device operation frequency in order to be processed for counting and speed detecting.