JPH09307429A - Integrator - Google Patents

Integrator

Info

Publication number
JPH09307429A
JPH09307429A JP11873396A JP11873396A JPH09307429A JP H09307429 A JPH09307429 A JP H09307429A JP 11873396 A JP11873396 A JP 11873396A JP 11873396 A JP11873396 A JP 11873396A JP H09307429 A JPH09307429 A JP H09307429A
Authority
JP
Japan
Prior art keywords
signal
circuit
input
level
digital 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
Application number
JP11873396A
Other languages
Japanese (ja)
Inventor
Nobuo Haruyama
信夫 晴山
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP11873396A priority Critical patent/JPH09307429A/en
Publication of JPH09307429A publication Critical patent/JPH09307429A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an integrator which can be transformed into an IC and also can freely set both upper and lower limit levels of the count value of an up-down counter. SOLUTION: This integrator consists of an up-down counter 2 which performs its operation based on an up-down signal S1 and outputs a digital signal D, an edge sense circuit 4 which detects the up-down switching time of the signal S1 and outputs a detection signal S2, a limiter circuit 7 which outputs a limit signal S4 when the count value of the counter 2 reaches its set upper and lower limit levels, a gate controller 5 which opens an input line of a clock signal CLK to the counter 2 by the signal S2 and closes the input line by the signal S4, and an AND circuit 6. Then the upper and lower limit levels of the count value can be freely changed by changing the connection states between the input terminals of a NAND circuit 10 and a NOR circuit 11 and the counter 2 respectively.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、アップダウンカウ
ンタを用いた積分器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an integrator using an up / down counter.

【0002】[0002]

【従来の技術】従来の積分器には、オペアンプにコンデ
ンサを並列接続することで、オペアンプに入力された信
号の積分値を求めるものや、アップダウンカウンタを用
いたものがある。アップダウンカウンタを用いた積分器
は、Hレベルのアップダウン信号が入力されると、アッ
プカウントし、Lレベルのアップダウン信号が入力され
ると、ダウンカウントして、そのカウント値を示すデジ
タル信号を順次生成し、そのデジタル信号Dをアナログ
信号に変換して出力するようになっている。
2. Description of the Related Art Conventional integrators include one that obtains an integrated value of a signal input to an operational amplifier by connecting a capacitor to an operational amplifier in parallel, and one that uses an up-down counter. An integrator using an up-down counter counts up when an H-level up-down signal is input, and down-counts when an L-level up-down signal is input, a digital signal indicating the count value. Are sequentially generated, and the digital signal D is converted into an analog signal and output.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の積分器
には、次のような問題があった。オペアンプにコンデン
サを接続した積分器では、コンデンサの容量がICとし
て取り込むには大きすぎるので、コンデンサを含めた積
分器のIC化が困難であった。このため、ICのピン数
と外付け部品の増加を招き、積分器が大型化してしまっ
ていた。また、アップダウンカウンタを用いた積分器で
は、キャリーによって制御されるので、カウント値の上
限値と下限値とが限定されてしまい、この上限値と下限
値とを自由に設定することができず、不便であった。
However, the conventional integrator has the following problems. In an integrator in which a capacitor is connected to an operational amplifier, the capacitance of the capacitor is too large to be taken in as an IC, so it is difficult to integrate the integrator including the capacitor into an IC. Therefore, the number of IC pins and the number of external parts are increased, and the integrator is increased in size. Further, in the integrator using the up-down counter, since it is controlled by the carry, the upper limit value and the lower limit value of the count value are limited, and the upper limit value and the lower limit value cannot be freely set. It was inconvenient.

【0004】本発明は上述した課題を解決するためにな
されたもので、IC化が可能であり、しかも、カウント
値の上限値と下限値とを自由に設定可能な積分器を提供
することを目的としている。
The present invention has been made to solve the above problems, and it is an object of the present invention to provide an integrator which can be integrated into an IC and which can freely set the upper limit value and the lower limit value of the count value. Has an aim.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に、請求項1の発明に係る積分器は、Hレベル及びLレ
ベルで形成されるアップダウン信号に基づいて、入力さ
れたクロック信号をカウントし、そのカウント値を複数
ビット単位で示すデジタル信号を出力する計測部と、上
記計測部からのデジタル信号をアナログ信号に変換する
変換部と、上記アップダウン信号のHレベル及びLレベ
ルの切換時点を検出して、その検出信号を出力する検出
部と、上記計測部のカウント値が設定可能な上限値又は
下限値に至ると、リミット信号を出力するリミット部
と、上記検出部からの検出信号により上記クロック信号
の計測部への入力路を開き、上記リミット部からのリミ
ット信号により上記入力路を閉じるゲート部とを具備す
る構成とした。
In order to solve the above-mentioned problems, the integrator according to the invention of claim 1 receives an input clock signal based on an up-down signal formed at H level and L level. A measuring unit that counts and outputs a digital signal indicating the count value in units of a plurality of bits, a converting unit that converts the digital signal from the measuring unit into an analog signal, and switching between the H level and the L level of the up / down signal. A detection unit that detects a time point and outputs a detection signal, and a limit unit that outputs a limit signal when the count value of the measurement unit reaches a settable upper limit value or a lower limit value, and the detection from the detection unit A signal is used to open the input path to the measuring section for the clock signal, and a gate section for closing the input path by the limit signal from the limit section.

