摘要 |
A method for setting an initial compensation value of a sensor complex module is provided. The method for setting the initial compensation value of the sensor complex module including an acceleration sensor, a memory, and a controller that performs the setting of the initial compensation value, includes the following steps. A preset sensitivity value and an offset value are read from the memory, and an acceleration value is detected using the acceleration sensor. Then, an accelerating-force sensitivity value is calculated using the acceleration value and the offset value, and an accelerating-force error value is calculated using the accelerating-force sensitivity value and the sensitivity value. A gradient error value is calculated using the accelerating-force error value and the acceleration of gravity, and a polarity value is set according to the accelerating-force sensitivity value. The accelerating-force error value, the gradient error value and the polarity value are stored in the memory, and the stored values are set as the initial compensation value.
|