JP6177018B2 - Semiconductor device, measuring instrument, and manufacturing method of semiconductor device - Google Patents

Semiconductor device, measuring instrument, and manufacturing method of semiconductor device Download PDF

Info

Publication number
JP6177018B2
JP6177018B2 JP2013124892A JP2013124892A JP6177018B2 JP 6177018 B2 JP6177018 B2 JP 6177018B2 JP 2013124892 A JP2013124892 A JP 2013124892A JP 2013124892 A JP2013124892 A JP 2013124892A JP 6177018 B2 JP6177018 B2 JP 6177018B2
Authority
JP
Japan
Prior art keywords
oscillator
semiconductor device
temperature
die pad
lsi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013124892A
Other languages
Japanese (ja)
Other versions
JP2015002211A (en
Inventor
憲吾 武政
憲吾 武政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lapis Semiconductor Co Ltd
Original Assignee
Lapis Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lapis Semiconductor Co Ltd filed Critical Lapis Semiconductor Co Ltd
Priority to JP2013124892A priority Critical patent/JP6177018B2/en
Publication of JP2015002211A publication Critical patent/JP2015002211A/en
Application granted granted Critical
Publication of JP6177018B2 publication Critical patent/JP6177018B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L2224/00Indexing scheme for arrangements for connecting or disconnecting semiconductor or solid-state bodies and methods related thereto as covered by H01L24/00
    • H01L2224/01Means for bonding being attached to, or being formed on, the surface to be connected, e.g. chip-to-package, die-attach, "first-level" interconnects; Manufacturing methods related thereto
    • H01L2224/42Wire connectors; Manufacturing methods related thereto
    • H01L2224/47Structure, shape, material or disposition of the wire connectors after the connecting process
    • H01L2224/48Structure, shape, material or disposition of the wire connectors after the connecting process of an individual wire connector
    • H01L2224/481Disposition
    • H01L2224/48135Connecting between different semiconductor or solid-state bodies, i.e. chip-to-chip
    • H01L2224/48137Connecting between different semiconductor or solid-state bodies, i.e. chip-to-chip the bodies being arranged next to each other, e.g. on a common substrate

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Structures Or Materials For Encapsulating Or Coating Semiconductor Devices Or Solid State Devices (AREA)
  • Lead Frames For Integrated Circuits (AREA)

Description

本発明は、半導体装置、計測機器、及び半導体装置の製造方法に関する。   The present invention relates to a semiconductor device, a measuring instrument, and a method for manufacturing a semiconductor device.

近年、積算電力量を計測する電力メータなどの計測機器において、時間帯別に積算電力量を計測する需要が高まっている。これに伴い、計測機器の内部に、発振子が組み込まれた半導体装置を設けたものが提案されている。このような半導体装置として、リードフレームに集積回路と発振子とを搭載し、これらをモールド樹脂(封止部材)で封止したものが知られている(例えば、特許文献1)。   In recent years, in measuring devices such as a power meter that measures an integrated power amount, a demand for measuring the integrated power amount for each time zone is increasing. Along with this, there has been proposed a semiconductor device in which an oscillator is incorporated in a measuring instrument. As such a semiconductor device, a device in which an integrated circuit and an oscillator are mounted on a lead frame and these are sealed with a mold resin (sealing member) is known (for example, Patent Document 1).

しかしながら、モールド樹脂の封止工程に生じる残留応力や、封止後の温度変化によってモールド樹脂に歪が作用すると、発振子の周波数が変動する虞がある。   However, if a strain acts on the mold resin due to a residual stress generated in the molding resin sealing process or a temperature change after sealing, the frequency of the oscillator may fluctuate.

特開2007−234994号公報JP 2007-234994 A

本発明は、上記の事実を考慮し、発振子の周波数の変動を抑制できる半導体装置を提供することを目的とする。   In view of the above facts, an object of the present invention is to provide a semiconductor device that can suppress fluctuations in the frequency of an oscillator.

請求項1に記載の半導体装置は、ダイパッドの周囲に複数形成されたインナーリードを有するリードフレームと、前記ダイパッドの第1の表面に搭載された発振子と、前記ダイパッドの前記第1の表面とは異なる第2の表面に搭載され、前記発振子と電気的に接続された集積回路と、前記発振子を封止する第1の封止部材と、前記第1の封止部材で封止された前記発振子、及び前記集積回路を封止する第2の封止部材と、を備え、前記第2の封止部材の高さ方向における前記第1の表面から前記インナーリードの厚さの中心までの距離が、前記第2の封止部材の高さ方向における前記第2の表面から前記インナーリードの厚さの中心までの距離よりも長く形成されている。 The semiconductor device according to claim 1, wherein a lead frame having a plurality of inner leads formed around a die pad, an oscillator mounted on a first surface of the die pad, and the first surface of the die pad Are mounted on different second surfaces and are electrically connected to the oscillator, a first sealing member for sealing the oscillator, and sealed with the first sealing member. And a second sealing member that seals the integrated circuit, the center of the thickness of the inner lead from the first surface in the height direction of the second sealing member Is longer than the distance from the second surface in the height direction of the second sealing member to the center of the thickness of the inner lead.

本発明は、上記の構成としたので、発振子の周波数の変動を抑制できる。   Since the present invention has the above configuration, fluctuations in the frequency of the oscillator can be suppressed.

第1実施形態に係る半導体装置を備えた積算電力量計の斜視図である。It is a perspective view of the integrating watt-hour meter provided with the semiconductor device concerning a 1st embodiment. 第1実施形態に係る半導体装置を裏面から見た一部破断図である。It is the partially broken view which looked at the semiconductor device concerning a 1st embodiment from the back. 図2の3−3線断面図である。FIG. 3 is a sectional view taken along line 3-3 in FIG. 2. 第1実施形態に係る発振子を示す分解斜視図である。FIG. 2 is an exploded perspective view showing the resonator according to the first embodiment. 第1実施形態に係る半導体装置のLSIを説明するためのブロック図である。1 is a block diagram for explaining an LSI of a semiconductor device according to a first embodiment. (a)〜(e)は、第1実施形態の半導体装置を製造する製造方法において発振子とLSIとをリードフレーム上に配置してワイヤボンディングする手順を示す説明図である。(A)-(e) is explanatory drawing which shows the procedure which arrange | positions an oscillator and LSI on a lead frame and performs wire bonding in the manufacturing method which manufactures the semiconductor device of 1st Embodiment. 第1実施形態に係る半導体装置を製造する製造方法において発振子を第1の封止樹脂で封止する手順を示す説明図である。FIG. 6 is an explanatory diagram illustrating a procedure for sealing an oscillator with a first sealing resin in the manufacturing method for manufacturing the semiconductor device according to the first embodiment. (a)〜(d)は、第1実施形態に係る半導体装置を製造する製造方法においてリードフレームと発振子とLSIとを第2の封止樹脂で封止する手順を示す説明図である。(A)-(d) is explanatory drawing which shows the procedure which seals a lead frame, an oscillator, and LSI with 2nd sealing resin in the manufacturing method which manufactures the semiconductor device which concerns on 1st Embodiment. 第1実施形態に係る第1周波数補正処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 1st frequency correction process which concerns on 1st Embodiment. 第1実施形態に係る第2周波数補正処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 2nd frequency correction process which concerns on 1st Embodiment. 第1実施形態に係る半導体装置における温度と周波数偏差との関係を示す図である。It is a figure which shows the relationship between the temperature and frequency deviation in the semiconductor device which concerns on 1st Embodiment. 第2実施形態に係る半導体装置のLSIを説明するためのブロック図である。It is a block diagram for demonstrating LSI of the semiconductor device which concerns on 2nd Embodiment. (a)は、第2実施形態に係る半導体装置の発振子のクロック値の一例を示す図であり、(b)は、第2実施形態に係る半導体装置の基準信号発振子のクロック値の一例を示す図である。(A) is a figure which shows an example of the clock value of the oscillator of the semiconductor device which concerns on 2nd Embodiment, (b) is an example of the clock value of the reference signal oscillator of the semiconductor device which concerns on 2nd Embodiment. FIG. 第2実施形態に係る第1周波数補正処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 1st frequency correction process which concerns on 2nd Embodiment. 第2実施形態に係る周波数誤差導出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the frequency error derivation process concerning 2nd Embodiment. 第2実施形態に係る周波数誤差導出処理におけるタイミングチャートであり、(a)は、カウント開始時を示す図であり、(b)は、カウント停止時を示す図である。It is a timing chart in the frequency error derivation processing concerning a 2nd embodiment, (a) is a figure showing the time of a count start, and (b) is a figure showing the time of a count stop. 第2実施形態に係る第2周波数補正処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 2nd frequency correction process which concerns on 2nd Embodiment. 第2実施形態に係る半導体装置のLSIの別例を説明するためのブロック図である。It is a block diagram for demonstrating another example of LSI of the semiconductor device which concerns on 2nd Embodiment. 第2実施形態に係る半導体装置のLSIの別例を説明するためのブロック図である。It is a block diagram for demonstrating another example of LSI of the semiconductor device which concerns on 2nd Embodiment. 第3実施形態に係る半導体装置を裏面から見た一部破断図である。It is the partially broken figure which looked at the semiconductor device concerning a 3rd embodiment from the back. 図20の21−21線断面図である。It is a 21-21 line sectional view of Drawing 20. 第4実施形態に係る半導体装置を裏面から見た一部破断図である。It is the partially broken figure which looked at the semiconductor device concerning a 4th embodiment from the back. 第4実施形態に係る半導体装置のリードフレームを示す平面図である。It is a top view which shows the lead frame of the semiconductor device which concerns on 4th Embodiment.

(第1実施形態)
以下、本発明に係る半導体装置について添付図面を用いて詳細に説明する。
(First embodiment)
Hereinafter, a semiconductor device according to the present invention will be described in detail with reference to the accompanying drawings.

<構成> <Configuration>

図1に示すように、第1実施形態に係る半導体装置24を備える積算電力量計10は、住宅などの外壁100に固定された固定板102の上面に取付けられており、主として、本体部12と、本体部12を覆う透明のカバー14と、本体部12の下部に設けられた接続部16とで構成されている。   As shown in FIG. 1, the integrated watt-hour meter 10 including the semiconductor device 24 according to the first embodiment is attached to the upper surface of a fixed plate 102 fixed to an outer wall 100 such as a house. And a transparent cover 14 that covers the main body 12, and a connection portion 16 provided at the lower part of the main body 12.

接続部16の下方からは、電源側配線18と負荷側配線20とが接続されており、積算電力量計10へ電流を供給している。本体部12は、平面視にて矩形状の箱体であり、本体部12の内部には、後述する半導体装置24、及び半導体装置24から出力された信号に応じて積算電力量を計測する計測手段としての電力量計測回路22が基板(不図示)上に実装されている。なお、図1において、説明の便宜上、電力量計測回路22、及び半導体装置24の大きさを誇張して描いている。   A power supply side wiring 18 and a load side wiring 20 are connected from below the connecting portion 16 to supply current to the integrated watt-hour meter 10. The main body 12 is a rectangular box in a plan view, and the main body 12 includes a semiconductor device 24 to be described later and a measurement for measuring an integrated power amount according to a signal output from the semiconductor device 24. An electric energy measuring circuit 22 as means is mounted on a substrate (not shown). In FIG. 1, for convenience of explanation, the sizes of the electric energy measuring circuit 22 and the semiconductor device 24 are exaggerated.

本体部12の正面には、横長の液晶ディスプレイ15が設けられている。液晶ディスプレイ15には、電力量計測回路22が計測した単位時間当たりの使用電力量や、時間帯別に使用した積算電力量などが表示されている。なお、本実施形態に係る積算電力量計10は、計測手段として電力量計測回路22を用いた電子式の電力量計であるが、これに限らず、例えば、円盤を回転させて電力量を計測する誘導型の電力量計でもよい。   A horizontally long liquid crystal display 15 is provided in front of the main body 12. The liquid crystal display 15 displays the amount of power used per unit time measured by the power amount measuring circuit 22, the amount of accumulated power used for each time zone, and the like. Note that the integrated watt-hour meter 10 according to the present embodiment is an electronic watt-hour meter using the power amount measurement circuit 22 as a measuring unit, but is not limited thereto, and for example, the amount of power is obtained by rotating a disk. An inductive watt-hour meter to be measured may be used.

次に、本実施形態に係る半導体装置24の詳細な構成を説明する。なお、以下の説明において、図2に示す半導体装置24の平面視における左右方向を矢印X方向とし、上下方向を矢印Y方向とし、図3に示す半導体装置24の断面図における高さ方向をZ方向として説明する。図2、及び図3に示すように、半導体装置24の外形形状は、平面視にて矩形状であり、骨格となるリードフレーム26と、リードフレーム26の表面に搭載された発振子28と、リードフレーム26の裏面に搭載された集積回路としてのLSI30と、発振子28を封止する第1の封止樹脂(第1の封止部材)31と、発振子28及びLSI30を封止する第2の封止樹脂32(第2の封止部材)と、を含んで構成されている。   Next, a detailed configuration of the semiconductor device 24 according to the present embodiment will be described. In the following description, the horizontal direction in the plan view of the semiconductor device 24 shown in FIG. 2 is the arrow X direction, the vertical direction is the arrow Y direction, and the height direction in the cross-sectional view of the semiconductor device 24 shown in FIG. This will be described as a direction. As shown in FIGS. 2 and 3, the outer shape of the semiconductor device 24 is a rectangular shape in plan view, and a lead frame 26 serving as a skeleton, an oscillator 28 mounted on the surface of the lead frame 26, An LSI 30 as an integrated circuit mounted on the back surface of the lead frame 26, a first sealing resin (first sealing member) 31 for sealing the oscillator 28, and a first sealing resin for sealing the oscillator 28 and the LSI 30. 2 sealing resin 32 (second sealing member).

リードフレーム26は、銅(Cu)や鉄(Fe)とニッケル(Ni)の合金などの金属からなる平板をプレス機で打ち抜いて形成された板材であり、中央部に設けられたダイパッド26Aと、ダイパッド26Aから対角線上に外側へ延びる吊りリード26Bと、隣り合う吊りリード26Bの間に設けられた複数のリード(端子)38とを含んで構成されている。   The lead frame 26 is a plate material formed by punching a flat plate made of a metal such as an alloy of copper (Cu) or iron (Fe) and nickel (Ni) with a press machine, and a die pad 26A provided in the center portion; A suspension lead 26B extending diagonally outward from the die pad 26A and a plurality of leads (terminals) 38 provided between adjacent suspension leads 26B are configured.

ダイパッド26Aは、平面視にて矩形状であり、このダイパッド26Aには、段差部27が設けられている。段差部27は、ダイパッド26Aの上下方向に延びており、図3に示すように、左から右へ向かって上方に傾斜している。このため、ダイパッド26Aは、段差部27を境にして、上方に位置する第1搭載面26Cと、下方に位置する第2搭載面26Dとに分けられている。なお、段差部27を設けずに平面状のダイパッド26Aとしてもよい。   The die pad 26A has a rectangular shape in plan view, and a step portion 27 is provided on the die pad 26A. The step portion 27 extends in the vertical direction of the die pad 26A, and is inclined upward from left to right as shown in FIG. For this reason, the die pad 26A is divided into a first mounting surface 26C located above and a second mounting surface 26D located below, with the stepped portion 27 as a boundary. In addition, it is good also as the planar die pad 26A, without providing the level | step-difference part 27. FIG.

リード38は、ダイパッド26Aの中央部へ向かって延びる細長の部材であり、ダイパッド26Aの周囲に所定の間隔で複数形成されている。本実施形態では、隣り合う吊りリード26Bの間に16本のリード38が形成されている。また、リード38は、ダイパッド26A側に位置するインナーリード38Aと、半導体装置24の外周端部側に位置するアウターリード38Bと、で構成されており、インナーリード38Aは、ダイパッド26Aより下方となるように、プレス機で押し下げられ、ダイパッド26Aと平行に延びている(図3参照)。また、ダイパッド26Aに最も近いインナーリード38Aの先端部は、めっき膜40で被覆されている。本実施形態では一例として、めっき膜40を銀(Ag)で形成しているが、これに限らず、例えば、金(Au)などの金属でめっき膜を形成してもよい。   The leads 38 are elongated members extending toward the center of the die pad 26A, and a plurality of leads 38 are formed around the die pad 26A at a predetermined interval. In the present embodiment, 16 leads 38 are formed between adjacent suspension leads 26B. The lead 38 includes an inner lead 38A located on the die pad 26A side and an outer lead 38B located on the outer peripheral end side of the semiconductor device 24. The inner lead 38A is located below the die pad 26A. Thus, it is pushed down by the press and extends parallel to the die pad 26A (see FIG. 3). The tip of the inner lead 38A closest to the die pad 26A is covered with the plating film 40. In the present embodiment, as an example, the plating film 40 is formed of silver (Ag). However, the present invention is not limited to this. For example, the plating film may be formed of a metal such as gold (Au).

アウターリード38Bは、第2の封止樹脂32から露出して下方へ屈曲され、先端部がインナーリード38Aと平行になっている。すなわち、ガルウィングリードとなっている。また、アウターリード38Bは、半田めっき膜により被覆されている。半田めっき膜の材質としては、錫(Sn)、錫(Sn)と鉛(Pb)の合金、又は錫(Sn)と銅(Cu)の合金などが用いられる。   The outer lead 38B is exposed from the second sealing resin 32 and bent downward, and the tip is parallel to the inner lead 38A. That is, it is a gull wing lead. The outer lead 38B is covered with a solder plating film. As a material of the solder plating film, tin (Sn), an alloy of tin (Sn) and lead (Pb), an alloy of tin (Sn) and copper (Cu), or the like is used.

ここで、ダイパッド26Aの第1搭載面26Cには、発振子搭載領域42が設けられており、この発振子搭載領域42には、接着剤(接着部材)49を介して発振子28が搭載されている(図3参照)。発振子28は、上下方向を長手方向とした矩形状の電子部品であり、本実施形態では、一般的な電子機器に搭載される汎用の半導体装置24に対して外付け可能な、周波数が32.768kHzの発振子28を用いている。ここで、接着剤49は、発振子28の搭載側の面の全面と接着するように塗布されており、好ましくは、口述する第1の封止樹脂31と同じ弾性率を有する接着剤で接着されている。   Here, an oscillator mounting area 42 is provided on the first mounting surface 26C of the die pad 26A, and the oscillator 28 is mounted on the oscillator mounting area 42 via an adhesive (adhesive member) 49. (See FIG. 3). The oscillator 28 is a rectangular electronic component whose longitudinal direction is the vertical direction. In the present embodiment, the frequency is 32 that can be externally attached to a general-purpose semiconductor device 24 mounted on a general electronic device. .768 kHz oscillator 28 is used. Here, the adhesive 49 is applied so as to adhere to the entire surface on the mounting side of the oscillator 28, and is preferably bonded with an adhesive having the same elastic modulus as the first sealing resin 31 to be dictated. Has been.

図4に示すように、発振子28は、振動片44と、振動片44を収容するパッケージ本体46と、蓋体48と、を含んで構成されており、平面視において矩形形状をしている。振動片44は、人工水晶で形成された音叉型の水晶片の表面に励起電極44Aを成膜した水晶振動片であり、励起電極44Aに電流を流すと、圧電効果により振動片44が発振する。ここで、振動片44としては、音叉型に限らず、ATカットの水晶片を用いてもよい。また、水晶の他に、タンタル酸リチウム(LiTaO)やニオブ酸リチウム(LiNbO)で形成した振動片を用いてもよい。さらに、シリコンで形成されたMEMS振動片を用いてもよい。 As shown in FIG. 4, the oscillator 28 includes a vibrating piece 44, a package main body 46 that houses the vibrating piece 44, and a lid 48, and has a rectangular shape in plan view. . The resonator element 44 is a crystal resonator element in which an excitation electrode 44A is formed on the surface of a tuning-fork type crystal element made of artificial quartz. When a current is passed through the excitation electrode 44A, the resonator element 44 oscillates due to the piezoelectric effect. . Here, the vibrating piece 44 is not limited to a tuning fork type, and an AT-cut crystal piece may be used. In addition to quartz, a resonator element formed of lithium tantalate (LiTaO 3 ) or lithium niobate (LiNbO 3 ) may be used. Further, a MEMS vibrating piece made of silicon may be used.

パッケージ本体46は、上部が開口した箱体であり、長手方向一端側の底部には、振動片44が固定される台座47が形成されている。この台座47に振動片44の基部を固定して、振動可能とし、真空状態でパッケージ本体46と蓋体48とを接合することで、振動片44が気密封止される。また、パッケージ本体46の下面の両端には、振動片44の励起電極44Aと電気的に接続された端子としての外部電極34が形成されている。   The package body 46 is a box having an open top, and a pedestal 47 to which the vibration piece 44 is fixed is formed at the bottom on one end side in the longitudinal direction. The base of the vibrating piece 44 is fixed to the pedestal 47 so that the vibrating piece 44 can vibrate, and the package body 46 and the lid 48 are joined in a vacuum state, whereby the vibrating piece 44 is hermetically sealed. In addition, external electrodes 34 as terminals electrically connected to the excitation electrode 44 </ b> A of the resonator element 44 are formed at both ends of the lower surface of the package body 46.

外部電極34は、パッケージ本体46の幅と同じ幅に形成されており、図2に示すように、外部電極34の大きさは、後述するLSI30に形成された電極パッド50、及び発振子用電極パッド54より大きくなっている。また、外部電極34よりダイパッド26Aの開口部26Cの方が大きく形成されている。   The external electrode 34 is formed to have the same width as the width of the package body 46. As shown in FIG. 2, the size of the external electrode 34 is set to an electrode pad 50 formed on an LSI 30 to be described later, and an oscillator electrode. It is larger than the pad 54. Further, the opening 26C of the die pad 26A is formed larger than the external electrode 34.

図2及び図3に示すように、ダイパッド26Aの第2搭載面26Dには、接着材(不図示)を介して集積回路又は半導体チップとしてのLSI30が搭載されている。LSI30は、矩形状で薄肉の電子部品であり、LSI30の下面と発振子28の下面とが略同一の高さとなっている。   As shown in FIGS. 2 and 3, an LSI 30 as an integrated circuit or a semiconductor chip is mounted on the second mounting surface 26D of the die pad 26A via an adhesive (not shown). The LSI 30 is a rectangular and thin electronic component, and the lower surface of the LSI 30 and the lower surface of the oscillator 28 have substantially the same height.

矩形形状をなすLSI30の各辺に沿った下面の外周端部には、LSI30の内部の配線と電気的に接続された複数の電極パッド50が設けられている。電極パッド50は、アルミ(Al)や銅(Cu)などの金属で形成されており、LSI30の各辺に16個ずつ設けられている。なお、電極パッド50の数は、各辺で同じでもよいし、後述する発振子用電極パッド54が設けられる辺は少なくするまたは多くするなど、異なるようにしてもよい。また、電極パッド50はそれぞれ、ボンディングワイヤ52によりインナーリード38Aと接続されている。なお、本実施形態では、電極パッド50の数は、リード38の数と一致するようにLSI30の各辺に16個ずつ設けられていたが、これに限らず、リード38の数より多く設けて他の用途に使用してもよい。   A plurality of electrode pads 50 electrically connected to the wiring inside the LSI 30 are provided at the outer peripheral end of the lower surface along each side of the rectangular LSI 30. The electrode pads 50 are made of metal such as aluminum (Al) or copper (Cu), and 16 electrode pads 50 are provided on each side of the LSI 30. The number of electrode pads 50 may be the same on each side, or may be different, for example, by reducing or increasing the number of sides on which an oscillator electrode pad 54 described later is provided. Each electrode pad 50 is connected to the inner lead 38 </ b> A by a bonding wire 52. In the present embodiment, 16 electrode pads 50 are provided on each side of the LSI 30 so as to match the number of leads 38. However, the number of electrode pads 50 is not limited to this, and more than the number of leads 38 is provided. It may be used for other purposes.

LSI30の発振子28側の外周端部には、電極パッド50とは別に発振子用電極パッド54が設けられている。発振子用電極パッド54は、LSI30の上下方向の中央部に2個設けられており、電極パッド50の間に位置している。すなわち、中央部に発振子用電極パッド54の配置領域が形成され、この中央部から発振子用電極パッド54が設けられた辺の終端までの領域にそれぞれと、残りの三辺に電極パッド50配置領域が形成されている。また、発振子電極パッド54は、発振子28の外部電極34とボンディングワイヤ52で接続されている。なお、ボンディングワイヤは、金(Au)、銅(Cu)等の金属からなる線状の導電部材である。   In addition to the electrode pad 50, an oscillator electrode pad 54 is provided on the outer peripheral end of the LSI 30 on the oscillator 28 side. Two oscillator electrode pads 54 are provided in the center of the LSI 30 in the vertical direction, and are located between the electrode pads 50. That is, a region where the oscillator electrode pad 54 is disposed is formed at the center, and the electrode pad 50 is provided on each of the regions from the center to the end of the side where the electrode pad 54 is provided, and on the remaining three sides. An arrangement region is formed. The oscillator electrode pad 54 is connected to the external electrode 34 of the oscillator 28 by a bonding wire 52. The bonding wire is a linear conductive member made of a metal such as gold (Au) or copper (Cu).

LSI30の上下方向の中央部に設けられた2つの発振子用電極パッド54は、同じ辺に設けられた電極パッド50から離して設けられている。換言すると、発振子用電極パッド54と、発振子用電極パッド54と隣接する電極パッド50との間の距離は、電極パッド50間の距離よりも長くなっている。   The two oscillator electrode pads 54 provided at the center in the vertical direction of the LSI 30 are provided apart from the electrode pads 50 provided on the same side. In other words, the distance between the oscillator electrode pad 54 and the electrode pad 50 adjacent to the oscillator electrode pad 54 is longer than the distance between the electrode pads 50.

なお、発振子用電極パッド54と隣接する電極パッド50の間の距離を電極パッド50間の距離と等しくしておき、発振子用電極パッド54と隣接する電極パッド50をワイヤボンディングしないことで、ワイヤボンディングされた電極パッド50と発振子用電極パッド54との間の距離を、ワイヤボンディングされた電極パッド50間の距離よりも長くするようにしてもよい。換言すると、LSI30の電極パッド50上においては、電極パッド50とインナーリード38Aとを接続するボンディングワイヤ52間の距離よりも、発振子電極パッド54と外部電極34とを接続するボンディングワイヤ52と電極パッド50とインナーリード38Aとを接続するボンディングワイヤ52との距離のほうが長くなっている。   The distance between the electrode pad for the oscillator 54 and the adjacent electrode pad 50 is made equal to the distance between the electrode pads 50, and the electrode pad 50 adjacent to the oscillator electrode pad 54 is not wire-bonded. The distance between the wire-bonded electrode pad 50 and the oscillator electrode pad 54 may be longer than the distance between the wire-bonded electrode pads 50. In other words, on the electrode pad 50 of the LSI 30, the bonding wire 52 and the electrode that connect the oscillator electrode pad 54 and the external electrode 34 rather than the distance between the bonding wire 52 that connects the electrode pad 50 and the inner lead 38 </ b> A. The distance between the pad 50 and the bonding wire 52 that connects the inner lead 38A is longer.

ここで、発振子用電極パッド54と外部電極34とを接続しているボンディングワイヤ52と、電極パッド50とインナーリード38Aとを接続しているボンディングワイヤ52は、立体交差しており、図3に示すように、電極パッド50とインナーリード38Aとを接続しているボンディングワイヤ52は、発振子用電極パッド54と外部電極34とを接続しているボンディングワイヤ52を跨ぐようにして形成されている。これにより、ボンディングワイヤ52の短絡を防止できる。   Here, the bonding wire 52 connecting the oscillator electrode pad 54 and the external electrode 34 and the bonding wire 52 connecting the electrode pad 50 and the inner lead 38A cross three-dimensionally, and FIG. As shown, the bonding wire 52 connecting the electrode pad 50 and the inner lead 38A is formed so as to straddle the bonding wire 52 connecting the oscillator electrode pad 54 and the external electrode 34. Yes. Thereby, a short circuit of the bonding wire 52 can be prevented.

また、LSI30の中心と直方体形状の発振子28の中心とがX軸上で略一致するように平行に配置されている。すなわち、発振子28の中心のX軸からのY軸方向へのずれ幅は、中央部のY軸方向の幅よりも狭い。そのような配置状態において、LSI30の任意の一辺の中央付近に設けられた発振子用電極パッド54と、発振子28の長手方向の両端に離して配置した外部電極34とをボンディングワイヤ52で接続している。それと共に、発振子用電極パッド54を挟むように並べて配置された電極パッド50と、電極パッド50とY軸方向に平行に並んでいるインナーリード38Aとをボンディングワイヤ52で接続している。   The center of the LSI 30 and the center of the rectangular parallelepiped oscillator 28 are arranged in parallel so as to substantially coincide on the X axis. That is, the deviation width from the X axis at the center of the oscillator 28 in the Y axis direction is narrower than the width in the Y axis direction at the center. In such an arrangement state, the oscillator electrode pad 54 provided near the center of any one side of the LSI 30 and the external electrodes 34 arranged at both ends in the longitudinal direction of the oscillator 28 are connected by the bonding wires 52. doing. At the same time, the electrode pads 50 arranged so as to sandwich the oscillator electrode pad 54 and the electrode pads 50 and the inner leads 38A arranged in parallel in the Y-axis direction are connected by a bonding wire 52.

さらに、発振子用電極パッド54が電極パッド50から離して設けられているため、電極パッド50とインナーリード38Aとを接続するボンディングワイヤ52は、発振子用電極パッド54と外部電極34とを接続するボンディングワイヤ52の発振子28より低くなった部分を通過することとなる。すなわち、発振子用電極パッド54と外部電極34とを接続するボンディングワイヤ52の頂点付近を通過して交差することを回避でき効率的に立体交差させることができる。   Furthermore, since the oscillator electrode pad 54 is provided apart from the electrode pad 50, the bonding wire 52 that connects the electrode pad 50 and the inner lead 38A connects the oscillator electrode pad 54 and the external electrode 34. The portion of the bonding wire 52 that is lower than the oscillator 28 passes through. In other words, it is possible to avoid crossing the vicinity of the apex of the bonding wire 52 that connects the oscillator electrode pad 54 and the external electrode 34, and to efficiently make a three-dimensional intersection.

また、発振子28の外部電極34におけるボンディングワイヤ52の接続位置は、X軸方向においては、発振子28の中心位置よりインナーリード38A側にずれている。このように接続することで、ボンディングワイヤ52がLSI30の端部に接触することを低減することができる。一方X軸方向においては、外部電極34の中心より発振子28の中心方向にずれている。このように接続することで、電極パッド50とインナーリード38Aとを接続するボンディングワイヤ52との交差回数を減らすことが可能である。   Further, the connecting position of the bonding wire 52 on the external electrode 34 of the oscillator 28 is shifted from the center position of the oscillator 28 to the inner lead 38A side in the X-axis direction. By connecting in this way, it can reduce that the bonding wire 52 contacts the edge part of LSI30. On the other hand, in the X-axis direction, the center of the oscillator 28 is shifted from the center of the external electrode 34. By connecting in this way, it is possible to reduce the number of times of intersection between the electrode pad 50 and the bonding wire 52 that connects the inner lead 38A.

ここで、発振子28は、第1の封止樹脂31で封止されている。第1の封止樹脂31は、内部に空隙を設けないように充填されており、発振子28のダイパッド26Aに搭載された搭載面以外の面を覆っている。また、第1の封止樹脂31は、発振子用電極パッド54と外部電極34とを接続するボンディングワイヤ52の一部も覆っている。なお、第1の封止樹脂31の厚みは、半導体装置24のサイズに影響を与えない程度に厚く形成されている。また、本実施形態では、第1の封止樹脂31は、後述する第2の封止樹脂32より弾性率が低く、100MPa以下の低弾性率の材料を用いている。   Here, the oscillator 28 is sealed with the first sealing resin 31. The first sealing resin 31 is filled so as not to provide a gap inside, and covers a surface other than the mounting surface mounted on the die pad 26 </ b> A of the oscillator 28. The first sealing resin 31 also covers a part of the bonding wire 52 that connects the oscillator electrode pad 54 and the external electrode 34. Note that the thickness of the first sealing resin 31 is formed so as not to affect the size of the semiconductor device 24. In the present embodiment, the first sealing resin 31 is made of a material having a lower elastic modulus than that of a second sealing resin 32 described later and a low elastic modulus of 100 MPa or less.

発振子28、LSI30、及びリードフレーム26は、第2の封止樹脂32により封止されており、半導体装置24の外形が形成されている。第2の封止樹脂32は、内部に空隙を設けないように充填されており、第2の封止樹脂32の高さは、インナーリード38の高さの2倍以上の高さとなっている。換言すると、第2の封止樹脂32の発振子28搭載側の表面からインナーリード38の中心までの距離は、第2の封止樹脂32のLSI30搭載側の表面からインナーリード38の中心までの距離よりも長い。また、第2の封止樹脂32のLSI30搭載側の表面からダイパッド26の中心までの距離は、第2の封止樹脂32のLSI30搭載側の表面からインナーリード38までの距離よりも長い。なお、本実施形態では、第2の封止樹脂32として、シリカ系の充填材を含有した熱硬化性のエポキシ樹脂を用いているが、これに限らず、例えば、熱可塑性の樹脂を用いてもよい。また、第2の封止樹脂32は、第1の封止樹脂31より弾性率が高い材料とされている。   The oscillator 28, the LSI 30, and the lead frame 26 are sealed with a second sealing resin 32, and the outer shape of the semiconductor device 24 is formed. The second sealing resin 32 is filled so as not to provide a gap therein, and the height of the second sealing resin 32 is at least twice the height of the inner lead 38. . In other words, the distance from the surface of the second sealing resin 32 on the oscillator 28 mounting side to the center of the inner lead 38 is the distance from the surface of the second sealing resin 32 on the LSI 30 mounting side to the center of the inner lead 38. Longer than the distance. Further, the distance from the surface on the LSI 30 mounting side of the second sealing resin 32 to the center of the die pad 26 is longer than the distance from the surface on the LSI 30 mounting side of the second sealing resin 32 to the inner lead 38. In the present embodiment, a thermosetting epoxy resin containing a silica-based filler is used as the second sealing resin 32. However, the present invention is not limited to this. For example, a thermoplastic resin is used. Also good. Further, the second sealing resin 32 is a material having a higher elastic modulus than the first sealing resin 31.

次に、LSI30の内部の構成について説明する。図5に示すように、LSI30には、発振回路51、分周回路53、計時回路56、温度センサ58、制御部60、及びレジスタ部70が内蔵されている。発振回路51は、発振子28と接続されており、発振子28を発振させる。分周回路53は、発振子28から出力された信号(本実施形態では、32.768kHzの周波数)を分周して、所定のクロック(例えば1Hz)にする。計時回路56は、分周回路53により分周された信号に基づいて時間を計測し、制御部60へ時間を伝達する。温度センサ58は、LSI30の温度を測定し、制御部60へ伝達する。なお、LSI30の近傍に同一リードフレームに配置させて、電気的にもLSI30と接続されている発振子28の温度はLSI30の温度と同一視することが可能である。すなわち、温度センサ58は、LSI30の周辺に配置された発振子28の温度を精度良く測定することが可能である。制御部60は、計時回路56が計測した時間に基づいて、電力量計測回路22が計測した単位時間当たりの積算電力量などを液晶ディスプレイ15へ表示させる(図1参照)。レジスタ部70は、発振子28の発振周波数を補正する際に使用される各種データを格納するための複数のレジスタから構成される。なお、当該複数のレジスタについては後述する発振周波数の補正の説明において詳細に説明する。また、LSI30には、この他にも演算を行う演算回路や、内部電源が内蔵されている。   Next, the internal configuration of the LSI 30 will be described. As shown in FIG. 5, the LSI 30 includes an oscillation circuit 51, a frequency dividing circuit 53, a time measuring circuit 56, a temperature sensor 58, a control unit 60, and a register unit 70. The oscillation circuit 51 is connected to the oscillator 28 and causes the oscillator 28 to oscillate. The frequency divider 53 divides the signal output from the oscillator 28 (in this embodiment, a frequency of 32.768 kHz) to obtain a predetermined clock (for example, 1 Hz). The time measuring circuit 56 measures time based on the signal divided by the frequency dividing circuit 53 and transmits the time to the control unit 60. The temperature sensor 58 measures the temperature of the LSI 30 and transmits it to the control unit 60. Note that the temperature of the oscillator 28 that is disposed on the same lead frame in the vicinity of the LSI 30 and is electrically connected to the LSI 30 can be regarded as the same as the temperature of the LSI 30. That is, the temperature sensor 58 can accurately measure the temperature of the oscillator 28 disposed around the LSI 30. Based on the time measured by the time measuring circuit 56, the controller 60 causes the liquid crystal display 15 to display the accumulated power amount per unit time measured by the power amount measuring circuit 22 (see FIG. 1). The register unit 70 includes a plurality of registers for storing various data used when correcting the oscillation frequency of the oscillator 28. The plurality of registers will be described in detail in the description of oscillation frequency correction described later. In addition to this, the LSI 30 incorporates an arithmetic circuit for performing arithmetic operations and an internal power supply.

<製造手順>
以下、半導体装置24の製造手順について説明する。
先ず、図6(a)に示すように、リードフレーム26を、インナーリード38Aが上方に、ダイパッド26Aが下方に位置するように、ボンディング装置1の載置台2に載置する。なお、載置台2には、ダイパッド26Aの第2搭載面26Dを支持するための段差8が形成されている。また、発振子28は、外部電極34を上方に向けた状態でテープ上のパッケージ29に封入されて搬送されてくる。なお、リードフレーム26には、予めプレス加工等によって段差部27を形成しておく。
<Manufacturing procedure>
Hereinafter, a manufacturing procedure of the semiconductor device 24 will be described.
First, as shown in FIG. 6A, the lead frame 26 is mounted on the mounting table 2 of the bonding apparatus 1 so that the inner lead 38A is positioned above and the die pad 26A is positioned below. The mounting table 2 is formed with a step 8 for supporting the second mounting surface 26D of the die pad 26A. The oscillator 28 is encapsulated and transported in a package 29 on the tape with the external electrode 34 facing upward. The lead frame 26 is previously formed with a stepped portion 27 by press working or the like.

次に、図6(b)に示すように、パッケージ29を開封し、ピッカー4で発振子28を取り出し、図6(c)に示すように、発振子28の外部電極34が上方を向くようにダイパッド26Aの第1搭載面26Cに発振子28を配置し、接着剤49で第1搭載面26Cに固定する。なお、発振子28が、外部電極34を下方に向けた状態でパッケージ29に封入されているときは、ピッカー4として回転機構付きのものを用い、ピッカー4で発振子28を取り出した後、回転機構で発振子28を上下反転させ、外部電極34を上方に向けてからダイパッド26Aに載置するのが好ましい。   Next, as shown in FIG. 6B, the package 29 is opened, the oscillator 28 is taken out by the picker 4, and the external electrode 34 of the oscillator 28 faces upward as shown in FIG. 6C. The oscillator 28 is disposed on the first mounting surface 26C of the die pad 26A, and is fixed to the first mounting surface 26C with an adhesive 49. When the oscillator 28 is enclosed in the package 29 with the external electrode 34 facing downward, the picker 4 having a rotating mechanism is used, and after the oscillator 28 is taken out by the picker 4, it is rotated. It is preferable to place the oscillator 28 upside down by the mechanism and place the external electrode 34 on the die pad 26 </ b> A after facing the upper side.

発振子28をダイパッド26Aの第1搭載面26Cに固定した後、図6(d)に示すように、ダイパッド26Aの第2搭載面26Dに、LSI30を、電極パッド50と発振子用電極パッド54とが上方を向くように接着剤(不図示)で固定する。なお、第2搭載面26Dは第1搭載面26Cと平面視で重ならないように形成されているから、LSI30も平面視で発振子28に重ならないように固定される。また、LSI30と発振子28とはダイパッド26Aにおける同じ側の面に固定される。   After the oscillator 28 is fixed to the first mounting surface 26C of the die pad 26A, as shown in FIG. 6D, the LSI 30 is connected to the second mounting surface 26D of the die pad 26A, the electrode pad 50, and the electrode pad 54 for the oscillator. And are fixed with an adhesive (not shown) so that they face upward. Since the second mounting surface 26D is formed so as not to overlap the first mounting surface 26C in plan view, the LSI 30 is also fixed so as not to overlap the oscillator 28 in plan view. Further, the LSI 30 and the oscillator 28 are fixed to the same side surface of the die pad 26A.

LSI30を固定した後、図6(e)に示すように、LSI30の電極パッド50とリードフレーム26のインナーリード38Aとをボンディングワイヤ52で接続すると共に、LSI30の発振子用電極パッド54と発振子28の外部電極34とをボンディングワイヤ52で接続する。その際に、LSI30の電極パッド50とリード38とを接続するボンディングワイヤ52が、LSI30の発振子用電極パッド54と発振子28の外部電極34とを接続するボンディングワイヤ52を跨ぐように接続する。   After the LSI 30 is fixed, as shown in FIG. 6E, the electrode pad 50 of the LSI 30 and the inner lead 38A of the lead frame 26 are connected by the bonding wire 52, and the oscillator electrode pad 54 of the LSI 30 and the oscillator are connected. 28 external electrodes 34 are connected by bonding wires 52. At this time, the bonding wire 52 connecting the electrode pad 50 of the LSI 30 and the lead 38 is connected so as to straddle the bonding wire 52 connecting the oscillator electrode pad 54 of the LSI 30 and the external electrode 34 of the oscillator 28. .

次に、図7に示すように、発振子28の上方からディスペンサー500で第1の封止樹脂31を吐出して、発振子28を封止する。このとき、吐出する第1の封止樹脂31の吐出量を制御することで、第1の封止樹脂31の厚みを変更できる。第1の封止樹脂31で発振子28を封止した後、加熱して第1封止樹脂31を硬化させる。   Next, as shown in FIG. 7, the first sealing resin 31 is discharged from above the oscillator 28 by the dispenser 500 to seal the oscillator 28. At this time, the thickness of the first sealing resin 31 can be changed by controlling the discharge amount of the first sealing resin 31 to be discharged. After the oscillator 28 is sealed with the first sealing resin 31, the first sealing resin 31 is cured by heating.

次に、半導体装置24を第2の封止樹脂32で封止する手順について説明する。
先ず、図8(a)に示すように、半導体装置24を、リードフレーム26(ダイパッド26A)の第1搭載面26Cが上方に位置し、第2搭載面26Dが下方に位置するように金型5のキャビティ6内部に固定する。このとき、LSI30が搭載された側が、発振子28が搭載された側よりも、金型5の注入口7の近くに位置すると共に、LSI30が搭載された部分が、キャビティ6の高さ方向中心付近に位置するように、半導体装置24を配置することが好ましい。又、半導体装置24は、アウターリード38Bが金型5の外側に突出するように配置される。
Next, a procedure for sealing the semiconductor device 24 with the second sealing resin 32 will be described.
First, as shown in FIG. 8A, the semiconductor device 24 is molded so that the first mounting surface 26C of the lead frame 26 (die pad 26A) is positioned above and the second mounting surface 26D is positioned below. 5 is fixed inside the cavity 6. At this time, the side on which the LSI 30 is mounted is located closer to the injection port 7 of the mold 5 than the side on which the oscillator 28 is mounted, and the portion on which the LSI 30 is mounted is the center in the height direction of the cavity 6. It is preferable to arrange the semiconductor device 24 so as to be located in the vicinity. Further, the semiconductor device 24 is arranged such that the outer lead 38 </ b> B protrudes outside the mold 5.

半導体装置24がキャビティ6の内部に固定されたら、図8(b)において矢印aで示すように、リードフレーム26の下面に沿って設けられた注入口7から第2の封止樹脂32を注入する。注入口7から注入された第2の封止樹脂32は、図8(c)の矢印bに示すように、リードフレーム26(ダイパッド26A)の上方と下方とに均等に流れ込む。   When the semiconductor device 24 is fixed inside the cavity 6, as shown by an arrow a in FIG. 8B, the second sealing resin 32 is injected from the injection port 7 provided along the lower surface of the lead frame 26. To do. The second sealing resin 32 injected from the injection port 7 flows evenly above and below the lead frame 26 (die pad 26A) as shown by the arrow b in FIG.

その後、図8(d)の矢印cで示すように、ダイパッド26Aの下方を流れる第2の封止樹脂32は、ダイパッド26Aの上方を流れる第2の封止樹脂32よりも流速が遅くなる。このようにして、第2の封止樹脂32が下方に優先的に充填されるから、リードフレーム26(ダイパッド26A)は、第2の封止樹脂32によって下方から支持される。   Thereafter, as indicated by an arrow c in FIG. 8D, the flow rate of the second sealing resin 32 flowing below the die pad 26A is slower than that of the second sealing resin 32 flowing above the die pad 26A. Thus, since the second sealing resin 32 is preferentially filled downward, the lead frame 26 (die pad 26A) is supported from below by the second sealing resin 32.

キャビティ6の内部が第2の封止樹脂32で満たされたら、金型5を加熱して第2の封止樹脂32を硬化させて、半導体装置24を得る。   When the inside of the cavity 6 is filled with the second sealing resin 32, the mold 5 is heated to cure the second sealing resin 32 to obtain the semiconductor device 24.

<作用> <Action>

次に、本実施形態に係る半導体装置24、及び積算電力量計10の作用について説明する。本実施形態に係る半導体装置24では、発振子28とLSI30とが第2の封止樹脂32で封止されて一体となっており、LSI30は、発振回路51、分周回路53、及び計時回路56が内蔵されているので、図1に示す積算電力量計10の内部の基板に半導体装置24を実装するだけで、時間を計測できる。すなわち、発振子28や分周回路53などを別々に基板へ実装する必要がない。そのため、発振子28と半導体装置24との接続調整などの手間も不要となる。   Next, the operation of the semiconductor device 24 and the integrated watt-hour meter 10 according to the present embodiment will be described. In the semiconductor device 24 according to this embodiment, the oscillator 28 and the LSI 30 are sealed and integrated with the second sealing resin 32, and the LSI 30 includes the oscillation circuit 51, the frequency dividing circuit 53, and the time measuring circuit. 56 is built in, the time can be measured only by mounting the semiconductor device 24 on the substrate inside the integrating watt-hour meter 10 shown in FIG. That is, it is not necessary to separately mount the oscillator 28, the frequency dividing circuit 53, and the like on the substrate. This eliminates the need for adjustment of the connection between the oscillator 28 and the semiconductor device 24.

また、LSI30には、温度センサ58が内蔵されているので、発振子28の周囲の温度を正確に測定できる。これにより、発振子28から出力される信号(周波数)が温度変化によって変動しても、高精度で周波数の補正を行うことができる。そのため高価な高精度発振子を用いることなく、安価な発振子であっても周波数を高精度とすることができる。   Further, since the temperature sensor 58 is built in the LSI 30, the temperature around the oscillator 28 can be accurately measured. Thereby, even if the signal (frequency) output from the oscillator 28 fluctuates due to a temperature change, the frequency can be corrected with high accuracy. Therefore, it is possible to make the frequency highly accurate even with an inexpensive oscillator without using an expensive highly accurate oscillator.

さらに、図2に示すように、発振子28の外部電極34とLSI30の発振子用電極パッド54とは、ボンディングワイヤ52によって直接接続されている。このため、リードフレーム26を介さずに最短距離で配線が可能となり、配線抵抗を低減できる。また、外部電極34と発振子用電極パッド54とを接続する2本のボンディングワイヤ52の長さが均一となっているので、ボンディングワイヤ52にかかる張力を等しくでき、ボンディングワイヤ52の破断やたわみによる接触を防止できる。また、リードフレーム26を介さずに配線できるので、ノイズの影響を受けにくくなり、発振子28からLSI30へスムーズに信号を伝達できる。また、平行に形成されたボンディングワイヤ52の間には、ノイズが発生し易いが、発振子用電極パッド54と外部電極34とを接続しているボンディングワイヤ52は、他のボンディングワイヤ52に対して、立体交差しているので、発振子用電極パッド54と外部電極34とを接続するボンディングワイヤ52と他のボンディングワイヤ52間の干渉を低減することができ、特に他のボンディングワイヤ52から発振子28へのノイズの影響を低減できる。さらに、外部電極34は、発振子用電極パッド54より大きいので、ワイヤボンディングを容易に行うことができる。   Further, as shown in FIG. 2, the external electrode 34 of the oscillator 28 and the oscillator electrode pad 54 of the LSI 30 are directly connected by a bonding wire 52. Therefore, wiring can be performed at the shortest distance without using the lead frame 26, and wiring resistance can be reduced. Further, since the lengths of the two bonding wires 52 connecting the external electrode 34 and the oscillator electrode pad 54 are uniform, the tension applied to the bonding wire 52 can be equalized, and the bonding wire 52 is broken or bent. Can prevent contact. In addition, since wiring can be performed without going through the lead frame 26, it is less susceptible to noise, and signals can be smoothly transmitted from the oscillator 28 to the LSI 30. Further, although noise is likely to occur between the bonding wires 52 formed in parallel, the bonding wire 52 connecting the oscillator electrode pad 54 and the external electrode 34 is connected to the other bonding wires 52. Thus, the three-dimensional crossing can reduce interference between the bonding wire 52 connecting the oscillator electrode pad 54 and the external electrode 34 and the other bonding wire 52, and in particular, oscillation from the other bonding wire 52. The influence of noise on the child 28 can be reduced. Furthermore, since the external electrode 34 is larger than the oscillator electrode pad 54, wire bonding can be easily performed.

また、発振子28を第1の封止樹脂31で封止しているので、例えば、温度変化等で第2の封止樹脂32に歪が作用した場合であっても、第1の封止樹脂31によって歪が直接発振子28に影響を与えることがない。これにより、リフロー工程で半導体装置24を基板に実装する際に、熱の影響で発振子28の周波数が変動するのを抑制できる。また、第2の封止樹脂32の封止工程で残留応力が生じた場合であっても、発振子28に直接応力が作用するのを抑制できる。   In addition, since the oscillator 28 is sealed with the first sealing resin 31, the first sealing resin 31 can be used even when strain is applied to the second sealing resin 32 due to a temperature change or the like. Strain does not directly affect the oscillator 28 due to the resin 31. Thereby, when the semiconductor device 24 is mounted on the substrate in the reflow process, it is possible to suppress the frequency of the oscillator 28 from fluctuating due to the influence of heat. Further, even when residual stress is generated in the sealing process of the second sealing resin 32, it is possible to suppress the stress from directly acting on the oscillator 28.

さらに、第1の封止樹脂31の弾性率を、第2の封止樹脂32の弾性率より低弾性率とすることで、第2の封止樹脂が弾性変形して発振子28へ応力が作用するのを抑制できる。ここで、発振子28をダイパッド26Aへ搭載する際に用いた接着剤49の弾性率と、第1の封止樹脂31の弾性率とを同じ弾性率とすることで、発振子28に対して均等に応力が作用することとなり、発振子28への影響を最小限にすることができます。なお、ここでいう、同じ弾性率とは、第1の封止樹脂31と接着剤49とを全く同じ組成とする場合に限らず、入力された応力に対する歪が同程度となる場合も含む。   Furthermore, by making the elastic modulus of the first sealing resin 31 lower than that of the second sealing resin 32, the second sealing resin is elastically deformed and stress is applied to the oscillator 28. It can suppress acting. Here, by setting the elastic modulus of the adhesive 49 used when mounting the oscillator 28 to the die pad 26 </ b> A and the elastic modulus of the first sealing resin 31 to the same elastic modulus, The stress acts evenly and the influence on the oscillator 28 can be minimized. Here, the same elastic modulus is not limited to the case where the first sealing resin 31 and the adhesive 49 have the same composition, but also includes the case where the strain with respect to the input stress is approximately the same.

また、本実施形態では、全てのインナーリード38AがLSI30の電極パッド50へ接続されていたが、これに限らず、任意のインナーリード38Aをボンディングワイヤ52でダイパッド26Aへ接続させて、アウターリード38Bをアースに接続することで、ダイパッド26Aを接地してもよい。この場合、ダイパッド26Aが帯電するのを抑制できる。また、リードフレームを挟むようにリードフレームの両面に分けてLSI30と発振子28とを配置しているので、LSI30から発振子28へのノイズをダイパッド26Aによって遮蔽することができる。   In the present embodiment, all the inner leads 38A are connected to the electrode pads 50 of the LSI 30. However, the present invention is not limited to this, and any inner lead 38A is connected to the die pad 26A by the bonding wire 52, and the outer leads 38B. The die pad 26A may be grounded by connecting to a ground. In this case, the die pad 26A can be prevented from being charged. Further, since the LSI 30 and the oscillator 28 are arranged on both sides of the lead frame so as to sandwich the lead frame, noise from the LSI 30 to the oscillator 28 can be shielded by the die pad 26A.

<発振周波数の補正> <Correction of oscillation frequency>

次に、本実施形態に係る半導体装置24における、発振子28の発振周波数の温度に依存する誤差を補正する周波数補正処理について説明する。   Next, frequency correction processing for correcting an error depending on the temperature of the oscillation frequency of the oscillator 28 in the semiconductor device 24 according to the present embodiment will be described.

半導体装置24は、例えば出荷時において、半導体装置24内部のLSI30の温度を常温(ここでは、25℃)とした場合、常温より温度が低い基準温度(以下、「低温」ともいう。)とした場合、及び常温より温度が高い基準温度(以下、「高温」ともいう。)とした場合の各々の状態で温度センサ58により温度を測定する。そして、半導体装置24は、例えば出荷後に、この測定で得られた温度をトリミングデータとして、温度センサ58の製造ばらつきにより発生する測定誤差を考慮して、発振子28の周波数誤差を補正する。   For example, when the temperature of the LSI 30 in the semiconductor device 24 is set to room temperature (here, 25 ° C.) at the time of shipment, the semiconductor device 24 is set to a reference temperature (hereinafter, also referred to as “low temperature”) lower than the room temperature. The temperature is measured by the temperature sensor 58 in each state when the temperature is set to a reference temperature higher than normal temperature (hereinafter also referred to as “high temperature”). Then, for example, after shipping, the semiconductor device 24 uses the temperature obtained by this measurement as trimming data and corrects the frequency error of the oscillator 28 in consideration of a measurement error caused by manufacturing variations of the temperature sensor 58.

上述したレジスタ部70(図5参照)は、温度センサ58により測定された温度を示すデータを格納する温度計測値レジスタ71、周辺温度を低温とした場合に温度センサ58により測定された温度を示すデータを格納する低温レジスタ72、周辺温度を常温とした場合に温度センサ58により測定された温度を示すデータを格納する常温レジスタ73、周辺温度を高温とした場合に温度センサ58により測定された温度を示すデータを格納する高温レジスタ74、及び、これらの温度を示すデータから導出される発振子28の発振周波数の補正値を格納するための周波数補正レジスタ75を有している。なお、各レジスタは制御部60にデータバス76を介して接続されており、制御部60はデータバス76を介して各レジスタに対して読み書きを行う。   The register unit 70 (see FIG. 5) described above stores a temperature measurement value register 71 that stores data indicating the temperature measured by the temperature sensor 58, and indicates the temperature measured by the temperature sensor 58 when the ambient temperature is low. A low temperature register 72 for storing data, a normal temperature register 73 for storing data indicating the temperature measured by the temperature sensor 58 when the ambient temperature is normal temperature, and a temperature measured by the temperature sensor 58 when the ambient temperature is high And a frequency correction register 75 for storing a correction value of the oscillation frequency of the oscillator 28 derived from the data indicating these temperatures. Each register is connected to the control unit 60 via the data bus 76, and the control unit 60 reads and writes each register via the data bus 76.

半導体装置24は、発振子28の周波数誤差を補正するために、半導体装置24の温度を低温とした場合、常温とした場合、及び高温とした場合の各々の状態で温度センサ58により温度を測定し、測定で得られた温度をトリミングデータとしてそれぞれ低温レジスタ72、常温レジスタ73、及び高温レジスタ74に格納する第1周波数補正処理を行う。   In order to correct the frequency error of the oscillator 28, the semiconductor device 24 measures the temperature by the temperature sensor 58 in each state when the temperature of the semiconductor device 24 is low, normal, and high. Then, a first frequency correction process is performed in which the temperature obtained by the measurement is stored as trimming data in the low temperature register 72, the normal temperature register 73, and the high temperature register 74, respectively.

試験者は、例えば出荷テスト時に、まず、槽内の温度が常温に設定された恒温槽の内部に半導体装置24を配置する。そして、ユーザは、半導体装置24に例えば温度センサ58による温度の計測を開始させるための計測動作信号を入力させることにより、半導体装置24に第1周波数補正処理を実行させる。この際、ユーザは、例えば半導体装置24のリード38に当該計測動作信号を出力する機器を接続することにより、半導体装置24に当該計測動作信号を入力させる。また、当該計測動作信号は、恒温槽に設定された温度が常温、高温、または低温の何れであるかを示す情報を含んでいる。   For example, at the time of a shipping test, the tester first places the semiconductor device 24 inside a thermostatic chamber in which the temperature in the bath is set to room temperature. Then, the user causes the semiconductor device 24 to execute the first frequency correction process by inputting, for example, a measurement operation signal for starting temperature measurement by the temperature sensor 58 to the semiconductor device 24. At this time, for example, the user connects the device that outputs the measurement operation signal to the lead 38 of the semiconductor device 24 to input the measurement operation signal to the semiconductor device 24. In addition, the measurement operation signal includes information indicating whether the temperature set in the thermostatic chamber is normal temperature, high temperature, or low temperature.

図9は、本実施形態に係る半導体装置24における第1周波数補正処理の流れを示すフローチャートである。当該第1周波数補正処理を実行するプログラムは、上記計測動作信号が入力されたタイミングで実行されるプログラムであり、制御部60が有する記憶手段に予め記憶されている。なお、実行されるタイミングはこれに限定されない。   FIG. 9 is a flowchart showing the flow of the first frequency correction process in the semiconductor device 24 according to the present embodiment. The program that executes the first frequency correction processing is a program that is executed at the timing when the measurement operation signal is input, and is stored in advance in a storage unit that the control unit 60 has. Note that the execution timing is not limited to this.

ステップS101において、制御部60は、計測動作信号が入力されてから所定時間(例えば、数時間)が経過したか否かを判定する。なお、当該所定時間は、半導体装置24の内部温度(LSI30の温度)が、恒温槽の温度と一致するために必要な時間とすると良い。   In step S101, the control unit 60 determines whether or not a predetermined time (for example, several hours) has elapsed since the measurement operation signal was input. Note that the predetermined time is preferably a time required for the internal temperature of the semiconductor device 24 (the temperature of the LSI 30) to coincide with the temperature of the thermostatic chamber.

ステップS101において所定時間が経過したと判定された場合、ステップS103において、制御部60は、温度センサ58による計測値を取得する。なお、温度センサ58による計測値は、温度計測値格納レジスタ71に格納される。また、温度センサ58によって計測値を取得する際には、所定時間(例えば、1分)経過毎に計測を行い、複数回の計測により得られた複数の計測値を平均した値を計測値として取得しても良い。   When it is determined in step S101 that the predetermined time has elapsed, in step S103, the control unit 60 acquires a measurement value obtained by the temperature sensor 58. Note that the measurement value obtained by the temperature sensor 58 is stored in the temperature measurement value storage register 71. Moreover, when acquiring a measured value with the temperature sensor 58, it measures every predetermined time (for example, 1 minute) progress, and uses the value which averaged the several measured value obtained by multiple times of measurement as a measured value. You may get it.

ステップS105において、制御部60は、取得した計測値を、恒温槽に設定された温度が常温(ここでは、25℃)である場合には、常温レジスタ73に格納し、恒温槽に設定された温度が高温である場合には、高温レジスタ74に格納し、恒温槽に設定された温度が低温である場合には、低温レジスタ72に格納し、第1周波数補正処理を終了する。なお、上記第1周波数補正処理は、ウェハ状態のときに予め行っても良い。   In step S105, the control unit 60 stores the acquired measurement value in the normal temperature register 73 when the temperature set in the thermostatic bath is normal temperature (here, 25 ° C.) and is set in the thermostatic bath. When the temperature is high, the temperature is stored in the high temperature register 74, and when the temperature set in the thermostat is low, the temperature is stored in the low temperature register 72, and the first frequency correction process is terminated. Note that the first frequency correction process may be performed in advance in the wafer state.

試験者は、槽内の温度が常温に設定された恒温槽の内部に半導体装置24を配置した状態に加えて、槽内の温度が高温に設定された恒温槽の内部に半導体装置24を配置した状態、及び槽内の温度が低温に設定された恒温槽の内部に半導体装置24を配置した状態の各々において、半導体装置24にそれぞれ上記ステップS101乃至S105の処理を行わせる。これにより、常温レジスタ73、高温レジスタ74、低温レジスタ72にそれぞれ温度センサ58による計測値が格納される。   The tester arranges the semiconductor device 24 inside the thermostatic chamber in which the temperature in the bath is set to a high temperature, in addition to the state in which the semiconductor device 24 is arranged in the thermostatic bath in which the temperature in the bath is set to room temperature. In each of the above state and the state in which the semiconductor device 24 is disposed inside the thermostatic chamber in which the temperature in the bath is set to a low temperature, the semiconductor device 24 is caused to perform the processes of steps S101 to S105. Thereby, the measured values by the temperature sensor 58 are stored in the normal temperature register 73, the high temperature register 74, and the low temperature register 72, respectively.

本実施形態に係る半導体装置24は、上述した処理が行われた後に出荷され、出荷後の予め定められたタイミングで、後述する第2周波数補正処理が行われる。   The semiconductor device 24 according to the present embodiment is shipped after the above-described processing is performed, and a second frequency correction process described later is performed at a predetermined timing after the shipment.

ユーザは、例えば出荷後に、半導体装置24に例えば周波数補正値の導出を開始させるための導出動作信号を入力させることにより、半導体装置24に第2周波数補正処理を実行させる。この際、ユーザは、例えば半導体装置24のリード38に当該導出動作信号を出力する機器を接続することにより、当該導出動作信号を入力させる。または、半導体装置24が一定の間隔で第2周波数補正処理を実行するようにしても良い。   For example, after shipping, the user causes the semiconductor device 24 to execute a second frequency correction process by inputting, for example, a derivation operation signal for starting the derivation of the frequency correction value to the semiconductor device 24. At this time, the user inputs the derivation operation signal by connecting a device that outputs the derivation operation signal to the lead 38 of the semiconductor device 24, for example. Alternatively, the semiconductor device 24 may execute the second frequency correction process at regular intervals.

図10は、本実施形態に係る半導体装置24における第2周波数補正処理の流れを示すフローチャートである。当該第2周波数補正処理を実行するプログラムは、半導体装置24の出荷後に、上記導出動作信号が入力されたタイミングで実行されるプログラムであり、制御部60が有する記憶手段に予め記憶されている。   FIG. 10 is a flowchart showing the flow of the second frequency correction process in the semiconductor device 24 according to the present embodiment. The program that executes the second frequency correction processing is a program that is executed at the timing when the derivation operation signal is input after the semiconductor device 24 is shipped, and is stored in advance in a storage unit that the control unit 60 has.

ステップS201において、制御部60は、常温レジスタ73、高温レジスタ74、及び低温レジスタ72にそれぞれ格納されている計測値を取得する。   In step S <b> 201, the control unit 60 acquires measurement values stored in the normal temperature register 73, the high temperature register 74, and the low temperature register 72, respectively.

ステップS203において、制御部60は、ステップS201において取得した計測値を用いて、発振子28の発振周波数の補正値(以下、「周波数補正値」ともいう。)を導出する。   In step S <b> 203, the control unit 60 derives a correction value (hereinafter also referred to as “frequency correction value”) of the oscillation frequency of the oscillator 28 using the measurement value acquired in step S <b> 201.

図11は、本実施形態に係る半導体装置における温度と周波数偏差との関係を示す図である。なお、図11は、実際の温度環境で得られた周波数誤差ではなく、二次関数による計算によって得られる理論値を示している。上記二次関数は、下記(1)式で表される。なお、下記(1)式において、fは周波数偏差、aは二次温度係数、Tは測定された温度、Tは頂点温度、bは頂点誤差である。上記二次温度係数aは、発振子28の個体差に応じて予め定められた定数であり、制御部60が有する記憶手段に予め記憶されている。 FIG. 11 is a diagram showing a relationship between temperature and frequency deviation in the semiconductor device according to the present embodiment. FIG. 11 shows not a frequency error obtained in an actual temperature environment but a theoretical value obtained by calculation using a quadratic function. The quadratic function is expressed by the following equation (1). In the following formula (1), f is a frequency deviation, a is a secondary temperature coefficient, T is a measured temperature, T 0 is a vertex temperature, and b is a vertex error. The secondary temperature coefficient a is a constant determined in advance according to the individual difference of the oscillator 28 and is stored in advance in a storage unit included in the control unit 60.

…(1) ... (1)

第1実施形態では、周波数偏差fが未知であるが、既知である二次温度係数a、常温レジスタ73に格納されている常温での計測値、高温レジスタ74に格納されている高温での計測値、及び低温レジスタ72に格納されている低温での計測値から、頂点誤差bを導出することができる。そして、制御部60は、常温での温度T0において最も周波数偏差が小さくなるようにするために、頂点誤差bの値を周波数補正値とする。   In the first embodiment, the frequency deviation f is unknown, but the known secondary temperature coefficient a, the measured value at room temperature stored in the room temperature register 73, and the measurement at high temperature stored in the high temperature register 74. The vertex error b can be derived from the value and the measured value at the low temperature stored in the low temperature register 72. Then, the control unit 60 sets the value of the vertex error b as the frequency correction value so that the frequency deviation becomes the smallest at the temperature T0 at normal temperature.

なお、上記周波数補正値の導出において、例えば−10℃での測定環境下において、温度センサ58による計測値が−8℃であった場合には、+2℃に対応する補正が必要ということになる。出荷段階における製品は、常温、各レジスタに記憶されている高温及び低温の3ポイントの計測値をデータバス76を介して読み出し、読み出したデータをトリミングデータとして、実際の環境下の温度を導出する。温度センサ58による計測値が、各レジスタに記憶されていない値であった場合には、近接する二つのレジスタの値を用いて、実際の環境下の温度を導出すればよい。   In the derivation of the frequency correction value, for example, in a measurement environment at −10 ° C., when the value measured by the temperature sensor 58 is −8 ° C., correction corresponding to + 2 ° C. is necessary. . The product at the shipping stage reads out three-point measurement values of normal temperature, high temperature and low temperature stored in each register through the data bus 76, and derives the temperature in the actual environment using the read data as trimming data. . If the measured value by the temperature sensor 58 is a value that is not stored in each register, the temperature in the actual environment may be derived using the values of the two adjacent registers.

ステップS205において、制御部60は、ステップS203において導出した周波数補正値を示すデータを、周波数補正レジスタ75に格納する。そして、半導体装置24では、分周回路53が、周波数補正レジスタ75に格納されている周波数補正値を用いて、発振回路から入力した信号からクロック信号を生成することで、発振子28の発振周波数の補正が行われる。   In step S <b> 205, the control unit 60 stores data indicating the frequency correction value derived in step S <b> 203 in the frequency correction register 75. In the semiconductor device 24, the frequency dividing circuit 53 generates a clock signal from the signal input from the oscillation circuit using the frequency correction value stored in the frequency correction register 75, and thereby the oscillation frequency of the oscillator 28. Is corrected.

このように、第1実施形態に係る半導体装置24によると、出荷時に、半導体装置24の3ポイントの環境温度下での温度センサ58による計測値をトリミングデータとして準備しておき、当該トリミングデータを元に周波数補正値を導出することにより、半導体装置24の個体毎の温度センサ58の製造上のばらつきに依存せずに、高精度な温度情報に基づいた周波数補正値を得ることができる。   As described above, according to the semiconductor device 24 according to the first embodiment, at the time of shipment, the measurement value obtained by the temperature sensor 58 under the three-point environmental temperature of the semiconductor device 24 is prepared as trimming data. By deriving the frequency correction value based on the original, it is possible to obtain the frequency correction value based on highly accurate temperature information without depending on the manufacturing variation of the temperature sensor 58 for each individual semiconductor device 24.

従来のパッケージ化された半導体装置において、当該半導体装置を駆動させる場合、半導体装置の周辺温度Ta(℃)、パッケージ表面温度Tc(℃)及びチップ表面温度Tj(℃)は各々異なってくる。例えば、チップ表面温度Tjは、パッケージ熱抵抗(ジャンクション及び雰囲気間)をθja、チップの消費電力(最大または平均)をPとすると、下記の(2)式で表される。   In the conventional packaged semiconductor device, when the semiconductor device is driven, the ambient temperature Ta (° C.), the package surface temperature Tc (° C.), and the chip surface temperature Tj (° C.) of the semiconductor device are different. For example, the chip surface temperature Tj is expressed by the following equation (2), where θja is the package thermal resistance (between junction and atmosphere) and P is the power consumption (maximum or average) of the chip.

…(2) ... (2)

しかしながら、本実施形態に係る半導体装置24では、温度センサ58と発振子28とが一体に封止されていることにより、温度センサ58の周辺温度と発振子28の周辺温度とが同一となるため高精度に発振子28の温度をLSI30が有する温度センサ58で測定することができ、そのため発振子28及び温度センサ58間の温度差によって周波数補正の精度が低下することが防止される。   However, in the semiconductor device 24 according to this embodiment, since the temperature sensor 58 and the oscillator 28 are sealed together, the ambient temperature of the temperature sensor 58 and the ambient temperature of the oscillator 28 are the same. The temperature of the oscillator 28 can be measured with high accuracy by the temperature sensor 58 included in the LSI 30, and therefore the accuracy of frequency correction is prevented from being lowered due to the temperature difference between the oscillator 28 and the temperature sensor 58.

(第2実施形態) (Second Embodiment)

次に、本発明の第2実施形態に係る半導体装置24について説明する。なお、第1実施形態と同一の構成については、同一の符号を付し、説明を省略する。   Next, a semiconductor device 24 according to a second embodiment of the present invention will be described. In addition, about the structure same as 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted.

図12に示すように、第2実施形態に係る半導体装置24には、LSI30Aに対して、発振子28の発振周波数の補正の際に基準とするクロック信号(以下、「基準クロック信号」ともいう。)を入力する、基準信号発振子80を備えたクロック発生装置が接続されている。また、第2実施形態に係る半導体装置24のLSI30Aは、第1実施形態に係る半導体装置24のLSI30の構成に加えて、測定カウンタ81、基準カウンタ82、及びクロック信号を発振回路57から外部へ出力する出力端子83を更に備えている。   As shown in FIG. 12, in the semiconductor device 24 according to the second embodiment, a clock signal (hereinafter also referred to as “reference clock signal”) that is used as a reference when correcting the oscillation frequency of the oscillator 28 with respect to the LSI 30A. .) Is connected to a clock generator provided with a reference signal oscillator 80. In addition to the configuration of the LSI 30 of the semiconductor device 24 according to the first embodiment, the LSI 30A of the semiconductor device 24 according to the second embodiment transmits the measurement counter 81, the reference counter 82, and the clock signal from the oscillation circuit 57 to the outside. An output terminal 83 for outputting is further provided.

