JPH03169123A - Semiconductor circuit device - Google Patents
Semiconductor circuit deviceInfo
- Publication number
- JPH03169123A JPH03169123A JP30772589A JP30772589A JPH03169123A JP H03169123 A JPH03169123 A JP H03169123A JP 30772589 A JP30772589 A JP 30772589A JP 30772589 A JP30772589 A JP 30772589A JP H03169123 A JPH03169123 A JP H03169123A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- sampling
- analog
- conversion
- analog signal
- 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.)
- Pending
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、アナログ・ディジタル変換器に関し、例えば
マイクロコンピュータや周辺コントローラなどの半導体
集積回路に内蔵される逐次比較型アナログ・ディジタル
(以下単K A / Dとも記す)変換器に適用して有
効な技術に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an analog-to-digital converter, for example, a successive approximation type analog-to-digital converter (hereinafter referred to as abbreviated as "K") built in a semiconductor integrated circuit such as a microcomputer or a peripheral controller. (also referred to as A/D) converters.
〔従来技術〕
マイクロコンビ一一夕のようなデータ処理用L8Iに内
蔵される逐次比較型アナログ・デジタル変換器(以下単
KA/DConverterとも記す)は、アナログ信
号のサンプリング回路、アナログ・ディジタル変換のた
めの童子化レベルを生成するための比較データレジスタ
及びディジタル・アナログ(以下単KDlAとも記す)
変換回路、この生成された量子化レベルとサンプリグさ
れたアナログ信号のレベルとを比較する比較回路と、上
記複数の回路の動作を制御する制御回路などで構戚され
るOA/D変換にあたっては、特に制限されないが、上
記比較データレジスタの最上位ビットは「1」に、その
最上位ビットを除く他のビットSはrOJに初期設定さ
れる。最初に最上位ビクト「1」に対応する量子化レベ
ル即ちフルスケール電圧の半分の電圧レベルがD/A変
換回路から比較回路に与えられる。比較回路はこの量子
化レベルとサンプリングされたアナログ信号の電圧レベ
ルとを比較して、その大小関係を判別する。その比較結
果が7ルスケール電圧の半分以上である場合、上記比較
データレジスタの最上位ビットは「1」の11の状態に
される。その比較結果がフルスケール電圧の半分以下の
場合、上記比較データレジスタの最上位ビットは「0」
に変更される。[Prior art] The successive approximation type analog-to-digital converter (hereinafter also referred to as single KA/D converter) built into the data processing L8I, such as the Micro Combi Ichiyo, is a sampling circuit for analog signals and an analog-to-digital conversion circuit. Comparison data register and digital/analog (hereinafter also referred to as single KDlA) for generating a doji-ized level for
The OA/D conversion consists of a conversion circuit, a comparison circuit that compares the generated quantization level with the level of the sampled analog signal, and a control circuit that controls the operation of the plurality of circuits mentioned above. Although not particularly limited, the most significant bit of the comparison data register is initially set to "1", and the other bits S except for the most significant bit are initially set to rOJ. First, the quantization level corresponding to the most significant digit "1", that is, the voltage level half the full scale voltage, is applied from the D/A converter circuit to the comparator circuit. The comparison circuit compares this quantization level with the voltage level of the sampled analog signal to determine the magnitude relationship between them. If the comparison result is more than half of the 7 scale voltage, the most significant bit of the comparison data register is set to the 11 state of "1". If the comparison result is less than half of the full-scale voltage, the most significant bit of the comparison data register is set to “0”.
will be changed to
以上の様にし,て、最上位ビットの値が決定される。In the manner described above, the value of the most significant bit is determined.
第2ビフトの比較動作においても、最上位ビットの決定
動作同様[1ず、比較データレジスタの最上位ビットの
下位のビット(以下第2ビット)が「1」に設定される
。第2ビットの「1」に対応する量子化レベル即ちフル
スケール電圧の1/4の電圧レベルKR上位ビクトの荷
重電圧(フルスケール電圧の半分の電圧レベル)を重畳
した電圧レベルが、D/A変換器から比較回路へ出力さ
れる。そして比較回路は、そのD/A変換出力とアナロ
グ信号の電圧レベルとを再度比較する。その結果に応じ
て第2ビットの値が「1」又は「0」に決定される。以
下同様の動作を逐次最下位ビット1で繰シ返すことによ
ってサンプリングされたアナログ信号の電圧レベルが対
応するデジタル信号に変換されて、上記比較レジスタ内
にデジタルデータとして設定される。In the comparison operation of the second bit, as in the determination operation of the most significant bit, [1] First, the lower bit of the most significant bit (hereinafter referred to as the second bit) of the comparison data register is set to "1". The quantization level corresponding to "1" of the second bit, that is, the voltage level of 1/4 of the full-scale voltage KR, the voltage level obtained by superimposing the load voltage (the voltage level of half the full-scale voltage) of the upper digit is the D/A Output from the converter to the comparator circuit. Then, the comparison circuit again compares the D/A conversion output and the voltage level of the analog signal. Depending on the result, the value of the second bit is determined to be "1" or "0". Thereafter, by successively repeating the same operation using the least significant bit 1, the voltage level of the sampled analog signal is converted into a corresponding digital signal and set as digital data in the comparison register.
このように逐次比較型A/D変換器は入力アナログ信号
の電圧レベルを逐次量子化レベルと比較するため、その
変換動作は所定の時間を要する。As described above, since the successive approximation type A/D converter successively compares the voltage level of the input analog signal with the quantization level, the conversion operation requires a predetermined time.
すなわち、逐次比較型A/Di換器の変換時間は、並列
比較型A/D変換器の変換時間より長くなる。That is, the conversion time of the successive approximation type A/Di converter is longer than the conversion time of the parallel comparison type A/D converter.
そのため、逐次比較型A/D変換を用いてアナログ信号
をデジタル信号に変換する場合、その変換期間中にアナ
ログ入力信号が一定のレベルを保っていないと高精度な
変換を行うことはできない。Therefore, when converting an analog signal into a digital signal using successive approximation type A/D conversion, highly accurate conversion cannot be performed unless the analog input signal maintains a constant level during the conversion period.
このため,サンプリングレたアナログ入力信号の電圧レ
ベルを比較動作期間中にホールド容量に蓄えるようなホ
ールド回路を設けたサンプル・ホールド機能付きのA/
Di換器が提供されている。For this reason, an analog input signal with a sample and hold function is equipped with a hold circuit that stores the voltage level of the analog input signal that is sampled in a hold capacitor during the comparison operation period.
A Di converter is provided.
尚、サンプル・ホールド機能付きの逐次比較型A/D変
換器を内蔵するシングルチップマイクロコンビエータに
ついて記載された文献の例としては1988年8月株式
会社日立製作所発行の「日立オリジナルシングルチップ
マイクロコンピュータH8/532概説−’IJ第26
頁がある。An example of a document describing a single-chip microcombinator with a built-in successive approximation type A/D converter with a sample/hold function is "Hitachi Original Single-chip Microcomputer" published by Hitachi, Ltd. in August 1988. H8/532 Overview-'IJ No. 26
There is a page.
本発明者は逐次比較型A/Di換器、特に半導体果攬回
路に内蔵される逐次比較型A/D変換器のサンプル・ホ
ールド機能について検討した。これによれば、その変換
稽度を高めるにはアナログ入力信号の電圧レベルを安定
にホールド容量に蓄えなければならない。そのためには
、アナログ信号が供給される配線の浮遊容量スイッチ素
子に寄生する不所望な容t素子の製造ばらつき、及び半
導体基板の電位変動などに起因して半導体基板上に発生
するノイズを実質的に無視し得る程度にホールド容量を
太き〈することが必要とされる。しかし、ホールド容量
を犬き〈すると、一七詐に従うで、ホールド容量のアナ
ログ信号の電圧レベルを充電するために必要とされる充
電時間が増大する。The present inventor studied the sample and hold function of a successive approximation type A/D converter, particularly a successive approximation type A/D converter built into a semiconductor converter circuit. According to this, in order to improve the conversion efficiency, the voltage level of the analog input signal must be stably stored in the hold capacitor. To this end, it is necessary to substantially eliminate noise generated on the semiconductor substrate due to manufacturing variations in undesirable capacitance elements parasitic to stray capacitance switching elements in wiring to which analog signals are supplied, and potential fluctuations on the semiconductor substrate. Therefore, it is necessary to increase the hold capacitance to a negligible extent. However, if the hold capacitor is shortened, the charging time required to charge the voltage level of the analog signal on the hold capacitor increases.
その充電時間が充分でないと必然的にその変換精度は低
下する。一万、その充電時間かあ1り長過ぎると逆に変
換動作効率が低下すると共に変動の激しい入力アナログ
信号のレベルを正確にサンプリングすることができなく
なる。このため、半導体集積回路に含1れる逐次比較型
A/D変換器のホールド容量の容量値は、充電時間があ
1ク長〈ならない範囲で、かつ、ある程度高い変換ff
蜜を保ち得る大きさに設定される。しかしながら、極め
て変化の大きなアナログ入力信号をディジタル変換する
場合、アナログ入力信号がホールド容量への充電期間中
に変動してし筐う虞れがあるため、変換精度が低くなっ
てし筐うことを本発明者は見出した。If the charging time is not sufficient, the conversion accuracy will inevitably decrease. However, if the charging time is too long, the efficiency of the conversion operation will decrease and the level of the input analog signal, which fluctuates widely, will not be able to be accurately sampled. For this reason, the capacitance value of the hold capacitor of the successive approximation type A/D converter included in the semiconductor integrated circuit is such that the charging time is within a range where the charging time is not too long and the conversion ff is relatively high.
The size is set to hold honey. However, when converting an analog input signal with extremely large changes into digital, there is a risk that the analog input signal may fluctuate during the charging period of the hold capacitor, so the conversion accuracy may be lowered. The inventor discovered this.
1た、マイクロコンヒュータに内蔵されるA/D変換器
の動作は、当該マイクロコンビ一一夕の動作サイクルを
決定する動作クロック周波数(ミステムクロック)に従
って一義的に決定されるため、ホールド容量に対するア
ナログ入力信号の充電時間もその動作クロック周波数に
依存する。このため、システム動作上そのマイクロコン
ピュータが比較的低速動作されるような場合には、ホー
ルド容量に対するアナログ入力信号の充電時間が相対的
に長くなる。従って電位変化の大きなアナログ入力信号
の電圧レベルをホールド容量に充電する場合、その充電
期間中にアナログ入力信号の電圧レベルの変化によって
、A/D変要器の変換樗度が低下する虞れは一層顕著と
なることが本発明者の検IttKよって明らかとされた
。1. Since the operation of the A/D converter built into a microcomputer is uniquely determined according to the operating clock frequency (system clock) that determines the entire operation cycle of the microcomputer, the hold The charging time of the analog input signal to the capacitor also depends on its operating clock frequency. Therefore, when the microcomputer is operated at a relatively low speed due to system operation, the time required to charge the analog input signal to the hold capacitor becomes relatively long. Therefore, when charging a hold capacitor with the voltage level of an analog input signal that has a large potential change, there is a risk that the conversion efficiency of the A/D transformer will decrease due to the change in the voltage level of the analog input signal during the charging period. It was revealed by the inventor's IttK that this phenomenon becomes even more remarkable.
1た、ホールド機能を持たないA/D変換器は各量子化
レベルの比較動作ステップ毎にアナログ信号をサンプリ
ングしなければならない。そのため電位変化の大きなア
ナログ入力信号に対するA/D変換精度は著しく低くな
ってしブう。Furthermore, an A/D converter without a hold function must sample an analog signal at each comparison step of each quantization level. Therefore, the accuracy of A/D conversion for analog input signals with large potential changes becomes extremely low.
そこで本発明者は、電位変化の大きなアナログ信号に対
するA/D変換精度を高めるために、外部に高性能なサ
ン7ル濤詐4ホールド回路を設けることを検討した。し
かし従来のA/D変換器はアナログ信号のサンプリング
開始タイミング信号,サンプリング終了タイミング信号
、又はそのサンプリング期間を知らせるためのタイミン
グ信号を外部に出力する出力手段を有していないため、
外部KiA性能サンプルtts4−ホールド回路を設け
ても上記タイミングを上記外部サンプル−4ホールド回
路に与えることができないという問題点のあることを見
出した。さらに,A/D変換器の動作状態をアナログ信
号発生元に容易に知らせることができず、これにより、
アナログ信号の処理側、タトエばマイクロコンピュータ
からアナログ信号発生元、たとえば、外部サンプル社毎
ホールド回路を制御する要求に簡単に答えることができ
ないことを見出した。Therefore, the present inventor considered providing an external high-performance sample hold circuit in order to improve the A/D conversion accuracy for analog signals with large potential changes. However, conventional A/D converters do not have an output means for outputting to the outside a sampling start timing signal, a sampling end timing signal, or a timing signal for notifying the sampling period of an analog signal.
It has been found that there is a problem in that even if an external KiA performance sample tts4-hold circuit is provided, the above timing cannot be given to the external sample-4 hold circuit. Additionally, the operating status of the A/D converter cannot be easily communicated to the source of the analog signal;
On the analog signal processing side, we have found that it is not possible to easily meet the requirements of controlling the analog signal generation source, for example, the external sample company's hold circuit, from a microcomputer.
本発明の目的は、外部に釦けるサンプル・ホールド機能
の有効活用を図ることができるA/Di換器を提供する
ことにある。本発明の他の目的は、内部動作条件やアナ
ログ入力信号の状態などに応じて変換精度を容易に高め
ることができるA/D変換器を提供することにある。本
発明のさらに他の目的はアナログ信号発生元に対する制
御性を実現するA/D変換器を提供することにある。本
発明のさらに他の目的は、アナログ信号のサンプリング
タイミングなどをチップ外部に出力するための外部端子
を有するアナログ・ディジタル変換器を内蔵したマイク
ロコンビ一一夕を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide an A/Di converter that can effectively utilize an externally buttoned sample/hold function. Another object of the present invention is to provide an A/D converter that can easily improve conversion accuracy depending on internal operating conditions, the state of an analog input signal, and the like. Still another object of the present invention is to provide an A/D converter that realizes controllability over an analog signal generation source. Still another object of the present invention is to provide a microcombination device incorporating an analog-to-digital converter having an external terminal for outputting analog signal sampling timing and the like to the outside of the chip.
本発明の前記ならびにそのほかの目的と新規な特徴は、
本明細書の記述及び添付図面から明らかになるであろう
。The above and other objects and novel features of the present invention include:
It will become clear from the description of this specification and the accompanying drawings.
本願にかいて開示される発明のうち代表的なものの概要
を簡単に説明すれば下記の通りである。A brief overview of typical inventions disclosed in this application is as follows.
すなわち、シングルチップマイクロコンピュータのよう
な半導体集積回路に内蔵されたアナログ・ディジタル変
換器に釦いて、アナログ信号のサンプリング開始、終了
、又はそのサンプリング期間を知らせるためのストロー
ブ信号の内の少なくとも1つを上記半導体集積回路の外
部端子を介して外部に出力する手段を設けたものである
。That is, at least one of the strobe signals for notifying the start and end of sampling of an analog signal or the sampling period is sent to an analog-to-digital converter built in a semiconductor integrated circuit such as a single-chip microcomputer. Means for outputting to the outside via the external terminal of the semiconductor integrated circuit is provided.
上記した手段によれば、アナログ信号のサンプリング動
作状態を外部に知らせるためのストローブ信号は、電位
変化の大きなアナログ入力信号に対するA/D変換精度
を高めるために外部に設けられるべき高性能なサンプル
番”cdホールド回路に供給可能とされる。上記高性能
サンプル禦一ホールド回路は上記ストローブ信号をサン
プリン?タイミング信号として認識して,アナログ信号
をサンプリングするように制御される。これによ■、外
部VC釦けるサンプル・ホールド機能の有効活用、アナ
ログ・ディジタル変換器の動作条件に応じた変換精度の
向上、さらにはアナログ信号発生元に対する制御性の向
上が達或される。According to the above means, the strobe signal for notifying the outside of the sampling operation state of the analog signal is a high-performance sample number that should be provided externally in order to improve the A/D conversion accuracy for analog input signals with large potential changes. The high-performance sample and hold circuit recognizes the strobe signal as a sampling timing signal and is controlled to sample the analog signal. It is possible to effectively utilize the sample and hold function of the VC button, to improve the conversion accuracy according to the operating conditions of the analog-to-digital converter, and to improve the controllability of the analog signal generation source.
第1図は本発明の一実施例である逐次比較型A/D変換
器1を内蔵したシングルチップマイクロコンピュータ5
を示している。FIG. 1 shows a single-chip microcomputer 5 incorporating a successive approximation type A/D converter 1, which is an embodiment of the present invention.
It shows.
同図に示されたシングルチ,ブマイクロコンピュータ5
は、一点鎖線で示される単結晶シリコン半導体基板上に
、公知のCMOSプロセス又はバイボーラ・CMOSプ
ロセスを利用することによって、形或されている。した
がって、図示されたマイクロコンピュータ5は、Nチャ
ネル型MO8FET及びPチャネル型MOSFET又は
Nチャネル型MOSFET,Pチャネル型MO8FET
及びNPN型バイボーラトランジスタの組合せによって
構或される。Single-chip microcomputer 5 shown in the same figure
is formed on a single-crystal silicon semiconductor substrate indicated by a dashed line using a known CMOS process or bibolar CMOS process. Therefore, the illustrated microcomputer 5 has an N-channel type MO8FET and a P-channel type MOSFET, or an N-channel type MOSFET, a P-channel type MO8FET.
and an NPN type bibolar transistor.
上記マイクロコンピュータ5は、上記A/Di換器lの
他、中央処理装置(CPU)2,ランダム・アクセス・
メモリ(RAM)3.リード・オンリー・メモリ(RO
M)30,内蔵周辺回路40,クロック・パルス・発生
器CPG50,デジタルI/Oボート60,上記CPU
2の動作モードなどを制御するための制御回路CPU
CONT70,及び内部バス4を含む。The microcomputer 5 includes, in addition to the A/Di converter 1, a central processing unit (CPU) 2, a random access
Memory (RAM)3. Read-only memory (RO)
M) 30, built-in peripheral circuit 40, clock pulse generator CPG 50, digital I/O board 60, above CPU
Control circuit CPU for controlling the operation mode of 2.
CONT 70 and internal bus 4.
上記CPU2fl、上記R,OM30内にストアされた
プログラムに従って、上記プログラムに記述された所定
のデータ処理を行なう。たとえば、上記プログラムがア
ナログ信号のデータ処理プログラムを含む場合、上記C
PUは上記A/D変換器1に対して、アナログ入力信号
をデジタル信号に変換することを指示するとともに、上
記変換されたデジタル信号を内部バス4を介してたとえ
ばRAMB内へ書き込むように指示する。According to the program stored in the CPU 2fl, R, and OM 30, predetermined data processing described in the program is performed. For example, if the above program includes an analog signal data processing program, the above C
The PU instructs the A/D converter 1 to convert the analog input signal into a digital signal, and also instructs the A/D converter 1 to write the converted digital signal into, for example, RAMB via the internal bus 4. .
上記内蔵周辺回路40は、特に制御されないが、タイマ
ーTR41,フリーランニングタイマーFRT42及び
シリアル・コミニエケーシ嘗ン・インター7エイス8C
I43t−含む。上記タイマーTR4 1は、たとえば
、任意のデー−ティ比のパルス信号をデジタルI/Oポ
ート60を介して外部に出力するために利用される。上
記フリーランニングタイマーFRT42は、たとえば、
デジタルI/Oボート60を介して入力されたデジタル
信号のパルス幅や外部クロックの周期を測定したり、あ
るいは、任意の波形の信号を上記I/Oボート60を介
して外部に出力するために利用される。上記シリアル・
コミニュケーシ、ン・インター7エイスSCI431d
、外部からのシリアルデータの受信及び外部へのシリア
ルデータの送信を制御するために利用される。この様に
、図示のマイクロコンピュータ5は、その内部機能が高
められており、種々のデータ処理システムへの応用が可
能とされている。尚、上記タイマー41,フリーランニ
ングタイマーFRT42及びシリアルコミニュケーシ1
ンインターフェイスSCI43Uそれらの動作を構我さ
れるべきデータ処理システムに適用する様に内部バスを
介して中央処理装置2によって制御される。クロック・
パルス・発生器( GP ) 5 0は、外部端子XT
,及びXT,の間K接続された水晶発振子80の発振周
波数(2φ)に基づいてCPU2の動作クロックφ(=
10MHz),A/D変換器の動作クロックφ/8(=
10MHz/ 8)%及び、上記周辺回路40の動作ク
ロック(図示せず)を発生する。上記CGP50は、そ
の内部に、上記水晶発振子8 0 icW続されてCP
U2の動作クロック(システムクロック)φの2倍の周
波数のクロック信号2φを発生する発振器,上記クロッ
ク2φを受けて2分周することによってシステムクロ,
クφを作る分局器及び、システムクロックφを8分周し
たク、あるいは、内蔵周辺回路40の為の動作クロック
(φ/2,φ/4,φ/8.φ16・・・・・・)など
を形或するブリスケーラを含む。The built-in peripheral circuit 40 is not particularly controlled, but includes a timer TR41, a free running timer FRT42, and a serial communication interface 8C.
I43t-contains. The timer TR41 is used, for example, to output a pulse signal of an arbitrary duty ratio to the outside via the digital I/O port 60. The free running timer FRT42 is, for example,
To measure the pulse width of a digital signal input via the digital I/O boat 60 or the period of an external clock, or to output a signal with an arbitrary waveform to the outside via the I/O boat 60. used. The above serial
Communication, Inter 7 Eighth SCI431d
, is used to control the reception of serial data from the outside and the transmission of serial data to the outside. In this way, the illustrated microcomputer 5 has improved internal functions and can be applied to various data processing systems. In addition, the above-mentioned timer 41, free running timer FRT42 and serial communication 1
The interface SCI 43U is controlled by the central processing unit 2 via an internal bus to apply their operations to the data processing system to be handled. clock·
Pulse generator (GP) 50 is external terminal XT
, and XT, based on the oscillation frequency (2φ) of the crystal oscillator 80 connected between
10MHz), A/D converter operating clock φ/8(=
10 MHz/8)% and an operation clock (not shown) for the peripheral circuit 40. The CGP 50 has the crystal oscillator 80 icW connected therein to the CP
An oscillator that generates a clock signal 2φ with twice the frequency of the operating clock (system clock) φ of U2, which receives the clock 2φ and divides the frequency by 2 to generate a system clock,
A brancher that creates a clock φ, a clock that divides the system clock φ by 8, or an operation clock for the built-in peripheral circuit 40 (φ/2, φ/4, φ/8, φ16, etc.) Including brisket shaped like.
上記デジタルI/Oボート60ぱ、内部バス4と外部デ
ータ端子DTエないしDTnとの間に設けられて、外部
周辺装置90の動作を制御するために内部バス4上のデ
ジタルデータを1つ又はそれ以上の特定の外部データ端
子(DT)に出力するように、あるいは、上記外部周辺
装置90の動作状態をモニターするために上記外部周辺
装置90からのデジタルデータを1又はそれ以上の特定
の外部端子(DT)から内部バスに入力するように、制
御される。曾た、上記デジタルI/Oポート60は、上
記外部端子DT1ないしDTnの内の1ないし複数の端
子を上記内蔵周辺回路40のための専用入力,専用出力
又は専用出力端子として割シあてるとともに、上記専用
端子と上記周辺回路40との間のデータの転送を専用バ
ス44を介して行なえるように制御される。上記デジタ
ルI/Oポート60の制御は、上記ROM30内に格納
されたプログラムに従い、上記CPU2Kよって実行さ
せることができる。The digital I/O boat 60 is provided between the internal bus 4 and the external data terminals DTa to DTn, and inputs one or more digital data on the internal bus 4 to control the operation of the external peripheral device 90. Digital data from the external peripheral device 90 can be output to one or more specific external data terminals (DT) or to monitor the operating status of the external peripheral device 90. It is controlled to input to the internal bus from the terminal (DT). Furthermore, the digital I/O port 60 allocates one or more of the external terminals DT1 to DTn as a dedicated input, dedicated output, or dedicated output terminal for the built-in peripheral circuit 40, and It is controlled so that data can be transferred between the dedicated terminal and the peripheral circuit 40 via the dedicated bus 44. Control of the digital I/O port 60 can be executed by the CPU 2K according to a program stored in the ROM 30.
上記制御回路CPU CONT70は、外部周辺装置9
0に接続された外部端子CTIないしCTfmからリセ
ット信号,割込要求信号,スタンバイ信号,モード設定
信号などの制御信号を受けて、上記CPU2の動作制御
を行々う。The control circuit CPU CONT70 is connected to the external peripheral device 9.
The operation of the CPU 2 is controlled by receiving control signals such as a reset signal, an interrupt request signal, a standby signal, and a mode setting signal from external terminals CTI to CTfm connected to the CPU 2.
上記マイクロコンピュータ5ぱ、さらに、デジタル回路
たとえば、CPU2 ,RAM3 ,ROM30,内蔵
周辺回路4 Q ,CPG50,及びデジタルI/Oボ
ート60などの為のデジタル回路用の5ボルト電源電圧
DVCC及びOボルトの接地電圧pvssのそれぞれが
供給される電源供給端子8T,及び8T,,さらにA/
D変換器1の為の基準電源電圧AVCC及び接地電位A
Vssのそれぞれが供給される電原供給端子8T3及び
8T4を含む。The microcomputer 5 also has a 5-volt power supply voltage DVCC and an O-volt power supply voltage for digital circuits such as the CPU 2, RAM 3, ROM 30, built-in peripheral circuit 4Q, CPG 50, and digital I/O board 60. Power supply terminals 8T and 8T to which ground voltage pvss is supplied, and A/
Reference power supply voltage AVCC and ground potential A for D converter 1
It includes power supply terminals 8T3 and 8T4 to which Vss is supplied, respectively.
さらにアナログ信号AiNが供給されるべき外部端子(
第1端子)AT及びA/D変換器lから出力されるスト
ローブ信号881又は882が供給されるべき外部端子
(第2端子)ACTが設けられている。上記端子ATF
i、外部サンプルアンドホールド回路20の出力端子0
に結合される。Furthermore, the external terminal to which the analog signal AiN should be supplied (
An external terminal (second terminal) ACT is provided to which a strobe signal 881 or 882 output from the first terminal (first terminal) AT and the A/D converter l is supplied. Above terminal ATF
i, output terminal 0 of external sample and hold circuit 20
is combined with
その回路20の制御端子Cは、上記端子ACTK結合さ
れて、ストローブ信号SS1又は882を受けるように
される。さらに、上記回路200入力端子(は、アナロ
グセンサー100から発生される原アナログ信号を受け
る。上記外部サンプルアンドホールド回路20は、その
制御端子Cに入力されるストローブ信号SS1又#′i
ss2のハイレベルに応答して、センサー100からの
原アナログ信号をサンプリングし、かつ、ホールドし、
その出力端子0からホールドされたアナログ信号の電圧
レベルに対応するアナログ入力信号Aint−端子λT
に出力する。上記アナログセンサー100は、4!に制
限されないが、ホットワイヤーセンサーとされる。この
ホットワイヤーセンサーは、一種のエア・7ローセンサ
であって、電源端子(Vcc)と接地端子(GND)と
の間κ直列接続された発熱する第1抵抗素子及び抵抗値
が一定の第2抵抗素子とを含む。上記第1抵抗素子は、
可変抵抗素子があって、空気の流量が大きくされると、
その発熱量が低下するためその抵抗値が上昇し、空気の
流量が少ないと、その発熱量が上昇するため、その抵抗
値が低下する特性を持たされる。アナログ出力信号は、
上記第1抵抗素子と第2抵抗素子の接続点から取υ出さ
れる。上記から理解されるように,このアナログ出力信
号は、上記第1及び第2抵抗素子Kよって分圧された゛
五圧レベルとされ、空気の流量の変化が激しい場合、そ
の重圧レベルの電位変化も激しくされる。The control terminal C of the circuit 20 is coupled to the terminal ACTK to receive the strobe signal SS1 or 882. Further, the circuit 200 input terminal receives the original analog signal generated from the analog sensor 100. The external sample and hold circuit 20 receives the strobe signal SS1 or #'i input to its control terminal C.
sampling and holding the original analog signal from the sensor 100 in response to the high level of ss2;
Analog input signal Aint corresponding to the voltage level of the analog signal held from its output terminal 0 - terminal λT
Output to. The above analog sensor 100 has 4! Although not limited to hot wire sensors. This hot wire sensor is a type of air/7-low sensor, consisting of a first resistance element that generates heat and a second resistance element that has a constant resistance value and is connected in series between a power supply terminal (Vcc) and a ground terminal (GND). element. The first resistance element is
If there is a variable resistance element and the air flow rate is increased,
As the amount of heat generated decreases, its resistance value increases, and when the flow rate of air is small, the amount of heat generated increases, so the resistance value decreases. The analog output signal is
It is taken out from the connection point between the first resistance element and the second resistance element. As understood from the above, this analog output signal has five pressure levels divided by the first and second resistance elements K, and when the air flow rate changes rapidly, the potential change of the heavy pressure level also changes. It is violently done.
尚、上記アナログセンサーは、上記ホット・ワイヤーセ
ンサーに限定されるものではなく、たとえば、自動車に
搭載されたエンジンのシリンダ同の圧力を検出するため
の圧力センサーとされても艮い。上記外部端子AT及び
ACTは上記A/D変換器1が使用されない場合、上記
端子AT及びACTの有効利用の為に,上記デジタルI
/Oボート60に接続されるようになってかシ、デジタ
ル信号の入出力端子としても使用可能とされる。Note that the analog sensor is not limited to the hot wire sensor, but may also be a pressure sensor for detecting the same pressure in the cylinder of an engine installed in an automobile, for example. When the A/D converter 1 is not used, the external terminals AT and ACT are connected to the digital I/O terminals in order to effectively utilize the terminals AT and ACT.
Since it is connected to the /O boat 60, it can also be used as an input/output terminal for digital signals.
さらに,端子ATがアナログ信号を受ける場合、デジタ
ルI/Oポート60の上記端子ATK接続されたデジタ
ル入出力回路のインピーダンスは高くされて、アナログ
信号のレベル変化を防止するようになっている。Further, when the terminal AT receives an analog signal, the impedance of the digital input/output circuit connected to the terminal ATK of the digital I/O port 60 is set high to prevent the level of the analog signal from changing.
第1図の逐次比較mA/D変換器IFi、特に制限され
ないが、アナログ信号A i nのサンプル・ホールド
回路6、アナログ・ディジタル変換のための量子化レベ
ルを生成するための比較データレジスタ7及びD/A変
換回路8、この量子化レベルとサンプリグされたアナロ
グ入力信号の電圧レベルとを比較する比較回路9、上記
比較レジスタ7から転送された比較結果を保持するデー
タレジスタ11,A/D変換器1の動作の開始を指示す
る制御データやA/D変換器1の動作状態を示すステー
タスデータが保持されるコントロール・ステータスレジ
スタ12,そのデータレジスタ1l及ヒコントロール・
ステータスレジスタ12を内部ハス4にインタフェース
するバスインタフェース13、及びA/D変換器1全体
の制御を司る制御回路10を含む。尚、第2図は、コン
トロール・ステータスレジスタ12のビット構戒を示し
ている。ADFは、変換動作の終了を示すビット、AD
STFi変換動作の開始を示すビット、AD工Eは変換
動作の終了による割込要求の許可を示すビット及びES
Hは外部サンプルアンドホールド回路の有無を示すビッ
トに対応する。したがって上記ビットADF,ADIT
,ADIEは上記A/D変換器の動作状態を記憶するた
めの記憶回路とされ、上記ビットE8Hは、マイクロコ
ンピュータ5の外部状態を記憶するための記憶回路と見
なされる。The successive approximation mA/D converter IFi in FIG. 1 includes, but is not limited to, a sample and hold circuit 6 for analog signal A in, a comparison data register 7 for generating a quantization level for analog-to-digital conversion, and A D/A conversion circuit 8, a comparison circuit 9 that compares the quantization level with the voltage level of the sampled analog input signal, a data register 11 that holds the comparison result transferred from the comparison register 7, and an A/D conversion circuit. A control/status register 12 that holds control data instructing the start of operation of the A/D converter 1 and status data indicating the operating state of the A/D converter 1, its data register 1l, and the control/status register 12;
It includes a bus interface 13 that interfaces the status register 12 to the internal bus 4, and a control circuit 10 that controls the entire A/D converter 1. Incidentally, FIG. 2 shows the bit structure of the control/status register 12. ADF is a bit indicating the end of the conversion operation, AD
STFi is a bit that indicates the start of the conversion operation, AD E is a bit that indicates permission of an interrupt request due to the end of the conversion operation, and ES
H corresponds to a bit indicating the presence or absence of an external sample-and-hold circuit. Therefore, the above bits ADF, ADIT
, ADIE are storage circuits for storing the operating state of the A/D converter, and the bit E8H is considered a storage circuit for storing the external state of the microcomputer 5.
上記D/A変換回路8は、例えば8ビットのディジタル
データをアナログ変換する場合、同一抵抗値の抵抗素子
を256個直列接続し、各抵抗素子の結合ノードから順
番にスイッチ素子をス} IJング状に結合した抵抗ス
} IJング回路を持つ。抵抗ス} IJング回路のス
イッチ素子が上記比較データレジスタ7から与えられる
デイジタルデータによってスイッチ制御されることによ
り、上記D/A変換器8はそのディジタルデータの値に
従って重み付けされた量子化レベル’1ireiを生成
する。For example, when converting 8-bit digital data to analog, the D/A conversion circuit 8 connects 256 resistive elements of the same resistance value in series, and switches the switching elements in order from the connection node of each resistive element. It has an IJ ring circuit. By controlling the switching elements of the IJ circuit by the digital data given from the comparison data register 7, the D/A converter 8 outputs the quantization level '1irei' which is weighted according to the value of the digital data. generate.
この量子化レペルvrefはオペアンプで構或されるよ
う々比較回路9に供給される。This quantization level vref is supplied to a comparator circuit 9, which may be implemented by an operational amplifier.
上記サンプル・ホールド回路6は、サンプリング信号8
Eのアサート期間だけオン状態を採ってアナログ信号A
l flを入力するサンプリ゛ングスイッチ6Aと、
このサンプリングスイッチ5Ai通して供給されるアナ
ログ信号AIDの電圧レベルを蓄えるホールド容量6B
を含む。このホールド容量6Aの容量値は8pF程度と
される。上記サンプリング信号SEは、A/D変換器1
の動作が開始されるとき、その逐次比較動作に先立って
所定期間アサー卜される。上記A/Di換器1の動作は
、上記コントロール・ステータスレジスタ12のA/D
変換スタートビットADSTVc,中央処理装置2から
A/Di換器1の動作の開始を指示するデータ(たとえ
ば″′1″)が書き込1れることによって、開始される
。The sample/hold circuit 6 has a sampling signal 8
The analog signal A remains on only during the assertion period of E.
a sampling switch 6A that inputs lfl;
A hold capacitor 6B that stores the voltage level of the analog signal AID supplied through this sampling switch 5Ai
including. The capacitance value of this hold capacitor 6A is approximately 8 pF. The sampling signal SE is supplied to the A/D converter 1
When the operation starts, it is asserted for a predetermined period prior to the successive approximation operation. The operation of the A/Di converter 1 is based on the A/D converter 1 of the control/status register 12.
The conversion start bit ADSTVc is started by writing data (for example, ``1'') from the central processing unit 2 instructing the start of the operation of the A/Di converter 1 to 1.
上記制御回路10は、さらに上記A/D変換スタートビ
,トAD8TK″′1”が書き込1れたことK応答して
、外部端子ATとサンプリングスイッチ6人との間に設
けられたNチャネルスイッチMO8FET 8W1t−
ON状態とするためのイネーブル信号ADEを発生する
。さらにブた、上記制御回路10ぱ、上記コントロール
ステータス・レジスタ10のビットESHに外部サンプ
ルアンドホールド回路が有ることを示すデータ”1”が
セットされていると、ストローブ信号SS1又は8S2
金外部端子ACTK供給するために、Nチャ不ルスイッ
チM O S F E T S W 2をON状態とす
るストローブイネーブル信号SSEを発生する。The control circuit 10 further responds to the A/D conversion start bit and AD8TK'''1'' being written to 1, and controls the N channel provided between the external terminal AT and the six sampling switches. Switch MO8FET 8W1t-
Generates an enable signal ADE for turning it on. Furthermore, if the control circuit 10 has data "1" set in bit ESH of the control status register 10, indicating that an external sample-and-hold circuit is provided, the strobe signal SS1 or 8S2 is set.
In order to supply gold to the external terminal ACTK, a strobe enable signal SSE is generated to turn on the N channel disabled switch MOSFETSW2.
前述の様に逐次比較型A/D変換回器lや中央処理i置
2の動作は、それぞれ動作クロックφ/8及びφに同期
される。したがって、サンプリング信号SEのアサート
期間に対応するサンプリングスイッチ6人の導通期間、
すなわちアナログ信号Ainのサンプリング時間は、動
作クロック信号φ/8の所定サイクル数たとえば、63
サイクルとされる。上記所定サイクル数は、ホールド容
量6Bの容量値を考慮して十分なサンプリング時間を得
られるようなサイクル数とされる。実際には、上記所定
のサイクル数は予め制御回路10の論理に従って固定的
に決定されている。言い換えるならば、動作クロックφ
がIOMHZでかつ、上記ホールド容量6Bが8pFと
される場合、上記サングリング時間は、(4μs)程度
とすることが望ましく、そのサンプリング時間(4μs
)に対応するサイクル数が63サイクルとされる。As described above, the operations of the successive approximation type A/D converter 1 and the central processing unit 2 are synchronized with the operating clocks φ/8 and φ, respectively. Therefore, the conduction period of the six sampling switches corresponding to the assertion period of the sampling signal SE,
That is, the sampling time of the analog signal Ain is a predetermined number of cycles of the operation clock signal φ/8, for example, 63
It is considered a cycle. The predetermined number of cycles is such that a sufficient sampling time can be obtained in consideration of the capacitance value of the hold capacitor 6B. Actually, the predetermined number of cycles is fixedly determined in advance according to the logic of the control circuit 10. In other words, the operating clock φ
When is IOMHZ and the hold capacitance 6B is 8 pF, it is desirable that the sampling time is approximately (4 μs);
) is assumed to be 63 cycles.
上記ホールド容量6Bに蓄えられたアナログ信号の電圧
は比較回路9に供給される。比較回路9ぱ、そのサンプ
リングされた電圧レベルと量子化レペルVrefとの大
小を比較し、その結果を制御回路10に供給する。制御
回路10は、その比較結果に基づいて比較データレジス
タ7の該当ビットを必要に応じて訂正して、次の比較動
作制御に移る。最上位ビットから最下位ビット管での比
較動作が終了されると、比較データはデータレジスタ1
1に供給される。そして制御回路ioViコントロール
・ステータスレジスタl2のA/Di換スタートビット
AD8Tを′″0”にクリアする。The voltage of the analog signal stored in the hold capacitor 6B is supplied to the comparator circuit 9. The comparison circuit 9 compares the sampled voltage level with the quantization level Vref and supplies the result to the control circuit 10. The control circuit 10 corrects the relevant bit of the comparison data register 7 as necessary based on the comparison result, and moves on to control the next comparison operation. When the comparison operation from the most significant bit to the least significant bit is completed, the comparison data is transferred to data register 1.
1. Then, the A/Di conversion start bit AD8T of the control circuit ioVi control/status register l2 is cleared to ``0''.
上記制御回路10は、上記コントロール・ステータスレ
ジスタ12のA/D変換エンドブラッグAD F ic
A / D変換が終了したことを示すデータ″′1″
を書き込む。さらに、制御回路10は、上記コントロー
ル・ステータスレジスタ12のインター2プトイネーブ
ルビ,}ADIEにA/D変換動作の終了による割込要
求の許可を示すデータが保持されている時,A/D変換
動作の終了を知らせるための割込み信号を中央処理装置
2に供給する。The control circuit 10 controls the A/D conversion endbrag AD Fic of the control/status register 12.
Data ``'1'' indicating that A/D conversion has been completed
Write. Further, the control circuit 10 interrupts the A/D conversion when data indicating permission for an interrupt request due to completion of the A/D conversion operation is held in the interrupt enable bit }ADIE of the control/status register 12. An interrupt signal to notify the end of the operation is supplied to the central processing unit 2.
それによって、中央処理装置2は、上記データレジスタ
11に保持されたデジタルデータをモジュールバスMB
U8及びバス・インター7ェイスl3を介して内部バス
4K取り込むように、上記A/DK換器x及びバスイン
ターフェイス13′t−制御する0
本実施例の逐次比較型A/D変換器Iは、サンプルホー
ルド回路6によるアナログ信号A 1 Hのサンプリン
グ開始タイミングを指示するサンプリングストローブ信
号881,又は、サンプリング期間を示すサンプリング
ストローブ信号882t−制御回路10から外部端子A
CTを介してマイクロコンピュータ5の外部に出力でき
るようになっている。Thereby, the central processing unit 2 transfers the digital data held in the data register 11 to the module bus MB.
The successive approximation type A/D converter I of this embodiment controls the A/DK converter x and the bus interface 13't so as to take in the internal bus 4K via U8 and the bus interface l3. Sampling strobe signal 881 instructing the sampling start timing of the analog signal A 1 H by the sample hold circuit 6 or sampling strobe signal 882t indicating the sampling period - external terminal A from the control circuit 10
The data can be output to the outside of the microcomputer 5 via the CT.
第3図は、上記マイクロコンピュータ50A/D変換器
lの動作を示している動作波形図である。FIG. 3 is an operational waveform diagram showing the operation of the microcomputer 50A/D converter l.
以下、同図を用いてA/D変換器1の動作が説明される
。尚,以下では、コントロール・ステータスレジスタ1
2のビ,}ESHがCPUによって11”にセットされ
ている場合について説明する。Hereinafter, the operation of the A/D converter 1 will be explained using the same figure. In the following, control/status register 1
The case where B,}ESH of 2 is set to 11'' by the CPU will be explained.
CPU2はROM30内に格納されている所定のデータ
処理プログラムに従ってデータ処理tl−実行する。上
記データ処理プログラム内に、アナログデータ処理プロ
グラムが存在すると、CPU2は、上記A/D変換器1
の中のコントロール・ステータス・レジスタ12のA/
D変換スタートビットADSTをアクセスするため、動
作クロックφに同期して、上記コントロール・ステータ
ス・レジスタ12を示すアドレス信号Aiを発生する。The CPU 2 executes data processing tl-in accordance with a predetermined data processing program stored in the ROM 30. If an analog data processing program exists in the data processing program, the CPU 2
A/ of control status register 12 in
In order to access the D conversion start bit ADST, an address signal Ai indicating the control status register 12 is generated in synchronization with the operation clock φ.
さらに、CPU2は、ライト動作であることを示す為に
、ライト信号を選択的にローレベルとし、上記A/D変
換スタートビットADSTを”1″にセットする。上記
CPU2のライトサイクルは、動作クロックφの3周期
すなわち3ステート(3サイクル)で実行される。Further, the CPU 2 selectively sets the write signal to low level and sets the A/D conversion start bit ADST to "1" to indicate a write operation. The write cycle of the CPU 2 is executed in three periods of the operation clock φ, that is, in three states (three cycles).
上記制御回路lOは、上記A/D変換スタートビ,}A
DSTが11″にセットされたことに応答して、上記ス
イッチ!’dOSFETSW1及びSW2をON状態と
するためのイネーブル信号ADE及びストローブイネー
ブル信号S8Ef発生するとともに、高性能な外部サン
プルアンドホールド回路20Kサンプリングタイミング
を示す為にパルス状のストローブ信号8:31を発生す
る。上記外部サンプルアンドホールド回路20は、上記
スイッチMOSFETSW2のソース・ドレインバスを
介して外部端子ACTに供給されたストローブ信号88
1をその制御端子Cに受け、その入力端子iにアナログ
センサー100から供給されているアナログ信号を上記
ストローブ信号881のハイレベルに同期して、その内
部のホールド容量に蓄える。すなわち、外部サンプルア
ンドホールド回路20は、ストローブ信号881のハイ
レベルとされる期間の間に、そのホールド容量にアナロ
グ信号の電圧レベルを十分に蓄える。言い換えると、高
性能な、外部サンプルアンドホールド回路20のサンプ
リング時間は、上記ストローブ信号8S1のハイレベル
とされている時間tSSとされる。したがって、上記セ
ンサー100の出力するアナログ信号が急げきに変化す
る場合であっても、上記ストローブ信号SSIのハイレ
ペル期間tssが短くされるので、七ンt−100から
のアナログ信号は一定と見なすことができる。逆に、上
記外部サンプルアンドホールド回路20は、そのサンプ
リング時間が短かくされても、それに供給されるアナロ
グ信号の電圧を正確に蓄えるだけの性能を有する。The control circuit IO is configured to control the A/D conversion start, }A
In response to DST being set to 11'', an enable signal ADE and a strobe enable signal S8Ef are generated to turn on the switches !'dOSFET SW1 and SW2, and a high-performance external sample-and-hold circuit 20K sampling is generated. A pulse strobe signal 8:31 is generated to indicate the timing.The external sample-and-hold circuit 20 receives the strobe signal 88 supplied to the external terminal ACT via the source/drain bus of the switch MOSFET SW2.
1 at its control terminal C, and the analog signal supplied from the analog sensor 100 to its input terminal i is stored in its internal hold capacitor in synchronization with the high level of the strobe signal 881. That is, the external sample-and-hold circuit 20 sufficiently stores the voltage level of the analog signal in its hold capacitor during the period when the strobe signal 881 is at a high level. In other words, the sampling time of the high-performance external sample-and-hold circuit 20 is set to the time tSS when the strobe signal 8S1 is at a high level. Therefore, even if the analog signal output from the sensor 100 changes rapidly, the high level period tss of the strobe signal SSI is shortened, so that the analog signal from the seventh pin t-100 can be regarded as constant. can. Conversely, the external sample-and-hold circuit 20 has the performance to accurately store the voltage of the analog signal supplied to it even if its sampling time is shortened.
上記制御回路10は、上記ストローブ信号SSl号SE
を所定の期間ハイレペルに変化させる。このサンプリン
グ信号SEのハイレベルの期間すなわち、サンプリング
時間tsplO間、ホールド容量6Bは、上部外部サン
プルアンドホールド回路20のホールド容量にストアさ
れた変化の少ないアナログ信号の電圧レベルを外部端子
AT及びスイッチMOSFBT8W1のり一ヌ.ドレイ
ンパスを介して供給され、それを蓄える。The control circuit 10 controls the strobe signal SSL SE
changes to high level for a predetermined period of time. During the high level period of the sampling signal SE, that is, the sampling time tsplO, the hold capacitor 6B transfers the voltage level of the analog signal, which does not change much, stored in the hold capacitor of the upper external sample and hold circuit 20 to the external terminal AT and the switch MOSFBT8W1. Noriichinu. It is fed through the drain path and stores it.
その後、上記A/D変換器lは、上記ホールド容量6B
内にストアされた電圧レベルをそれに対応する複数ビッ
トのデジタル信号に変換するために、比較動作シーケン
スを実施する。尚、図中のtholdH,上記ホールド
容量6Bがアナログ信号の電圧レベルを保持すべきホー
ルド時間を示している。Thereafter, the A/D converter l converts the hold capacitor 6B to the hold capacitor 6B.
A sequence of comparison operations is performed to convert the voltage level stored within the voltage level into a corresponding multi-bit digital signal. Note that tholdH in the figure and the above-mentioned hold capacitor 6B indicate the hold time during which the voltage level of the analog signal is to be held.
そして、上記制御回路10は、A/D変換の終了を検出
して、上記コントロール・ステータス・レジスタl2の
上記A/D変換スタートビクトADSTの値を“1”か
ら11 0 nにクリアするとともに人/D変換エンド
フラッグADFt−’″O”かC)”1”K*y卜する
・。図中のtconvijl回のA/D変換に必要とさ
れる変換時間を示している。Then, the control circuit 10 detects the end of the A/D conversion, clears the value of the A/D conversion start bit ADST in the control status register l2 from "1" to 11 0 n, and /D conversion end flag ADFt-'"O" or C)"1"K*y. The figure shows the conversion time required for tconvijl A/D conversions.
尚、上記変換時間は,13.4μsとされる〇そして、
上記制御回路10H,上記コントロール・ステータス・
レジスタ12のインターラプトイネーブルビットADI
Eが′″1”にセットされているなら、上記CPU2に
割込信号を発生する。In addition, the above conversion time is assumed to be 13.4 μs〇And,
The above control circuit 10H, the above control status
Interrupt enable bit ADI of register 12
If E is set to ``1'', an interrupt signal is generated to the CPU 2.
以上では、ストローブ信号88 1i出力する場合につ
いて説明したが、上記ストローブ信号SS1ぱ図示され
たストローブ信号882とされても良い。このストロー
ブ信号882ぱ,サンプリング信号SEの立上りに同期
してハイレベルにされ、サンプリング信号8Eの立下り
から比較動作シーケンスの開始の間にローレベルとされ
る信号で、内蔵サンプルアンドホールド回路6のサンプ
リング期間を示す信号と見なされる。Although the case where the strobe signal 88 1i is output has been described above, the strobe signal SS1 may be the strobe signal 882 shown in the figure. This strobe signal 882 is a signal that is set to a high level in synchronization with the rising edge of the sampling signal SE, and is set to a low level between the falling edge of the sampling signal 8E and the start of the comparison operation sequence. It is considered as a signal indicating the sampling period.
信号の性質上それ自体のレベル変化が大きなアナログ信
号Ainをディジタル信号に変換するときに、制御回路
10の構或及び動作クロックφ/8の周波数によって一
義的に決定されるサンプリング時間でホールド容量6B
にアナログ信号Ainの電圧を充電すると、充電期間中
に釦ける入力アナログ信号A i nのレベル変化がそ
の充電レベルに影響を与えてA/D変換精度が低くなっ
てし筐う處れがある。そこで、外部に高性能々サンプル
・ホールド回路20t−設け、これを介してアナログ信
号A i nを逐次比較型A/D変換器IK供給するの
が望!しい。その場合、そのサンプル・ホールド回路2
0は、マイクロコンピュータ5のA/D変換器1に内蔵
されたサンプルアンドホールド回路6のサンプリングタ
イミングを知る必要がある。そとで、本発明にかいては
、サンプル・ホールド回路20はサンプリングストロー
ブ信号8Stや882の立上ク変化によって逐次比較型
A/D変換器lのサンプリングタイミングを知り、これ
に基づいてそのサンプル・ホールド回路2oは、マイク
ロコンピュータ5K内麓されているサンプル・ホールド
回路6よクも短時間にアナログ信号をサンプリングして
充電する。したがって、このサンプル・ホールド回路2
0自体の充電レベルには入力アナログ信号のレベル変化
による影響かあまシ含1れていないから、これをサンプ
ル・ホールド回路6が受けることによク、サンプルホー
ルド回路6のサンプリング期間中に変換対象とされるセ
ンサーl00からのアナログ信号がレベル変化してもそ
の変動の影響を受けずに高い精度でA/D変換を行うこ
とができる。When converting the analog signal Ain, which has a large level change due to the nature of the signal, into a digital signal, the hold capacitor 6B is set at a sampling time uniquely determined by the configuration of the control circuit 10 and the frequency of the operating clock φ/8.
If the voltage of the analog signal Ain is charged to the voltage of the analog signal Ain, there is a risk that the level change of the input analog signal Ain that occurs during the charging period will affect the charging level and the A/D conversion accuracy will decrease. . Therefore, it is desirable to provide an external high-performance sample/hold circuit 20t and supply the analog signal A in to the successive approximation type A/D converter IK through this! Yes. In that case, the sample and hold circuit 2
0 needs to know the sampling timing of the sample-and-hold circuit 6 built into the A/D converter 1 of the microcomputer 5. According to the present invention, the sample/hold circuit 20 learns the sampling timing of the successive approximation type A/D converter l based on the rising edge change of the sampling strobe signal 8St or 882, and based on this, the sample/hold circuit 20 determines the sampling timing of the successive approximation type A/D converter l. - The hold circuit 2o also samples the analog signal in a short time and charges the sample and hold circuit 6 installed in the microcomputer 5K. Therefore, this sample and hold circuit 2
Since the charge level of 0 itself does not include the influence of the level change of the input analog signal, the sample-and-hold circuit 6 receives this, so that it is converted during the sampling period of the sample-and-hold circuit 6. Even if the level of the analog signal from sensor l00 changes, A/D conversion can be performed with high accuracy without being affected by the change.
1た、上述の実施例では、動作クロッ゛クφを1oMH
z として説明してきたがシステム動作上マイクロコン
ピュータ5が比較的周波数の低い動作クロックφに同期
して低速動作されるような場合、サンプリング信号SE
のアサート期間すなわちホールド容量6Bに対するアナ
ログ信号A i nの充電時間も相対的に長くなるため
、ホールド容量6Bへの充電レベルはアナログ信号A
i nのレベル変化の影響を受け易くなる。このような
ときにも上記同様に、サンプリングストローブ信号88
1又Fi882を用いて、マイクロコンピュータ5の外
部に設けたサンプル・ホールド回路20を制御するのが
有効である。尚、上記ではセンサー100からのアナロ
グ信号の変化が急峻な場合について説明してきたが、セ
ンサー100からのアナログ信号の変化が急峻でない場
合にも上記マイクロコンビエータ5ぱ十分適用できる。1. In the above embodiment, the operating clock φ is set to 1oMH.
Although the sampling signal SE has been described as
Since the assertion period of , that is, the charging time of the analog signal A in to the hold capacitor 6B is also relatively long, the charge level to the hold capacitor 6B is the same as that of the analog signal A.
It becomes more susceptible to changes in the level of in. In such a case, as above, the sampling strobe signal 88
It is also effective to use the Fi882 to control the sample/hold circuit 20 provided outside the microcomputer 5. Although the above description has been made of the case where the analog signal from the sensor 100 changes sharply, the micro combinator 5 can also be applied to cases where the analog signal from the sensor 100 does not change sharply.
この場合、上記外部サンプリングアンドホールド回路2
0Fi不要であシ、ストローブ信号881又は882の
出力も不要である。したがって、コントロール・ステー
タス・レジスタl2のピ,トE8Hが′″0″にセット
されていれば、信号SSEが発生しないので、スイ,チ
MOSFETSW2FiOFF状態とされる。そのため
、ストローブ信号881又FisS2ぱ外部端子ACT
に供給されない。In this case, the external sampling and hold circuit 2
0Fi is not necessary, nor is it necessary to output the strobe signal 881 or 882. Therefore, if the pin E8H of the control status register l2 is set to ``0'', the signal SSE is not generated and the switch MOSFET SW2Fi is set to the OFF state. Therefore, the strobe signal 881 or FisS2 is connected to the external terminal ACT.
is not supplied.
第4図には本発明の他の実施例である逐次比較型A/D
i換器が示される。同図に示される逐次比較型A/D変
換器2lは、第1図に示される逐次比較型A/D変換器
1にかいて、サンプル・ホールド回路6の代わりにサン
プル回路22を有する。上記A/D変換器2xは、制御
回路23の制#によって、アナログ入力信号Ainをサ
ンプリングする毎に比較動作を順次行うような比較動作
シーケンスを実行するようにされる。その他の構或は第
1図に示された実施例と同様であると見なされる。すな
わち、第4図は概念的に記載されている。FIG. 4 shows a successive approximation type A/D which is another embodiment of the present invention.
An i converter is shown. A successive approximation type A/D converter 2l shown in the figure has a sample circuit 22 instead of the sample and hold circuit 6 in the successive approximation type A/D converter 1 shown in FIG. Under the control of the control circuit 23, the A/D converter 2x executes a comparison operation sequence in which a comparison operation is sequentially performed every time the analog input signal Ain is sampled. Other arrangements are considered similar to the embodiment shown in FIG. That is, FIG. 4 is conceptually described.
本実施例の逐次比較型A/D変換器21H、サンプリン
グ回路22によるアナログ信号Ainの最初のサンプリ
ング開始タイミングを指示するサンプリングストローブ
信号883,又は、最初のサンプリングタイミングから
最後のサンプリングタイミング1での期間に概ね呼応す
る期間を示すサンプリングストローブ信号884を、制
御回路23からマイクロコンピュータ5の外部に出力す
るようになっている。第5図に示さ力るヱうに、サンプ
リングストローブ信号S83は、特に制限されないが、
上記A/D変換スタートビットがイネーブルにさnた直
後にパルス状にアサート変化される。1た,サンプリン
グストローブ信号884は、峙に制限されないが、最上
位ビットの比較のためにサンプリング信号SE’がアサ
ー卜されてから最下位ビットの比較動作が行わ力る1で
の間に呼応する期間だけアサート変化される。サンプリ
ングストローブ信号883 ,884の双方を外部に出
力してもよいが、第4図の実施例では何れか一方が外部
に出力される。The sampling strobe signal 883 instructing the first sampling start timing of the analog signal Ain by the successive approximation type A/D converter 21H and the sampling circuit 22 of this embodiment, or the period from the first sampling timing to the last sampling timing 1 The control circuit 23 outputs a sampling strobe signal 884 indicating a period that roughly corresponds to the microcomputer 5 to the outside of the microcomputer 5. As shown in FIG. 5, the sampling strobe signal S83 is not particularly limited;
Immediately after the A/D conversion start bit is enabled, it is asserted in the form of a pulse. In addition, the sampling strobe signal 884 is not limited to a value of 1, but corresponds between when the sampling signal SE' is asserted to compare the most significant bit and when the comparison operation of the least significant bit is performed. Assertion changes only during the period. Although both sampling strobe signals 883 and 884 may be outputted to the outside, in the embodiment shown in FIG. 4, one of them is outputted to the outside.
第4図に示されるようなホールド機能を持たないA/D
変換器21は、各量子化レベルの比較動作ステップ毎に
アナログ信号Ainをサンプリングしなければならない
ため、変化の大きなアナログ信号Ainに対するA/D
変換精度は著しく低く々っでしすう。このようなとき、
上記実施例同様マイクロコンビエータ5の外部にサンプ
ルホールド回路24を設け、上記サンプリングストロー
ブ信号SS3.SS4を用いてそのサンプル・ホールド
回路24にアナログ信号を保持させる。サンプリングス
トローブ信号883 ,884の立上り変化から一定期
間例えばサンプリングストローブ信号883のハイレペ
ルアサート期間だけサンプル・ホールド回路24Kアナ
ログ信号をサンプリングさせ、そのサンプリングレベル
Fiテンプリ,ングストローブ信号の次のアサート変化
1でホールドされ、このホールドされた電圧をサンプリ
ング回路22に与える。したがって、逐次比較型A/D
変換器21は、その動作状態をサンプリングストローブ
信号883 ,884によって外部のサンプルホールド
回路24に与えることによって、逐次比較型A/D変換
器21自体ホールド機能を持たなくても、サンプル・ホ
ールド機能付きの逐次比較型A/D変換器1同様に変化
の大きなアナログ信号に対して高い変換槽度を得ること
ができる。A/D without a hold function as shown in Figure 4
Since the converter 21 must sample the analog signal Ain at each comparison operation step of each quantization level, the converter 21 has to sample the analog signal Ain for each comparison operation step of each quantization level.
Conversion accuracy tends to be extremely low. At times like this,
Similar to the above embodiment, a sample hold circuit 24 is provided outside the micro combinator 5, and the sampling strobe signal SS3. SS4 is used to cause the sample and hold circuit 24 to hold the analog signal. The sample/hold circuit 24K is sampled for a certain period of time after the rising edge of the sampling strobe signals 883 and 884, for example, during the high level assertion period of the sampling strobe signal 883, and the sampling level Fi is sampled at the next assertion change 1 of the sampling strobe signal. The held voltage is then applied to the sampling circuit 22. Therefore, successive approximation type A/D
The converter 21 provides its operating state to the external sample and hold circuit 24 using sampling strobe signals 883 and 884, so that even if the successive approximation type A/D converter 21 itself does not have a hold function, it can be equipped with a sample and hold function. Similarly to the successive approximation type A/D converter 1, high conversion efficiency can be obtained for analog signals with large changes.
上記実施例によれば以下の作用効果を得るものである。According to the above embodiment, the following effects can be obtained.
(1) マイクロコンピュータに含1れるA/D変換
器の内蔵ホールド容f6Bは、配線の浮遊容量やスイッ
チ素子の寄生容量さらには製造ばらつき、そして半導体
基板の電位変動などのノイズを、実質的に無視し得る程
度にホールド容量を大きくするという観点と、ホールド
容量に対する充電時間増大が、比較動作効率を低下させ
たり、変化の大きな入力アナログ信号レベルを正確にサ
ンプリングすることができを〈なるというようなことが
ないようにするという観点から、充電時間かあ1り長く
ならない範囲で、ある程度高い変換樗度を保ち得る大き
さに設定される。したがって、変化の大きな入力アナロ
グ信号を゜ディジタル変換するにはホールド容量への充
電期間中に入力アナログ信号が変動して変換精度が低く
なってし!う虞れのあるような場合、逐次比較型A/D
変換器III−i、サンプリングタイミングの開始を指
示するようなサンプリングストローブ信号881や、サ
ンプリング期間を示すようなサンプリングストローブ信
号sszをマイクロコンビ一一夕5の外部に出力するか
ら,この信号を外部で受けて変換対象とされるアナログ
信号をサンプル・ホールドする高性能なサンプル・ホー
ルド゛回路20が設けられることにより、内蔵サンプル
ホールド回路6によるサンプリング期間中に変換対象と
されるアナログ信号がレベル変化してもその変化の影響
を少なくして高いn度でA/D変換を行うことができる
。(1) The built-in hold capacitor f6B of the A/D converter included in the microcomputer substantially eliminates noise such as stray capacitance of wiring, parasitic capacitance of switch elements, manufacturing variations, and potential fluctuations of semiconductor substrates. Increasing the hold capacitance to a negligible extent and increasing the charging time for the hold capacitance may reduce the comparison operation efficiency or make it impossible to accurately sample input analog signal levels with large changes. From the viewpoint of preventing such problems, the size is set so that a relatively high conversion strength can be maintained without lengthening the charging time. Therefore, when converting an input analog signal with large changes into digital, the input analog signal fluctuates during the charging period of the hold capacitor and the conversion accuracy decreases! In cases where there is a risk of error, use successive approximation type A/D
The converter III-i outputs the sampling strobe signal 881 that instructs the start of the sampling timing and the sampling strobe signal ssz that indicates the sampling period to the outside of the microcombi Ichiyo 5. By providing a high-performance sample-and-hold circuit 20 that samples and holds the analog signal to be converted, the level of the analog signal to be converted does not change during the sampling period by the built-in sample-and-hold circuit 6. A/D conversion can be performed at a high n degree by reducing the influence of the change.
(2) システム動作上マイクロコンピュータ5が比
較的周波数の低い動作クロックCLKK同期して低速動
作されるような場合Kは、サンプリング信号8Eのアサ
ート期間すなわちホールド容量6Bに対するアナログ信
号Ainの充電時間も相対的に長くなう、ホールド容量
6Bへの充電レベルはアナログ信号A j nのレベル
変化の影響を受け易くZるが、このよう々ときにも上記
(1)と同様に、サンプリングストローブ信号SSx,
SS2e用いて、マイクロコンピュータ5の外部に設け
たサンプル・ホールド回路20にアナログ信号レベルを
充電させることができる。これによって、内蔵サンプル
ホールド回路6によるサンプリング期間中に、変換対象
とされるアナログ信号がレベル変化してもその変化の影
響をあ1り受けずに高い樗度でA/D変換を行うことが
できる。(2) In the case where the microcomputer 5 is operated at low speed in synchronization with the operating clock CLKK, which has a relatively low frequency, the assertion period of the sampling signal 8E, that is, the charging time of the analog signal Ain with respect to the hold capacitor 6B is also relative. The charging level of the hold capacitor 6B is easily influenced by the level change of the analog signal A j n, but in such cases, as in (1) above, the charging level of the hold capacitor 6B is
Using the SS2e, the sample and hold circuit 20 provided outside the microcomputer 5 can be charged with an analog signal level. As a result, even if the level of the analog signal to be converted changes during the sampling period by the built-in sample and hold circuit 6, A/D conversion can be performed with high accuracy without being affected by the change. can.
(3) ホールド機能を持たないA/D変換器2lは
各量子化レベルの比較動作ステップ毎にアナログ信号A
i nをサンプリングしなければならないため、変化
の大きな入力アナログ信号に対するA/D変換精度は著
しく低くなってし1う。しかし、逐次比較型A/D変換
器21は、その動作状態をサングリングストローブ信号
883 , 8S4を用いて外部のサンプルホールド回
路24に知らせることができるので、逐次比較型A/D
変換器21自体ホールド機能を持たなくても、サンプル
・ホールド機能付きの逐次比較型A/D変換器1と同様
に、変化の大きなアナログ信号に対して高い変換精度を
得ることができる。(3) The A/D converter 2l, which does not have a hold function, outputs an analog signal A at each comparison operation step of each quantization level.
Since it is necessary to sample i.sub.n, the A/D conversion accuracy for input analog signals with large changes is significantly lowered. However, since the successive approximation type A/D converter 21 can notify its operating state to the external sample and hold circuit 24 using the sampling strobe signals 883 and 8S4, the successive approximation type A/D converter 21
Even if the converter 21 itself does not have a hold function, high conversion accuracy can be obtained for analog signals with large changes, similar to the successive approximation type A/D converter 1 with a sample and hold function.
以上本発明者によってなされた発明を実施例に基づいて
具体的に説明したが、本発明はそれに限定されるもので
はなく、その要旨を逸脱しない範囲に釦いて種々変更可
能であることは言う1でもない。Although the invention made by the present inventor has been specifically explained based on examples, it is to be noted that the present invention is not limited thereto, and can be modified in various ways without departing from the gist of the invention. not.
例えば逐次比較型A/D変換器に内蔵されるD/A変換
回路は上記実施例で説明した抵抗ストリング回路を内蔵
する構或に限定されず、夫々量子化レベルに対応して重
み付けされたラダー抵抗回路網を有する構或などに変更
することができる。For example, the D/A conversion circuit built into a successive approximation type A/D converter is not limited to the structure that incorporates the resistor string circuit described in the above embodiment, but also includes a ladder circuit that is weighted according to the quantization level. It is possible to change the structure to include a resistor network.
iた、その抵抗は,トランジスタのオン抵抗やオフ抵抗
さらにはポリシリコン抵抗などを利用することもできる
し、1た外付け抵抗にしてもよい。In addition, the resistor may be the on-resistance or off-resistance of a transistor, a polysilicon resistor, or the like, or may be an external resistor.
1た、サンプリングストローブ信号は上記実施例に限定
されず、A/D変換動作状態を外部に示すことができる
信号であればそのアサートタイミングやアサート期間は
自由に変更することができる。In addition, the sampling strobe signal is not limited to the above embodiment, and the assertion timing and assertion period of the signal can be freely changed as long as the signal can indicate the A/D conversion operation state to the outside.
例えば第1図の実施例でサンプリング信号SEをサンプ
リングストローブ信号として外部に出力してもよい。For example, in the embodiment shown in FIG. 1, the sampling signal SE may be outputted to the outside as a sampling strobe signal.
以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるマイクロコンピュー
タのようなデータ処理用LSIに内蔵される逐次比較型
A/Di換器に適用した場合について説明したが、本発
明はそれに限定されるものではなく計数型A/D変換器
などにも適用することができる。本発明は少なくともA
/D変換状態をチップの外部に直接出力可能な条件のも
のに適用可能である。The above explanation mainly describes the case where the invention made by the present inventor is applied to a successive approximation type A/Di converter built into a data processing LSI such as a microcomputer, which is the field of application in which the invention was made. However, the present invention is not limited thereto, and can also be applied to counting type A/D converters. The present invention provides at least A
It is applicable to conditions where the /D conversion state can be directly output to the outside of the chip.
本mVCspいて開示される発明のうち代表的なものに
よって得られる効果を簡単に説明すれば下記の通りであ
る。A brief explanation of the effects obtained by typical inventions disclosed in this mVCsp is as follows.
すなわち、半導体集積回路に内蔵されたアナログ・ディ
ジタル変換器VCかいて、アナログ信号のサンプリング
開始、終了、又はその期間のうちの少た〈とも1つを示
すストローブ信号を外部に出力する手段を設けたから、
外部に卦けるサンプル・ホールド機能の有効活用を図る
ことができるという効果がある。そして内部動作条件や
入カアナログ信号の状態などに応じて変換精度を容易に
高めることができるという効果がある。さらに、アナロ
グ信号発生元に対する制御性を実現することができると
いう効果がある。That is, means is provided for outputting to the outside a strobe signal indicating at least one of the start and end of sampling of an analog signal, or the period thereof, using an analog-to-digital converter VC built into a semiconductor integrated circuit. treasure,
This has the effect of making it possible to effectively utilize an external sample/hold function. Further, there is an effect that conversion accuracy can be easily increased depending on internal operating conditions, the state of input analog signals, and the like. Furthermore, there is an effect that controllability over the analog signal generation source can be realized.
%にアナログ・ディジタル変換器の動作が、中央処理装
置の動作クロックに同期されるときに、あるいは、入力
アナログ信号の電圧レベルを保持するための内蔵ホール
ド容量に対する充電時間が上記動作クロック周波数に依
存するときに、その動作クロック周波数の設定状態によ
ってA/D変換精度が影響される場合にも、その影響を
容易に低減させることができる。% when the operation of the analog-to-digital converter is synchronized to the operating clock of the central processing unit, or the charging time for the built-in hold capacitor to hold the voltage level of the input analog signal depends on the operating clock frequency above. Even if the A/D conversion accuracy is affected by the setting state of the operating clock frequency when doing so, the effect can be easily reduced.
fjgi図は本発明の一実施例であるサンプル・ホール
ド機能を内蔵する逐次比較型A/D変換器付シングルチ
ップマイクロコンピュータのブロック図、
第2図は第1図に示されるコントロール・ステータス・
レジスタ12の説明図、
第3図は第1図に示されるA/D変換器の動作説明図、
第4図は本発明の他の実施例であるサンプル・ホールド
機能を内蔵しない逐次比較型A/D変換器のブロック図
、
第5図は第4図に示されるA/D変換器の動作説明図で
ある。
l・・・アナログ/デジタル( A/D )変換器、2
・・・中央処理装置(CPU)、3・・・ランダム・ア
クセスメモリ(RAM),4・・・内部バス、5・・・
シングルチップマイクロコンピュータ。Fig. fjgi is a block diagram of a single-chip microcomputer with a successive approximation type A/D converter that has a built-in sample and hold function, which is an embodiment of the present invention.
FIG. 3 is an explanatory diagram of the operation of the A/D converter shown in FIG. 1. FIG. 4 is a successive approximation type A without a built-in sample and hold function, which is another embodiment of the present invention. Block Diagram of A/D Converter FIG. 5 is an explanatory diagram of the operation of the A/D converter shown in FIG. l...Analog/digital (A/D) converter, 2
...Central processing unit (CPU), 3...Random access memory (RAM), 4...Internal bus, 5...
Single chip microcomputer.
Claims (1)
端子に供給されたアナログ信号を受け、そのアナログ信
号をデジタル信号に変換するための変換手段、上記変換
手段は上記アナログ信号をサンプリングするためのサン
プリング回路(6)を持つ; 上記変換手段に結合され、上記変換手段の動作を制御す
るための制御手段、上記制御手段は、上記サンプリング
回路を動作させるための第1制御信号を上記サンプリン
グ回路に選択的に出力するとともに上記サンプリング回
路を制御するための第1制御信号に基づく第2制御信号
を出力する;及び 上記第2制御信号が供給されるべき第2外部端子;を含
むことを特徴とする半導体回路装置。 2、上記変換手段は、さらに、アナログ・ディジタル変
換のための量子化レベルを生成する手段と、この量子化
レベルと上記サンプリング回路によって、サンプリング
されたアナログ信号の電圧レベルとを比較する比較回路
及び変換結果を保持するデータ・レジスタを含むことを
特徴とする特許請求の範囲第1項記載の半導体回路装置
。 3、上記第2制御回路は、上記半導体回路装置の外部状
態を識別するための記憶手段(ESH)を含み、上記制
御手段は、上記記憶手段(ESH)を参照し、上記第2
制御信号を上記第2外部端子に供給するか否かを制御す
ることを特徴とする特許請求の範囲第1項記載の半導体
回路装置。 4、上記制御信号は、アナログ信号のサンプリング開始
、終了、又はその期間の内の少なくとも1つを示すため
のストローブ信号を含むことを特徴とする特許請求の範
囲第1項記載の半導体回路装置。 5、半導体回路装置は: 所定の動作クロックに従って所定のデータ処理を行なう
中央処理装置(CPU);及び 上記所定の動作クロックを供給するクロック発生手段、
を含み、上記変換手段は、上記動作クロックに同期して
アナログ・デジタル変換を行なうことを特徴とする特許
請求の範囲第1項記載の半導体回路装置。 6、上記サンプリング回路は、上記アナログ信号の電圧
レベルを保持するためのホールド容量を含むことを特徴
とする特許請求の範囲第1項記載の半導体回路装置。[Claims] 1. The semiconductor circuit device includes: a first external terminal to which an analog signal is to be supplied;
Conversion means for receiving an analog signal supplied to a terminal and converting the analog signal into a digital signal, the conversion means having a sampling circuit (6) for sampling the analog signal; coupled to the conversion means; , control means for controlling the operation of the conversion means, the control means selectively outputting a first control signal for operating the sampling circuit to the sampling circuit, and controlling the sampling circuit. A semiconductor circuit device comprising: outputting a second control signal based on the first control signal; and a second external terminal to which the second control signal is to be supplied. 2. The conversion means further includes means for generating a quantization level for analog-to-digital conversion, a comparison circuit for comparing the quantization level with the voltage level of the analog signal sampled by the sampling circuit, and 2. The semiconductor circuit device according to claim 1, further comprising a data register for holding conversion results. 3. The second control circuit includes a storage means (ESH) for identifying an external state of the semiconductor circuit device, and the control means refers to the storage means (ESH) to identify the external state of the semiconductor circuit device.
2. The semiconductor circuit device according to claim 1, wherein the semiconductor circuit device controls whether or not a control signal is supplied to the second external terminal. 4. The semiconductor circuit device according to claim 1, wherein the control signal includes a strobe signal for indicating at least one of the start, end, or period of sampling of the analog signal. 5. The semiconductor circuit device includes: a central processing unit (CPU) that performs predetermined data processing according to a predetermined operating clock; and clock generation means that supplies the predetermined operating clock;
2. The semiconductor circuit device according to claim 1, wherein said converting means performs analog-to-digital conversion in synchronization with said operating clock. 6. The semiconductor circuit device according to claim 1, wherein the sampling circuit includes a hold capacitor for holding the voltage level of the analog signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30772589A JPH03169123A (en) | 1989-11-29 | 1989-11-29 | Semiconductor circuit device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30772589A JPH03169123A (en) | 1989-11-29 | 1989-11-29 | Semiconductor circuit device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03169123A true JPH03169123A (en) | 1991-07-22 |
Family
ID=17972502
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP30772589A Pending JPH03169123A (en) | 1989-11-29 | 1989-11-29 | Semiconductor circuit device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03169123A (en) |
-
1989
- 1989-11-29 JP JP30772589A patent/JPH03169123A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6870784B2 (en) | Integrated charge sensing scheme for resistive memories | |
| US6577263B2 (en) | Analog switch circuit | |
| US7265707B2 (en) | Successive approximation type A/D converter | |
| CN107040260B (en) | Asynchronous successive approximation type analog-to-digital conversion circuit | |
| US10938387B1 (en) | Local interconnect network (LIN) driver circuit | |
| JP5155012B2 (en) | AD converter and data processing apparatus | |
| KR20050002647A (en) | Semiconductor integrated circuit | |
| US20040096061A1 (en) | Electrostatic capacitance sensor and fingerprint collator comprising it | |
| JPH08265155A (en) | Semiconductor integrated circuit device and control system | |
| US5548748A (en) | One-chip semiconductor integrated circuit device having a digital signal processing circuit and an analog signal processing circuit | |
| US6060914A (en) | Semiconductor device including a boost circuit | |
| US5252976A (en) | Sequential comparison type analog-to-digital converter | |
| US6850180B2 (en) | Asynchronous self-timed analog-to-digital converter | |
| US5805091A (en) | Reference voltage circuit | |
| JPH0877789A (en) | Sample-and-hold circuit | |
| JPS6011491B2 (en) | AD conversion circuit | |
| US5087915A (en) | Semiconductor integrated circuit device with analog to digital converter | |
| WO2012081960A1 (en) | Dual- function successive approximation analog to digital converter (sa-adc) | |
| US9184760B2 (en) | Semiconductor device | |
| CN115001492A (en) | AD converter and semiconductor device including the same | |
| US7733259B2 (en) | System having a signal converter device and method of operating | |
| TWI789101B (en) | Front-end sampling circuit and method for sampling signal | |
| JPH08265156A (en) | Semiconductor integrated circuit device and control system | |
| US20090189592A1 (en) | Identification Of Integrated Circuit | |
| JP2893733B2 (en) | A / D converter |