【0006】請求項2の発明は、請求項1に記載の積分
器において、上記ゲート部は、上記クロック信号を一方
入力端から入力して上記計測部に出力可能なAND回路
と、上記検出信号によりHレベルのゲート開閉信号を上
記AND回路の他方入力端に入力し、上記リミット信号
によりLレベルのゲート開閉信号を上記AND回路の他
方入力端に入力するゲートコントローラとを具備し、上
記リミット部は、上記デジタル信号のビット数と同数の
入力端を有し、これらの入力端の全て又はいずれかから
上記デジタル信号のビットを入力可能な第1のNAND
回路と、上記デジタル信号のビット数と同数の入力端を
有し、これらの入力端の全て又はいずれかから上記デジ
タル信号のビットを入力可能なNOR回路と、上記NO
R回路の出力側に接続されたインバータと、二入力端が
上記インバータと第1のNAND回路の出力側にそれぞ
れ接続され、一出力端から上記リミット信号を上記ゲー
トコントローラに出力する第2のNAND回路とを具備
する構成とした。
According to a second aspect of the present invention, in the integrator according to the first aspect, the gate section receives an input of the clock signal from one input terminal and outputs the AND signal to the measuring section, and the detection signal. And a gate controller for inputting an H level gate opening / closing signal to the other input terminal of the AND circuit and inputting an L level gate opening / closing signal to the other input terminal of the AND circuit by the limit signal. Has a same number of input terminals as the number of bits of the digital signal, and the first NAND capable of inputting bits of the digital signal from all or any of these input terminals.
A circuit, a NOR circuit having the same number of input terminals as the number of bits of the digital signal, and capable of inputting the bits of the digital signal from all or any of these input terminals;
An inverter connected to the output side of the R circuit, and a second NAND having two input terminals connected to the inverter and the output side of the first NAND circuit, respectively, and outputting the limit signal from one output terminal to the gate controller. And a circuit.

【0007】上記請求項1の発明によれば、計測部にア
ップダウン信号とクロック信号が入力されると、カウン
ト値を複数ビット単位で示すデジタル信号が出力され、
このデジタル信号が変換部においてアナログ信号に変換
される。また、検出部において、アップダウン信号のH
レベル及びLレベルの切換時点が検出されると、その検
出信号がゲート部に出力される。すると、ゲート部によ
って、クロック信号の計測部への入力路が開かれ、計測
部が、アップダウン信号に基づいて、カウントを行う。
そして、計測部のカウント値が設定した上限値又は下限
値に至ると、リミット部からゲート部にリミット信号が
出力され、クロック信号の計測部への入力路が閉じられ
る。これにより、計測部におけるカウント値が設定した
上限値又は下限値に保持される。
According to the first aspect of the present invention, when the up / down signal and the clock signal are input to the measuring unit, a digital signal indicating a count value in units of a plurality of bits is output,
This digital signal is converted into an analog signal in the converter. In addition, in the detection unit, the up / down signal H
When the switching point between the level and the L level is detected, the detection signal is output to the gate section. Then, the gate section opens the input path of the clock signal to the measuring section, and the measuring section counts based on the up / down signal.
Then, when the count value of the measurement unit reaches the set upper limit value or the lower limit value, the limit signal is output from the limit unit to the gate unit, and the input path of the clock signal to the measurement unit is closed. As a result, the count value in the measuring unit is held at the set upper limit value or lower limit value.

【0008】上記請求項2の発明によれば、第1のNA
ND回路とNOR回路との入力端の全てからデジタル信
号のビットを入力するように設定すると、デジタル信号
のビットが全て「1」又は「0」のときに、第2のNA
ND回路から「1」のリッミト信号がゲートコントロー
ラに出力される。すると、Lレベルのゲート開閉信号が
ゲートコントローラからAND回路の他方入力端に入力
され、クロック信号の計測部への入力路が閉じられる。
この結果、デジタル信号のビットがオール「1」のとき
に計測部のカウント値が上限値となり、デジタル信号の
ビットがオール「0」のときに計測部のカウント値が下
限値となる。また、第1のNAND回路とNOR回路と
の入力端のいずれかからデジタル信号のビットを入力す
るように設定すると共に、残りの入力端を所定のレベル
に保持することで、デジタル信号のビットがオール
「1」より小さい値又はオール「0」より大きい値のと
きに、第2のNAND回路から「1」のリッミト信号が
ゲートコントローラに出力され、クロック信号の計測部
への入力路が閉じられる。この結果、カウント値の上限
値と下限値とが変化する。
According to the invention of claim 2, the first NA is provided.
When the bits of the digital signal are set to be input from all the input terminals of the ND circuit and the NOR circuit, when the bits of the digital signal are all “1” or “0”, the second NA is set.
The limit signal of "1" is output from the ND circuit to the gate controller. Then, an L level gate opening / closing signal is input from the gate controller to the other input terminal of the AND circuit, and the input path of the clock signal to the measuring unit is closed.
As a result, the count value of the measuring unit becomes the upper limit value when the bits of the digital signal are all "1", and the count value of the measuring unit becomes the lower limit value when the bits of the digital signal are all "0". In addition, the bit of the digital signal is set by inputting the bit of the digital signal from one of the input terminals of the first NAND circuit and the NOR circuit and holding the remaining input terminal at a predetermined level. When the value is smaller than all "1" or larger than all "0", the limit signal of "1" is output from the second NAND circuit to the gate controller, and the input path of the clock signal to the measurement unit is closed. . As a result, the upper limit value and the lower limit value of the count value change.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は、本発明の一実施形
態に係る積分器1をCVSD(Continously
Variable Slope Delta)のモジ
ュール部に適用した例を示すブロック図である。このモ
ジュール部は、アナログ音声信号Vと処理信号とを比較
するコンパレータ20と、コンパレータ20からの出力
に基づいてデジタル信号を生成するシフトレジスタ21
と、シフトレジスタ21からのデジタル信号に基づいて
アップダウン信号S1を生成するロジック回路22(図
中、「LOG」と記す)と、積分器1からの出力信号を
アナログ音声信号Vに近い形にしてメモリコントローラ
20に出力するコンパレータ23及びスロープ極性スイ
ッチ24(図中、「SW」と記す)とを有している。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a CVSD (Continuously) integrator 1 according to an embodiment of the present invention.
It is a block diagram which shows the example applied to the module part of Variable Slope Delta. This module unit includes a comparator 20 that compares an analog audio signal V with a processed signal, and a shift register 21 that generates a digital signal based on an output from the comparator 20.
And a logic circuit 22 (denoted as “LOG” in the figure) that generates an up / down signal S1 based on a digital signal from the shift register 21 and an output signal from the integrator 1 that is close to the analog audio signal V. And a slope polarity switch 24 (denoted as “SW” in the figure).

