Function and Test Analysis of Tilt Sensor Detection System