Patent ID: 7394086

Claim:
A magnetic sensor comprising: a plurality of magnetoresistive films each having a band-like shape, which are arranged substantially in parallel with each other; and a plurality of permanent magnet films, which are respectively arranged in proximity to ends of the magnetoresistive films, wherein the permanent magnet films are arranged to join the magnetoresistive films in zigzag patterns such that a first end of a magnetoresistive film is connected with an adjacent magnetoresistive film via one permanent magnet film, and a second end of the magnetoresistive film is connected with another adjacent magnetoresistive film via another permanent magnet film, wherein at least one of the first end and the second end of the magnetoresistive film overlaps with a surface of at least one of permanent magnetic films so as to form a multilayered structure, and wherein each terminal surface of the first end and the second end of the magnetoresistive films is inclined less than 90 degrees relative to an upper surface of one of the permanent magnetic film.