A current controller includes a pulse width modulation signal outputting circuit,
a saw-tooth-wave signal generating circuit, a command value smoothing circuit,
a detection value amplifying circuit, a deviation integrating circuit, and a current
controlling circuit. The current controlling circuit controls a current caused
to flow through a solenoid on the basis of a saw-tooth-wave signal having the same
period as that of a pulse width modulation signal, and a detection signal generated
by the deviation integrating circuit.