Magnetic linear
position detector (20, 21), comprising: a
stator (1); and a motion device (2) designed to be movable along a first direction relative to the
stator (1), wherein an element consisting of the elements
stator (1) and motion device (2) is provided with a
magnetic detector (3), wherein the other element consisting of the elements stator (1) and
motion detector (2) is provided with a
magnet (4, 40) which has a first surface (4a, 40a) facing the
magnetic detector (3), wherein the
magnet (4, 40) is magnetized in such a way that on the first surface (4a, 40a) of the
magnet (4, 40) a
magnetization direction changes in an arc shape around a
magnetization center (5, 5a, 5b) in the first surface, and wherein the
magnetic detector (3) is an element whose output changes depending on the direction of a
magnetic field, and wherein the
magnetization of the magnet (4, 40) is obtained by arranging a straight electrical wire (10) orthogonally to the first surface (4a, 40a) at the magnetization center (5, 5a, 5b) and passing a
direct current through the electrical wire (10), characterized by that the magnetization center (5, 5a, 5b) lies within the plane of the first surface (4a), and that a hole is formed in the magnetization center (5, 5a, 5b) to guide the electrical wire (10) through the hole.