【0010】積分器1は、ロジック回路22と23との
間に設けられており、ロジック回路22からのアップダ
ウン信号S1から音声信号波の傾斜を示すアナログ信号
V1を生成して、コンパレータ23に出力するようにな
っている。具体的には、計測部としてのアップダウンカ
ウンタ2と、変換部としてのデジタルアナログ変換器3
(図中、「D/A」と記す)と、検出部としてのエッジ
センス回路4と、ゲート部としてのゲートコントローラ
5及びAND回路6と、リミット部としてのリミッタ回
路7とを具備している。
The integrator 1 is provided between the logic circuits 22 and 23. The integrator 1 generates an analog signal V1 indicating the slope of the audio signal wave from the up / down signal S1 from the logic circuit 22 and supplies it to the comparator 23. It is designed to output. Specifically, the up / down counter 2 as a measuring unit and the digital-analog converter 3 as a converting unit
(Indicated as “D / A” in the figure), an edge sense circuit 4 as a detection unit, a gate controller 5 and an AND circuit 6 as a gate unit, and a limiter circuit 7 as a limit unit. .

【0011】アップダウンカウンタ2は、ロジック回路
22の出力側に接続されており、ロジック回路22から
のアップダウン信号S1に基づいて、入力されたクロッ
ク信号CLKをカウントし、そのカウント値を10ビッ
ト単位で示すデジタル信号Dを出力するカウンタであ
る。具体的には、アップダウン信号S1がHレベル状態
でアップカウントし、アップダウン信号S1がLレベル
状態でダウンカウントする。
The up-down counter 2 is connected to the output side of the logic circuit 22, counts the input clock signal CLK based on the up-down signal S1 from the logic circuit 22, and counts the count value to 10 bits. It is a counter that outputs a digital signal D shown in units. Specifically, the up-down signal S1 counts up when it is at H level, and the up-down signal S1 counts down when it is at L level.

【0012】デジタルアナログ変換器3は、アップダウ
ンカウンタ2の出力側に接続されており、アップダウン
カウンタ2からのデジタル信号Dをアナログ信号に変換
して、コンパレータ23に出力するものである。
The digital-analog converter 3 is connected to the output side of the up / down counter 2 and converts the digital signal D from the up / down counter 2 into an analog signal and outputs it to the comparator 23.

【0013】エッジセンス回路4もロジック回路22の
出力側に接続されており、ロジック回路22からのアッ
プダウン信号S1のHレベル及びLレベルの切換時点を
検知して、1パルスの検出信号S2をゲートコントロー
ラ5に出力する回路である。
The edge sensing circuit 4 is also connected to the output side of the logic circuit 22, detects the switching time point of the H level and the L level of the up / down signal S1 from the logic circuit 22, and outputs the detection signal S2 of one pulse. This is a circuit for outputting to the gate controller 5.

