JPH02103800A - Sampling and holding circuit - Google Patents

Sampling and holding circuit

Info

Publication number
JPH02103800A
JPH02103800A JP63190031A JP19003188A JPH02103800A JP H02103800 A JPH02103800 A JP H02103800A JP 63190031 A JP63190031 A JP 63190031A JP 19003188 A JP19003188 A JP 19003188A JP H02103800 A JPH02103800 A JP H02103800A
Authority
JP
Japan
Prior art keywords
output
voltage
signal
hold
sample
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
Application number
JP63190031A
Other languages
Japanese (ja)
Inventor
Hitoshi Kiyofuji
清藤 均
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63190031A priority Critical patent/JPH02103800A/en
Publication of JPH02103800A publication Critical patent/JPH02103800A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To suppress the reduction of the holding voltage due to leak of a capacitor for long-time holding to zero by using a counter instead of the charging capacitor. CONSTITUTION:When a sampling and holding signal is in the high level, the output of an oscillating circuit 6 is outputted through an AND gate 7. Meanwhile, when the voltage of an output signal 11 is higher than that of an input signal 15, the output of a comparator goes to the low level and the output of an inverter 16 goes to the high level, and the output pulse of the oscillating circuit is inputted to a down-count terminal, and therefore, a counter 2 is counted down. Consequently, the voltage of the output signal of a D/A converter 1 is reduced to follow up the voltage of the input signal 15. When the voltage of the output signal 11 is lower than that of the input signal 15, the output pulse of the oscillating circuit is inputted to the up-count terminal, and the counter 2 is counted up, and the voltage of the output signal 11 of the D/A converter 1 is raised to follow up the input signal. Thus, the holding voltage is always kept constant.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明はサンプル/ホールド回路に関する。[Detailed description of the invention] (Industrial application field) The present invention relates to sample/hold circuits.

〔従来の技術〕[Conventional technology]

従来、この種のサンプル/ホールド回路は。 Traditionally, this type of sample/hold circuit.

充電用コンデンサとアナログスイッチにより構成されて
いた。
It consisted of a charging capacitor and an analog switch.

(発明が解決しようとする課題) そのためホールド時間が長時間になるとコンデンサから
の放電によりホールド電圧に誤差が発生するという欠点
がある。
(Problem to be Solved by the Invention) Therefore, when the hold time becomes long, there is a drawback that an error occurs in the hold voltage due to discharge from the capacitor.

本発明の目的はホールド時間の長短に関係なく、ホール
ド電圧を常に一定に保つことができるサンプル/ホール
ド回路を提供することにある。
An object of the present invention is to provide a sample/hold circuit that can always keep a hold voltage constant regardless of the length of the hold time.

(課題を解決するための手段) 前記目的ケ達成するために本発明lこよるサンプル/ホ
ールド回路は入力アナログ信号と出力信号の電圧全比較
する比較器と、サンプル/ホールド切換信号がホールド
状態のときは発振回路出力の送出?停止し、前記サンプ
ル/ホールド切換信号がサンプル状態のときは前記比較
器出力Iこしたがって前記発振回路出力を第1の出力端
子ま72:は第2の出力端子Iこ送出するゲート回路と
、前記ゲート回路の第1出力端子がカウントアツプ端子
1?c、7g2出力端子がカウントダウン端子lこそれ
ぞれ接続されたアップダウンカウンタと、前記アップダ
ウンカウンタの出力音D/A変換し、前記出力信号を出
力するD/A変換器とから構成しである。
(Means for Solving the Problems) In order to achieve the above object, the sample/hold circuit according to the present invention includes a comparator that compares the voltages of an input analog signal and an output signal, and a sample/hold switching signal that is in a hold state. When is the oscillation circuit output sent? 72: a gate circuit for transmitting the comparator output I and therefore the output of the oscillation circuit to a first output terminal or a second output terminal I when the sample/hold switching signal is in the sample state; Is the first output terminal of the gate circuit count up terminal 1? It consists of an up-down counter whose output terminals c, 7g and 2 are respectively connected to a countdown terminal l, and a D/A converter which converts the output sound of the up-down counter into D/A and outputs the output signal.

(実施例) 以下、図面を参照して本発明をさらに詳しく説明する。(Example) Hereinafter, the present invention will be explained in more detail with reference to the drawings.

第1図は本発明によるサンプル/ホールド回路の一実施
例會示すブロック図である。
FIG. 1 is a block diagram illustrating one embodiment of a sample/hold circuit according to the present invention.

図において、3は比較器であジ、入力信号15と、D/
A変換器1の出力信号11の電圧?比較する。4はサン
プルホールド信号である。この信号がハイレベル(論理
″1″〕のトキサンプル動作ケ、ローレベル(論理″′
0”)のときホールド動作となる。
In the figure, 3 is a comparator, which inputs the input signal 15 and D/
Voltage of output signal 11 of A converter 1? compare. 4 is a sample hold signal. When this signal is high level (logic ``1''), it is low level (logic ``'').
0''), a hold operation occurs.

