A valve controller includes a detector detecting a shutdown command signal
to shutdown an engine, a driving circuit for driving a motor, and a power
source controller. The power source controller turns on the driving
circuit until the predetermined period has passed since the shutdown
command signal is detected. Thus, the valve controller adjusts the valve
opening/closing character in such a manner as to be suitable to an engine
condition.