CPC G01C 22/00 (2013.01) [G01P 3/00 (2013.01)] | 10 Claims |
1. A vehicle, comprising:
a cluster configured to generate a travel distance signal that indicates a travel distance detected by a vehicle speed sensor; and
an engine control unit (ECU) configured to:
set a travel distance at a time of an immediately previous key-OFF as a current travel distance when the travel distance signal indicates an initial value at a time of an ignition-ON; and
set a temporary previous travel distance and a temporary current travel distance as a previous travel distance and the current travel distance, respectively, when the temporary previous travel distance prior to a current time point by a predetermined period is greater than or equal to the set current travel distance that is set at the time of an ignition-ON and the temporary current travel distance at the current time point is greater than or equal to the set current travel distance that is set at the time of an ignition-ON;
wherein the ECU is configured to:
set the temporary previous travel distance and the temporary current travel distance as the travel distance at the time of the immediately previous key-OFF when the travel distance signal indicates the initial value at the time of the ignition-ON, or when the temporary previous travel distance and the temporary current travel distance are below the current travel distance that is set at the time of the ignition-ON;
determine whether the travel distance signal received through CAN communication is consistent;
determine that the travel distance signal is valid when a consistency is found; and
finish calculation of the travel distance when a consistency is not found;
thereby minimizing error in cumulative travel distance values.
|