Patent ID: 8552720

Claim:
A magnetic sensor comprising: a substrate having a plane surface and a plurality of sloping surfaces; a plurality of soft magnetic films, each soft magnetic film amongst the soft magnetic films being disposed on a corresponding sloping surface of the sloping surfaces and being magnetized according to strength of a magnetic field; and a plurality of detecting devices, each detecting device being disposed on the plane surface and including a free layer and a pinned layer, and being configured to produce a detection output according to magnetization of the free layer and the pinned layer; wherein each soft magnetic film amongst the soft magnetic films is magnetically coupled with the free layer of a corresponding detecting device of the detecting devices, and is disposed on the sloping surface and on the plane surface, the pinned layers of the detecting devices have magnetization directions different from each other, and each of the detecting devices is a magnetoresistive device which is one of a tunneling magnetoresistive device and a giant magnetoresistance device.