A sensor for measuring the relative movement in a selected direction between a first workpiece and a second workpiece, comprising:
- a giant magnetoresistant strip fixed to said first workpiece, wherein said magnetoresistant strip comprises at least one laminate structure, wherein said laminate structure comprises a first hard ferromagnetic or antiferromagnetically-pinned layer, a second magnetic layer over said first hard ferromagnetic or antiferromagnetic layer, wherein said second magnetic layer comprises a softer magnetic material than said first layer, and a conductive layer interposed between and contacting said first and second layers, for preventing essentially all exchange coupling between said first and second layers;
- inducing means for inducing a domain wall, between regions of magnetic fields in said second magnetic layer, wherein said magnetic fields are not aligned with each other, wherein said inducing means is fixed to said second workpiece;
- and
- measuring means for measuring changes in electrical resistance between points on said magnetoresistant strip, thereby measuring the movement of said domain wall in said selected direction, thereby measuring the movement of said second workpiece relative to said first workpiece in said selected direction.