Patent ID: 7504798

Claim:
A controller for controlling a wiper unit including a wiper and an intermittent wipe cycle setting device for setting an intermittent wipe cycle of the wiper, wherein the intermittent wipe cycle setting device is set at a plurality of positions respectively corresponding to different intermittent wipe cycles, the intermittent wipe cycle setting device has a resistance value that changes in accordance with each of the positions, the intermittent wipe cycle setting device includes a voltage divider supplied with reference voltage, the voltage divider includes a fixed resistor and a variable resistor connected in series and respectively having a fixed resistance value and a variable resistance value, and the voltage divider divides the reference voltage in accordance with the ratio of the resistance value on the fixed resistor and the resistance value of the variable resistor to generate the output signal, the intermittent wipe cycle setting device generates an output signal that is in accordance with the change in the resistance value, the controller comprising: a computer, connected to the intermittent wipe cycle setting device, for computing position information of the intermittent wipe cycle setting device from the output signal, wherein: the computer uses a learned value when computing the position information and adjusts the learned value based on the output signal to correct the position information; and the computer initially uses the resistance value of the fixed resistor as the learned value to compute the position information based on the output signal and adjusts the learned value based on the computation result to correct the position information.