主权项 |
1. A method of setting offset of a hydraulic pressure sensor which senses hydraulic pressure of an object to be sensed, the method comprising:
detecting, by a detector, ignition-off; storing, on a storage device, an ignition-off time point and remaining pressure of the object to be sensed, the remaining pressure being sensed by the hydraulic pressure sensor at the ignition-off time point; detecting, by the detector, whether ignition is turned on or not after the ignition-off; storing, by the storage device, an ignition-on time point, when the ignition-on is detected after the ignition-off; calculating, by a processor, a lapse in time between the ignition-on time point and the ignition-off time point; calculating, by the processor, reduced pressure corresponding to the lapse in time based on the lapse in time; and setting and applying, by the processor, a value obtained by subtracting the reduced pressure from the remaining pressure of the hydraulic pressure sensor, as the offset of the hydraulic pressure sensor. |