図13(a)及び(b)に示すように、基準信号発振子80は、発振子28よりも発振周波数が高い水晶振動子などの発振子である。なお、第2実施形態では、発振子28の発振周波数が32.768KHzであり、基準信号発振子80の発振周波数が10MHzである。   As shown in FIGS. 13A and 13B, the reference signal oscillator 80 is an oscillator such as a crystal resonator having an oscillation frequency higher than that of the oscillator 28. In the second embodiment, the oscillation frequency of the oscillator 28 is 32.768 KHz, and the oscillation frequency of the reference signal oscillator 80 is 10 MHz.

測定カウンタ81は、発振回路51に接続されていて、制御部60の制御に基づいて、発振子28によるクロック信号(以下、「測定クロック信号」ともいう。)を発振回路51から受信して当該クロック信号のクロック数をカウントするカウンタである。基準カウンタ82は、基準信号発振子80を備えたクロック発生装置に接続されていて、制御部60の制御に基づいて、基準信号発振子80によるクロック信号を受信して当該クロック信号のクロック数をカウントする。なお、図13(a)及び(b)に示すように、基準カウンタ82と測定カウンタ81とは、相互に同期しながら略同時に同一時間内にクロック数のカウントを行う。なお、測定カウンタ81と基準カウンタ82は、動作信号に基づいて相互に同期しながら動作させてもよいし、同期カウンタを用いても良い。   The measurement counter 81 is connected to the oscillation circuit 51, and receives a clock signal (hereinafter also referred to as “measurement clock signal”) from the oscillator 28 from the oscillation circuit 51 based on the control of the control unit 60. It is a counter that counts the number of clocks of the clock signal. The reference counter 82 is connected to a clock generator provided with a reference signal oscillator 80, and receives a clock signal from the reference signal oscillator 80 based on the control of the control unit 60 and calculates the number of clocks of the clock signal. Count. As shown in FIGS. 13A and 13B, the reference counter 82 and the measurement counter 81 count the number of clocks within the same time at substantially the same time while synchronizing with each other. The measurement counter 81 and the reference counter 82 may be operated in synchronization with each other based on the operation signal, or a synchronization counter may be used.

