An IC for a sensor includes a detection unit which detects an angular velocity signal of a moving object based on a signal from a sensor element, an AD conversion unit which converts an analog signal from the detection unit into a digital signal, and a posture variation calculating unit which calculates a variation in posture of the moving object during a predetermined period based on the signal from the AD conversion unit.