Patent ID: 8264051

Claim:
A semiconductor device comprising: a sensor element having a plate shape with a surface and including a sensor structure disposed in a surface portion of the sensor element, a peripheral portion, which surrounds the sensor structure, and a connection portion for connecting to an external element; and a plate-shaped cap element bonded to the surface of the sensor element, wherein: the cap element has a silicon substrate, a first insulation film on the silicon substrate, a first conduction contact portion and a wiring pattern portion facing the sensor element; the wiring pattern portion includes: a first wiring layer disposed on the first insulation film; a second insulation film disposed on the first wiring layer; a second wiring layer disposed on the second insulation film; and a second conduction contact portion; the first insulation film has a first opening for exposing the silicon substrate via the first opening; the first conduction contact portion is disposed in the first opening, and electrically connects the silicon substrate and the first wiring layer; the second wiring layer includes a wiring part, which is disposed on the first wiring layer exposed from the second insulation film, and a hermetically sealing part, which has a ring shape and faces the peripheral portion; the second insulation film has a second opening so that the first wiring layer is exposed from the second insulation film in the second opening; the second conduction contact portion is disposed in the second opening; the second conduction contact portion electrically connects the first wiring layer and the hermetically sealing part so that the silicon substrate is electrically coupled with the peripheral portion via the first conduction contact portion, the first wiring layer, the second conduction contact portion and the hermetically sealing part; the hermetically sealing part is bonded to the peripheral portion so that the sensor structure is sealed and accommodated in a space defined by the cap element and the sensor element; the wiring part is coupled with the sensor structure; the connection portion is disposed on an outside of the space; and the wiring part is further coupled with the connection portion so that the sensor structure is coupled with the external element via the connection portion and the wiring part.