また、第2実施形態では、レジスタ部70において、温度計測値レジスタ71に、温度センサ58により測定された温度を示すデータが格納され、低温レジスタ72に、周辺温度を常温(25℃)より低温の基準温度とした場合に温度センサ58により測定された温度及びその温度における周波数誤差を示すデータが格納され、常温レジスタ73に、周辺温度を常温(25℃)とした場合に温度センサ58により測定された温度及びその温度における周波数誤差を示すデータが格納され、高温レジスタ74に、周辺温度を常温(25℃)より高温の基準温度とした場合に温度センサ58により測定された温度及びその温度における周波数誤差を示すデータが格納され、周波数補正レジスタ75に、上述した周波数誤差を示すデータから導出される周波数補正値を示すデータが格納される。   In the second embodiment, in the register unit 70, data indicating the temperature measured by the temperature sensor 58 is stored in the temperature measurement value register 71, and the ambient temperature is lower than room temperature (25 ° C.) in the low temperature register 72. The temperature measured by the temperature sensor 58 when the reference temperature is set and data indicating the frequency error at that temperature are stored. The room temperature register 73 is measured by the temperature sensor 58 when the ambient temperature is the room temperature (25 ° C.). Data indicating the measured temperature and the frequency error at that temperature are stored, and when the ambient temperature is set to a reference temperature higher than room temperature (25 ° C.) in the high temperature register 74, the temperature measured by the temperature sensor 58 and the temperature Data indicating the frequency error is stored, and the frequency correction register 75 is derived from the data indicating the frequency error described above. That data indicating the frequency correction value is stored.

