JPH0427040Y2 - - Google Patents

Info

Publication number
JPH0427040Y2
JPH0427040Y2 JP9236686U JP9236686U JPH0427040Y2 JP H0427040 Y2 JPH0427040 Y2 JP H0427040Y2 JP 9236686 U JP9236686 U JP 9236686U JP 9236686 U JP9236686 U JP 9236686U JP H0427040 Y2 JPH0427040 Y2 JP H0427040Y2
Authority
JP
Japan
Prior art keywords
converter
output signal
counter
signal
analog
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
Application number
JP9236686U
Other languages
Japanese (ja)
Other versions
JPS62202700U (en
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 filed Critical
Priority to JP9236686U priority Critical patent/JPH0427040Y2/ja
Publication of JPS62202700U publication Critical patent/JPS62202700U/ja
Application granted granted Critical
Publication of JPH0427040Y2 publication Critical patent/JPH0427040Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【考案の詳細な説明】 (産業上の利用分野) 本考案は、デイジタルサーボ式のアナログメモ
リ回路にかかり、詳しくは、記憶するべきアナロ
グ信号とD/Aコンバータの出力信号とを比較器
にて比較し、その出力信号に応じてアツプカウン
トまたはダウンカウントしたカウント値を前記
D/Aコンバータによりアナログ信号として保持
可能にしたアナログメモリ回路に関する。
[Detailed description of the invention] (Field of industrial application) The invention relates to a digital servo type analog memory circuit. The present invention relates to an analog memory circuit that allows the D/A converter to hold a count value that is compared and counted up or down depending on the output signal as an analog signal.

(従来の技術) 従来、この種のアナログメモリ回路としては、
例えば第2図に示すようなものが提供されてい
る。すなわち、第2図において、記憶対象である
アナログ信号SAは、比較器11の非反転入力端
子に入力されている。この比較器11の出力側
は、アツプダウンカウンタ(以下、「U/Dカウ
ンタ」という)12のU/D端子に接続されてお
り、このU/Dカウンタ12はU/D端子の入力
信号の論理値によりカウントアツプまたはカウン
トダウンの選択を行なうものである。
(Prior art) Conventionally, this type of analog memory circuit has
For example, one shown in FIG. 2 is provided. That is, in FIG. 2, the analog signal SA to be stored is input to the non-inverting input terminal of the comparator 11. The output side of this comparator 11 is connected to the U/D terminal of an up/down counter (hereinafter referred to as "U/D counter") 12, and this U/D counter 12 receives the input signal of the U/D terminal. Count-up or count-down is selected based on the logical value.

次に、U/Dカウンタ12のクロツク端子CK
には、発振器13が接続され、この発振器13か
らのクロツクパルスSCによりU/Dカウンタ1
2のカウントが行なわれるようになつている。な
お、U/Dカウンタ12には、クロツクイネーブ
ル端子CKEが設けられており、この端子にホー
ルド信号SHが入力されると発振器13からのク
ロツクパルスSCが受け付けられず、U/Dカウ
ンタ12がデイスエーブルの状態となつて出力が
ホールドされる。
Next, clock terminal CK of U/D counter 12
An oscillator 13 is connected to the oscillator 13, and the clock pulse SC from the oscillator 13 causes the U/D counter 1 to
A count of 2 is now performed. Note that the U/D counter 12 is provided with a clock enable terminal CKE, and when the hold signal SH is input to this terminal, the clock pulse SC from the oscillator 13 is not accepted, and the U/D counter 12 is disabled. state and the output is held.

次いで、U/Dカウンタ12の出力端子Q1
Qoは、D/Aコンバータ14の入力側に接続さ
れており、このD/Aコンバータ14の出力信号
はアナログメモリ回路としての出力になると共
に、比較器11の反転入力端子に加えられてい
る。
Next, the output terminal Q 1 of the U/D counter 12 ~
Q o is connected to the input side of the D/A converter 14, and the output signal of this D/A converter 14 becomes an output as an analog memory circuit and is also applied to the inverting input terminal of the comparator 11. .

この動作について説明すると、まず、アナログ
信号はSAは、比較器11においてD/Aコンバ
ータ14のアナログ出力SOと逐次比較される。
この比較結果により、U/Dカウンタ12のアツ
プ・ダウンの選択が行なわれる。例えば、SA<
SOの時はダウンカウントとなるように制御が行
なわれる。U/Dカウンタ12は上述の如く決定
されたカウント方向に従い、発振器13のクロツ
クパルスSCのタイミングでカウントを行なう。
そして、このU/Dカウンタ12のカウント値は
D/Aコンバータ14によってアナログ信号に変
換され、比較器11に入力される。
To explain this operation, first, the analog signal SA is successively compared with the analog output SO of the D/A converter 14 in the comparator 11.
Based on this comparison result, selection of up/down of the U/D counter 12 is made. For example, SA<
At the time of SO, control is performed so that the count is down. The U/D counter 12 performs counting at the timing of the clock pulse SC of the oscillator 13 in accordance with the counting direction determined as described above.
The count value of the U/D counter 12 is then converted into an analog signal by the D/A converter 14 and input to the comparator 11.

かかる動作の繰り返しにより、D/Aコンバー
タ14のアナログ出力SOのレベルは入力アナロ
グ信号SAのレベルに一致するように変化して行
き、両者がほぼ等しくなつた状態では第3図に示
すような波形となる。この第3図において、例え
ば時刻t1ではSA>SOであるから、U/Dカウン
タ12はアツプカウントする。このため、D/A
コンバータ14の出力信号SOは増大するが、1
ビツト分増大すると時刻t2のようにSA<SOとな
り、ダウンカウントの状態となる。以上の動作が
繰り返され、D/Aコンバータ14の出力信号
SOはアナログ信号SAを境としてクロツクパルス
CKに同期しつつ上下に変動することとなり、ア
ナログ信号SAとほぼ等しい値を記憶している状
態となる。
By repeating this operation, the level of the analog output SO of the D/A converter 14 changes to match the level of the input analog signal SA, and when the two become approximately equal, a waveform as shown in FIG. 3 is obtained. becomes. In FIG. 3, for example at time t1 , SA>SO, so the U/D counter 12 counts up. For this reason, D/A
The output signal SO of the converter 14 increases, but 1
When it increases by the number of bits, SA<SO as at time t2 , and a state of down-counting occurs. The above operations are repeated, and the output signal of the D/A converter 14 is
SO is a clock pulse with analog signal SA as the boundary.
It will fluctuate up and down in synchronization with CK, and will be in a state where it stores a value almost equal to the analog signal SA.

また、D/Aコンバータ14の出力信号SOを
ホールドする場合には、ホールド信号SHがU/
Dカウンタ12のクロツクイネーブル端子CKE
に入力される。このホールド信号SHの入力によ
り、U/Dカウンタ12のカウントが停止されて
出力がホールドされ、ひいてはD/Aコンバータ
14の出力信号SOもホールドされることとなり、
その時の入力アナログ信号SAにほぼ等しい値が
保持されるものである。
In addition, when holding the output signal SO of the D/A converter 14, the hold signal SH is
Clock enable terminal CKE of D counter 12
is input. By inputting this hold signal SH, the count of the U/D counter 12 is stopped and the output is held, and the output signal SO of the D/A converter 14 is also held.
A value approximately equal to the input analog signal SA at that time is held.

(考案が解決しようとする問題点) ところで、以上のようなアナログメモリ回路に
おいて、第3図に示すようにD/Aコンバータ1
4の出力信号SOが変動すると、その切換ノイズ
が出力信号SOに重畳される。この切換ノイズは、
正方向と負方向とが必ずしも一致しないため、第
4図に示す如く出力信号SOが入力アナログ信号
SAを中心として上下非対称の波形となり、変化
の幅も大きくなる。
(Problem to be solved by the invention) By the way, in the above analog memory circuit, the D/A converter 1 as shown in FIG.
When the output signal SO of No. 4 fluctuates, the switching noise is superimposed on the output signal SO. This switching noise is
Since the positive direction and the negative direction do not necessarily match, the output signal SO is the input analog signal as shown in Figure 4.
The waveform becomes vertically asymmetrical with SA at the center, and the range of change becomes large.

また、D/Aコンバータ14の出力信号SOの
平均値SO′と入力アナログ信号SAとの差も大き
くなり、出力信号SOがホールドされる場合には、
上述した非対称のノイズが大きいとホールド値が
アナログ信号SAから大きくずれる可能性がある。
このため、かかるノイズの影響を低減するには、
第5図に示すようにクロツクパルスCKの幅を十
分に長くして出力信号SOのノイズに占める割合
を小さくする必要がある。すなわち、発振器の発
信周波数を低くすることになる。
Furthermore, the difference between the average value SO' of the output signal SO of the D/A converter 14 and the input analog signal SA becomes large, and when the output signal SO is held,
If the asymmetric noise described above is large, the hold value may deviate significantly from the analog signal SA.
Therefore, to reduce the effects of such noise,
As shown in FIG. 5, it is necessary to make the width of the clock pulse CK sufficiently long to reduce its proportion in the noise of the output signal SO. In other words, the oscillation frequency of the oscillator is lowered.

更に、この回路構成においては、比較器11、
U/Dカウンタ12、D/Aコンバータ14とい
う閉ループ内での信号伝達の遅れが生じる。この
ため、クロツクパルスCKの周波数を高くすると
D/Aコンバータ14の出力信号が1ビット以上
の幅で変化することとなり、ホールドした時の値
がアナログ信号SAの値からずれることとなる。
この点からも、クロツクパルスCKの周波数は低
くせざるを得ない。
Furthermore, in this circuit configuration, the comparator 11,
A delay in signal transmission occurs within the closed loop of the U/D counter 12 and the D/A converter 14. Therefore, if the frequency of the clock pulse CK is increased, the output signal of the D/A converter 14 will change with a width of one bit or more, and the value when held will deviate from the value of the analog signal SA.
From this point of view as well, the frequency of the clock pulse CK has to be low.

しかるに、クロツクパルスCKの周波数を低く
すると、U/Dカウンタ12およびD/Aコンバ
ータ14のビット数nを大きくして単位変化幅を
細かくし、精度を向上させるような場合にはフル
スケール変化に時間を要することとなり、応答が
遅くなるという問題がある。
However, when the frequency of the clock pulse CK is lowered, the number of bits n of the U/D counter 12 and the D/A converter 14 is increased to make the unit change range finer and to improve accuracy, the time required for full-scale change is reduced. This results in a problem of slow response.

本考案は上記の問題点を解決するべく提案され
たもので、その目的とするところは、切換ノイズ
の影響を受けず、しかも応答遅れのない構成簡単
なアナログメモリ回路を提供することにある。
The present invention has been proposed to solve the above problems, and its purpose is to provide a simple analog memory circuit that is not affected by switching noise and has no response delay.

(問題点を解決するための手段) 上記目的を達成するため、本考案は、記憶すべ
きアナログ信号と、D/Aコンバータの出力信号
との差を絶対値増幅回路等の絶対値検出手段によ
つて検出し、これに対応させて、U/Dカウンタ
のカウントクロツクパルスの周波数を電圧制御発
振器等の周波数変更手段によつて変更制御するよ
うにしたことを特徴とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention detects the difference between the analog signal to be stored and the output signal of the D/A converter using an absolute value detection means such as an absolute value amplification circuit. The present invention is characterized in that the frequency of the count clock pulse of the U/D counter is changed and controlled by frequency changing means such as a voltage controlled oscillator.

(作用) 本考案においては、アナログ信号とD/Aコン
バータの出力信号との差が大きい時にはクロツク
パルスの周波数が高くなり、U/Dカウンタのカ
ウントが速く行なわれて応答が速くなる。また、
アナログ信号とD/Aコンバータの出力信号との
差が小さくなるとクロツクパルスの周波数が低く
なり、カウント動作が緩慢になつて切換ノイズ等
の影響を受けなくなる。
(Function) In the present invention, when the difference between the analog signal and the output signal of the D/A converter is large, the frequency of the clock pulse becomes high, the U/D counter counts quickly, and the response becomes fast. Also,
When the difference between the analog signal and the output signal of the D/A converter becomes smaller, the frequency of the clock pulse becomes lower, and the counting operation becomes slower and is not affected by switching noise or the like.

(実施例) 以下、図に沿つて本考案の一実施例を説明す
る。第1図において、前記同様に11は比較器、
12はU/Dカウンタ12、14はD/Aコンバ
ータ14であり、比較器11の非反転入力端子に
接続された端子TAには記憶されるアナログ信号
SAが入力されるようになつている。
(Example) An example of the present invention will be described below with reference to the drawings. In FIG. 1, as before, 11 is a comparator;
12 is a U/D counter 12, 14 is a D/A converter 14, and a terminal TA connected to the non-inverting input terminal of the comparator 11 receives an analog signal to be stored.
SA is now entered.

次に、比較器11の入力側の両端子は絶対値検
出手段としての絶対値増幅回路1の入力側に接続
されており、この絶対値増幅回路1の出力端子は
周波数制御手段としての電圧制御発振器2の入力
側に接続されている。更に、電圧制御発振器2の
出力端子はU/Dカウンタ12のクロツク端子
CKに接続される。
Next, both terminals on the input side of the comparator 11 are connected to the input side of an absolute value amplification circuit 1 as an absolute value detection means, and an output terminal of this absolute value amplification circuit 1 is connected to a voltage control circuit as a frequency control means. Connected to the input side of oscillator 2. Furthermore, the output terminal of the voltage controlled oscillator 2 is the clock terminal of the U/D counter 12.
Connected to CK.

これらのうち、絶対値増幅回路1は、アナログ
信号SAとD/Aコンバータ14の出力信号SOと
の差の絶対値、すなわち|SA−SO|を増幅して
出力するものである。また、電圧制御発振器2
は、入力電圧の大きさに応じてその発振周波数が
変化するもので、この実施例では入力電圧に比例
して発振周波数が変化するようになつている。
Of these, the absolute value amplification circuit 1 amplifies and outputs the absolute value of the difference between the analog signal SA and the output signal SO of the D/A converter 14, that is, |SA-SO|. In addition, the voltage controlled oscillator 2
The oscillation frequency changes in accordance with the magnitude of the input voltage, and in this embodiment, the oscillation frequency changes in proportion to the input voltage.

次いで、この動作について詳述する。 Next, this operation will be explained in detail.

まず、アナログ信号SAが入力された当初は、
その大きさは一般にD/Aコンバータ14の出力
信号SOと大きく異なつている。従つて、絶対値
増幅回路1の出力電圧も大きい。このため、電圧
制御発振器2は周波数が比較的高いクロツクパル
スSCを出力する。このクロツクパルスSCによ
り、U/Dカウンタ12は速い応答速度でカウン
トを行なう。よつて、D/Aコンバータ14の出
力信号SOは急速にアナログ信号SAに近づいて行
く。
First, when the analog signal SA is input,
Generally, the magnitude thereof is significantly different from that of the output signal SO of the D/A converter 14. Therefore, the output voltage of the absolute value amplifier circuit 1 is also large. Therefore, the voltage controlled oscillator 2 outputs a clock pulse SC having a relatively high frequency. This clock pulse SC causes the U/D counter 12 to count at a fast response speed. Therefore, the output signal SO of the D/A converter 14 rapidly approaches the analog signal SA.

D/Aコンバータ14の出力信号SOがアナロ
グ信号SAに近づくと、|SA−SO|は減少するた
め、電圧制御発振器2の発振周波数は徐々に低下
し、同時にクロツクパルスSCの周波数も徐々に
低下する。従つて、U/Dカウンタ12のカウン
ト動作も次第に緩慢になり、D/Aコンバータ1
4の出力信号SOがアナログ信号SAにほぼ一致す
るようになると、第5図にて説明したようなD/
Aコンバータ14の切換ノイズが低減されるよう
になり、更には、比較器11、U/Dカウンタ1
2およびD/Aコンバータ14の閉回路の遅れに
よる誤差も低減されることとなる。
When the output signal SO of the D/A converter 14 approaches the analog signal SA, |SA−SO| decreases, so the oscillation frequency of the voltage controlled oscillator 2 gradually decreases, and at the same time, the frequency of the clock pulse SC also gradually decreases. . Therefore, the counting operation of the U/D counter 12 gradually becomes slower, and the D/A converter 1
When the output signal SO of 4 becomes approximately equal to the analog signal SA, the D/
The switching noise of the A converter 14 is reduced, and furthermore, the switching noise of the A converter 14 and the U/D counter 1
Errors due to delays in the closing circuits of D/A converter 2 and D/A converter 14 are also reduced.

つまり、アナログ信号SAとD/Aコンバータ
14の出力信号SOとの差が大きい時には、U/
Dカウンタ12のカウントが速く行なわれるた
め、上述したように変化幅を小さくして精度を上
げてもフルスケール変化の応答性の低下は生じな
い。また、D/Aコンバータ14の出力信号SO
がアナログ信号SAの値に近づくとU/Dカウン
タ12はゆつくりとカウントを行なうので、第5
図に示すような状態となり、ノイズの影響も低下
し、D/Aコンバータ14の出力信号SOが1ビ
ツト以上の幅で変化するといつた不都合もないも
のである。
In other words, when the difference between the analog signal SA and the output signal SO of the D/A converter 14 is large, the U/A
Since the D counter 12 counts quickly, even if the variation range is reduced to improve accuracy as described above, the responsiveness of full-scale changes does not deteriorate. In addition, the output signal SO of the D/A converter 14
When approaches the value of the analog signal SA, the U/D counter 12 counts slowly, so the fifth
The state shown in the figure is reached, the influence of noise is reduced, and there is no inconvenience caused when the output signal SO of the D/A converter 14 changes with a width of one bit or more.

なお、本考案の構成は、何らこの実施例に限定
されたものではなく、例えば電圧制御発振器2以
外のものでクロツクパルスSCの周波数を変化さ
せるようにしてもよい。
Note that the configuration of the present invention is not limited to this embodiment in any way; for example, the frequency of the clock pulse SC may be changed using something other than the voltage controlled oscillator 2.

(考案の効果) 以上のように本考案によれば、記憶対象として
のアナログ信号とメモリの出力信号との差の絶対
値を検出し、これに応じてカウント動作の周期を
変更するものであるから、高精度でも応答遅れが
生じることなく、ノイズや信号伝達の遅れに起因
するメモリ値の誤差を少なくすることができる。
(Effects of the invention) As described above, according to the invention, the absolute value of the difference between the analog signal to be stored and the output signal of the memory is detected, and the cycle of the counting operation is changed accordingly. Therefore, even with high precision, there is no response delay, and errors in memory values caused by noise and signal transmission delays can be reduced.

また、構成が簡単であるため低コストにて提供
することができる等の効果がある。
Furthermore, since the structure is simple, it can be provided at low cost.

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

第1図は本考案の一実施例を示すブロツク図、
第2図は従来例を示すブロツク図、第3図はアナ
ログ信号と出力信号との一例を示す図、第4図お
よび第5図はD/Aコンバータによる切換ノイズ
の影響を説明する図である。 1……絶対値増幅回路、2……電圧制御発振
器、11……比較器、12……U/Dカウンタ、
14……D/Aコンバータ、SA……アナログ信
号、SC……クロツクパルス、SH……ホールド信
号、SO……出力信号、SO′……出力信号SOの平
均値。
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a block diagram showing a conventional example, FIG. 3 is a diagram showing an example of an analog signal and an output signal, and FIGS. 4 and 5 are diagrams explaining the influence of switching noise caused by a D/A converter. . 1... Absolute value amplifier circuit, 2... Voltage controlled oscillator, 11... Comparator, 12... U/D counter,
14...D/A converter, SA...analog signal, SC...clock pulse, SH...hold signal, SO...output signal, SO'...average value of output signal SO.

Claims (1)

【実用新案登録請求の範囲】 入力アナログ信号をD/Aコンバータの出力信
号と比較し、その結果に応じてアツプダウンカウ
ントのカウント方向を選択し、かつ選択されたカ
ウント方向に従つてクロツクパルスのタイミング
でカウントするアツプダウンカウントのカウント
値が、前記D/Aコンバータにより前記出力信号
にアナログ変換されるアナログメモリ回路におい
て、 前記入力アナログ信号と、前記D/Aコンバー
タの出力信号との差の絶対値を検出する絶対値検
出手段と、前記絶対値に応じて前記クロツクパル
スの周波数を変更する周波数制御手段とを備えた
ことを特徴とするアナログメモリ回路。
[Claims for Utility Model Registration] Compare the input analog signal with the output signal of the D/A converter, select the counting direction of the up-down count according to the result, and adjust the timing of the clock pulse according to the selected counting direction. In an analog memory circuit in which a count value of an up-down count counted by is analog-converted into the output signal by the D/A converter, the absolute value of the difference between the input analog signal and the output signal of the D/A converter 1. An analog memory circuit comprising: absolute value detection means for detecting the absolute value; and frequency control means for changing the frequency of the clock pulse in accordance with the absolute value.
JP9236686U 1986-06-17 1986-06-17 Expired JPH0427040Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9236686U JPH0427040Y2 (en) 1986-06-17 1986-06-17

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9236686U JPH0427040Y2 (en) 1986-06-17 1986-06-17

Publications (2)

Publication Number Publication Date
JPS62202700U JPS62202700U (en) 1987-12-24
JPH0427040Y2 true JPH0427040Y2 (en) 1992-06-29

Family

ID=30954010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9236686U Expired JPH0427040Y2 (en) 1986-06-17 1986-06-17

Country Status (1)

Country Link
JP (1) JPH0427040Y2 (en)

Also Published As

Publication number Publication date
JPS62202700U (en) 1987-12-24

Similar Documents

Publication Publication Date Title
KR100843002B1 (en) duty cycle correction circuit and delay locked loop with the same
JPH0563525A (en) Pulse width variable circuit
JPH0427040Y2 (en)
EP0393716B1 (en) Delay circuit
JPS62199119A (en) Phase locked loop circuit
US5254995A (en) Analog to digital peak detector utilizing a synchronization signal
JP3431053B2 (en) Timing generator
JPS6378610A (en) Double clock generation circuit
JP3419384B2 (en) Jitter detection circuit
JPH08138324A (en) Phase difference detection circuit for epr4 signal
US4656459A (en) Dual slope converter with large apparent integrator swing
JPH0634684A (en) Phase difference digital conversion circuit
JPS6348456B2 (en)
JP2703263B2 (en) Phase reference signal forming circuit device
JPH0247916A (en) Analog comparator
JPH0653821A (en) Digital pll circuit
SU1224997A1 (en) Device for delaying pulses
JP2005061921A (en) Signal voltage-time conversion circuit and sensor device using the same
JPS6014534B2 (en) Offset compensation method and circuit
JPS6160623B2 (en)
JPH04204195A (en) Time measuring apparatus
SU1363268A1 (en) Function amplifier
JPH01194709A (en) Phase discrimination circuit
JPH06164283A (en) Amplifier
JPH02125512A (en) Pulse frequency control circuit