Patent ID: 7408344

Claim:
A magnetic sensor comprising: a sensing chip having a magnetoresistive element for sensing a magnetic vector; a magnet for biasing the magnetic vector sensed by the magnetoresistive element; a case body having a tongue portion that is made of a non-magnetic material, wherein the sensing chip is disposed integrally on the tongue portion of the case body in a condition that a power terminal and an output terminal of the sensing chip are coupled with a lead frame; and a bottomed cylindrical cap member made of the non-magnetic material with the magnet fittingly inserted therein for protecting the tongue portion having the sensing chip disposed thereon from an external atmosphere, wherein an opening of the cap member covers a tongue supporting portion of the case body with an edge of the opening attached thereto, wherein the sensing chip senses change in the magnetic vector for detecting a behavior of a magnetic body based on a variation of a resistance value of the magnetoresistive element when biasing of the magnetic vector is caused by the magnet in cooperation with the magnetic body that is in motion in a proximity of the sensing chip, and the magnet takes a shape of a flat cylinder that houses the sensing chip in a hollow space bored therein.