【0014】ゲートコントローラ5及びAND回路6
は、直列に接続されておいる。具体的には、AND回路
6は二入力一出力のAND回路であり、一方入力端がク
ロックジェネレータ30(図中、「CLK GEN」と
記す)に接続され、出力端がアップダウンカウンタ2に
接続されている。一方、ゲートコントローラ5は、フリ
ップフロップ等で構成されており、その入力側は、エッ
ジセンス回路4とリミッタ回路7との出力側に接続さ
れ、出力側は、AND回路6の他方入力端に接続されて
いる。このゲートコントローラ5はエッジセンス回路4
からの検出信号S2の入力時に、Hレベルのゲート開閉
信号S3をAND回路6に出力し、リミッタ回路7から
のリミット信号S4の入力時に、上記フリップフロップ
等をリセットして、Lレベルのゲート開閉信号S3をA
ND回路6に出力するようになっている。すなわち、ゲ
ートコントローラ5は、エッジセンス回路4からの検出
信号S2の入力時に、AND回路6を開いて、クロック
ジェネレータ30からのクロック信号CLKをアップダ
ウンカウンタ2に通す。そして、リミッタ回路7からの
リミット信号S4の入力時に、AND回路6を閉じて、
クロックジェネレータ30からのクロック信号CLKを
ストップさせる制御機能を有している。
Gate controller 5 and AND circuit 6
Are connected in series. Specifically, the AND circuit 6 is a two-input one-output AND circuit, one input end of which is connected to the clock generator 30 (denoted as “CLK GEN” in the figure) and the output end of which is connected to the up / down counter 2. Has been done. On the other hand, the gate controller 5 is composed of a flip-flop or the like, the input side thereof is connected to the output sides of the edge sensing circuit 4 and the limiter circuit 7, and the output side thereof is connected to the other input end of the AND circuit 6. Has been done. This gate controller 5 is an edge sensing circuit 4
When the detection signal S2 is input, the H-level gate opening / closing signal S3 is output to the AND circuit 6, and when the limit signal S4 is input from the limiter circuit 7, the flip-flop or the like is reset to open the L-level gate opening / closing. Signal S3 is A
The data is output to the ND circuit 6. That is, the gate controller 5 opens the AND circuit 6 to pass the clock signal CLK from the clock generator 30 to the up / down counter 2 when the detection signal S2 from the edge sense circuit 4 is input. Then, when the limit signal S4 is input from the limiter circuit 7, the AND circuit 6 is closed,
It has a control function of stopping the clock signal CLK from the clock generator 30.

【0015】リミッタ回路7は、アップダウンカウンタ
2からのデジタル信号Dを入力し、そのカウント値が設
定上限値又は設定下限値に至ると、リミット信号S4を
ゲートコントローラ5に出力する部分であり、上限リミ
ッタとしてのNAND回路10(第1のNAND回路)
と下限リミッタとしてのNOR回路11とを有してい
る。図2は、このリミッタ回路7を具体的に示す回路図
である。図2に示すように、NAND回路10は、十入
力一出力のNAND回路であり、10本の入力端10−
1〜10−10の全てが、アップダウンカウンタ2から
のデジタル信号Dを通すビットバス14に接続されてい
る。また、NOR回路11も、十入力一出力のNOR回
路であり、このNOR回路11の入力端11−1〜11
−10も、ビットバス14に全て接続されている。な
お、入力端10−1,11−1には、デジタル信号Dの
下1桁のビットが入力し、入力端10−10,11−1
0には、最上位の10桁目のビットが入力する。このよ
うなNAND回路10とNOR回路11の出力段には、
インバータ12と二入力一出力のNAND回路13(第
2のNAND回路)とが設けられている。そして、NO
R回路11の出力側が、インバータ12を介してNAN
D回路13の一方出力端に接続され、NAND回路10
がNAND回路13の他方入力端に接続されている。
The limiter circuit 7 is a part which receives the digital signal D from the up / down counter 2 and outputs a limit signal S4 to the gate controller 5 when the count value reaches the set upper limit value or the set lower limit value. NAND circuit 10 (first NAND circuit) as an upper limiter
And a NOR circuit 11 as a lower limiter. FIG. 2 is a circuit diagram specifically showing the limiter circuit 7. As shown in FIG. 2, the NAND circuit 10 is a ten-input one-output NAND circuit, and has ten input terminals 10-
All of 1 to 10-10 are connected to the bit bus 14 which passes the digital signal D from the up / down counter 2. The NOR circuit 11 is also a NOR circuit having ten inputs and one output, and the input terminals 11-1 to 11 of the NOR circuit 11 are also included.
-10 are also all connected to the bit bus 14. In addition, the last digit of the digital signal D is input to the input terminals 10-1 and 11-1, and the input terminals 10-10 and 11-1.
In 0, the most significant 10th digit bit is input. In the output stage of the NAND circuit 10 and the NOR circuit 11 as described above,
An inverter 12 and a 2-input 1-output NAND circuit 13 (second NAND circuit) are provided. And NO
The output side of the R circuit 11 receives the NAN via the inverter 12.
The NAND circuit 10 is connected to one output terminal of the D circuit 13.
Is connected to the other input end of the NAND circuit 13.

【0016】次に、本実施形態の積分器が示す動作につ
いて説明する。図4は、動作時における各信号のタイム
チャート図である。なお、ここでは、理解を容易にする
ため、図4の(b)に示すように、Hレベル状態を保持
した後、T1時にLレベル状態に切り換わり、T2時にH
レベル状態に切り換わるアップダウン信号S1が、ロジ
ック回路22から出力される場合について説明する。
Next, the operation of the integrator of this embodiment will be described. FIG. 4 is a time chart of each signal during operation. Here, in order to facilitate understanding, as shown in FIG. 4B, after the H level state is maintained, the state is switched to the L level state at T1 and H level at T2.
A case where the up / down signal S1 switching to the level state is output from the logic circuit 22 will be described.

【0017】図1において、Hレベルのアップダウン信
号S1がアップダウンカウンタ2に入力されている間、
アップダウンカウンタ2はクロック信号CLKに基づい
てアップカウントする。この結果、図4の(f)に示す
ように、16進数の「001」,「002」,「00
3」,「004」を示すデジタル信号Dが、アップダウ
ンカウンタ2からデジタルアナログ変換器3とリミッタ
回路7とに順次出力され、デジタルアナログ変換器3で
変換されたアナログ信号V1がコンパレータ23に入力
される。
In FIG. 1, while the H-level up / down signal S1 is being input to the up / down counter 2,
The up / down counter 2 counts up based on the clock signal CLK. As a result, as shown in (f) of FIG. 4, hexadecimal numbers "001", "002", "00"
A digital signal D indicating "3", "004" is sequentially output from the up / down counter 2 to the digital-analog converter 3 and the limiter circuit 7, and the analog signal V1 converted by the digital-analog converter 3 is input to the comparator 23. To be done.