5はゲート回路である。これは3つのANDゲート7.
8および9と、1つのインバータ15と、1つの発振回
路6Iこより構成されている。
5 is a gate circuit. This consists of three AND gates7.
8 and 9, one inverter 15, and one oscillation circuit 6I.

サンプルホールド信号4がローレベルの13i、 AN
Dゲート7はゲートオフとナク、カウント動作用の発振
回路6の出力パルスは後段の回路には出力されない。
13i, AN when sample hold signal 4 is low level
The D gate 7 is turned off and the output pulse of the oscillation circuit 6 for counting operation is not output to the subsequent circuit.

サンプルホールド信号4がハイレベルの時はANDゲー
ト7がゲートオンになるので発振回路6の信号が、AN
Dゲー)8.SHこ送られ、比較器3の出力状態によジ
、ANDゲート8ま几は9のいずれかがゲートオンする
When the sample hold signal 4 is at a high level, the AND gate 7 is turned on, so the signal from the oscillation circuit 6 is
D game) 8. SH is sent, and depending on the output state of comparator 3, either AND gate 8 or 9 is turned on.

この実施例では出力信号11が入力信号15より高い電
圧の場合は、比較器出力はローレベルになり、インバー
タ16の出力がノヘイレベルになるので、ANDゲート
9がゲートオンとなりANDゲート9よジ発据回路6の
パルスが出力される。
In this embodiment, when the output signal 11 has a higher voltage than the input signal 15, the comparator output goes to low level and the output of the inverter 16 goes to the low level, so the AND gate 9 turns on and the output from the AND gate 9 is turned on. The pulse of circuit 6 is output.

上記とは逆に出力信号11が入力信号15より低い電圧
の場合は、比較器3の出力はハイレベルになるので、A
NDゲート8がゲートオンとなジ、ANDゲート8より
発信回路6のパルスが出力される。
Contrary to the above, if the output signal 11 has a lower voltage than the input signal 15, the output of the comparator 3 will be at a high level, so A
When the ND gate 8 is turned on, the pulse from the oscillation circuit 6 is output from the AND gate 8.

2はアップダウンカウンタであり、アップカウント端子
はANDゲート8の出力に、ダウンカウント端子はAN
Dゲート9の出力にそれぞれ接続されている。したがっ
て、アップカウント端子に発振回路の出力パルスが入力
した場合にはカウンタ2はカウントアツプし、ダウンカ
ウント端子に入力し友場合にはカウントダウンする。
2 is an up/down counter, the up count terminal is connected to the output of AND gate 8, and the down count terminal is connected to AN
They are respectively connected to the outputs of the D gates 9. Therefore, when the output pulse of the oscillation circuit is input to the up-count terminal, the counter 2 counts up, and when it is input to the down-count terminal, it counts down.

1はD/A変換器であり、アップダウンカウンタ2から
出力されたディジタルデータはアナログ電圧に変換され
る。
1 is a D/A converter, and the digital data output from the up/down counter 2 is converted into an analog voltage.

第2図は第1図の回路の動作を説明するための波形図で
ある。
FIG. 2 is a waveform diagram for explaining the operation of the circuit of FIG. 1.

サンプルホールド信号がハイレベルのときは発振回路6
の出力がANDゲート7?弁して出力されており、一方
、入力信号15より出力信号11の電圧が高い場合は比
較器出力がローレベル、インバータ16出力がハイレベ
ルになりダウンカウント端子に発振回路の出力パルスが
入力するので、カウンタ2はカウントダウンする。これ
によりD/A変換器1の出力信号の電圧が下がり、入力
信号15の電圧に追従することとなる。
When the sample hold signal is high level, the oscillation circuit 6
Is the output of AND gate 7? On the other hand, when the voltage of the output signal 11 is higher than the input signal 15, the comparator output becomes low level, the inverter 16 output becomes high level, and the output pulse of the oscillation circuit is input to the down count terminal. Therefore, counter 2 counts down. As a result, the voltage of the output signal of the D/A converter 1 decreases and follows the voltage of the input signal 15.

入力信号15よジ出力信号11の電圧が低い場合はアッ
プカウント端子に発振回路の出力パルスが入力し、カウ
ンタ2はカウントアツプし、D/A変換器1の出力信号
】1の電圧は上が9゜やはり入力信号に追従することと
なる。
When the voltage of the input signal 15 and output signal 11 is low, the output pulse of the oscillation circuit is input to the up-count terminal, the counter 2 counts up, and the voltage of the output signal 1 of the D/A converter 1 increases. 9° will still follow the input signal.

