Patent ID: 7264395

Claim:
A temperature sensor comprising: a cylindrical metal case; a temperature sensing element, the temperature sensing element being received in a top end of the cylindrical metal case; an installation portion for installing the temperature sensor to a measured member; a three-dimensional substrate, the cylindrical metal case and the installation portion being mounted on the three-dimensional substrate in a vertically standing state, wherein the cylindrical metal case includes a flange portion with an outer diameter enlarged near an opening of the cylindrical metal case and opposite to the top end of the cylindrical metal case, wherein an upper surface of the substrate has a first through-hole provided thereon, the first through-hole being configured to allow the top end of the cylindrical metal ease to be inserted vertically, the cylindrical metal case penetrating through the upper surface of the substrate, wherein the substrate includes a hollow portion receiving the flange portion of the cylindrical metal case, the hollow portion communicating with the first through-hole, the hollow portion being provided immediately below the first through-hole, wherein the substrate includes a second through-hole provided immediately below the hollow portion, the second through-hole being configured to receive the cylindrical metal case, wherein the substrate is integrally formed with at least a hook portion, the book portion being provided immediately below the hollow portion, the hook portion protruding to the inside of the second through-hole, wherein the top end of the cylindrical metal case is inserted through the first through-hole of the substrate, wherein the hollow portion of the substrate receives the flange portion of the cylindrical metal case, wherein the opening of the cylindrical metal case engages with at least the hook portion, so that the cylindrical metal case is fixed to the substrate, wherein a lower surface of the substrate includes a groove configured to receive a harness from the temperature sensing element, and wherein there are provided at least two hook portions including at least the hook portion, the hook portions being disposed in a direction perpendicular to a longitudinal direction of the groove.