JPS6057736B2 - A-D converter - Google Patents
A-D converterInfo
- Publication number
- JPS6057736B2 JPS6057736B2 JP5519777A JP5519777A JPS6057736B2 JP S6057736 B2 JPS6057736 B2 JP S6057736B2 JP 5519777 A JP5519777 A JP 5519777A JP 5519777 A JP5519777 A JP 5519777A JP S6057736 B2 JPS6057736 B2 JP S6057736B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- counter
- output
- flip
- comparator
- 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
Links
- 230000010354 integration Effects 0.000 claims description 3
- 230000010355 oscillation Effects 0.000 claims 3
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Analogue/Digital Conversion (AREA)
Description
【発明の詳細な説明】 本発明は、油変換器に関する。[Detailed description of the invention] The present invention relates to an oil converter.
本発明は、半ビットのフリップフロップ3段を用いてラ
ッチ回路に与えるデータトランスファ信号をカウンタに
入力する被計数パルスに同期させることにより、チヤタ
ーなどのノイズに対し強くした油変換器に関する。The present invention relates to an oil converter that is made resistant to noise such as chatter by synchronizing a data transfer signal applied to a latch circuit with counted pulses input to a counter using three stages of half-bit flip-flops.
本発明の目的は、特にデジタル回路のスイッチングノイ
ズがアナログ回路に重畳しAD変換値に誤差を与えるこ
とを防ぐことにある。An object of the present invention is particularly to prevent switching noise of a digital circuit from being superimposed on an analog circuit and causing an error in an AD conversion value.
本発明の他の目的は、ラッチ回路の誤動作を防ぐことに
ある。本発明は、カウンタでパルスを計数するAD変換
器には、全てに応用でき、非常に有効であるが積分型と
呼ばれる方式において最も有効であるので以後例として
二重積分方式と呼ばれるAD変換方式に応用した場合に
ついて説明する。Another object of the present invention is to prevent malfunctions of latch circuits. The present invention can be applied to all types of AD converters that count pulses with a counter, and is very effective, but since it is most effective in a system called an integral type, hereinafter referred to as an example of an AD conversion system called a double integral system. We will explain the case when applied to.
従来の二重積分方式と呼ばれるAD変換方式は第1図に
示すように、積分器−1、コンパレーター2、カウンタ
ー3、ラツチー4、クロックパルス発生回路−5、スイ
ツチー6、7、制御回路一8、基準電圧源−9から残り
第2図に示すようにリセット状態からスイッチ6により
一定期間、被変換電圧Vxを積分器に入力し積分する。As shown in Figure 1, the conventional AD conversion method called the double integration method includes an integrator 1, a comparator 2, a counter 3, a latch 4, a clock pulse generation circuit 5, a switch 6 and 7, and a control circuit 1. 8. As shown in FIG. 2, from the reference voltage source 9, the voltage to be converted Vx is input to the integrator for a certain period of time from the reset state using the switch 6, and is integrated.
つづいて、Vxと逆極性の基準電圧Vsを積分器にスイ
ッチ7を通し入カリセットベルにもどつた時を、コンパ
レータで検出し、逆積分を開始した時点からコンパレー
タが反転するまでの時間Txをカウン・夕で計数する。
TxはVxに比例するので油変換ができる。いま、カウ
ンタが000の時、Vsの積分を開始するように制御回
路によりスイッチの開閉を行い、コンパレータが反転し
た時刻Tlにて、ラッチ回路にデータトランスファ信号
を入力すれ一ばカウンタのTl時点の内容をラッチ回路
が読み込み、油変換値を出力する。以上述べた従来の方
式において、次に述べる2つの欠点がある。Next, a reference voltage Vs with the opposite polarity to Vx is applied to the integrator through switch 7, and a comparator detects when it returns to the caliper reset bell, and calculates the time Tx from the time when inverse integration is started until the comparator is inverted. Count by counter/evening.
Since Tx is proportional to Vx, oil conversion is possible. Now, when the counter is 000, the control circuit opens and closes the switch so as to start integrating Vs, and at time Tl when the comparator is inverted, input the data transfer signal to the latch circuit. The latch circuit reads the contents and outputs the oil conversion value. The conventional system described above has the following two drawbacks.
すなわち、積分器出力にクロツクパルスなどの影響によ
るスパイクノイズが重畳する場合、第3図に示すように
、コンパレータが誤つて反転し、AD変換値に誤差を与
える。また第4図に示すようにカウンタの反転するタイ
ミングとデータトランスファ信号が入るタイミングが時
間的に一致する場合において、特にカウンタの桁上げが
おこるような時カウンタ前段のみが反転し、後段がまだ
反転しないうちに、ラッチによりホールドされてしまい
AP変換値に重大な誤差を与えることがある。これはト
ランスファ信号がHのときカウンタ3のデータがラッチ
4に入力するので、この間にデータが変化すると入力さ
れるものとされないものがでてくるためである。本発明
は、かかる従来のAD変換器の欠点を除去するものであ
りデータトランスファ信号を発生する回路を第5図の点
線内に示すように半ビットのフリップフロップ回路3段
で構成しクロックパルスと同期したデータトランスファ
信号をラッチ回路に与える。That is, when spike noise due to the influence of clock pulses etc. is superimposed on the integrator output, the comparator is erroneously inverted as shown in FIG. 3, giving an error to the AD conversion value. Furthermore, as shown in Figure 4, when the timing at which the counter inverts and the timing at which the data transfer signal enters coincide, especially when a carry of the counter occurs, only the front stage of the counter is inverted and the rear stage is still inverted. It may be held by a latch before it occurs, causing a serious error in the AP conversion value. This is because the data of the counter 3 is input to the latch 4 when the transfer signal is H, so if the data changes during this time, some data will be input and some will not. The present invention eliminates the drawbacks of the conventional AD converter, and the circuit for generating the data transfer signal is composed of three stages of half-bit flip-flop circuits as shown within the dotted line in FIG. A synchronized data transfer signal is provided to the latch circuit.
ここに用いるフリップフロップ回路はクロック端子CL
がHのとき、データ端子Dの内容を通過させQに出力さ
せ、CL=Lのとき、CL端子の状態がHからLになる
直前のDの状態を保持しQに出力するものとして説明す
る。また、パルスを計数するカウンター18は、クロッ
クの立下りで進むものとするが、この場合に限定するも
のではない。このフリップフロップ回路はラッチ回路と
して用いることができる。コンパレーター12の出力を
フリップフロップFFl−13のD端子に入力し、図の
ように順次フリップフロップFF2−14、FF3−1
5を縦続接続する。The flip-flop circuit used here has a clock terminal CL.
When is H, the contents of data terminal D are passed through and output to Q, and when CL = L, the state of D immediately before the state of the CL terminal changes from H to L is held and output to Q. . Further, the counter 18 that counts pulses is assumed to advance at the falling edge of the clock, but the counter 18 is not limited to this case. This flip-flop circuit can be used as a latch circuit. The output of the comparator 12 is input to the D terminal of the flip-flop FFl-13, and the flip-flops FF2-14 and FF3-1 are sequentially input as shown in the figure.
5 are connected in cascade.
各フリップフロップには、カウンター18で計数するパ
ルスと同相のクロックを発振器−19からFFl,FF
3のCL端子に逆相のパルスをFF2のCL端子に加え
る。第6図に示すように、FFlのD端子に与えら−れ
たコンパレータの波形はクロックの半周期づつ遅れ、F
F3のQ端子に出力される。Each flip-flop is supplied with a clock that is in phase with the pulses counted by the counter 18 from an oscillator 19 to FFl, FF.
Apply a pulse of opposite phase to the CL terminal of FF2 to the CL terminal of FF2. As shown in Figure 6, the waveform of the comparator applied to the D terminal of FF1 is delayed by half a clock cycle, and
It is output to the Q terminal of F3.
いまFF2のQの否定とFF3のQの論理積をとると、
第6図7のように、クロックの立上りと立下りが一致し
たクロックパルス112発分のパルスが得られる。この
パルスをデータトランスファ信号として用いると、コン
パレータのチヤターによる影響をうけなく、またカウン
タの進むタイミングとは112周期ずれて、ラッチがホ
ールド状態に入るためラッチの誤動作をなくすことがで
きる。さらに積分器波形には、カウンタなどの内部状態
がかわるとき、(すなわちカウンタが進むとき、とくに
カウンタの桁上げがおこるとき)に、大きなスパイクが
重畳するが、第6図に示すように本発明による油変換器
では、その影響を全く受けない。データトランスファ信
号をこのようにして作り出す”と、コンパレータの反転
した時点よソー発カウンタが進んだ時点でラッチはデー
タを保持する。従つてこの現象を防ぐためには、第5図
のように制御回路からVsの積分を開始した時点でパル
スー発に相当する期間カウンタをリセットしておくとよ
い。このリセットする時間を長くしておくと、コンパレ
ータが積分器出力が基準レベルにもどつた時を検出する
に要する時間(すなわちコンパレータの応答時間)によ
る誤差も補償することができる。カウンタをリセットす
るかわりに発振器一19からカウンタのクロック端子の
間にゲート回路を入れカウンタが進まないようにしても
よい。本発明は、アナログ回路とデジタル回路を一つの
集積回路におさめようとする場合において、コンデンサ
などを必要とせず特に有効である。Now, if we take the logical product of the negation of FF2's Q and the FF3's Q, we get
As shown in FIG. 6 and 7, 112 clock pulses whose rising and falling edges coincide are obtained. If this pulse is used as a data transfer signal, it will not be affected by the chatter of the comparator, and since the latch enters the hold state 112 cycles later than the timing at which the counter advances, malfunctions of the latch can be eliminated. Furthermore, large spikes are superimposed on the integrator waveform when the internal state of the counter changes (that is, when the counter advances, especially when a carry of the counter occurs), but as shown in FIG. An oil converter based on this method is completely unaffected by this. When the data transfer signal is created in this way, the latch holds the data from the moment the comparator inverts to the moment the source counter advances.Therefore, to prevent this phenomenon, a control circuit as shown in Figure 5 is required. It is a good idea to reset the counter for the period corresponding to the pulse emission at the point when you start integrating Vs from .If you make this reset time longer, the comparator will detect when the integrator output returns to the reference level. It is also possible to compensate for errors caused by the time required for (i.e., the response time of the comparator).Instead of resetting the counter, a gate circuit may be inserted between the oscillator 19 and the clock terminal of the counter to prevent the counter from advancing. The present invention is particularly effective when an analog circuit and a digital circuit are to be integrated into one integrated circuit, without requiring a capacitor or the like.
第1図は従来の第5図は本発明によるAD変換器のブロ
ック図。FIG. 1 is a block diagram of a conventional AD converter and FIG. 5 is a block diagram of an AD converter according to the present invention.
Claims (1)
被変換電圧及び基準電圧を積分する積分器、3 前記
積分器の出力を入力して、入力リセットレベルを検出す
るコンパレータ、4 前記コンパレータの出力を入力す
る第1のフリップフロップ及び前記第1のフリップフロ
ップに縦続接続し前記発振回路の出力をクロック入力す
る第2、第3のフリップフロップ、5 前記積分の期間
を制御する制御回路、6 前記発振回路のパルス列をカ
ウントし、前記制御回路によりリセットされるカウンタ
、7 前記第2のフリップフロップの否定出力と前記第
3のフリップフロップの出力とのアンド出力により作ら
れるデータトランスファ信号、8 前記トランスファ信
号が入力されている間だけ前記カウンタのデータをラッ
チするラッチ回路よりなることを特徴とするAD変換器
。1. An oscillation circuit that generates a pulse train with equal time intervals, 2.
an integrator that integrates the voltage to be converted and a reference voltage; 3 a comparator that receives the output of the integrator and detects an input reset level; 4 a first flip-flop that receives the output of the comparator; second and third flip-flops connected in cascade to the oscillator circuit and inputting the output of the oscillation circuit as a clock; 5 a control circuit that controls the integration period; 6 a control circuit that counts the pulse train of the oscillation circuit and is reset by the control circuit; 7 a data transfer signal generated by AND outputting the negative output of the second flip-flop and the output of the third flip-flop; 8 latching the data of the counter only while the transfer signal is input; An AD converter comprising a latch circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5519777A JPS6057736B2 (en) | 1977-05-13 | 1977-05-13 | A-D converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5519777A JPS6057736B2 (en) | 1977-05-13 | 1977-05-13 | A-D converter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS53139968A JPS53139968A (en) | 1978-12-06 |
| JPS6057736B2 true JPS6057736B2 (en) | 1985-12-17 |
Family
ID=12991947
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5519777A Expired JPS6057736B2 (en) | 1977-05-13 | 1977-05-13 | A-D converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6057736B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2613903B2 (en) * | 1987-12-21 | 1997-05-28 | 日本電気アイシーマイコンシステム株式会社 | Integral type analog-digital converter |
| JPH11136129A (en) * | 1997-10-28 | 1999-05-21 | Denso Corp | PWM conversion circuit and sensor device using the same |
-
1977
- 1977-05-13 JP JP5519777A patent/JPS6057736B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS53139968A (en) | 1978-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB1294759A (en) | Variable frequency oscillator control systems | |
| US4317053A (en) | High speed synchronization circuit | |
| KR880014546A (en) | Digital PLL circuit | |
| JPS62245814A (en) | Pulse circuit | |
| JPS6057736B2 (en) | A-D converter | |
| US3935475A (en) | Two-phase MOS synchronizer | |
| JPS5895447A (en) | Clock regenerating circuit | |
| US4558457A (en) | Counter circuit having improved output response | |
| JPS6316711A (en) | Timing device | |
| JPS6339209A (en) | Synchronous circuit | |
| JP3211283B2 (en) | Filter circuit | |
| JP2798918B2 (en) | Pulse width modulation circuit | |
| SU1534750A1 (en) | Clock synchronization device | |
| JP2658126B2 (en) | Input frequency generator | |
| JP2530025Y2 (en) | Vertical sync signal separation circuit | |
| JP3144086B2 (en) | Disturbance addition signal generation circuit | |
| SU1363476A1 (en) | Code converter | |
| JP2606550B2 (en) | Phase comparison circuit | |
| JPH0256853B2 (en) | ||
| JPH0540469Y2 (en) | ||
| SU1226633A1 (en) | Device for generating pulses in the middle of time interval | |
| SU1024875A1 (en) | Device for comparing voltages | |
| JPS6022542B2 (en) | synchronization circuit | |
| JPS59207724A (en) | input circuit | |
| JPH0271638A (en) | Timing signal generator |