<発振周波数の補正> <Correction of oscillation frequency>

ユーザは、例えば出荷テスト時に、まず、槽内の温度が常温(ここでは、25℃)に設定された恒温槽の内部に半導体装置24を配置する。そして、ユーザは、半導体装置24に例えば温度センサ58による温度の計測を開始させるための計測動作信号を入力させることにより、半導体装置24に第1周波数補正処理を実行させる。この際、ユーザは、例えば半導体装置24のリード38に当該計測動作信号を出力する機器を接続することにより、半導体装置24に当該計測動作信号を入力させる。また、当該計測動作信号には、恒温槽に設定された温度が常温、高温、または低温の何れであるかを示す情報を含んでいる。   For example, at the time of a shipping test, a user first places the semiconductor device 24 inside a thermostatic chamber in which the temperature in the bath is set to room temperature (here, 25 ° C.). Then, the user causes the semiconductor device 24 to execute the first frequency correction process by inputting, for example, a measurement operation signal for starting temperature measurement by the temperature sensor 58 to the semiconductor device 24. At this time, for example, the user connects the device that outputs the measurement operation signal to the lead 38 of the semiconductor device 24 to input the measurement operation signal to the semiconductor device 24. The measurement operation signal includes information indicating whether the temperature set in the thermostatic chamber is normal temperature, high temperature, or low temperature.