【0018】そして、図4の(b)に示すように、アッ
プダウン信号S1がT1時にHレベルからLレベルに切
り換わると、図4の(c)に示すように、1パルスの検
出信号S2がエッジセンス回路4からゲートコントロー
ラ5に出力される。これにより、図4の(d)に示すよ
うに、Hレベルのゲート開閉信号S3がゲートコントロ
ーラ5からAND回路6に出力され続け、AND回路6
の開状態が保持される。この結果、アップダウンカウン
タ2がクロック信号CLKに基づいてダウンカウント
し、図4の(f)に示すように、16進数の「00
3」,「002」,「001」,「000」を示すデジ
タル信号Dが、アップダウンカウンタ2からデジタルア
ナログ変換器3とリミッタ回路7とに順次出力される。
Then, as shown in FIG. 4B, when the up / down signal S1 switches from H level to L level at T1, as shown in FIG. 4C, one pulse of the detection signal S2 is detected. Is output from the edge sensing circuit 4 to the gate controller 5. As a result, as shown in (d) of FIG. 4, the H level gate opening / closing signal S3 is continuously output from the gate controller 5 to the AND circuit 6, and the AND circuit 6
The open state of is maintained. As a result, the up / down counter 2 down-counts based on the clock signal CLK, and as shown in (f) of FIG.
Digital signals D indicating 3 ”,“ 002 ”,“ 001 ”, and“ 000 ”are sequentially output from the up / down counter 2 to the digital / analog converter 3 and the limiter circuit 7.

【0019】16進数「000」のカウント値、即ち2
進数「0000000000」のデジタル信号Dが、図
2に示すリミッタ回路7のビットバス14に入力される
と、NAND回路10とNOR回路11の入力端10−
1〜10−10,11−1〜11−10のレベルが全て
「0」となる。このため、図4の(e)に示すように、
レベル「1」のリミット信号S4がNAND回路13か
らゲートコントローラ5に出力される。これにより、ゲ
ートコントローラ5のフリップフロップ等が反転され、
図4の(d)に示すように、Lレベルのゲート開閉信号
S3がAND回路6に出力されて、AND回路6が閉じ
られる。この結果、アップダウンカウンタ2のダウンカ
ウント動作が停止され、図4の(f)に示すように、カ
ウント値が「000」(16進数)に保持される。
The count value of hexadecimal number "000", that is, 2
When the digital signal D of the decimal number "0000000000" is input to the bit bus 14 of the limiter circuit 7 shown in FIG. 2, the input terminals 10- of the NAND circuit 10 and the NOR circuit 11 are
The levels of 1 to 10-10 and 11-1 to 11-10 are all "0". Therefore, as shown in (e) of FIG.
The limit signal S4 of level “1” is output from the NAND circuit 13 to the gate controller 5. As a result, the flip-flops and the like of the gate controller 5 are inverted,
As shown in FIG. 4D, the L level gate open / close signal S3 is output to the AND circuit 6, and the AND circuit 6 is closed. As a result, the down count operation of the up / down counter 2 is stopped, and the count value is held at "000" (hexadecimal number) as shown in (f) of FIG.

【0020】そして、図4の(b)に示すように、アッ
プダウン信号S1がT2時にLレベルからHレベルに切
り換わると、図4の(c)に示すように、検出信号S2
がエッジセンス回路4からゲートコントローラ5に出力
され、図4の(d)に示すように、Hレベルのゲート開
閉信号S3がゲートコントローラ5からAND回路6に
出力される。この結果、AND回路6が開かれて、アッ
プダウンカウンタ2の動作が再開され、入力されたHレ
ベルのアップダウン信号S1に基づいて、アップダウン
カウンタ2がアップカウントする。これにより、図4の
(f)に示すように、16進数の「001」,「00
2」・・・「3FF」を示すデジタル信号Dが、アップ
ダウンカウンタ2からリミッタ回路7に順次出力され
る。
When the up / down signal S1 switches from the L level to the H level at T2 as shown in FIG. 4B, the detection signal S2 is output as shown in FIG. 4C.
Is output from the edge sensing circuit 4 to the gate controller 5, and as shown in FIG. 4D, the H level gate opening / closing signal S3 is output from the gate controller 5 to the AND circuit 6. As a result, the AND circuit 6 is opened, the operation of the up-down counter 2 is restarted, and the up-down counter 2 counts up based on the input H-level up-down signal S1. Thereby, as shown in (f) of FIG. 4, hexadecimal numbers "001" and "00"
A digital signal D indicating "2" ... "3FF" is sequentially output from the up-down counter 2 to the limiter circuit 7.

