Patent ID: 7362548

Claim:
A magnetic sensor comprising: a quartz substrate having a roughly square shape; a first X-axis GMR element that is arranged in proximity to a first side of the quartz substrate perpendicular to an X-axis and is inclined by a prescribed angle relative to the first side; a second X-axis GMR element that is arranged in proximity to a second side of the quartz substrate, which is opposite to the first side and is perpendicular to the X-axis, and is inclined by the prescribed angle relative to the second side; a first Y-axis GMR element that is arranged in proximity to a third side of the quartz substrate perpendicular to a Y-axis and is inclined by the prescribed angle relative to the third side; a second Y-axis GMR element that is arranged in proximity to a fourth side of the quartz substrate, which is opposite to the third side and is perpendicular to the Y-axis, and is inclined by the prescribed angle relative to the fourth side; a first pair of permanent magnet films that are connected to both ends of the first X-axis GMR element and are longitudinally aligned in parallel with the first side of the quartz substrate; a second pair of permanent magnet films that are connected to both ends of the second X-axis GMR element and are longitudinally aligned in parallel with the second side of the quartz substrate; a third pair of permanent magnet films that are connected to both ends of the first Y-axis GMR element and are longitudinally aligned in parallel with the third side of the quartz substrate; and a fourth pair of permanent magnet films that are connected to both ends of the second Y-axis GMR element and are longitudinally aligned in parallel with the fourth side of the quartz substrate.