図14は、本実施形態に係る半導体装置24における第1周波数補正処理の流れを示すフローチャートである。当該第1周波数補正処理を実行するプログラムは、半導体装置24の出荷時に、上記計測動作信号が入力されたタイミングで実行されるプログラムであり、制御部60が有する記憶手段に予め記憶されている。   FIG. 14 is a flowchart showing the flow of the first frequency correction process in the semiconductor device 24 according to the present embodiment. The program that executes the first frequency correction processing is a program that is executed at the timing when the measurement operation signal is input when the semiconductor device 24 is shipped, and is stored in advance in storage means included in the control unit 60.

ステップS301において、制御部60は、計測動作信号が入力してから所定時間(例えば、数時間)が経過したか否かを判定する。当該所定時間は、半導体装置24の内部温度(LSI30の温度)が、恒温槽の温度と一致するために必要な時間とすると良い。   In step S301, the control unit 60 determines whether or not a predetermined time (for example, several hours) has elapsed since the measurement operation signal was input. The predetermined time may be a time required for the internal temperature of the semiconductor device 24 (the temperature of the LSI 30) to coincide with the temperature of the thermostatic chamber.

ステップS301において所定時間が経過したと判定された場合、ステップS303において、制御部60は、温度センサ58による計測値を取得する。なお、温度センサ58による計測値は、温度計測値格納レジスタ71に格納される。また、温度センサ58は、試験により測定精度が予め定められた基準値以上であることが確認済みであり、温度センサ58により高精度に温度測定を行えることが保障されている。または温度センサ58による計測値を用いて補正を行うようにしても良い。   When it is determined in step S301 that the predetermined time has elapsed, in step S303, the control unit 60 acquires a measurement value obtained by the temperature sensor 58. Note that the measurement value obtained by the temperature sensor 58 is stored in the temperature measurement value storage register 71. The temperature sensor 58 has been confirmed by testing to have a measurement accuracy equal to or higher than a predetermined reference value, and it is guaranteed that the temperature sensor 58 can perform temperature measurement with high accuracy. Or you may make it correct | amend using the measured value by the temperature sensor 58. FIG.