【0021】16進数「3FF」のカウント値、即ち2
進数「1111111111」のデジタル信号Dが、図
2に示すリミッタ回路7のビットバス14に入力される
と、NAND回路10とNOR回路11の入力端10−
1〜10−10,11−1〜11−10のレベルが全て
「1」となり、図4の(e)に示すように、「1」のリ
ミット信号S4がNAND回路13からゲートコントロ
ーラ5に出力される。これにより、図4の(d)に示す
ように、Lレベルのゲート開閉信号S3がAND回路6
に出力され、AND回路6が閉じられて、図4の(f)
に示すように、カウント値が「3FF」(16進数)に
保持される。
A hexadecimal "3FF" count value, that is, 2
When the digital signal D of the decimal number "1111111111" is input to the bit bus 14 of the limiter circuit 7 shown in FIG. 2, the input terminals 10- of the NAND circuit 10 and the NOR circuit 11-
The levels of 1 to 10-10 and 11-1 to 11-10 all become "1", and the limit signal S4 of "1" is output from the NAND circuit 13 to the gate controller 5 as shown in (e) of FIG. To be done. As a result, as shown in (d) of FIG. 4, the L level gate opening / closing signal S3 changes to the AND circuit 6
Is output to the AND circuit 6 and the AND circuit 6 is closed, as shown in FIG.
As shown in, the count value is held at “3FF” (hexadecimal number).

【0022】すなわち、NAND回路10とNOR回路
11との入力端10−1〜10−10,11−1〜11
−10の全てをビットバス14に接続することで、アッ
プダウンカウンタ2のカウント値の上限値が16進数
「3FF」に設定されると共に、下限値が16進数「0
00」に設定される。この上限値と下限値の設定を変更
する場合には、NAND回路10及びNOR回路11の
入力端10−1〜10−10,11−1〜11−10と
ビットバス14との接続状態を変えれば良い。
That is, the input terminals 10-1 to 10-10 and 11-1 to 11 of the NAND circuit 10 and the NOR circuit 11 are connected.
By connecting all -10 to the bit bus 14, the upper limit value of the count value of the up / down counter 2 is set to the hexadecimal number "3FF", and the lower limit value is set to the hexadecimal number "0".
00 "is set. When changing the setting of the upper limit value and the lower limit value, the connection state between the input ends 10-1 to 10-10, 11-1 to 11-10 of the NAND circuit 10 and the NOR circuit 11 and the bit bus 14 can be changed. Good.

【0023】図3は、上限値及び下限値の設定変更例を
示す回路図である。本変更例では、NAND回路10の
入力端10−1,10−2を短絡して、レベル「1」の
電圧VDDを常時供給し、NOR回路11の入力端11−
1,11−2を短絡して、これらをレベル「0」の電圧
Vssに保つことで、アップダウンカウンタ2のカウント
値の上限値を16進数「3FC」に設定変更し、下限値
を16進数「003」に設定変更したものである。すな
わち、ダウンカウント時に、16進数「003」のカウ
ント値、即ち2進数「0000000011」のデジタ
ル信号Dがリミッタ回路7のビットバス14に入力され
ると、NOR回路11の入力端11−1,11−2が
「0」に保持されているので、デジタル信号Dの2進数
「0000000011」の下2桁がNOR回路11の
入力端11−1,11−2に入力されず、無視された状
態になる。このため、「0000000000」のデジ
タル信号DがNOR回路11の入力端11−1〜11−
10に入力された状態になる。この結果、「1」のリミ
ット信号S4がNAND回路13からゲートコントロー
ラ5に出力され、カウント値が2進数「0000000
011」即ち16進数「003」に保持されることとな
る。また、アップカウント時に、16進数「3FC」の
カウント値、即ち2進数「1111111100」のデ
ジタル信号Dがリミッタ回路7のビットバス14に入力
されると、NAND回路10の入力端10−1,10−
2が「1」に保持されているので、デジタル信号Dの下
2桁がNAND回路10の入力端10−1,10−2に
入力されず、無視された状態になる。このため、「11
11111111」のデジタル信号DがNAND回路1
0の入力端10−1〜10−10に入力された状態にな
る。この結果、「1」のリミット信号S4がNAND回
路13からゲートコントローラ5に出力され、カウント
値が2進数「1111111100」即ち16進数「3
FC」に保持されることとなる。
FIG. 3 is a circuit diagram showing an example of changing the setting of the upper limit value and the lower limit value. In this modification, the input terminals 10-1 and 10-2 of the NAND circuit 10 are short-circuited to constantly supply the voltage VDD of level "1", and the input terminal 11- of the NOR circuit 11 is
By short-circuiting 1 and 11-2 and keeping them at the voltage Vss of level “0”, the upper limit value of the up / down counter 2 is changed to the hexadecimal number “3FC”, and the lower limit value is set to the hexadecimal number. The setting is changed to "003". That is, when the count value of hexadecimal number “003”, that is, the digital signal D of binary number “0000000011” is input to the bit bus 14 of the limiter circuit 7 during down counting, the input terminals 11-1 and 11 of the NOR circuit 11 are input. -2 is held at "0", the last two digits of the binary number "0000000011" of the digital signal D are not input to the input terminals 11-1, 11-2 of the NOR circuit 11 and are in a neglected state. Become. Therefore, the digital signal D of “0000000000” is input to the input terminals 11-1 to 11- of the NOR circuit 11.
It will be in the state entered in 10. As a result, the limit signal S4 of "1" is output from the NAND circuit 13 to the gate controller 5, and the count value is the binary number "0000000".
011 ”, that is, the hexadecimal number“ 003 ”is held. When the count value of the hexadecimal number “3FC”, that is, the digital signal D of the binary number “1111111100” is input to the bit bus 14 of the limiter circuit 7 at the time of up-counting, the input terminals 10-1 and 10 of the NAND circuit 10 are input. −
Since 2 is held at “1”, the last two digits of the digital signal D are not input to the input terminals 10-1 and 10-2 of the NAND circuit 10 and are in a neglected state. Therefore, "11
The digital signal D of “11111111” is the NAND circuit 1
0 is input to the input terminals 10-1 to 10-10. As a result, the limit signal S4 of "1" is output from the NAND circuit 13 to the gate controller 5, and the count value is binary "1111111100", that is, hexadecimal "3".
FC will be held.

