Compensation algorithm for initializing yaw rate sensor's zero point offset
First Claim
1. An algorithm stored in a memory for determining the offset value of an electronic sensor such as used in a motor control system comprising the steps of:
- storing in the memory, the maximum and minimum offset values of the sensor as determined at the time of manufacture;
calculating the average of the two stored values to derive an offset value for the sensor representing the predetermined known beginning point of the sensor;
applying voltage to the sensor in response to an initialized signal;
waiting for a predetermined time period after the initialized signal;
measuring the output of the sensor for establishing the reference level of the sensor;
comparing the measured value with both the stored maximum and minimum values of the sensor;
replacing one of the stored values in the memory with the measured value if the measured value is greater than the stored value; and
then recalculating the average of the two stored values to derive and store in the memory, a new offset value for the sensor.
2 Assignments
0 Petitions
Accused Products
Abstract
When a motor vehicle is not in motion, an algorithm for establishing the initial zero point offset values for a yaw rate sensor as may be used in motor vehicle software control systems. The initial values are the manufactured values and are downloaded into the vehicle ECU at the time of the manufacture of the ECU. When the vehicle is waken at the vehicle assembly and the ignition is first turned on, the initial actual value of the zero point offset is stored both as a maximum and minimum value. At subsequent adjusting times when the vehicle is not moving, but the ignition is on, the spread between the maximum and minimum values are checked. If the spread becomes greater than a desired predetermined spread, the value, be it the maximum or minimum value reflects the measured value and the other value is adjusted to be within the desired spread. When the ignition is turned off and the vehicle is not moving, the zero point offset maximum and minimum values are stored in memory. The mean value is calculated to provide the new zero point offset value of the yaw rate sensor when the vehicle ignition is then turned on and the vehicle is not moving.
83 Citations
5 Claims
-
1. An algorithm stored in a memory for determining the offset value of an electronic sensor such as used in a motor control system comprising the steps of:
-
storing in the memory, the maximum and minimum offset values of the sensor as determined at the time of manufacture;
calculating the average of the two stored values to derive an offset value for the sensor representing the predetermined known beginning point of the sensor;
applying voltage to the sensor in response to an initialized signal;
waiting for a predetermined time period after the initialized signal;
measuring the output of the sensor for establishing the reference level of the sensor;
comparing the measured value with both the stored maximum and minimum values of the sensor;
replacing one of the stored values in the memory with the measured value if the measured value is greater than the stored value; and
thenrecalculating the average of the two stored values to derive and store in the memory, a new offset value for the sensor. - View Dependent Claims (2, 3)
3.In the algorithm for determining the offset value of an electronic sensor according to claim 1 additionally including the step determining the state of motion of the vehicle prior to the step of applying voltage to the sensor. -
3. In the algorithm according to claim 1 additionally including the step of measuring difference between the maximum and minimum stored values of the sensor and comparing the difference to a predetermined spread value.
-
- 4. In the algorithm according to claim 4 for storing the last measured value and modifying the other stored value to maintain the difference equal to the predetermined spread value.
Specification