ステップS305において、制御部60は、発振子28の発振周波数の誤差を導出する周波数誤差導出処理を行う。図15は、本実施形態に係る周波数誤差導出処理の流れを示すフローチャートである。また、図16は、本実施形態に係る周波数誤差導出処理におけるタイミングチャートであり、(a)は、カウント開始時を示す図であり、(b)は、カウント停止時を示す図である。   In step S305, the control unit 60 performs a frequency error derivation process for deriving an error in the oscillation frequency of the oscillator 28. FIG. 15 is a flowchart showing a flow of frequency error derivation processing according to the present embodiment. FIGS. 16A and 16B are timing charts in the frequency error derivation process according to the present embodiment. FIG. 16A is a diagram illustrating a count start time, and FIG. 16B is a diagram illustrating a count stop time.

ステップS401において、制御部60は、測定カウンタ81に対して補正動作信号を出力する。補正動作信号を入力した測定カウンタ81は、ステップS403において、動作を開始し、発振子28によるクロック信号のクロック値のカウントを開始すると共に、基準カウンタ82に対して開始信号を出力する。   In step S <b> 401, the control unit 60 outputs a correction operation signal to the measurement counter 81. The measurement counter 81 to which the correction operation signal is input starts the operation in step S403, starts counting the clock value of the clock signal by the oscillator 28, and outputs a start signal to the reference counter 82.

開始信号を受信した基準カウンタ83は、ステップS405において、基準信号発振子80によるクロック信号のクロック値のカウントを開始する。すなわち、図16(a)に示すように、補正動作信号がオンになると、測定カウンタ81がカウントを開始すると共に、基準カウンタ82も測定カウンタ81に同期してカウントを開始する。   The reference counter 83 that has received the start signal starts counting the clock value of the clock signal by the reference signal oscillator 80 in step S405. That is, as shown in FIG. 16A, when the correction operation signal is turned on, the measurement counter 81 starts counting, and the reference counter 82 also starts counting in synchronization with the measurement counter 81.

ステップS407において、測定カウンタ81は、測定カウンタのカウント値が予め定められた所定値(本実施形態では、1秒に相当する32.768)以上であるか否かを判定する。ステップS407において所定値以上でない場合は、測定カウンタ81はそのままカウントを継続する。   In step S407, the measurement counter 81 determines whether or not the count value of the measurement counter is equal to or greater than a predetermined value (32.768 corresponding to 1 second in the present embodiment). If it is not greater than or equal to the predetermined value in step S407, the measurement counter 81 continues counting.

ステップS407において所定値以上であると判定された場合は、ステップS409において、測定カウンタ81は、カウントを停止すると共に、基準カウンタ82に対して停止信号を出力する。   If it is determined in step S407 that the value is equal to or larger than the predetermined value, in step S409, the measurement counter 81 stops counting and outputs a stop signal to the reference counter 82.

停止信号を受信した基準カウンタ82は、ステップS411において、カウントを停止する。すなわち、図16(b)に示すように、補正動作信号がオフになると、測定カウンタ81がカウントを停止すると共に、基準カウンタ82も測定カウンタ81に同期してカウントを停止する。   The reference counter 82 that has received the stop signal stops counting in step S411. That is, as shown in FIG. 16B, when the correction operation signal is turned off, the measurement counter 81 stops counting, and the reference counter 82 also stops counting in synchronization with the measurement counter 81.

ステップS413において、制御部60は、基準カウンタ82のカウント値を取得する。   In step S413, the control unit 60 acquires the count value of the reference counter 82.

ステップS415において、制御部60は、ステップS413において取得した基準カウンタ82のカウント値から、発振子28の発振周波数の誤差を導出する。すなわち、制御部60は、発振子28による測定クロック信号において同一時間内に得られたカウント値(すなわち、32,768)を、発振子28よりも高精度に計時を行うことができる基準信号発振子80による基準クロック信号のカウント値と比較することにより、発振子28の発振周波数の誤差を導出する。   In step S415, the control unit 60 derives an error in the oscillation frequency of the oscillator 28 from the count value of the reference counter 82 acquired in step S413. That is, the control unit 60 can generate the reference signal oscillation that can count the count values (that is, 32,768) obtained in the same time in the measurement clock signal by the oscillator 28 with higher accuracy than the oscillator 28. By comparing with the count value of the reference clock signal by the child 80, the error of the oscillation frequency of the oscillator 28 is derived.

例えば、基準信号発振子80の発振周波数が10MHzであるため、基準カウンタ82のカウント値が”10000000(十進数)”であれば、発振子28により正確に1秒を計時できていると推測でき、発振周波数の誤差は0で補正する必要がなく、発振周波数の誤差(周波数補正値)を0とする。一方、例えば、基準カウンタ82のカウント値が”10000002(十進数)”であれば、発振子28の発振周波数が0.2ppmだけ遅くなっていると推測でき、発振子28の発振周波数をその誤差の分、すなわち0.2ppm早くなるように補正する必要があり、発振周波数の誤差(周波数補正値)を+0.2ppmとする。また、例えば、基準カウンタ82の値が”9999990(十進数)”であれば、発振子28の発振周波数が1.0ppmだけ早くなっているので、発振子28の発振周波数をその誤差の分、すなわち1.0ppm遅くする必要があり、発振周波数の誤差(周波数補正値)を−1.0ppmとする。   For example, since the oscillation frequency of the reference signal oscillator 80 is 10 MHz, if the count value of the reference counter 82 is “10000000 (decimal number)”, it can be estimated that the oscillator 28 can accurately measure 1 second. The oscillation frequency error need not be corrected by 0, and the oscillation frequency error (frequency correction value) is 0. On the other hand, for example, if the count value of the reference counter 82 is “10000002 (decimal number)”, it can be estimated that the oscillation frequency of the oscillator 28 is delayed by 0.2 ppm, and the oscillation frequency of the oscillator 28 is determined as an error. Therefore, it is necessary to make correction so as to be faster by 0.2 ppm, and an error of the oscillation frequency (frequency correction value) is set to +0.2 ppm. For example, if the value of the reference counter 82 is “9999999 (decimal number)”, the oscillation frequency of the oscillator 28 is increased by 1.0 ppm. That is, it is necessary to delay by 1.0 ppm, and the oscillation frequency error (frequency correction value) is set to -1.0 ppm.

ステップS417において、制御部60は、測定カウンタ81に対する補正動作信号の出力を停止し、周波数誤差導出処理プログラムを終了する。また、測定カウンタ81及び基準カウンタ82は、補正動作信号の入力が停止すると、動作を停止する。   In step S417, the control unit 60 stops outputting the correction operation signal to the measurement counter 81, and ends the frequency error derivation processing program. The measurement counter 81 and the reference counter 82 stop operating when the correction operation signal input stops.

ステップS307において、制御部60は、ステップS303において取得した温度の計測値と、ステップS415において導出された周波数誤差とを、恒温槽に設定された温度が常温である場合には、常温レジスタ73に、恒温槽に設定された温度が高温である場合には、高温レジスタ74に、恒温槽に設定された温度が低温である場合には、低温レジスタ72に格納して、第1周波数補正処理プログラムを終了する。   In step S307, the control unit 60 stores the temperature measurement value acquired in step S303 and the frequency error derived in step S415 in the room temperature register 73 when the temperature set in the thermostat is room temperature. When the temperature set in the constant temperature bath is high, the first frequency correction processing program is stored in the high temperature register 74, and when the temperature set in the constant temperature bath is low, the temperature is stored in the low temperature register 72. Exit.

ユーザは、槽内の温度が常温に設定された恒温槽の内部に半導体装置24を配置した状態に加えて、槽内の温度が高温の基準温度に設定された恒温槽の内部に半導体装置24を配置した状態、及び槽内の温度が低温の基準温度に設定された恒温槽の内部に半導体装置24を配置した状態において、半導体装置24にそれぞれ上記ステップS301乃至S309の処理を行わせる。これにより、常温レジスタ73、高温レジスタ74、低温レジスタ72にそれぞれ温度センサ58による温度の計測値及び発振子28の発振周波数の誤差が格納される。   In addition to the state in which the semiconductor device 24 is disposed inside the thermostatic chamber in which the temperature in the bath is set to room temperature, the user places the semiconductor device 24 in the thermostatic bath in which the temperature in the bath is set to a high reference temperature. In the state in which the semiconductor device 24 is disposed, and in the state in which the semiconductor device 24 is disposed in the thermostatic chamber in which the temperature in the bath is set to a low reference temperature, the semiconductor device 24 is caused to perform the processes of steps S301 to S309. As a result, the temperature measurement value by the temperature sensor 58 and the error of the oscillation frequency of the oscillator 28 are stored in the room temperature register 73, the high temperature register 74, and the low temperature register 72, respectively.

本実施形態に係る半導体装置24は、上述した処理を行った後に出荷され、出荷後の予め定められたタイミングで、発振子28の発振周波数が周波数補正レジスタ75に格納された周波数補正値を示すデータを用いて上述した(1)式に基づいて補正される。なお、第2実施形態における二次温度係数a及び頂点誤差bは、各温度において導出された周波数誤差によって決定される。なお、周波数誤差を決定したい温度よりも高い温度のレジスタと低い温度のレジスタに格納された発振周波数の誤差の値の差分から直線近似によって求めるようにしても良い。そして、システムリセット時や定期的に、あるいは、リード38を介する所定の信号の入力に応じて、または上記(1)式を用いて発振子28の発振周波数を補正をする際に後述する第2周波数補正処理が行われる。   The semiconductor device 24 according to the present embodiment is shipped after the above-described processing is performed, and the oscillation frequency of the oscillator 28 indicates the frequency correction value stored in the frequency correction register 75 at a predetermined timing after shipment. Correction is performed based on the above-described equation (1) using the data. Note that the secondary temperature coefficient a and the apex error b in the second embodiment are determined by the frequency error derived at each temperature. Note that the frequency error may be obtained by linear approximation from the difference between the oscillation frequency error values stored in the higher temperature register and the lower temperature register. Then, when the system is reset, periodically, in response to the input of a predetermined signal via the lead 38, or when the oscillation frequency of the oscillator 28 is corrected using the above equation (1), the second described later. Frequency correction processing is performed.