【0024】このように、本実施形態の積分器によれ
ば、内部にコンデンサを含まない構成となっているの
で、積分器のIC化が容易である。このため、コンデン
サ用のピンや外付け部品も不要となり、積分器の小型化
が可能となる。また、リミッタ回路7のNAND回路1
0及びNOR回路11の入力端10−1〜10−10,
11−1〜11−10とビットバス14との接続状態を
変えれるだけで、カウント値の上限値と下限値とを容易
に設定変更することができるので、積分器をダイナミッ
クレンジ一杯に使用することができると共に、直流オフ
セットの調整を簡単に行うことができ、非常に便利であ
る。
As described above, according to the integrator of the present embodiment, since the capacitor is not included inside, it is easy to make the integrator IC. For this reason, pins for capacitors and external parts are not required, and the integrator can be downsized. In addition, the NAND circuit 1 of the limiter circuit 7
0 and the input terminals 10-1 to 10-10 of the NOR circuit 11,
Since the upper limit value and the lower limit value of the count value can be easily set and changed only by changing the connection state between 11-1 to 11-10 and the bit bus 14, the integrator is used in the full dynamic range. It is possible to adjust the DC offset easily, which is very convenient.

【0025】なお、本実施形態においては、リミッタ回
路7に、NAND回路10とNOR回路11とを設け、
ビットバス14を介してこれらの回路にアップダウンカ
ウンタ2からのデジタル信号Dを入力するようにした
が、NOR回路11の代わりにNAND回路を設け、ア
ップダウンカウンタ2からNAND回路10にデジタル
信号Dを入力し、NOR回路11の代わりのNAND回
路にデジタル信号Dの逆転デジタル信号D´(例えば、
デジタル信号Dが「1111111100」のときは、
「0000000011」である)を入力するようにし
ても、上記と同様な効果を奏することは勿論である。
In the present embodiment, the limiter circuit 7 is provided with the NAND circuit 10 and the NOR circuit 11,
Although the digital signal D from the up / down counter 2 is input to these circuits via the bit bus 14, a NAND circuit is provided in place of the NOR circuit 11 to allow the digital signal D from the up / down counter 2 to the NAND circuit 10. Is input to the NAND circuit instead of the NOR circuit 11 and the inverted digital signal D ′ of the digital signal D (for example,
When the digital signal D is "1111111100",
It is needless to say that the same effect as described above can be obtained by inputting "(000000111)".

【0026】[0026]

【発明の効果】以上詳しく説明したように、本発明の積
分器によれば、計測部と変換部と検出部とリミット部と
ゲート部とで構成され、内部にコンデンサを含まない構
成となっているので、積分器全体を容易にIC化するこ
とができ、この結果、コンデンサ用のピンや外付け部品
も不要となり、積分器を小型化することができるという
優れた効果がある。また、リミット部によって、カウン
ト値の上限値と下限値とを容易に設定変更することがで
きるので、積分器をダイナミックレンジ一杯に使用する
ことができると共に、直流オフセットの調整を簡単に行
うことができ、非常に便利である。
As described above in detail, according to the integrator of the present invention, the measuring section, the converting section, the detecting section, the limit section and the gate section are formed, and the internal capacitor is not included. Therefore, the whole integrator can be easily integrated into an IC, and as a result, there is no need for a pin for a capacitor or an external component, and there is an excellent effect that the integrator can be downsized. Further, since the upper limit value and the lower limit value of the count value can be easily changed by the limiter, the integrator can be used in the full dynamic range and the DC offset can be easily adjusted. It can and is very convenient.

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

【図1】本発明の一実施形態に係る積分器1をCVSD
のモジュール部に適用した例を示すブロック図である。
FIG. 1 illustrates a CVSD integrator 1 according to an embodiment of the present invention.
3 is a block diagram showing an example applied to the module unit of FIG.

【図2】リミッタ回路を具体的に示す回路図である。FIG. 2 is a circuit diagram specifically showing a limiter circuit.

【図3】カウント値の上限値及び下限値の設定変更例を
示す回路図である。
FIG. 3 is a circuit diagram showing an example of changing the setting of the upper limit value and the lower limit value of the count value.

【図4】積分器の動作時における各信号のタイムチャー
ト図である。
FIG. 4 is a time chart diagram of each signal during the operation of the integrator.

【符号の説明】[Explanation of symbols]

1・・・積分器、 2・・・アップダウンカウンタ、
3・・・デジタルアナログ変換器、 4・・・エッジセ
ンス回路、 5・・・ゲートコントローラ、6・・・A
ND回路、 7・・・リミッタ回路、 10,13・・
・NAND回路、 11・・・NOR回路、 12・・
・インバータ。
1 ... integrator, 2 ... up / down counter,
3 ... Digital-analog converter, 4 ... Edge sensing circuit, 5 ... Gate controller, 6 ... A
ND circuit, 7 ... Limiter circuit, 10, 13 ...
・ NAND circuit, 11 ... NOR circuit, 12 ...
・ Inverter.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 Hレベル及びLレベルで形成されるアッ
プダウン信号に基づいて、入力されたクロック信号をカ
ウントし、そのカウント値を複数ビット単位で示すデジ
タル信号を出力する計測部と、 上記計測部からのデジタル信号をアナログ信号に変換す
る変換部と、 上記アップダウン信号のHレベル及びLレベルの切換時
点を検出して、その検出信号を出力する検出部と、 上記計測部のカウント値が設定可能な上限値又は下限値
に至ると、リミット信号を出力するリミット部と、 上記検出部からの検出信号により上記クロック信号の計
測部への入力路を開き、上記リミット部からのリミット
信号により上記入力路を閉じるゲート部と、 を具備することを特徴とする積分器。
1. A measuring unit that counts an input clock signal based on an up-down signal formed at an H level and an L level and outputs a digital signal indicating the count value in a unit of a plurality of bits, said measuring unit. The conversion unit for converting the digital signal from the unit into an analog signal, the detection unit for detecting the switching time point of the H level and the L level of the up / down signal and outputting the detection signal, and the count value of the measuring unit are When the settable upper limit value or lower limit value is reached, the limit section that outputs the limit signal and the detection signal from the detection section opens the input path of the clock signal to the measurement section, and the limit signal from the limit section A gate unit for closing the input path, and an integrator.
【請求項2】 請求項1に記載の積分器において、 上記ゲート部は、 上記クロック信号を一方入力端から入力して上記計測部
に出力可能なAND回路と、 上記検出信号によりHレベルのゲート開閉信号を上記A
ND回路の他方入力端に入力し、上記リミット信号によ
りLレベルのゲート開閉信号を上記AND回路の他方入
力端に入力するゲートコントローラと、 を具備し、 上記リミット部は、 上記デジタル信号のビット数と同数の入力端を有し、こ
れらの入力端の全て又はいずれかから上記デジタル信号
のビットを入力可能な第1のNAND回路と、 上記デジタル信号のビット数と同数の入力端を有し、こ
れらの入力端の全て又はいずれかから上記デジタル信号
のビットを入力可能なNOR回路と、 上記NOR回路の出力側に接続されたインバータと、 二入力端が上記インバータと第1のNAND回路の出力
側にそれぞれ接続され、一出力端から上記リミット信号
を上記ゲートコントローラに出力する第2のNAND回
路と、 を具備することを特徴とする積分器。
2. The integrator according to claim 1, wherein the gate unit is an AND circuit capable of inputting the clock signal from one input terminal and outputting the clock signal to the measuring unit, and an H level gate based on the detection signal. Opening / closing signal is the above A
A gate controller for inputting to the other input end of the ND circuit and for inputting an L level gate opening / closing signal to the other input end of the AND circuit according to the limit signal, wherein the limit section is the number of bits of the digital signal And a first NAND circuit capable of inputting the bits of the digital signal from all or any of these input terminals, and the same number of input terminals as the number of bits of the digital signal, A NOR circuit capable of inputting the bits of the digital signal from all or any of these input terminals, an inverter connected to the output side of the NOR circuit, and two input terminals of the inverter and the output of the first NAND circuit. A second NAND circuit which is connected to the gate controller and outputs the limit signal from one output terminal to the gate controller. The integrator to collect.
JP11873396A 1996-05-14 1996-05-14 Integrator Pending JPH09307429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11873396A JPH09307429A (en) 1996-05-14 1996-05-14 Integrator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11873396A JPH09307429A (en) 1996-05-14 1996-05-14 Integrator

Publications (1)

Publication Number Publication Date
JPH09307429A true JPH09307429A (en) 1997-11-28

Family

ID=14743733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11873396A Pending JPH09307429A (en) 1996-05-14 1996-05-14 Integrator

Country Status (1)

Country Link
JP (1) JPH09307429A (en)

Similar Documents

Publication Publication Date Title
JP3219880B2 (en) Multiplication circuit
JP2653177B2 (en) Noise removal circuit
JP2944302B2 (en) Sampling circuit
JPH0946230A (en) D/a converter
JP3136593B2 (en) Semiconductor device with built-in regulator
JP3268702B2 (en) A / D converter
JPH09307429A (en) Integrator
US6091350A (en) Automatic voltage reference scaling in analog-to-digital and digital-to-analog converters
JP5082952B2 (en) Coulomb counter and dynamic range adjustment method
JP2003032117A (en) Integral type analog to digital converter
JP4460949B2 (en) A / D converter and A / D conversion method
JPS59216063A (en) Peak holding circuit
JPH07170185A (en) A/d converter and microcomputer incorporating a/d converter
JP3116706B2 (en) Trigger input circuit
JPH0497621A (en) A/d conversion circuit
JPH03226015A (en) A/d conversion circuit
JPH0578041U (en) Double integration type A / D converter
JPS58223921A (en) Signal converter
JPH104353A (en) A/d converter
JPH07333260A (en) Offset-removing circuit of current sensor
JPH04347925A (en) Power-on reset circuit
JPH1117504A (en) Comparator
JP2000174598A (en) Signal stop detection circuit
JPH0329873A (en) Mode setting circuit
JPH01243623A (en) Signal level converter