Patent ID: 11022659

Abstract:
An object of the present invention is to provide a magnetic sensor that can reduce influences of a disturbance magnetic field while ensuring high detection sensitivity. The magnetic sensor includes a sensor chip 20 having an element formation surface 20S on which magnetic detection elements MR3, MR4 are formed, a first magnetic member 31 placed on the element formation surface 20S and having a first height H1 as a height from the element formation surface 20S, and a second magnetic member 32 located on an opposite side of the magnetic detection elements MR3, MR4 to the first magnetic member 31 and having a second height H2 lower than the first height H1. According to the present invention, because the height H2 of the second magnetic member 32 is lower than that of the first magnetic member 31, a detection magnetic field attracted to the second magnetic member 32 can be reduced while a disturbance magnetic field is shielded by the second magnetic member 32. Accordingly, influences of the disturbance magnetic field can be reduced while high detection sensitivity is ensured.