ユーザは、半導体装置24に例えば周波数補正値の導出を開始させるための導出動作信号を入力させることにより、半導体装置24に第2周波数補正処理を実行させる。この際、ユーザは、例えば半導体装置24のリード38に当該計測動作信号を出力する機器を接続することにより、当該導出動作信号を入力させる。   The user causes the semiconductor device 24 to execute the second frequency correction process by inputting, for example, a derivation operation signal for starting the derivation of the frequency correction value to the semiconductor device 24. At this time, the user inputs the derived operation signal, for example, by connecting a device that outputs the measurement operation signal to the lead 38 of the semiconductor device 24.

図17は、本実施形態に係る半導体装置24における第2周波数補正処理の流れを示すフローチャートである。当該第2周波数補正処理を実行するプログラムは、上記計測動作信号が入力されたタイミングで実行されるプログラムであり、制御部60が有する記憶手段に予め記憶されている。   FIG. 17 is a flowchart showing the flow of the second frequency correction process in the semiconductor device 24 according to the present embodiment. The program that executes the second frequency correction process is a program that is executed at the timing when the measurement operation signal is input, and is stored in advance in storage means included in the control unit 60.

ステップS503において、制御部60は、温度センサ58により現在の環境温度を計測し、その計測値を取得する。なお、温度センサ58による計測値は、温度計測値格納レジスタ71に格納される。   In step S503, the control unit 60 measures the current environmental temperature with the temperature sensor 58, and acquires the measured value. Note that the measurement value obtained by the temperature sensor 58 is stored in the temperature measurement value storage register 71.

ステップS505において、制御部60は、ステップS503において取得した温度が、恒温槽で計測された温度(例えばステップS303において取得された温度)と異なっているか否かを判定する。なお、この判定が不要な場合には、ステップS503の処理を行った後に、当該ステップS505の処理を行わずに、ステップS505に移行してもよい。   In step S505, the control unit 60 determines whether or not the temperature acquired in step S503 is different from the temperature measured in the thermostat (for example, the temperature acquired in step S303). If this determination is not necessary, the process may proceed to step S505 without performing the process of step S505 after performing the process of step S503.

ステップS505において温度が異なっていないと判定された場合は、制御部60は、周波数補正値を変更する必要がないと判断し、第2周波数補正処理を終了する。   If it is determined in step S505 that the temperatures are not different, the control unit 60 determines that there is no need to change the frequency correction value, and ends the second frequency correction process.

ステップS505において温度が異なっていると判定された場合は、制御部60は、ステップS507において、上述したステップS305と同様の処理を行うことで、周波数誤差を導出する。また、ステップS507において、制御部60は、レジスタ部70の各レジスタに記憶されているデータを、上述した(1)式に代入することにより、二次温度係数a及び頂点誤差bを導出する。   If it is determined in step S505 that the temperatures are different, the control unit 60 derives a frequency error by performing the same process as in step S305 described above in step S507. In step S507, the control unit 60 derives the secondary temperature coefficient a and the apex error b by substituting the data stored in each register of the register unit 70 into the above-described equation (1).

ステップS511において、制御部60は、周波数補正値を周波数補正レジスタ75に格納する。この際、ステップS505において温度が異なっていないと判定された場合は、低温レジスタ72、常温レジスタ73、及び高温レジスタ74に格納されている温度及び周波数誤差を用いて周波数補正値を導出して格納する。一方、ステップS505において温度が異なっていると判定された場合は、ステップS507において導出した周波数誤差を用いて周波数補正値を導出して格納する。   In step S <b> 511, the control unit 60 stores the frequency correction value in the frequency correction register 75. At this time, if it is determined in step S505 that the temperatures are not different, a frequency correction value is derived and stored using the temperature and frequency error stored in the low temperature register 72, the normal temperature register 73, and the high temperature register 74. To do. On the other hand, if it is determined in step S505 that the temperatures are different, a frequency correction value is derived and stored using the frequency error derived in step S507.

そして、半導体装置24では、分周回路53が、発振回路から入力した信号をこの周波数補正レジスタ75に格納されている周波数補正値に基づいて補正することで、発振子28の発振周波数の補正を行う。   In the semiconductor device 24, the frequency divider 53 corrects the signal input from the oscillator based on the frequency correction value stored in the frequency correction register 75, thereby correcting the oscillation frequency of the oscillator 28. Do.

以上のように、第2実施形態に係る半導体装置24によると、実温度での周波数誤差を測定することで、発振子28の製造ばらつきにより温度によって周波数偏差が異なっていても、常に安定した計時を刻むことが可能となる。   As described above, according to the semiconductor device 24 according to the second embodiment, by measuring the frequency error at the actual temperature, even if the frequency deviation varies depending on the temperature due to the manufacturing variation of the oscillator 28, the time measurement is always stable. Can be engraved.

また、第2実施形態に係る半導体装置24によると、半導体装置24のLSI30Aの内部に時間補正回路を内蔵させる事で、外部から供給されるクロック信号の周波数精度が低くても高精度に時間測定を行うことができる。   Further, according to the semiconductor device 24 according to the second embodiment, by incorporating a time correction circuit inside the LSI 30A of the semiconductor device 24, time measurement can be performed with high accuracy even when the frequency accuracy of the clock signal supplied from the outside is low. It can be performed.

また、第2実施形態に係る半導体装置24によると、発振子28を内蔵したことによる空き端子を別機能(例えばシリアル通信やI2Cの追加など)に置き換えることで、端子数が限られていても高機能化を実現することができる。   In addition, according to the semiconductor device 24 according to the second embodiment, even if the number of terminals is limited by replacing an empty terminal due to the built-in oscillator 28 with another function (for example, serial communication or addition of I2C). High functionality can be realized.

なお、本実施形態では、基準信号発振子80、測定カウンタ81及び基準カウンタ82を用いて発振子28の発振周波数の誤差を導出するが、誤差の導出方法はこれに限定されず、発振回路51から出力されるoscout端子から出力されるクロック信号における所定時間(本実施形態では、1秒(32,768CLK))の計時が、他の方法で正確に計時された当該所定時間と比較することにより、発振子28により当該所定時間の計時が実際にどれくらいかかっているかを測定しても良い。   In the present embodiment, the error of the oscillation frequency of the oscillator 28 is derived using the reference signal oscillator 80, the measurement counter 81, and the reference counter 82, but the method of deriving the error is not limited to this, and the oscillation circuit 51 By comparing the time of a predetermined time (in this embodiment, 1 second (32, 768 CLK)) in the clock signal output from the oscout terminal output from the time with the predetermined time accurately measured by another method The oscillator 28 may measure how long the predetermined time is actually measured.

また、第2実施形態に係る半導体装置24における発振子28の発振周波数の誤差の補正を行った上で、必要に応じて、第1実施形態に係る半導体装置24における温度センサ58の測定誤差を考慮した補正を行っても良い。   In addition, after correcting the oscillation frequency error of the oscillator 28 in the semiconductor device 24 according to the second embodiment, the measurement error of the temperature sensor 58 in the semiconductor device 24 according to the first embodiment is corrected as necessary. You may perform the correction | amendment which considered.

図18及び図19は、本実施形態に係る半導体装置24のLSI30Aの電気的構成の別例を示すブロック図である。   18 and 19 are block diagrams showing another example of the electrical configuration of the LSI 30A of the semiconductor device 24 according to this embodiment.

図18に示すように、半導体装置24は、出力端子84を備えていて、制御部60により導出された発振子28の発振周波数の誤差(周波数補正値)が半導体装置24の外部に出力端子84を介して出力されるようにしても良い。これにより、基準クロック発生装置の特性劣化などを見つける為の定期校正を実施する事ができる。   As shown in FIG. 18, the semiconductor device 24 includes an output terminal 84, and an error (frequency correction value) in the oscillation frequency of the oscillator 28 derived by the control unit 60 is output to the outside of the semiconductor device 24. It may be output via. As a result, it is possible to carry out periodic calibration for finding characteristic deterioration of the reference clock generator.

また、図19に示すように、半導体装置24のLSI30Aは、測定カウンタ81に校正の基準になる高精度のクロック発生回路85を接続しても良い。この場合には、上述したステップS413において、制御部60は、測定カウンタ81のカウント値及び基準カウンタ82のカウント値を取得し、測定カウンタ81のカウント値と基準カウンタ82のカウント値とを比較する。例えば、測定カウンタ81のクロック信号の周波数を10MHz、基準カウンタ82に接続されたクロック発生回路85の周波数を10MHzとすると、基準信号発振子80を有するクロック発生装置と基準カウンタ82に接続されたクロック発生装置85とが同一の周波数のクロック信号を発生していれば、測定カウンタ81のカウント値と基準カウンタ82のカウント値とが同一の値になるが、基準信号発振子80の特性が変化している場合には、測定カウンタ81のカウント値と基準カウンタ82のカウント値とに差が生じる。測定カウンタ81のカウント値と基準カウンタ82のカウント値とに差が生じた場合には、その差を制御部60で、予め定められた許容誤差範囲内か否かを判断して、判断結果を8の出力端子84に出力する。これにより、基準信号発振子80を備えたクロック発生装置の特性劣化などを見つける為の定期校正を実施することができる。   As shown in FIG. 19, the LSI 30 </ b> A of the semiconductor device 24 may be connected to the measurement counter 81 with a high-accuracy clock generation circuit 85 serving as a calibration reference. In this case, in step S413 described above, the control unit 60 acquires the count value of the measurement counter 81 and the count value of the reference counter 82, and compares the count value of the measurement counter 81 with the count value of the reference counter 82. . For example, if the frequency of the clock signal of the measurement counter 81 is 10 MHz and the frequency of the clock generation circuit 85 connected to the reference counter 82 is 10 MHz, the clock generator having the reference signal oscillator 80 and the clock connected to the reference counter 82 If the generator 85 generates a clock signal having the same frequency, the count value of the measurement counter 81 and the count value of the reference counter 82 become the same value, but the characteristics of the reference signal oscillator 80 change. If so, a difference occurs between the count value of the measurement counter 81 and the count value of the reference counter 82. When there is a difference between the count value of the measurement counter 81 and the count value of the reference counter 82, the control unit 60 determines whether the difference is within a predetermined allowable error range, and determines the determination result. 8 to the output terminal 84. As a result, it is possible to carry out periodic calibration for finding characteristic deterioration of the clock generator provided with the reference signal oscillator 80.

また、図19に示すように、半導体装置24のLSI30Aにクロック発生回路85が内蔵されている場合であっても、LSI30Aの内部に、発振回路51から出力されたクロック信号及びクロック発生回路85から出力されたクロック信号の何れか一方を選択的に入力し、測定カウンタ81に出力するセレクタ86を接続しても良い。図19に示す半導体装置24では、セレクタ86を接続することにより、図18に示す半導体装置24と同様に機能させることができる。   As shown in FIG. 19, even if the LSI 30A of the semiconductor device 24 includes the clock generation circuit 85, the clock signal output from the oscillation circuit 51 and the clock generation circuit 85 are included in the LSI 30A. A selector 86 that selectively inputs one of the output clock signals and outputs it to the measurement counter 81 may be connected. The semiconductor device 24 shown in FIG. 19 can function in the same manner as the semiconductor device 24 shown in FIG. 18 by connecting the selector 86.

(第3実施形態) (Third embodiment)

次に、本発明の第3実施形態に係る半導体装置200について説明する。なお、第1実施形態と同一の構成については、同一の符号を付し、説明を省略する。図20及び図21に示すように、本実施形態に係る半導体装置200を構成するリードフレーム202のダイパッド202Aは、平面上に形成されており、段差部がない。   Next, a semiconductor device 200 according to a third embodiment of the present invention will be described. In addition, about the structure same as 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted. As shown in FIGS. 20 and 21, the die pad 202A of the lead frame 202 constituting the semiconductor device 200 according to the present embodiment is formed on a plane and has no stepped portion.

また、ダイパッド202Aの発振子28が搭載される発振子搭載領域には、発振子搭載用梁206を挟んで2つの開口部202Cが形成されており、発振子搭載用梁206には、接着剤を介して発振子28が搭載されている。ここで、発振子28は、外部電極34と開口部202Cとが対向する方向に搭載される。また、リードフレーム202の裏面のダイパッド202Aには、接着剤を介してLSI30が搭載されている。このLSI30から発振子28へ延びたボンディングワイヤ52は、開口部202Cを通じて発振子28の外部電極34へ接続されている。   In addition, two openings 202C are formed in the oscillator mounting region on which the oscillator 28 of the die pad 202A is mounted, with the oscillator mounting beam 206 interposed therebetween. An oscillator 28 is mounted via Here, the oscillator 28 is mounted in a direction in which the external electrode 34 and the opening 202C face each other. The LSI 30 is mounted on the die pad 202A on the back surface of the lead frame 202 via an adhesive. The bonding wire 52 extending from the LSI 30 to the oscillator 28 is connected to the external electrode 34 of the oscillator 28 through the opening 202C.

また、LSI30は、ダイパッド202Aの中央部より左側にずらして搭載されており、ダイパッド202Aに形成された開口部202Cと重ならないようになっている。このため、LSI30の全面がダイパッド202Aと接着している。   The LSI 30 is mounted on the left side of the center portion of the die pad 202A so as not to overlap the opening 202C formed in the die pad 202A. For this reason, the entire surface of the LSI 30 is bonded to the die pad 202A.

ダイパッド202Aの第1の面に発振子28を、第1の面とは反対側の第2の面にLSI30を固定し、LSI30の発振子用電極パッド54と発振子28の外部電極34、及びLSI30の電極パッド50とインナーリード38Aとをボンディングワイヤ52で接続している。   The oscillator 28 is fixed to the first surface of the die pad 202A, the LSI 30 is fixed to the second surface opposite to the first surface, the oscillator electrode pad 54 of the LSI 30, the external electrode 34 of the oscillator 28, and The electrode pad 50 of the LSI 30 and the inner lead 38A are connected by a bonding wire 52.

ここで、図21に示すように、第1の封止樹脂31は、ダイパッド202Aの表裏にそれぞれ吐出されて発振子28を封止している。すなわち、ダイパッド202Aの発振子28が搭載された側を表に向けた状態で、ディスペンサーから発振子28へ第1の封止樹脂31を吐出し、一端加熱処理を行う。続いて、半導体装置200を反転させ、発振子28の外部電極34を上に向けた状態にして、ディスペンサーから発振子28へ第1の封止樹脂31を吐出する。このとき、第1の封止樹脂31でダイパッド202Aの開口部202Cを充填するのが好ましい。   Here, as shown in FIG. 21, the first sealing resin 31 is discharged onto the front and back surfaces of the die pad 202 </ b> A to seal the oscillator 28. That is, the first sealing resin 31 is discharged from the dispenser to the oscillator 28 with the side on which the oscillator 28 of the die pad 202A is mounted facing up, and heat treatment is performed once. Subsequently, the semiconductor device 200 is inverted, the external electrode 34 of the oscillator 28 is directed upward, and the first sealing resin 31 is discharged from the dispenser to the oscillator 28. At this time, it is preferable to fill the opening 202C of the die pad 202A with the first sealing resin 31.

