Abstract
An electric valve control device is configured to (i) start inputting pulse to a stepping motor to rotate a rotor in a first direction, (ii) obtain a rotation angle of the rotor based on a rotation angle signal and a position of the rotor based on a magnetic-flux-density signal each time pulse is input to the stepping motor, and (iii) stop inputting pulse when a change in the rotation angle of the rotor matches a change pattern information and a position of the rotor is a proximity position or a position nearer a reference position than is the proximity position. The change pattern information includes a change in the rotation angle indicating rotation in a second direction.