A homogeneous magnetic field can be produced in the central region by two annular permanent magnets, and the density of magnetic flux is controlled by changing the angle of the magnetic field produced by the inner annular magnet and that produced by the outer annular magnet.