サンプルホールド信号がローレベルのとき、すなわちホ
ールド動作のときはANDゲート7がゲートオフするの
で、アップダウンカウンタ2ζこけ発振回路6のパルス
は出力されなり0したがって、出力信号は同一電圧に保
持される。
When the sample and hold signal is at a low level, that is, during a hold operation, the AND gate 7 is gated off, so that the pulse of the up/down counter 2ζ moss oscillation circuit 6 is outputted to 0. Therefore, the output signal is held at the same voltage.

(発明の効果) 以上、説明したように本発明は、充電コンデンサの代わ
ジにカウンタを用いることによV。
(Effects of the Invention) As explained above, the present invention uses a counter instead of a charging capacitor to reduce voltage.

長時間ホールドする時のコンデンサのリークによるホー
ルド電圧の低下全ゼロに抑えることができるという効果
がある。
This has the effect of suppressing the drop in hold voltage due to capacitor leakage to zero when holding for a long time.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるサンプル/ホールド回路の一実施
例を示すブロック図、第2図は第1図の回路の動作ケ説
明する友めの波形図である。 1・・・D/A変換器 2・・・アップダウンカウンタ 3・・・比較器 6・・・発振回路 特許出願人  日本電気株式会社
FIG. 1 is a block diagram showing an embodiment of the sample/hold circuit according to the present invention, and FIG. 2 is a waveform diagram illustrating the operation of the circuit of FIG. 1. 1... D/A converter 2... Up/down counter 3... Comparator 6... Oscillation circuit patent applicant NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] 入力アナログ信号と出力信号の電圧を比較する比軟器と
、サンプル/ホールド切換信号がホールド状態のときは
発振回路出力の送出を停止し、前記サンプル/ホールド
切換信号がサンプル状態のときは前記比較器出力にした
がつて前記発振回路出力を第1の出力端子または第2の
出力端子に送出するゲート回路と、前記ゲート回路の第
1出力端子がカウントアップ端子に、第2出力端子がカ
ウントダウン端子にそれぞれ接続されたアップダウンカ
ウンタと、前記アップダウンカウンタの出力をD/A変
換し、前記出力信号を出力するD/A変換器とから構成
したことを特徴とするサンプル/ホールド回路。
A ratio softener that compares the voltages of the input analog signal and the output signal, stops sending the oscillation circuit output when the sample/hold switching signal is in the hold state, and compares the voltage of the sample/hold switching signal when the sample/hold switching signal is in the sample state. a gate circuit that sends the oscillation circuit output to a first output terminal or a second output terminal according to the output of the oscillation circuit; the first output terminal of the gate circuit is a count-up terminal, and the second output terminal is a count-down terminal; 1. A sample/hold circuit comprising up/down counters connected to respective up/down counters, and a D/A converter for D/A converting the outputs of the up/down counters and outputting the output signals.
JP63190031A 1988-07-29 1988-07-29 Sampling and holding circuit Pending JPH02103800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63190031A JPH02103800A (en) 1988-07-29 1988-07-29 Sampling and holding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63190031A JPH02103800A (en) 1988-07-29 1988-07-29 Sampling and holding circuit

Publications (1)

Publication Number Publication Date
JPH02103800A true JPH02103800A (en) 1990-04-16

Family

ID=16251214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63190031A Pending JPH02103800A (en) 1988-07-29 1988-07-29 Sampling and holding circuit

Country Status (1)

Country Link
JP (1) JPH02103800A (en)

Similar Documents

Publication Publication Date Title
US4791406A (en) Monolithic integrated digital-to-analog converter
US5155386A (en) Programmable hysteresis comparator
US4769628A (en) High speed analog-to-digital converter utilizing multiple, identical stages
JPS63301692A (en) Digital interface of subscriber interface integrated circuit unit
US3953676A (en) Digital control of a loudspeaking telephone system
US5343196A (en) D/A converter with reduced power consumption
JPH02103800A (en) Sampling and holding circuit
US5391936A (en) Wide-band sample and hold circuit
US5086441A (en) Frequency divider circuit
US4016559A (en) Digital-to-analog converter having transient suppressor system
JPH04157372A (en) Window type voltage comparator circuit
JP3016094B2 (en) Double integral type AD converter
JPS6348456B2 (en)
JPH0744455B2 (en) A / D conversion circuit
JPS61214608A (en) Clamping circuit
SU924846A1 (en) Device for determining channel with maximum output voltage
JPS6365720A (en) Dc-ac converter
US3293638A (en) Arrangement for converting an information signal
SU1163475A1 (en) Multichannel number-to-voltage converter
JPS6235709A (en) Digital circuit
JPS59186418A (en) D/a converting circuit
SU834935A1 (en) Scaling device
JPH0439784A (en) Microcomputer
JPH03215764A (en) Semiconductor integrated circuit
SU1171986A2 (en) Device for discrete controlling of signal level