JP4422284B2 - A / D converter and semiconductor pressure sensor device - Google Patents

A / D converter and semiconductor pressure sensor device Download PDF

Info

Publication number
JP4422284B2
JP4422284B2 JP2000061550A JP2000061550A JP4422284B2 JP 4422284 B2 JP4422284 B2 JP 4422284B2 JP 2000061550 A JP2000061550 A JP 2000061550A JP 2000061550 A JP2000061550 A JP 2000061550A JP 4422284 B2 JP4422284 B2 JP 4422284B2
Authority
JP
Japan
Prior art keywords
output
circuit
reference voltage
voltage
counter
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.)
Expired - Fee Related
Application number
JP2000061550A
Other languages
Japanese (ja)
Other versions
JP2001251189A (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.)
Hokuriku Electric Industry Co Ltd
Original Assignee
Hokuriku Electric Industry 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 Hokuriku Electric Industry Co Ltd filed Critical Hokuriku Electric Industry Co Ltd
Priority to JP2000061550A priority Critical patent/JP4422284B2/en
Publication of JP2001251189A publication Critical patent/JP2001251189A/en
Application granted granted Critical
Publication of JP4422284B2 publication Critical patent/JP4422284B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measuring Fluid Pressure (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、アナログ回路により構成された積分回路とクロックパルス発生回路とを用いたA/D変換器及びこのA/D変換器を用いた半導体圧力センサ装置に関するものである。
【0002】
【従来の技術】
マイクロコンピュータや水晶発振器を用いるとA/D変換器の変換精度を高めることができることは分かっている。しかしながら最近の電子部品及びセンサの価格についての低下要求は非常に強く、価格の点からマイクロコンピュータや水晶発振器を用いることができない場合も多い。このような要求に応えるためには、アナログ回路の積分回路やCR発振回路等からなる水晶振動子を用いないクロックパルス発生回路を用いてA/D変換器を構成せざるを得ない。
【0003】
【発明が解決しようとする課題】
しかしながらアナログ回路の積分回路やCR発振回路等は、使用する部品の性能によって出力に誤差やバラツキが発生するため、変換精度を高めることは難しい。
【0004】
本発明の目的は、マイクロコンピュータを用いることなく、簡単な構成で、変換精度を高めることができるA/D変換器を提供することにある。
【0005】
本発明の他の目的は、精度が高くしかも安価な半導体圧力センサ装置を提供することにある。
【0006】
【課題を解決するための手段】
本発明のA/D変換器は、アナログ回路によって構成されて積分動作を行う積分回路と、水晶振動子を用いずにアナログ回路によって構成されて所定の周期のクロックパルスを発生するクロックパルス発生回路と、予め定めた第1の基準電圧V1とこの第1の基準電圧よりも高い第2の基準電圧V2を発生する基準電圧発生回路と、第1及び第2のカウンタと、ゲートアレイからなる演算回路とを備えている。
【0007】
第1のカウンタは、積分回路の出力、クロックパルス発生回路の出力及び基準電圧発生回路の出力を入力として、積分回路の出力が予め定めた第1の基準電圧V1を超えてから第2の基準電圧V2に達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Frefをカウントする。また第2のカウンタは、積分回路の出力、第2の基準電圧V2よりも小さいデジタル変換の対象とするアナログ電圧Vm及び基準電圧発生回路の出力とを入力として、積分回路の出力が予め定めた第1の基準電圧V1を超えてからアナログ電圧Vmに達するまでの間にクロックパルス発生回路から出力されるクロックパルスの数Fmをカウントする。そして演算回路は、第2のカウンタでカウントしたカウント値Fmを第1のカウンタがカウントしたカウント値Frefにより除した値Fm/Frefまたは第1のカウンタでカウントしたカウント値Frefを第2のカウンタがカウントしたカウント値Fmにより除した値Fref/Fmに係数kを乗算した値(Fm/Fref)×kまたは(Fref/Fm)×kをアナログ電圧Vmのデジタル変換値として出力する。なおこの演算回路をゲートアレイによって構成すると、必要な演算をマイクロコンピュータを用いずに実行することができて、しかもA/D変換器を用いる装置の価格を下げることができる。
【0008】
本発明では、共通の1つの積分回路の出力とクロックパルス発生回路の出力を用いて第1及び第2のカウンタでカウント動作を行い、しかも演算回路でFm/FrefまたはFref/Fmの除算を行うため、共通の積分回路及びクロックパルス発生回路が原因となって発生する誤差または出力のバラツキを除算動作によって除去することができる。したがってアナログ回路から構成される積分回路及びクロックパルス発生回路を用いても、両回路の構成及び使用部品が原因になって発生するA/D変換器の出力のバラツキを小さくすることができる。なお係数kは、使用する積分回路及びクロックパルス回路によって任意に定まる値である。
【0009】
本発明のA/D変換器の用途は任意であるが、特に小形でしかも低価格のセンサの信号処理回路に適している。例えば、半導体圧力センサのアナログ出力電圧Vmをデジタル値に変換して出力するA/D変換器を備えた半導体圧力センサ装置に、本発明のA/D変換器を適用すると、装置の価格を大幅に下げることができる。
【0010】
半導体圧力センサ装置では、温度の変動により半導体圧力センサの出力が変動する。そのためセンサ出力に温度補償を行うのが一般的である。そこで温度センサの出力をA/D変換する場合にも本発明を適用すれば、センサの出力精度を更に上げることができる。その場合には、半導体圧力センサの温度を測定して測定結果を電圧値として出力する温度センサと、積分回路の出力、クロックパルス発生回路の出力及び温度センサの出力電圧を入力として、積分回路の出力が予め定めた第1の基準電圧V1を超えてから温度センサの出力電圧に達するまでの間にクロックパルス発生回路から出力されるクロックパルスの数Ftをカウントする第3のカウンタとを設ける。そしてゲートアレイからなる演算回路は、第2のカウンタでカウントしたカウント値Fmを第1のカウンタがカウントしたカウント値Frefにより除した値Fm/Frefに係数kを乗算した値(Fm/Fref)×k、第3のカウンタでカウントした値Ftを第1のカウンタがカウントしたカウント値Frefにより除した値Ft/Frefを用いて補正してアナログ電圧Vmのデジタル変換値として出力する。このようにすると温度センサの測定値も補正されるため、半導体圧力センサ装置の測定精度が更に向上する。
【0011】
なお温度補正の方法は任意であるが、値(Fm/Fref)×kに値Ft/Frefを加減算した値を半導体圧力センサ装置の出力のデジタル変換値として出力するようにしてもよい。このようにすると簡単に温度補正を行える。
【0012】
【発明の実施の形態】
以下図面を参照して、本発明のA/D変換器を適用した本尾発明の半導体圧力センサ装置の実施の形態の一例について説明する。図1は本発明の実施の形態の一例の構成を示すブロック図である。同図において、1はアナログ回路によって構成され、所定の一定周期T0で積分動作を繰り返す積分回路である。この積分回路1としては、例えばオペアンプとコンデンサと抵抗体とを組み合わせて構成される公知の回路を用いることができる。積分回路1は、図2(A)に示すように周期的な3角波を発生する。積分回路1の出力電圧Vは、時間tの関数としてt=0からT0の間にV=0からVmaxまでほぼリニアに増加し、t=T0でV=0に戻る。積分回路1の出力は、この過程を周期的に繰り返す。Vmax=A・T0の定数Aは電圧Vと時間tの直線関係の立ち上がりの勾配である。
【0013】
図1において、3は水晶振動子を用いずにアナログ回路によって構成されて周期Tsのクロックパルスを発生するクロックパルス発生回路である。この水晶振動子を用いないクロックパルス発生回路3としては、例えば公知のLC発振回路やCR発振回路を用いることができる。
【0014】
5は予め定めた第1の基準電圧V1と第1の基準電圧V1よりも高い第2の基準電圧V2を発生する基準電圧発生回路である。この基準電圧発生回路5は例えば複数の抵抗体を直列に接続した分圧回路からなり、2つの分圧点から2種類の基準電圧V1及びV2を出力する。2種の基準電圧V1、V2は、デジタル変換の対象とするアナログ電圧Vmの下限値と上限値とを規定する。
【0015】
6は公知の半導体圧力センサであり、A/D変換の対象とするアナログ電圧Vmを出力する。またスイッチ回路SW1は、基準電圧発生回路5から出力される第1及び第2の基準電圧V1及びV2を選択して第1のコンパレータ7aに供給するものであり、トランジスタ等の半導体スイッチ回路により構成される。スイッチ回路SW1は、積分回路1の出力と同期して切り替わり、周期T0の間で積分回路1の出力電圧がV1に達する前には第1の基準電圧V1を選択しており、積分回路1の出力電圧VがV1に達した後第2の基準電圧V2を選択し、積分回路1の出力電圧Vが第2の基準電圧に達した後に第1の基準電圧V1を選択するように構成されている。
【0016】
またスイッチ回路SW2は基準電圧発生回路5の第1の基準電圧V1を出力する出力端子と半導体圧力センサ6の出力端子とを選択して、それぞれの出力を第2のコンパレータ7bに選択的に出力する。スイッチ回路SW2もスイッチ回路SW1と同様に積分回路1の出力と同期して切り替わり、スイッチ回路SW1と一緒に第1の基準電圧V1を選択する。但し、スイッチ回路SW2は積分回路1の出力電圧Vが第1の基準電圧V1に達した後は、直ちに切換動作を行って半導体圧力センサ6の出力を第2のコンパレータ7bに出力する。そしてスイッチ回路SW2は、スイッチ回路SW1が第2の基準電圧V2の選択から第1の基準電圧V1の選択に切り替わるときに、それに同期して第1の基準電圧V1を選択する。
【0017】
第1のコンパレータ7aは、積分回路1の出力電圧Vとスイッチ回路SW1からの信号(第1及び第2の基準電圧V1及びV2)とを入力として両者を比較し、図2(B)に示すような矩形波状の比較信号をS0出力する。即ち第1のコンパレータ7aは、積分回路1の出力電圧Vが第1の基準電圧V1を超えてから第2の基準電圧V2に達するまでの間、論理値1を意味する比較信号S0を出力し、それ以外の時間は論理値0の信号を出力する。積分回路1の出力の1周期T0内で比較信号S0が論理値1の状態になっている時間Trefは、Tref=(V2−V1)/Aで求められる。
【0018】
第2のコンパレータ7bには、積分回路1の出力電圧Vとスイッチ回路SW2が選択した電圧信号(V1,Vm)とが入力される。第2のコンパレータ7bは、2つの入力電圧を比較して、図2(C)のような比較信号S1を出力する。すなわち第2のコンパレータ7bは、積分回路1の出力電圧Vが基準電圧V1を超えてからアナログ電圧Vmに達するまでの間、論理値1の比較信号S1を出力し、それ以外の時間は論理値0の信号を出力する。積分回路1の出力の1周期T0内で比較信号S1が論理値1の状態になっている時間Tmは、Tm=(Vm−V1)/Aで求められる。
【0019】
第1及び第2のコンパレータ7a及び7bの出力は、それぞれ第1及び第2のカウンタ回路9a及び9bに入力される。第1及び第2のカウンタ回路9a及び9bには、それぞれクロックパルス発生回路3からクロックパルス信号CPが入力される。第1及び第2のカウンタ回路9a及び9bは、それぞれアンド回路ANDa及びANDbとカウント手段CMa及びとCMbとから構成されている。第1のカウンタ回路9aのアンド回路ANDaには第1のコンパレータ7aからの比較信号S0とクロックパルス発生回路3から出力された周期Ts(<T0)のクロックパルス信号CPが入力される。アンド回路ANDaの出力信号は図2(D)のような波形になる。即ち、第1のコンパレータ7aは、論理値1の状態にある時間Tref内だけクロックパルス発生回路3から出力されるクロックパルス信号CPを出力する。そしてカウント手段CMaは、この間に発生するパルス数Frefをカウントし、これをデジタル値として出力する。このFrefは次式のように表現することができる。
【0020】
Fref=[(V2−V1)/(A・Ts)] (1)
また第2のカウンタ回路9bのアンド回路ANDbには第2のコンパレータ7bからの比較信号S1とクロックパルス発生回路3からのクロックパルス信号CPとが入力される。アンド回路ANDbの出力信号は図2(E)のような波形になる。即ち、第2のコンパレータ7bから入力される比較信号S1が論理値1の状態にある時間Tmの間だけ、クロックパルス信号CPがアンド回路ANDbから出力される。カウント手段CMbは、この時間Tmの間にアンド回路ANDbから出力されるクロックパルスの数Fmをカウントして、デジタル値として出力する。ここでパルス数Fmは次式のように表現することができる。
【0021】
Fm=[(Vm−V1)/(A・Ts)] (2)
第1及び第2のカウンタ回路9a、9bの出力Fref、Fmは積分回路1の1周期T0の間保持される。積分回路1の1周期が終了し、三角波形の出力電圧Vが0になると第1及び第2のカウンタ回路9a及び9bの出力は0にリセットされる。なおこの例では、第1のコンパレータ7aと第1のカウンタ回路9aとにより第1のカウンタ10aが構成され、第2のコンパレータ7bと第2のカウンタ回路9bとにより第2のカウンタ10bが構成されている。
【0022】
第1及び第2のカウンタ回路9a及び9bの出力は、ゲートアレイによって構成された演算回路11に入力される。演算回路11は、第2のカウンタ回路9bでカウントしたカウント値Fmを第1のカウンタ回路9aがカウントしたカウント値Frefにより除した値Fm/Frefまたはこれに係数kを乗算した値(Fm/Fref)×k、あるいは値Frefを値Fmにより除した値Fref/Fmまたはこれに係数kを乗算した値(Fref/Fm)×kをアナログ電圧Vmのデジタル変換値として積分回路1の1サイクル内に出力する。
【0023】
ここでAD変換の出力としてFm/Fref(またはFref/Fm)の比を用いる理由を説明する。FmとFrefの値は、部品の性能のバラツキにより、(1)式、(2)式に示すように積分回路1の定数Aとクロックパルス発生回路3の出力の周期Tsが変わると変動する。しかしながら、Fm/Frefの比をとるとこれらの定数は消去され、部品の性能のバラツキにより定数Aと周期Tsが変動しても演算結果は変わらない。以上の関係を用いると、
Vm−V1≒(Fm/Fref)(V2−V1) (3)
の関係が成立する。第1及び第2の基準電圧V1、V2が変動しないとすれば、Vmの変換値は正しい。ここで「ほぼ等しい」の意味の等式≒の左辺と右辺の式は一見デジタル数とアナログ変数が混合した式になっている。そこで等式の中のアナログ変数をデジタル数と同じ有効数字の桁数の数値で書いたものとする。そうすると、左辺と右辺はデジタル数になって、これらの間の等式が近似的に成立する。以下全ての等号≒はそのような意味を表現しているものとする。ここで例えば(V2−V1)≒kのように(V2−V1)をデジタル値kで表すと
Vm−V1≒k(Fm/Fref) (4)
よりV1を基準とするVmのデジタル変換値が求まる。この変換値には積分回路の定数Aとクロック回路の周期Tsの変動に起因する誤差は含まれない。
【0024】
図3は本発明の第2の実施の形態の構成を示すブロック図である。この実施の形態では、図1のA/D変換器に温度センサ13の信号をA/D変換する回路と温度補償を行う演算機能を備えた演算回路11´を備えている。その他の回路構成は図1に示したものと同じであるため、同じ機能を果す回路ブロックに対しては図1に付した符号と同じ符号を付して説明を省略する。
【0025】
温度センサ13は、半導体圧力センサ6のセンサ素子を構成する半導体基板上に形成された拡散抵抗体により構成されるものであり、半導体基板の温度変化に応じてその抵抗値が変わることにより、温度の変化に応じたアナログ信号を出力する。温度センサ13の出力端子は、スイッチ回路SW3の一方の接点に接続されている。スイッチ回路SW3の他方の接点には、基準電圧発生回路5から出力される第1の基準電圧V1が入力される。スイッチ回路SW3は、スイッチ回路SW1及びSW2と同期して、基準電圧発生回路5から出力される第1の基準電圧V1と温度センサ13からの出力電圧Vtとを切り替える。スイッチ回路SW3もスイッチ回路SW1と同様に積分回路1の出力と同期して切り替わり、スイッチ回路SW1と一緒に第1の基準電圧V1を選択する。但し、スイッチ回路SW3は積分回路1の出力電圧Vが第1の基準電圧V1に達した後は、直ちに切換動作を行って温度センサ13の出力を第3のコンパレータ7cに出力する。第3のコンパレタ7cは、積分回路1の出力電圧[図4(A)]とスイッチ回路SW3の出力を入力とする。第3のコンパレータ7cは、積分回路1の出力電圧Vとスイッチ回路SW3から入力される信号(V1,Vt)とを比較し、積分回路1の出力Vが基準電圧V1を超えてから温度センサ13の出力電圧Vtに達するまでの間に論理値1を意味する比較信号S2を出力し、それ以外の時間は論理値0の信号を出力する。積分回路の1周期T0内で比較信号S2が論理値1の状態にある時間Ttは、Tt=(Vt−V1)/Aで求められる。
【0026】
第3のコンパレータ7cの出力は第3のカウンタ回路9c入力される。第3のカウンタ回路9cは、第1及び第2のカウンタ回路9a及び9bと同様にアンド回路とANDcとカウント手段CMcとから構成されている。そして第3のカウンタ回路9cも第1及び第2のカウンタ回路9a、9bと同様の働きをする。第3のカウンタ回路9cのアンド回路ANDcにはコンパレータ7cから出力される比較信号S2とクロックパルス発生回路3から出力される周期Tsのクロックパルス信号CPとが入力される。アンド回路ANDcの出力信号は図4(C)のような出力波形になる。即ち、コンパレータ7cから出力される比較信号S2が論理値1の状態にある時間Tt内だけクロックパルス発生回路3から入力されるパルス信号を出力する。カウント手段CMcは、この時間Tt内に発生するパルス数Ftをカウントする。このパルス数Ftは、次式のように表現することができる。
【0027】
Ft=[(Vt−V1)/(A・Ts)]
第1乃至第3のカウンタ回路9a〜9cの出力Fref、Fm、Ftは積分回路1の出力の1周期T0の間保持される。積分回路1の出力の1周期が終了し、積分回路1の三角波形の出力電圧Vが0になるとカウンタ回路9a〜9cの出力は0にリセットされる。なおこの例では、第3のコンパレータ7cと第3のカウンタ回路9cとから第3のカウンタ10cが構成されている。
【0028】
ゲートアレイから構成された演算回路11´は、Fm/FrefとFt/Frefの計算をする。それによって積分回路1のパラメータAとクロックパルス発生回路3の周期Tsに起因するA/D変換の誤差が消去される。この点は図1の実施の形態の半導体圧力センサの出力の処理と同じである。半導体圧力センサ6の特性が温度の関数として変動するときはFm/Frefも温度の関数になる。Ft/Frefは温度に対応しているからこのような温度依存性をFt/Frefを用いて、温度によって圧力センサのデジタル変換値が変動しないように補償することができる。特に狭い温度範囲では、Ft/FrefもFm/Frefも温度変化に関してリニアな関数になるから、Fm/Fref±k×Ft/Fref、またはk×Fm/Fref±Ft/Frefの形で温度補償を実現できる。
【0029】
【発明の効果】
本発明によれば、共通の1つの積分回路の出力とクロックパルス発生回路の出力を用いて第1及び第2のカウンタでカウント動作を行い、しかも演算回路でFm/FrefまたはFref/Fmの除算を行うため、共通の積分回路及びクロックパルス発生回路が原因となって発生する誤差または出力のバラツキを除算動作によって除去することができる。したがってアナログ回路から構成される積分回路及びクロックパルス発生回路を用いても、両回路の構成及び使用部品が原因になって発生するA/D変換器の出力のバラツキを小さくすることができる。
【図面の簡単な説明】
【図1】 本発明のA/D変換器を用いた半導体圧力センサ装置の実施の形態の一例の構成を示すブロック図である。
【図2】 (A)〜(E)は図1の各部の出力波形を示す図である。
【図3】 本発明のA/D変換器を用いた半導体圧力センサ装置の第2の実施の形態の一例の構成を示すブロック図である。
【図4】 (A)〜(E)は図3の各部の出力波形を示す図である。
【符号の説明】
1 積分回路
3 クロックパルス発生回路
5 基準電圧発生回路
半導体圧力センサ
SW1、SW2、SW3 第1乃至第3のスイッチ回
7a〜7c 第1乃至第3のコンパレータ
9a〜9c 第1乃至第3のカウンタ回路
10a〜10c 第1乃至第3のカウンタ
11、11′ 演算回路
13 温度センサ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an A / D converter using an integrating circuit constituted by an analog circuit and a clock pulse generating circuit, and a semiconductor pressure sensor device using the A / D converter.
[0002]
[Prior art]
It is known that the conversion accuracy of the A / D converter can be improved by using a microcomputer or a crystal oscillator. However, recent demands for lowering prices of electronic components and sensors are very strong, and in many cases, a microcomputer or a crystal oscillator cannot be used from the viewpoint of price. In order to meet such a demand, an A / D converter must be configured using a clock pulse generation circuit that does not use a crystal resonator such as an integration circuit of an analog circuit or a CR oscillation circuit.
[0003]
[Problems to be solved by the invention]
However, it is difficult to increase the conversion accuracy of analog circuit integration circuits, CR oscillation circuits, and the like because errors and variations occur in the output depending on the performance of the components used.
[0004]
An object of the present invention is to provide an A / D converter capable of improving conversion accuracy with a simple configuration without using a microcomputer.
[0005]
Another object of the present invention is to provide a semiconductor pressure sensor device that is highly accurate and inexpensive.
[0006]
[Means for Solving the Problems]
An A / D converter according to the present invention includes an integration circuit configured by an analog circuit and performing an integration operation, and a clock pulse generation circuit configured by an analog circuit without using a crystal resonator and generating a clock pulse having a predetermined period A reference voltage generating circuit for generating a predetermined first reference voltage V1 and a second reference voltage V2 higher than the first reference voltage, first and second counters, and a gate array Circuit.
[0007]
The first counter receives the output of the integration circuit, the output of the clock pulse generation circuit, and the output of the reference voltage generation circuit as inputs, and the second reference after the output of the integration circuit exceeds a predetermined first reference voltage V1. The number of clock pulses Fref output from the clock pulse generation circuit until the voltage V2 is reached is counted. The second counter receives the output of the integration circuit, the analog voltage Vm to be digitally converted that is smaller than the second reference voltage V2, and the output of the reference voltage generation circuit, and the output of the integration circuit is predetermined. The number Fm of clock pulses output from the clock pulse generation circuit from the time when the first reference voltage V1 is exceeded to the time when the analog voltage Vm is reached is counted. Then, the second counter outputs the value Fm / Fref obtained by dividing the count value Fm counted by the second counter by the count value Fref counted by the first counter or the count value Fref counted by the first counter. A value (Fm / Fref) × k or (Fref / Fm) × k obtained by multiplying the value Fref / Fm divided by the counted count value Fm by a coefficient k is output as a digital conversion value of the analog voltage Vm. If this arithmetic circuit is constituted by a gate array, necessary arithmetic can be executed without using a microcomputer, and the price of a device using an A / D converter can be reduced.
[0008]
In the present invention, the count operation is performed by the first and second counters using the output of one common integration circuit and the output of the clock pulse generation circuit, and the division of Fm / Fref or Fref / Fm is performed by the arithmetic circuit. Therefore, errors or output variations caused by the common integration circuit and clock pulse generation circuit can be eliminated by the division operation. Therefore, even if an integration circuit and a clock pulse generation circuit constituted by analog circuits are used, variation in the output of the A / D converter caused by the configuration of both circuits and the components used can be reduced. The coefficient k is a value that is arbitrarily determined by the integrating circuit and clock pulse circuit to be used.
[0009]
The application of the A / D converter of the present invention is arbitrary, but is particularly suitable for a signal processing circuit of a small and low-cost sensor. For example, when the A / D converter of the present invention is applied to a semiconductor pressure sensor device having an A / D converter that converts the analog output voltage Vm of the semiconductor pressure sensor into a digital value and outputs it, the price of the device is greatly increased. Can be lowered.
[0010]
In the semiconductor pressure sensor device, the output of the semiconductor pressure sensor varies due to temperature variations. Therefore, temperature compensation is generally performed on the sensor output. Therefore, the output accuracy of the sensor can be further improved by applying the present invention even when the output of the temperature sensor is A / D converted. In that case, the temperature of the semiconductor pressure sensor is measured and the measurement result is output as a voltage value, the output of the integration circuit, the output of the clock pulse generation circuit, and the output voltage of the temperature sensor are input, and the integration circuit A third counter is provided that counts the number Ft of clock pulses output from the clock pulse generation circuit from when the output exceeds the predetermined first reference voltage V1 until the output voltage of the temperature sensor is reached. Then, the arithmetic circuit including the gate array has a value (Fm / Fref) multiplied by a coefficient k multiplied by a value Fm / Fref obtained by dividing the count value Fm counted by the second counter by the count value Fref counted by the first counter × k, and outputs a value Ft counted by the third counter as a digital conversion value of the analog voltage Vm corrected by using the first counter value Ft / Fref divided by the count value Fref which has counted. In this way, the measurement value of the temperature sensor is also corrected, so that the measurement accuracy of the semiconductor pressure sensor device is further improved.
[0011]
The temperature correction method is arbitrary, but a value obtained by adding / subtracting the value Ft / Fref to the value (Fm / Fref) × k may be output as a digital conversion value of the output of the semiconductor pressure sensor device. In this way, temperature correction can be easily performed.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an example of an embodiment of a semiconductor pressure sensor device of the present invention to which an A / D converter of the present invention is applied will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an example of an embodiment of the present invention. In the figure, reference numeral 1 denotes an integration circuit which is constituted by an analog circuit and repeats the integration operation at a predetermined constant period T0. As the integration circuit 1, for example, a known circuit configured by combining an operational amplifier, a capacitor, and a resistor can be used. The integrating circuit 1 generates a periodic triangular wave as shown in FIG. The output voltage V of the integrating circuit 1 increases approximately linearly from V = 0 to Vmax between t = 0 and T0 as a function of time t, and returns to V = 0 at t = T0. The output of the integrating circuit 1 repeats this process periodically. The constant A of Vmax = A · T0 is the rising slope of the linear relationship between the voltage V and the time t.
[0013]
In FIG. 1, reference numeral 3 denotes a clock pulse generating circuit that is constituted by an analog circuit without using a crystal resonator and generates a clock pulse having a period Ts. As the clock pulse generation circuit 3 that does not use this crystal resonator, for example, a known LC oscillation circuit or CR oscillation circuit can be used.
[0014]
Reference numeral 5 denotes a reference voltage generation circuit that generates a predetermined first reference voltage V1 and a second reference voltage V2 higher than the first reference voltage V1. The reference voltage generating circuit 5 is composed of, for example, a voltage dividing circuit in which a plurality of resistors are connected in series, and outputs two types of reference voltages V1 and V2 from two voltage dividing points. The two types of reference voltages V1 and V2 define a lower limit value and an upper limit value of the analog voltage Vm to be subjected to digital conversion.
[0015]
A known semiconductor pressure sensor 6 outputs an analog voltage Vm to be subjected to A / D conversion. The switch circuit SW1 selects the first and second reference voltages V1 and V2 output from the reference voltage generation circuit 5 and supplies them to the first comparator 7a, and is constituted by a semiconductor switch circuit such as a transistor. Is done. The switch circuit SW1 switches in synchronization with the output of the integration circuit 1, and selects the first reference voltage V1 before the output voltage of the integration circuit 1 reaches V1 during the period T0. The second reference voltage V2 is selected after the output voltage V reaches V1, and the first reference voltage V1 is selected after the output voltage V of the integrating circuit 1 reaches the second reference voltage. Yes.
[0016]
The switch circuit SW2 selects an output terminal for outputting the first reference voltage V1 of the reference voltage generation circuit 5 and an output terminal of the semiconductor pressure sensor 6, and selectively outputs each output to the second comparator 7b. To do. Similarly to the switch circuit SW1, the switch circuit SW2 is switched in synchronization with the output of the integrating circuit 1, and selects the first reference voltage V1 together with the switch circuit SW1. However, after the output voltage V of the integrating circuit 1 reaches the first reference voltage V1, the switch circuit SW2 immediately performs a switching operation and outputs the output of the semiconductor pressure sensor 6 to the second comparator 7b. The switch circuit SW2 selects the first reference voltage V1 in synchronization with the switching of the switch circuit SW1 from the selection of the second reference voltage V2 to the selection of the first reference voltage V1.
[0017]
The first comparator 7a receives the output voltage V of the integrating circuit 1 and the signals (first and second reference voltages V1 and V2) from the switch circuit SW1, and compares them, as shown in FIG. Such a rectangular wave comparison signal is output as S0. That is, the first comparator 7a outputs the comparison signal S0 that means the logical value 1 until the output voltage V of the integrating circuit 1 exceeds the first reference voltage V1 and reaches the second reference voltage V2. During other times, a signal of logical value 0 is output. The time Tref in which the comparison signal S0 is in the logic 1 state within one cycle T0 of the output of the integrating circuit 1 is obtained by Tref = (V2−V1) / A.
[0018]
The output voltage V of the integrating circuit 1 and the voltage signals (V1, Vm) selected by the switch circuit SW2 are input to the second comparator 7b. The second comparator 7b compares the two input voltages and outputs a comparison signal S1 as shown in FIG. That is, the second comparator 7b outputs the comparison signal S1 having a logical value 1 until the output voltage V of the integrating circuit 1 exceeds the reference voltage V1 and reaches the analog voltage Vm. A 0 signal is output. The time Tm during which the comparison signal S1 is in the logic value 1 state within one cycle T0 of the output of the integration circuit 1 is obtained by Tm = (Vm−V1) / A.
[0019]
The outputs of the first and second comparators 7a and 7b are input to the first and second counter circuits 9a and 9b, respectively. The clock pulse signal CP from the clock pulse generation circuit 3 is input to the first and second counter circuits 9a and 9b, respectively. The first and second counter circuits 9a and 9b are composed of AND circuits ANDa and ANDb and counting means CMa and CMb, respectively. The AND circuit ANDa of the first counter circuit 9a receives the comparison signal S0 from the first comparator 7a and the clock pulse signal CP of the cycle Ts (<T0) output from the clock pulse generation circuit 3. The output signal of the AND circuit ANDa has a waveform as shown in FIG. That is, the first comparator 7a outputs the clock pulse signal CP output from the clock pulse generation circuit 3 only during the time Tref in the state of the logical value 1. The counting means CMa counts the number of pulses Fref generated during this time and outputs this as a digital value. This Fref can be expressed as:
[0020]
Fref = [(V2−V1) / (A · Ts)] (1)
The AND circuit ANDb of the second counter circuit 9b receives the comparison signal S1 from the second comparator 7b and the clock pulse signal CP from the clock pulse generation circuit 3. The output signal of the AND circuit ANDb has a waveform as shown in FIG. That is, the clock pulse signal CP is output from the AND circuit ANDb only during the time Tm when the comparison signal S1 input from the second comparator 7b is in the logic value 1 state. The count means CMb counts the number Fm of clock pulses output from the AND circuit ANDb during this time Tm and outputs it as a digital value. Here, the pulse number Fm can be expressed as follows.
[0021]
Fm = [(Vm−V1) / (A · Ts)] (2)
The outputs Fref and Fm of the first and second counter circuits 9a and 9b are held for one cycle T0 of the integrating circuit 1. When one cycle of the integrating circuit 1 is completed and the output voltage V of the triangular waveform becomes zero, the outputs of the first and second counter circuits 9a and 9b are reset to zero. In this example, the first counter 10a is constituted by the first comparator 7a and the first counter circuit 9a, and the second counter 10b is constituted by the second comparator 7b and the second counter circuit 9b. ing.
[0022]
The outputs of the first and second counter circuits 9a and 9b are input to an arithmetic circuit 11 constituted by a gate array. The arithmetic circuit 11 is a value Fm / Fref obtained by dividing the count value Fm counted by the second counter circuit 9b by the count value Fref counted by the first counter circuit 9a, or a value obtained by multiplying this by a coefficient k (Fm / Fref ) × k, or a value Fref / Fm obtained by dividing the value Fref by the value Fm, or a value obtained by multiplying this by a coefficient k (Fref / Fm) × k within one cycle of the integration circuit 1 as a digital conversion value of the analog voltage Vm. Output.
[0023]
Here, the reason why the ratio of Fm / Fref (or Fref / Fm) is used as the output of AD conversion will be described. The values of Fm and Fref fluctuate when the constant A of the integration circuit 1 and the output period Ts of the clock pulse generation circuit 3 change as shown in the equations (1) and (2) due to variations in the performance of components. However, if the ratio of Fm / Fref is taken, these constants are erased, and even if the constant A and the period Ts vary due to variations in the performance of the parts, the calculation result does not change. Using the above relationship,
Vm-V1≈ (Fm / Fref) (V2-V1) (3)
The relationship is established. If the first and second reference voltages V1 and V2 do not fluctuate, the converted value of Vm is correct. Here, the equation on the left side and the right side of the equation ≈meaning “substantially equal” appears to be a mixture of digital numbers and analog variables. Therefore, it is assumed that the analog variable in the equation is written with the same number of significant digits as the digital number. Then, the left side and the right side become digital numbers, and the equation between them is approximately established. In the following, all equal signs ≒ represent such meanings. Here, when (V2-V1) is expressed by a digital value k, for example, (V2-V1) ≈k, Vm-V1≈k (Fm / Fref) (4)
Thus, a digital conversion value of Vm with V1 as a reference is obtained. This conversion value does not include errors due to fluctuations in the constant A of the integration circuit and the cycle Ts of the clock circuit.
[0024]
FIG. 3 is a block diagram showing the configuration of the second exemplary embodiment of the present invention. In this embodiment, the A / D converter of FIG. 1 includes a circuit for A / D converting the signal of the temperature sensor 13 and an arithmetic circuit 11 ′ having an arithmetic function for performing temperature compensation. Since the other circuit configuration is the same as that shown in FIG. 1, the same reference numerals as those shown in FIG.
[0025]
The temperature sensor 13 is constituted by a diffusion resistor formed on a semiconductor substrate that constitutes the sensor element of the semiconductor pressure sensor 6, and the resistance value changes according to the temperature change of the semiconductor substrate. An analog signal corresponding to the change in the output is output. The output terminal of the temperature sensor 13 is connected to one contact of the switch circuit SW3. The first reference voltage V1 output from the reference voltage generation circuit 5 is input to the other contact of the switch circuit SW3. The switch circuit SW3 switches between the first reference voltage V1 output from the reference voltage generation circuit 5 and the output voltage Vt from the temperature sensor 13 in synchronization with the switch circuits SW1 and SW2. Similarly to the switch circuit SW1, the switch circuit SW3 switches in synchronization with the output of the integration circuit 1, and selects the first reference voltage V1 together with the switch circuit SW1. However, after the output voltage V of the integration circuit 1 reaches the first reference voltage V1, the switch circuit SW3 performs a switching operation immediately and outputs the output of the temperature sensor 13 to the third comparator 7c. Third comparator over data 7c outputs the voltage of the integration circuit 1 [FIG. 4 (A)] and the input to the output of the switch circuit SW3. The third comparator 7c compares the output voltage V of the integration circuit 1 with the signals (V1, Vt) input from the switch circuit SW3, and the temperature sensor 13 after the output V of the integration circuit 1 exceeds the reference voltage V1. Until the output voltage Vt is reached, a comparison signal S2 having a logical value 1 is output, and a signal having a logical value 0 is output at other times. The time Tt during which the comparison signal S2 is in the logic value 1 state within one cycle T0 of the integration circuit is obtained by Tt = (Vt−V1) / A.
[0026]
The output of the third comparator 7c is input to the third counter circuit 9c. Similar to the first and second counter circuits 9a and 9b, the third counter circuit 9c includes an AND circuit, ANDc, and count means CMc. The third counter circuit 9c functions in the same manner as the first and second counter circuits 9a and 9b. The AND circuit ANDc of the third counter circuit 9c receives the comparison signal S2 output from the comparator 7c and the clock pulse signal CP having the cycle Ts output from the clock pulse generation circuit 3. The output signal of the AND circuit ANDc has an output waveform as shown in FIG. That is, the pulse signal input from the clock pulse generation circuit 3 is output only during the time Tt when the comparison signal S2 output from the comparator 7c is in the state of the logical value 1. The counting means CMc counts the number of pulses Ft generated within this time Tt. This pulse number Ft can be expressed as follows.
[0027]
Ft = [(Vt−V1) / (A · Ts)]
The outputs Fref, Fm, and Ft of the first to third counter circuits 9a to 9c are held for one cycle T0 of the output of the integrating circuit 1. When one cycle of the output of the integrating circuit 1 is completed and the triangular waveform output voltage V of the integrating circuit 1 becomes 0, the outputs of the counter circuits 9a to 9c are reset to 0. In this example, a third counter 10c is composed of the third comparator 7c and the third counter circuit 9c.
[0028]
The arithmetic circuit 11 ′ composed of the gate array calculates Fm / Fref and Ft / Fref. As a result, the A / D conversion error caused by the parameter A of the integrating circuit 1 and the cycle Ts of the clock pulse generating circuit 3 is eliminated. This is the same as the output processing of the semiconductor pressure sensor of the embodiment of FIG. When the characteristics of the semiconductor pressure sensor 6 fluctuate as a function of temperature, Fm / Fref also becomes a function of temperature. Since Ft / Fref corresponds to the temperature, such temperature dependence can be compensated by using Ft / Fref so that the digital conversion value of the pressure sensor does not fluctuate depending on the temperature. In particular, in a narrow temperature range, Ft / Fref and Fm / Fref are linear functions with respect to temperature change. Therefore, temperature compensation is performed in the form of Fm / Fref ± k × Ft / Fref or k × Fm / Fref ± Ft / Fref. realizable.
[0029]
【The invention's effect】
According to the present invention, the count operation is performed by the first and second counters using the output of one common integration circuit and the output of the clock pulse generation circuit, and the arithmetic circuit divides Fm / Fref or Fref / Fm. Therefore, the error or output variation caused by the common integration circuit and clock pulse generation circuit can be eliminated by the division operation. Therefore, even if an integration circuit and a clock pulse generation circuit constituted by analog circuits are used, variation in the output of the A / D converter caused by the configuration of both circuits and the components used can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an example of an embodiment of a semiconductor pressure sensor device using an A / D converter of the present invention.
2A to FIG. 2E are diagrams showing output waveforms of respective parts in FIG.
FIG. 3 is a block diagram showing a configuration of an example of a second embodiment of a semiconductor pressure sensor device using an A / D converter of the present invention.
4A to 4E are diagrams illustrating output waveforms of respective units in FIG. 3;
[Explanation of symbols]
First integration circuit 3 clock pulse generating circuit 5 the reference voltage generating circuit 6 semiconductor pressure sensor SW1, SW2, SW3 first to third switch circuits 7a~7c first to third comparator 9a~9c first to third Counter circuit 10a to 10c First to third counters 11, 11 'arithmetic circuit 13 temperature sensor

Claims (4)

アナログ回路によって構成されて所定の周期T0で積分動作を行う積分回路と、
水晶振動子を用いずにアナログ回路によって構成されて所定の周期のクロックパルスを発生するクロックパルス発生回路と、
予め定めた第1の基準電圧V1と前記第1の基準電圧よりも高い第2の基準電圧を発生する基準電圧発生回路と、
前記積分回路の出力、前記クロックパルス発生回路の出力及び前記基準電圧発生回路の出力を入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記第2の基準電圧V2に達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Frefをカウントする第1のカウンタと
前記積分回路の出力、前記第2の基準電圧V2よりも小さいデジタル変換の対象とするアナログ電圧Vm及び前記基準電圧発生回路の出力とを入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記アナログ電圧Vmに達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Fmをカウントする第2のカウンタと、
前記第2のカウンタでカウントしたカウント値Fmを前記第1のカウンタがカウントしたカウント値Frefにより除した値Fm/Frefまたは前記第1のカウンタでカウントしたカウント値Frefを前記第2のカウンタがカウントしたカウント値Fmにより除した値Fref/Fmに係数kを乗算した値(Fm/Fref)×kまたは(Fref/Fm)×kを前記アナログ電圧Vmのデジタル変換値として出力するゲートアレイからなる演算回路と
前記積分回路1の出力と同期して切り替わり、前記所定の周期T0の間で前記積分回路の出力電圧Vが前記第1の基準電圧V1に達する前には前記第1の基準電圧V1を選択し、前記積分回路1の出力電圧Vが前記第1の基準電圧V1に達した後は前記第2の基準電圧V2を選択し、前記積分回路の出力電圧Vが前記第2の基準電圧に達した後は前記第1の基準電圧V1を選択するように構成された第1のスイッチ回路と、
前記積分回路の出力と同期して切り替わり、前記第1のスイッチ回路と一緒に前記第1の基準電圧V1を選択するが、前記積分回路の出力電圧Vが前記第1の基準電圧V1に達した後は、直ちに切換動作を行って前記アナログ電圧Vmの出力を第2のカウンタに出力し、さらに前記第1のスイッチ回路が前記第2の基準電圧V2の選択から前記第1の基準電圧V1の選択に切り替わるときに、それに同期して前記第1の基準電圧V1を選択する第2のスイッチ回路とを具備し、
前記第1のカウンタは、前記積分回路の出力電圧V及び前記第1のスイッチ回路からの信号を入力として両者を比較し、前記積分回路の出力電圧Vが前記第1の基準電圧V1を超えてから前記第2の基準電圧V2に達するまでの間、比較信号S0を出力する第1のコンパレータと、前記第1のコンパレータからの前記比較信号S0と前記クロックパルス発生回路から出力された前記クロックパルスとが入力されて、前記第1のコンパレータから前記比較信号S0が出力されている時間Tref内だけ、前記クロックパルス発生回路から出力される前記クロックパルスをカウントして、その数Frefをデジタル値として出力する第1のカウンタ回路とを備え、
前記第2のカウンタは、前記積分回路の出力電圧V及び前記第2のスイッチ回路が選択した電圧信号(V1,Vm)を2つの入力電圧とし、前記2つの入力電圧を比較して前記積分回路の出力電圧Vが前記第1の基準電圧V1を超えてから前記アナログ電圧Vmに達するまでの間、比較信号S1を出力する第2のコンパレータと、前記比較信号S1と前記クロックパルスとを入力として、前記第2のコンパレータが前記比較信号S1を出力している時間Tmの間だけ、前記クロックパルスの数Fmをカウントして、その値をデジタル値として出力する第2のカウンタ回路とを備えていることを特徴とするA/D変換器。
An integration circuit configured by an analog circuit and performing an integration operation at a predetermined period T0 ;
A clock pulse generation circuit configured to generate a clock pulse having a predetermined cycle by an analog circuit without using a crystal unit;
A reference voltage generation circuit that generates a first reference voltage V1 that is set in advance and a second reference voltage that is higher than the first reference voltage;
Using the output of the integration circuit, the output of the clock pulse generation circuit, and the output of the reference voltage generation circuit as inputs, the second reference after the output of the integration circuit exceeds the predetermined first reference voltage V1. a first counter for counting the number Fref of the clock pulse output from the clock pulse generator until it reaches the voltage V2,
Using the output of the integration circuit, the analog voltage Vm to be subjected to digital conversion smaller than the second reference voltage V2, and the output of the reference voltage generation circuit as inputs, the output of the integration circuit is determined in advance as the first. A second counter that counts the number Fm of the clock pulses output from the clock pulse generation circuit between the time when the reference voltage V1 is exceeded and the time the analog voltage Vm is reached.
The second counter counts the value Fm / Fref obtained by dividing the count value Fm counted by the second counter by the count value Fref counted by the first counter or the count value Fref counted by the first counter. An arithmetic operation comprising a gate array that outputs a value (Fm / Fref) × k or (Fref / Fm) × k obtained by multiplying the value Fref / Fm divided by the counted value Fm by a coefficient k as a digital conversion value of the analog voltage Vm. Circuit ,
Switching is performed in synchronization with the output of the integration circuit 1, and the first reference voltage V1 is selected before the output voltage V of the integration circuit reaches the first reference voltage V1 during the predetermined period T0. After the output voltage V of the integration circuit 1 reaches the first reference voltage V1, the second reference voltage V2 is selected, and the output voltage V of the integration circuit reaches the second reference voltage. A first switch circuit configured to select the first reference voltage V1;
Switching is performed in synchronization with the output of the integration circuit, and the first reference voltage V1 is selected together with the first switch circuit. However, the output voltage V of the integration circuit has reached the first reference voltage V1. After that, the switching operation is immediately performed to output the output of the analog voltage Vm to the second counter, and the first switch circuit selects the second reference voltage V1 from the selection of the second reference voltage V2. A second switch circuit for selecting the first reference voltage V1 in synchronization with the selection,
The first counter compares the output voltage V of the integration circuit and the signal from the first switch circuit as inputs, and the output voltage V of the integration circuit exceeds the first reference voltage V1. Until the second reference voltage V2 is reached, the first comparator that outputs the comparison signal S0, the comparison signal S0 from the first comparator, and the clock pulse output from the clock pulse generation circuit And the clock pulse output from the clock pulse generation circuit is counted only during the time T ref when the comparison signal S0 is output from the first comparator , and the number F ref is digitally calculated. A first counter circuit that outputs as a value,
The second counter uses the output voltage V of the integration circuit and the voltage signal (V1, Vm) selected by the second switch circuit as two input voltages, compares the two input voltages, and compares the two input voltages. The second comparator for outputting the comparison signal S1, the comparison signal S1 and the clock pulse as inputs during the period from when the output voltage V exceeds the first reference voltage V1 until the output voltage V reaches the analog voltage Vm. A second counter circuit that counts the number Fm of the clock pulses and outputs the value as a digital value only during the time Tm during which the second comparator outputs the comparison signal S1. a / D converter, characterized in that there.
半導体圧力センサのアナログ電圧Vmをデジタル値に変換して出力するA/D変換器を備えた半導体圧力センサ装置であって、
前記A/D変換器が、
アナログ回路によって構成されて所定の周期T0で積分動作を行う積分回路と、
水晶振動子を用いずにアナログ回路によって構成されて所定の周期のクロックパルスを発生するクロックパルス発生回路と、
予め定めた第1の基準電圧V1と前記第1の基準電圧よりも高い第2の基準電圧を発生する基準電圧発生回路と、
前記積分回路の出力、前記クロックパルス発生回路の出力及び前記基準電圧発生回路の出力を入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記第2の基準電圧V2に達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Frefをカウントする第1のカウンタと、
前記積分回路の出力、前記第2の基準電圧V2よりも小さいデジタル変換の対象とするアナログ電圧Vm及び前記基準電圧発生回路の出力とを入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記アナログ電圧Vmに達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Fmをカウントする第2のカウンタと、
前記第2のカウンタでカウントしたカウント値Fmを前記第1のカウンタがカウントしたカウント値Frefにより除した値Fm/Frefまたは前記第1のカウンタでカウントしたカウント値Frefを前記第2のカウンタがカウントしたカウント値Fmにより除した値Fref/Fmに係数kを乗算した値(Fm/Fref)×kまたは(Fref/Fm)×kを前記アナログ電圧Vmのデジタル変換値として出力するゲートアレイからなる演算回路と
前記積分回路の出力と同期して切り替わり、前記所定の周期T0の間で前記積分回路の出力電圧Vが前記第1の基準電圧V1に達する前には前記第1の基準電圧V1を選択し、前記積分回路1の出力電圧Vが前記第1の基準電圧V1に達した後は前記第2の基準電圧V2を選択し、前記積分回路の出力電圧Vが前記第2の基準電圧に達した後は前記第1の基準電圧V1を選択するように構成された第1のスイッチ回路と、
前記積分回路の出力と同期して切り替わり、前記第1のスイッチ回路と一緒に前記第1の基準電圧V1を選択するが、前記積分回路の出力電圧Vが前記第1の基準電圧V1に達した後は、直ちに切換動作を行って前記半導体圧力センサから出力される前記アナログ電圧Vmを第2のカウンタに出力し、さらに前記第1のスイッチ回路が前記第2の基準電圧V2の選択から前記第1の基準電圧V1の選択に切り替わるときに、それに同期して前記第1の基準電圧V1を選択する第2のスイッチ回路とを具備し、
前記第1のカウンタは、前記積分回路の出力電圧V及び前記第1のスイッチ回路からの信号を入力として両者を比較し、前記積分回路の出力電圧Vが前記第1の基準電圧V1を超えてから前記第2の基準電圧V2に達するまでの間、比較信号S0を出力する第1のコンパレータと、前記第1のコンパレータからの前記比較信号S0と前記クロックパルス発生回路から出力された前記クロックパルスとが入力されて、前記第1のコンパレータから前記比較信号S0が出力されている時間Tref内だけ、前記クロックパルス発生回路から出力される前記クロックパルスをカウントして、その数Frefをデジタル値として出力する第1のカウンタ回路とを備え、
前記第2のカウンタは、前記積分回路の出力電圧V及び前記第2のスイッチ回路が選択した電圧信号(V1,Vm)を2つの入力電圧とし、前記2つの入力電圧を比較して前記積分回路の出力電圧Vが前記第1の基準電圧V1を超えてから前記アナログ電圧Vmに達するまでの間、比較信号S1を出力する第2のコンパレータと、前記比較信号S1と前記クロックパルスとを入力として、前記第2のコンパレータが前記比較信号S1を出力している時間Tmの間だけ、前記クロックパルスの数Fmをカウントして、その値をデジタル値として出力する第2のカウンタ回路とを備えていることを特徴とする半導体圧力センサ装置
A semiconductor pressure sensor device including an A / D converter for converting the analog voltage Vm of the semiconductor pressure sensor into a digital value,
The A / D converter is
An integration circuit configured by an analog circuit and performing an integration operation at a predetermined period T0 ;
A clock pulse generation circuit configured to generate a clock pulse having a predetermined cycle by an analog circuit without using a crystal unit;
A reference voltage generation circuit that generates a first reference voltage V1 that is set in advance and a second reference voltage that is higher than the first reference voltage;
Using the output of the integration circuit, the output of the clock pulse generation circuit, and the output of the reference voltage generation circuit as inputs, the second reference after the output of the integration circuit exceeds the predetermined first reference voltage V1. A first counter that counts the number Fref of the clock pulses output from the clock pulse generation circuit until the voltage V2 is reached;
Using the output of the integration circuit, the analog voltage Vm to be subjected to digital conversion smaller than the second reference voltage V2, and the output of the reference voltage generation circuit as inputs, the output of the integration circuit is determined in advance as the first. A second counter that counts the number Fm of the clock pulses output from the clock pulse generation circuit between the time when the reference voltage V1 is exceeded and the time the analog voltage Vm is reached.
The second counter counts the value Fm / Fref obtained by dividing the count value Fm counted by the second counter by the count value Fref counted by the first counter or the count value Fref counted by the first counter. An arithmetic operation comprising a gate array that outputs a value (Fm / Fref) × k or (Fref / Fm) × k obtained by multiplying the value Fref / Fm divided by the counted value Fm by a coefficient k as a digital conversion value of the analog voltage Vm. Circuit ,
The first reference voltage V1 is selected before the output voltage V of the integration circuit reaches the first reference voltage V1 during the predetermined period T0. After the output voltage V of the integration circuit 1 reaches the first reference voltage V1, the second reference voltage V2 is selected, and after the output voltage V of the integration circuit reaches the second reference voltage Is a first switch circuit configured to select the first reference voltage V1, and
Switching is performed in synchronization with the output of the integration circuit, and the first reference voltage V1 is selected together with the first switch circuit. However, the output voltage V of the integration circuit has reached the first reference voltage V1. Thereafter, the switching operation is immediately performed to output the analog voltage Vm output from the semiconductor pressure sensor to the second counter, and further, the first switch circuit selects the second reference voltage V2 from the selection of the second reference voltage V2. A second switch circuit that selects the first reference voltage V1 in synchronization with the selection of the first reference voltage V1;
The first counter compares the output voltage V of the integration circuit and the signal from the first switch circuit as inputs, and the output voltage V of the integration circuit exceeds the first reference voltage V1. Until the second reference voltage V2 is reached, the first comparator that outputs the comparison signal S0, the comparison signal S0 from the first comparator, and the clock pulse output from the clock pulse generation circuit And the clock pulse output from the clock pulse generation circuit is counted only during the time Tref when the comparison signal S0 is output from the first comparator, and the number Fref is used as a digital value. A first counter circuit for outputting,
The second counter uses the output voltage V of the integration circuit and the voltage signal (V1, Vm) selected by the second switch circuit as two input voltages, compares the two input voltages, and compares the two input voltages. The second comparator for outputting the comparison signal S1, the comparison signal S1 and the clock pulse as inputs during the period from when the output voltage V exceeds the first reference voltage V1 until the output voltage V reaches the analog voltage Vm. A second counter circuit that counts the number Fm of the clock pulses and outputs the value as a digital value only during the time Tm during which the second comparator outputs the comparison signal S1. the semiconductor pressure sensor device, characterized in that there.
半導体圧力センサのアナログ電圧Vmをデジタル値に変換して出力するA/D変換器を備えた半導体圧力センサ装置であって、
前記A/D変換器が、
アナログ回路によって構成されて所定の周期T0で積分動作を行う積分回路と、
水晶振動子を用いずにアナログ回路によって構成されて所定の周期のクロックパルスを発生するクロックパルス発生回路と、
予め定めた第1の基準電圧V1と前記第1の基準電圧よりも高い第2の基準電圧を発生する基準電圧発生回路と、
前記半導体圧力センサの温度を測定して測定結果を電圧値として出力する温度センサと、
前記積分回路の出力、前記クロックパルス発生回路の出力及び前記基準電圧発生回路の出力を入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記第2の基準電圧V2に達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Frefをカウントする第1のカウンタと、
前記積分回路の出力、前記第2の基準電圧V2よりも小さいデジタル変換の対象とする前記アナログ電圧Vm及び前記基準電圧発生回路の出力とを入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記アナログ電圧Vmに達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Fmをカウントする第2のカウンタと、
前記積分回路の出力、前記クロックパルス発生回路の出力及び前記温度センサの出力電圧Vtを入力として、前記積分回路の出力が予め定めた前記第1の基準電圧V1を超えてから前記温度センサの前記出力電圧Vtに達するまでの間に前記クロックパルス発生回路から出力される前記クロックパルスの数Ftをカウントする第3のカウンタと、
前記第2のカウンタでカウントしたカウント値Fmを前記第1のカウンタがカウントしたカウント値Frefにより除した値Fm/Frefに係数kを乗算した値(Fm/Fref)×k、前記第3のカウンタでカウントした値Ftを前記第1のカウンタがカウントしたカウント値Frefにより除した値Ft/Frefを用いて補正して前記アナログ電圧Vmのデジタル変換値として出力するゲートアレイからなる演算回路と
前記積分回路の出力と同期して切り替わり、前記所定の周期T0の間で前記積分回路の出力電圧Vが前記第1の基準電圧V1に達する前には前記第1の基準電圧V1を選択し、前記積分回路1の出力電圧Vが前記第1の基準電圧V1に達した後は前記第2の基準電圧V2を選択し、前記積分回路の出力電圧Vが前記第2の基準電圧に達した後は前記第1の基準電圧V1を選択するように構成された第1のスイッチ回路と、
前記積分回路の出力と同期して切り替わり、前記第1のスイッチ回路と一緒に前記第1の基準電圧V1を選択するが、前記積分回路の出力電圧Vが前記第1の基準電圧V1に達した後は、直ちに切換動作を行って前記半導体圧力センサから出力される前記アナログ電圧Vmの出力を第2のカウンタに出力し、さらに前記第1のスイッチ回路が前記第2の基準電圧V2の選択から前記第1の基準電圧V1の選択に切り替わるときに、それに同期して前記第1の基準電圧V1を選択する第2のスイッチ回路と、
前記積分回路の出力と同期して切り替わり、前記第1のスイッチ回路と一緒に前記第1の基準電圧V1を選択するが、前記積分回路の出力電圧Vが前記第1の基準電圧V1に達した後は、直ちに切換動作を行って前記温度センサの出力を第3のカウンタに出力し、さらに前記第1のスイッチ回路が前記第2の基準電圧V2の選択から前記第1の基準電圧V1の選択に切り替わるときに、それに同期して前記第1の基準電圧V1を選択する第3のスイッチ回路とを具備し、
前記第1のカウンタは、前記積分回路の出力電圧V及び前記第1のスイッチ回路からの信号を入力として両者を比較し、前記積分回路の出力電圧Vが前記第1の基準電圧V1を超えてから前記第2の基準電圧V2に達するまでの間、比較信号S0を出力する第1のコンパレータと、前記第1のコンパレータからの前記比較信号S0と前記クロックパルス発生回路から出力された前記クロックパルスとが入力されて、前記第1のコンパレータから前記比較信号S0が出力されている時間Tref内だけ、前記クロックパルス発生回路から出力される前記クロックパルスをカウントして、その数Frefをデジタル値として出力する第1のカウンタ回路とを備え、
前記第2のカウンタは、前記積分回路1の出力電圧V及び前記第2のスイッチ回路が選択した電圧信号(V1,Vm)を2つの入力電圧とし、前記2つの入力電圧を比較して前記積分回路1の出力電圧Vが前記第1の基準電圧V1を超えてから前記アナログ電圧Vmに達するまでの間、比較信号S1を出力する第2のコンパレータと、前記比較信号S1と前記クロックパルスとを入力として、前記第2のコンパレータが前記比較信号S1を出力している時間Tmの間だけ、前記クロックパルスの数Fmをカウントして、その値をデジタル値として出力する第2のカウンタ回路とを備え、
前記第3のカウンタは、前記積分回路の出力電圧V及び前記第3のスイッチ回路から入力される電圧信号(V1、Vt)を比較し、前記積分回路の出力電圧Vが前記第1の基準電圧V1を超えてから前記温度センサの前記出力電圧Vtに達するまでの間、比較信号S2を出力する第3のコンパレータと、前記第3のコンパレータからの前記比較信号S2と前記クロックパルス発生回路から出力された前記クロックパルスとが入力されて、前記第3のコンパレータから前記比較信号S2が出力されている時間Tt内だけ、前記クロックパルス発生回路から出力される前記クロックパルスをカウントして、その数Ftをデジタル値として出力する第3のカウンタ回路とを備えていることを特徴とする半導体圧力センサ装置。
A semiconductor pressure sensor device including an A / D converter for converting the analog voltage Vm of the semiconductor pressure sensor into a digital value,
The A / D converter is
An integration circuit configured by an analog circuit and performing an integration operation at a predetermined period T0 ;
A clock pulse generation circuit configured to generate a clock pulse having a predetermined cycle by an analog circuit without using a crystal unit;
A reference voltage generation circuit that generates a first reference voltage V1 that is set in advance and a second reference voltage that is higher than the first reference voltage;
A temperature sensor that measures the temperature of the semiconductor pressure sensor and outputs the measurement result as a voltage value;
Using the output of the integration circuit, the output of the clock pulse generation circuit, and the output of the reference voltage generation circuit as inputs, the second reference after the output of the integration circuit exceeds the predetermined first reference voltage V1. A first counter that counts the number Fref of the clock pulses output from the clock pulse generation circuit until the voltage V2 is reached;
As inputs and outputs of the analog voltage Vm and the reference voltage generating circuit for outputting, to the second small object digital conversion than the reference voltage V2 of the integrating circuit, the first output of the integrating circuit is predetermined A second counter that counts the number Fm of the clock pulses output from the clock pulse generation circuit between the time when the reference voltage V1 of 1 is exceeded and the time the analog voltage Vm is reached;
Using the output of the integration circuit, the output of the clock pulse generation circuit, and the output voltage Vt of the temperature sensor as inputs, the output of the integration circuit exceeds the predetermined first reference voltage V1 before the output of the temperature sensor. A third counter that counts the number of clock pulses Ft output from the clock pulse generation circuit until the output voltage Vt is reached;
Said second count the count value a value obtained by multiplying a coefficient k to a value obtained by dividing Fm / Fref Fm by the first counter count value Fref counted by the counter (Fm / Fref) × k, the third computing circuit wherein the counted value Ft first counter consists of a gate array output as a digital conversion value of the analog voltage Vm is corrected using the value Ft / Fref divided by the count value Fref counted by the counter and,
The first reference voltage V1 is selected before the output voltage V of the integration circuit reaches the first reference voltage V1 during the predetermined period T0. After the output voltage V of the integration circuit 1 reaches the first reference voltage V1, the second reference voltage V2 is selected, and after the output voltage V of the integration circuit reaches the second reference voltage Is a first switch circuit configured to select the first reference voltage V1, and
Switching is performed in synchronization with the output of the integration circuit, and the first reference voltage V1 is selected together with the first switch circuit. However, the output voltage V of the integration circuit has reached the first reference voltage V1. Thereafter, the switching operation is immediately performed to output the output of the analog voltage Vm output from the semiconductor pressure sensor to the second counter, and the first switch circuit further selects the second reference voltage V2. A second switch circuit that selects the first reference voltage V1 in synchronization with the selection of the first reference voltage V1,
Switching is performed in synchronization with the output of the integration circuit, and the first reference voltage V1 is selected together with the first switch circuit. However, the output voltage V of the integration circuit has reached the first reference voltage V1. Thereafter, the switching operation is immediately performed to output the output of the temperature sensor to the third counter, and the first switch circuit selects the first reference voltage V1 from the selection of the second reference voltage V2. And a third switch circuit that selects the first reference voltage V1 in synchronization with the switching to
The first counter compares the output voltage V of the integration circuit and the signal from the first switch circuit as inputs, and the output voltage V of the integration circuit exceeds the first reference voltage V1. Until the second reference voltage V2 is reached, the first comparator that outputs the comparison signal S0, the comparison signal S0 from the first comparator, and the clock pulse output from the clock pulse generation circuit And the clock pulse output from the clock pulse generation circuit is counted only during the time Tref when the comparison signal S0 is output from the first comparator, and the number Fref is used as a digital value. A first counter circuit for outputting,
The second counter uses the output voltage V of the integration circuit 1 and the voltage signal (V1, Vm) selected by the second switch circuit as two input voltages, compares the two input voltages, and performs the integration. The second comparator that outputs the comparison signal S1, the comparison signal S1, and the clock pulse from the time when the output voltage V of the circuit 1 exceeds the first reference voltage V1 to the time when the output voltage V reaches the analog voltage Vm. As an input, a second counter circuit that counts the number Fm of the clock pulses only during the time Tm during which the second comparator outputs the comparison signal S1, and outputs the value as a digital value. Prepared,
The third counter compares the output voltage V of the integration circuit and the voltage signals (V1, Vt) input from the third switch circuit, and the output voltage V of the integration circuit is the first reference voltage. From the time V1 is exceeded until the output voltage Vt of the temperature sensor is reached, the third comparator outputs a comparison signal S2, the comparison signal S2 from the third comparator, and the clock pulse generation circuit outputs The clock pulses output from the clock pulse generation circuit are counted only during the time Tt during which the comparison signal S2 is output from the third comparator. A semiconductor pressure sensor device comprising: a third counter circuit that outputs Ft as a digital value .
前記演算回路は、前記値(Fm/Fref)×kに前記値Ft/Frefを加減算した値を前記デジタル変換値として出力することを特徴とする請求項3に記載の半導体圧力センサ装置。  4. The semiconductor pressure sensor device according to claim 3, wherein the arithmetic circuit outputs a value obtained by adding / subtracting the value Ft / Fref to the value (Fm / Fref) × k as the digital conversion value.
JP2000061550A 2000-03-07 2000-03-07 A / D converter and semiconductor pressure sensor device Expired - Fee Related JP4422284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000061550A JP4422284B2 (en) 2000-03-07 2000-03-07 A / D converter and semiconductor pressure sensor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000061550A JP4422284B2 (en) 2000-03-07 2000-03-07 A / D converter and semiconductor pressure sensor device

Publications (2)

Publication Number Publication Date
JP2001251189A JP2001251189A (en) 2001-09-14
JP4422284B2 true JP4422284B2 (en) 2010-02-24

Family

ID=18581675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000061550A Expired - Fee Related JP4422284B2 (en) 2000-03-07 2000-03-07 A / D converter and semiconductor pressure sensor device

Country Status (1)

Country Link
JP (1) JP4422284B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0902822D0 (en) * 2009-02-19 2009-04-08 Cmosis Nv Analog-to-digital conversation in pixel arrays
JP5475047B2 (en) * 2012-04-17 2014-04-16 株式会社半導体理工学研究センター AD converter circuit
JP6373751B2 (en) * 2014-12-25 2018-08-15 ルネサスエレクトロニクス株式会社 Semiconductor device

Also Published As

Publication number Publication date
JP2001251189A (en) 2001-09-14

Similar Documents

Publication Publication Date Title
US7952343B2 (en) Current measurement circuit and method
US20150112634A1 (en) Angle detection device and angle detection method
JP2999468B2 (en) Method and apparatus for discrete time measurement of reactance
US6111533A (en) CMOS analog-to-digital converter and temperature sensing device using the same
JP4422284B2 (en) A / D converter and semiconductor pressure sensor device
JP2776598B2 (en) Analog-to-digital converter
EP3296709A1 (en) Temperature-to-digital converter
JP3026533B2 (en) Reactive energy meter
US8525722B2 (en) Ad converting device, dial-type input device, and resistance-voltage conversion circuit
JP3271323B2 (en) Time measurement circuit
JP2807581B2 (en) Analog / digital conversion circuit
JPH11136129A (en) Pwm conversion circuit and sensing device using the same
JP3189866B2 (en) Resistance meter calibration device
JPH0514201A (en) A/d converter
JPS62148882A (en) Time measuring instrument
JPH0786948A (en) Analog/digital converter
JPH09205367A (en) Integration a/d conversion method
JP3825565B2 (en) Integration type A / D conversion calibration method and integration type A / D converter
RU2185022C1 (en) Nonlinear pulse-width modulator
SU1107138A1 (en) Function generator
RU2017087C1 (en) Temperature gauge with frequency output
JPS598205Y2 (en) Electronic energy meter
JP2523890B2 (en) Pulse phase measurement device
JP5426992B2 (en) A / D converter
JPS6337225A (en) Temperature detection circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091023

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: 20091117

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091204

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131211

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees