  In this paper, we describe the algorithm to measure the stroke of solenoid
using the electric characteristics of the solenoid, without mechanical
attachments. We also describe the experimental results of controlling the
solenoid stroke at intermediate position.
