摘要 |
A magnetic sensor includes a detection portion that includes first and second magnetic resistance elements. Each of the first and second magnetic resistance elements includes a pinned layer whose magnetic direction is fixed in a predetermined direction and a free layer whose magnetic direction changes in accordance with an external magnetic field. A resistance value of each of the first and second magnetic resistance elements changes in accordance with an angle between the magnetization direction of the pinned layer and the magnetization direction of the free layer. The first and second magnetic resistance elements are connected in series in a state where the magnetization directions of the pinned layers are perpendicular to each other. The detection portion outputs a middle point voltage of the first and second magnetic resistance elements as a detection signal. |