Patent ID: 7463026

Claim:
A magnetic sensor comprising: a series circuit having a first magnetoresistance element and a second magnetoresistance element, a connecting portion that connects the first magnetic resistance element and the second magnetoresistance element, the connecting portion is operable to output a potential level, wherein resistance values vary with a variation in magnetic field magnitude of an external magnetic field, wherein when a direction of the external magnetic field is a positive direction and a direction opposite to the positive direction is a negative direction, a resistance value of the first magnetoresistance element varies and the resistance value of the second magnetoresistance element does not vary with a variation in magnetic field magnitude of the external magnetic field in the positive direction, wherein the resistance value of the second magnetoresistance element varies and a resistance value of the first magnetoresistance does not vary with a variation in magnetic field magnitude of the external magnetic field in the negative direction; and wherein an increasing or decreasing tendency of the resistance variation of the first magnetoresistance element with the variation in magnetic field magnitude in the positive direction is opposite to an increasing or decreasing tendency of the resistance variation of the second magnetoresistance element with the variation in magnetic field magnitude in the negative direction, with respect to a non-magnetic field state of the external magnetic field.