本実施形態に係る半導体装置200では、発振子28の搭載面の一部が第1の封止樹脂31で覆われるので、第1実施形態に係る半導体装置24と比べて、発振子28とダイパッド202Aとの接触面積が減少し、その分だけ広い範囲を第1の封止樹脂31で封止できる。これにより、第2の封止樹脂32に熱応力が作用した場合、第1の封止樹脂31を介して発振子28に均等に応力を作用させることができ、発振子28の周波数が変動するのを抑制できる。その他の作用については、第1実施形態と同様である。   In the semiconductor device 200 according to the present embodiment, a part of the mounting surface of the oscillator 28 is covered with the first sealing resin 31, so that the oscillator 28 and the die pad are compared with the semiconductor device 24 according to the first embodiment. The contact area with 202A is reduced, and a wider range can be sealed with the first sealing resin 31 accordingly. As a result, when thermal stress acts on the second sealing resin 32, the stress can be evenly applied to the oscillator 28 via the first sealing resin 31, and the frequency of the oscillator 28 varies. Can be suppressed. Other operations are the same as in the first embodiment.

(第4実施形態) (Fourth embodiment)

次に、本発明の第4実施形態に係る半導体装置300について説明する。なお、第1実施形態と同一の構成については、同一の符号を付し、説明を省略する。図22に示すように、本実施形態に係る半導体装置300を構成するリードフレーム302は、段差部304が形成されたダイパッド302Aを有している。   Next, a semiconductor device 300 according to a fourth embodiment of the present invention will be described. In addition, about the structure same as 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted. As shown in FIG. 22, the lead frame 302 constituting the semiconductor device 300 according to this embodiment has a die pad 302 </ b> A in which a step portion 304 is formed.

図23に示すように、ダイパッド302Aは、リードフレーム302の中央部に位置しており、段差部304より図中右側の第1搭載面302Bと、段差部304より図中左側の第2搭載面302Cとを備えて構成されている。また、図23に示すように、第1搭載面302Bには、発振子28が搭載される発振子搭載領域314が設けられており、第2搭載面302Cには、LSI30が搭載されるLSI搭載領域316が設けられている。   As shown in FIG. 23, the die pad 302A is located at the center of the lead frame 302, and the first mounting surface 302B on the right side in the drawing from the step portion 304 and the second mounting surface on the left side in the drawing from the step portion 304. 302C. Further, as shown in FIG. 23, the first mounting surface 302B is provided with an oscillator mounting region 314 on which the oscillator 28 is mounted, and the second mounting surface 302C has an LSI mounting on which the LSI 30 is mounted. Region 316 is provided.

ここで、発振子搭載領域314には、ダイパッド302Aを厚み方向に貫通する複数の開口部318が形成されている。本実施形成では、8つの開口部318が2列で等間隔に配列されているが、これに限らず、開口部318の大きさ、及び開口部318の数については、適宜変更してもよい。   Here, in the oscillator mounting region 314, a plurality of openings 318 penetrating the die pad 302A in the thickness direction are formed. In this embodiment, eight openings 318 are arranged in two rows at equal intervals. However, the present invention is not limited to this, and the size of the openings 318 and the number of openings 318 may be changed as appropriate. .

発振子搭載領域314は、上記複数の開口部318によって、図中上下方向に延びる梁部320A、及び図中左右方向に延びる梁部320Bで構成されている。この梁部320A、320Bに接着剤を塗布して発振子28が搭載される。   The oscillator mounting region 314 includes a beam portion 320A extending in the vertical direction in the drawing and a beam portion 320B extending in the horizontal direction in the drawing by the plurality of openings 318. The oscillator 28 is mounted by applying an adhesive to the beam portions 320A and 320B.

発振子搭載領域314に搭載された発振子28は、図22に示すように、第1の封止樹脂31で封止される。ここで、第1の封止樹脂31は、ダイパッド302Aの発振子28が搭載された面とは反対側の面にも吐出され、開口部318に充填される。   The oscillator 28 mounted on the oscillator mounting region 314 is sealed with a first sealing resin 31 as shown in FIG. Here, the first sealing resin 31 is also discharged onto the surface of the die pad 302 </ b> A opposite to the surface on which the oscillator 28 is mounted, and fills the opening 318.

本実施形態に係る半導体装置300では、梁部材320A、320Bの上に発振子28が搭載されているので、第1実施形態と比べてダイパッド302Aとの接触面積が減少し、ダイパッド302Aからの応力を受けにくくなっている。   In the semiconductor device 300 according to the present embodiment, since the oscillator 28 is mounted on the beam members 320A and 320B, the contact area with the die pad 302A is reduced as compared with the first embodiment, and the stress from the die pad 302A is reduced. It is hard to receive.

また、ダイパッド302Aからの応力は、梁部320A、320Bを介して発振子28へ均等に作用するので、応力集中を抑制できる。さらに、複数の開口部318に第1の封止樹脂31が充填されており、発振子28は、梁部320A、320Bを除いて6面が第1の封止樹脂31で封止されるため、半導体装置300の外形を構成する第2の封止樹脂32に歪が作用した場合であっても、第1の封止樹脂31によって歪が低減され、発振子28の周波数が変動するのを抑制できる。その他の作用については、第1実施形態と同様である。なお、開口部318に第1の封止樹脂31を充填せずに、発振子28側だけに第1の封止樹脂31を吐出してもよい。   Further, the stress from the die pad 302A acts on the oscillator 28 evenly via the beam portions 320A and 320B, so that stress concentration can be suppressed. Further, the first sealing resin 31 is filled in the plurality of openings 318, and the oscillator 28 is sealed with the first sealing resin 31 except for the beam portions 320A and 320B. Even when a strain acts on the second sealing resin 32 constituting the outer shape of the semiconductor device 300, the strain is reduced by the first sealing resin 31 and the frequency of the oscillator 28 fluctuates. Can be suppressed. Other operations are the same as in the first embodiment. Alternatively, the first sealing resin 31 may be discharged only to the oscillator 28 side without filling the opening 318 with the first sealing resin 31.

以上、本発明の第1〜第4実施形態について説明したが、本発明はこうした実施形態に限定されるものでなく、第1〜第4実施形態を組み合わせて用いてもよいし、本発明の要旨を逸脱しない範囲において、種々なる態様で実施し得ることは勿論である。   The first to fourth embodiments of the present invention have been described above, but the present invention is not limited to such embodiments, and the first to fourth embodiments may be used in combination. Needless to say, the present invention can be implemented in various forms without departing from the scope of the invention.

10 積算電力量計(計測機器)
22 電力量計測回路(計測手段)
24 半導体装置
26 リードフレーム
28 発振子
30 LSI(集積回路)
31 第1の封止樹脂(第1の封止部材)
32 第2の封止樹脂(第2の封止部材)
49 接着剤
200 半導体装置
202 リードフレーム
300 半導体装置
302 リードフレーム
320 開口部
10 watt-hour meter (measuring equipment)
22 Electricity measurement circuit (measuring means)
24 Semiconductor Device 26 Lead Frame 28 Oscillator 30 LSI (Integrated Circuit)
31 1st sealing resin (1st sealing member)
32 Second sealing resin (second sealing member)
49 Adhesive 200 Semiconductor Device 202 Lead Frame 300 Semiconductor Device 302 Lead Frame 320 Opening

Claims (8)

ダイパッドの周囲に複数形成されたインナーリードを有するリードフレームと、
前記ダイパッドの第1の表面に搭載された発振子と、
前記ダイパッドの前記第1の表面とは異なる第2の表面に搭載され、前記発振子と電気的に接続された集積回路と、
前記発振子を封止する第1の封止部材と、
前記第1の封止部材で封止された前記発振子、及び前記集積回路を封止する第2の封止部材と、を備え、
前記第2の封止部材の高さ方向における前記第1の表面から前記インナーリードの厚さの中心までの距離が、前記第2の封止部材の高さ方向における前記第2の表面から前記インナーリードの厚さの中心までの距離よりも長く形成されている半導体装置。
A lead frame having a plurality of inner leads formed around the die pad;
An oscillator mounted on the first surface of the die pad;
An integrated circuit mounted on a second surface different from the first surface of the die pad and electrically connected to the oscillator;
A first sealing member for sealing the oscillator;
The oscillator sealed with the first sealing member, and a second sealing member for sealing the integrated circuit,
The distance from the first surface in the height direction of the second sealing member to the center of the thickness of the inner lead is from the second surface in the height direction of the second sealing member. A semiconductor device formed longer than the distance to the center of the thickness of the inner lead.
前記第1の封止部材は、前記第2の封止部材より弾性率が低い請求項1に記載の半導体装置。   The semiconductor device according to claim 1, wherein the first sealing member has a lower elastic modulus than the second sealing member. 前記発振子は、接着部材を介して前記第1の表面に接着されており、
前記接着部材は、前記第1の封止部材と同じ弾性率を有する請求項1又は2に記載の半導体装置。
The oscillator is bonded to the first surface via an adhesive member,
The semiconductor device according to claim 1, wherein the adhesive member has the same elastic modulus as that of the first sealing member.
前記第1の表面の少なくとも一部は、前記第1の封止部材で覆われている請求項1〜3の何れか1項に記載の半導体装置。   The semiconductor device according to claim 1, wherein at least a part of the first surface is covered with the first sealing member. 前記ダイパッドの前記発振子が搭載される発振子搭載領域には、開口部が形成されており、
前記開口部には、前記第1の封止部材が充填されている請求項4に記載の半導体装置。
An opening is formed in an oscillator mounting region where the oscillator of the die pad is mounted,
The semiconductor device according to claim 4, wherein the opening is filled with the first sealing member.
前記発振子及び前記集積回路は、前記ダイパッドの一方の面の前記第1の表面及び前記第2の表面に搭載されている請求項1〜5の何れか1項に記載の半導体装置。   The semiconductor device according to claim 1, wherein the oscillator and the integrated circuit are mounted on the first surface and the second surface of one surface of the die pad. 請求項1〜6の何れか1項に記載の半導体装置と、
前記半導体装置から出力された信号に応じて積算量を計測する計測手段と、
を有する計測機器。
A semiconductor device according to any one of claims 1 to 6;
Measuring means for measuring an integrated amount according to a signal output from the semiconductor device;
Measuring instrument.
ダイパッドの周囲に複数形成されたインナーリードを有するリードフレームにおいて前記ダイパッドの第1の表面に発振子を搭載する工程と、
前記ダイパッドの前記第1の表面とは異なる第2の表面に集積回路を搭載する工程と、
前記発振子と前記集積回路とを電気的に接続する工程と、
前記発振子を第1の封止部材で封止する工程と、
前記第1の封止部材で封止された前記発振子、及び前記集積回路を第2の封止部材で封止する工程と、を備え、
前記第2の封止部材の高さ方向における前記第1の表面から前記インナーリードの厚さの中心までの距離が、前記第2の封止部材の高さ方向における前記第2の表面から前記インナーリードの厚さの中心までの距離よりも長く形成されている半導体装置の製造方法。
Mounting an oscillator on a first surface of the die pad in a lead frame having a plurality of inner leads formed around the die pad;
Mounting an integrated circuit on a second surface different from the first surface of the die pad;
Electrically connecting the oscillator and the integrated circuit;
Sealing the oscillator with a first sealing member;
Sealing the oscillator sealed with the first sealing member, and sealing the integrated circuit with a second sealing member,
The distance from the first surface in the height direction of the second sealing member to the center of the thickness of the inner lead is from the second surface in the height direction of the second sealing member. A method of manufacturing a semiconductor device, which is formed longer than the distance to the center of the thickness of the inner lead.
JP2013124892A 2013-06-13 2013-06-13 Semiconductor device, measuring instrument, and manufacturing method of semiconductor device Active JP6177018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013124892A JP6177018B2 (en) 2013-06-13 2013-06-13 Semiconductor device, measuring instrument, and manufacturing method of semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013124892A JP6177018B2 (en) 2013-06-13 2013-06-13 Semiconductor device, measuring instrument, and manufacturing method of semiconductor device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017135681A Division JP6363273B2 (en) 2017-07-11 2017-07-11 Semiconductor device, measuring instrument, and manufacturing method of semiconductor device

Publications (2)

Publication Number Publication Date
JP2015002211A JP2015002211A (en) 2015-01-05
JP6177018B2 true JP6177018B2 (en) 2017-08-09

Family

ID=52296565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013124892A Active JP6177018B2 (en) 2013-06-13 2013-06-13 Semiconductor device, measuring instrument, and manufacturing method of semiconductor device

Country Status (1)

Country Link
JP (1) JP6177018B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7420640B2 (en) * 2019-07-10 2024-01-23 旭化成エレクトロニクス株式会社 Current sensor and current sensor manufacturing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2555428B2 (en) * 1988-10-24 1996-11-20 株式会社日立製作所 Lead frame and method of manufacturing semiconductor device using the same
JP3274963B2 (en) * 1996-04-19 2002-04-15 株式会社日立製作所 Semiconductor device
JPH11312763A (en) * 1998-04-28 1999-11-09 Mitsumi Electric Co Ltd Semiconductor device
JPWO2007020701A1 (en) * 2005-08-18 2009-02-19 株式会社シーアンドエヌ Acceleration sensor device
JP2011049421A (en) * 2009-08-28 2011-03-10 Origin Electric Co Ltd Insulated, sealed electronic component and method of manufacturing the same

Also Published As

Publication number Publication date
JP2015002211A (en) 2015-01-05

Similar Documents

Publication Publication Date Title
JP5306512B1 (en) Semiconductor device, measuring instrument, and correction method
JP5952074B2 (en) Semiconductor device and measuring instrument
JP2023162425A (en) Manufacturing method for semiconductor device
JP5281175B1 (en) Semiconductor device and measuring instrument
JP6276338B2 (en) Semiconductor device and measuring instrument
JP5985877B2 (en) Semiconductor device and measuring instrument
JP6177018B2 (en) Semiconductor device, measuring instrument, and manufacturing method of semiconductor device
JP6363273B2 (en) Semiconductor device, measuring instrument, and manufacturing method of semiconductor device
JP7425131B2 (en) semiconductor equipment
JP6772321B2 (en) Manufacturing method of semiconductor devices
JP6493995B2 (en) Semiconductor device and measuring instrument
JP6346227B2 (en) Semiconductor device and measuring instrument
JP6493994B2 (en) Manufacturing method of semiconductor device
JP6151826B2 (en) Semiconductor device and measuring instrument
JP6646077B2 (en) Semiconductor equipment and measuring equipment
JP5467160B2 (en) Semiconductor device and measuring instrument
JP5980632B2 (en) Semiconductor device and measuring instrument
JP6085421B2 (en) Manufacturing method of semiconductor device
JP6116817B2 (en) Resin sealing method and semiconductor device manufacturing method
JP2018129553A (en) Semiconductor device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160610

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170602

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170613

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170711

R150 Certificate of patent or registration of utility model

Ref document number: 6177018

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150