JPH0446005B2 - - Google Patents

Info

Publication number
JPH0446005B2
JPH0446005B2 JP57188406A JP18840682A JPH0446005B2 JP H0446005 B2 JPH0446005 B2 JP H0446005B2 JP 57188406 A JP57188406 A JP 57188406A JP 18840682 A JP18840682 A JP 18840682A JP H0446005 B2 JPH0446005 B2 JP H0446005B2
Authority
JP
Japan
Prior art keywords
value
signal
switching signal
input
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.)
Expired - Lifetime
Application number
JP57188406A
Other languages
Japanese (ja)
Other versions
JPS5977716A (en
Inventor
Masaru Hashirano
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP18840682A priority Critical patent/JPS5977716A/en
Publication of JPS5977716A publication Critical patent/JPS5977716A/en
Publication of JPH0446005B2 publication Critical patent/JPH0446005B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
    • G06F7/62Performing operations exclusively by counting total number of pulses ; Multiplication, division or derived operations using combined denominational and incremental processing by counters, i.e. without column shift

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Analogue/Digital Conversion (AREA)
  • Networks Using Active Elements (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は2進数の入力デイジタル信号に周波数
特性を付加した2進数の出力デイジタル信号を得
るデイジタルフイルタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a digital filter that obtains a binary output digital signal by adding frequency characteristics to a binary input digital signal.

従来例の構成とその問題点 第1図はアナログ式積分回路の従来例、第2図
はその動作説明に供する波形図である。
Configuration of a conventional example and its problems FIG. 1 is a conventional example of an analog type integrating circuit, and FIG. 2 is a waveform diagram for explaining its operation.

アナログ式積分層回路の構成要素はオペアンプ
1、入力抵抗2、帰還コンデンサ3である。入力
電圧E1,E2に電位差が生じると入力抵抗2に電
流が流れ、コンデンサ3に電荷が電流されて出力
電圧E0が変化する。出力電圧E0は E1>E2のとき電位が降下(〜t1,t4〜t5)し、 E1=E2のとき電位が停止(t1〜t2,t5〜)し、 E1<E2のとき電位が上昇(t2〜t3)する特性を
持つている。この回路の伝達関数G(s)は、 G(s)=1/ST1 (1) 但し、T1=C1R1,C1帰還コンデンサ3の容量、
R1は入力抵抗2の抵抗値である。即ち、積分要
素としての機能を持つている。
The components of the analog integrated layer circuit are an operational amplifier 1, an input resistor 2, and a feedback capacitor 3. When a potential difference occurs between the input voltages E 1 and E 2 , a current flows through the input resistor 2 , a charge flows through the capacitor 3 , and the output voltage E 0 changes. When E 1 > E 2 , the potential of the output voltage E 0 drops (~t 1 , t 4 ~ t 5 ), and when E 1 = E 2 , the potential stops (t 1 ~ t 2 , t 5 ~). , when E 1 <E 2 , the potential increases (t 2 to t 3 ). The transfer function G(s) of this circuit is G(s)=1/ST 1 (1) However, T 1 = C 1 R 1 , the capacitance of C 1 feedback capacitor 3,
R 1 is the resistance value of the input resistor 2. That is, it functions as an integral element.

なお、第1図の具体回路例において、入力電圧
E1入力アナログ信号、入力電圧E2は基準アナロ
グ信号、出力電圧E0は出力アナログ信号であり、
出力アナログ信号は入力アナログ信号に積分特性
が付与された信号である。
In addition, in the specific circuit example shown in Figure 1, the input voltage
E 1 is the input analog signal, input voltage E 2 is the reference analog signal, output voltage E 0 is the output analog signal,
The output analog signal is a signal obtained by adding integral characteristics to the input analog signal.

この積分回路を集積回路(IC)化する場合に
は、入出力用のピン3個と外付けのCR部品2個
を必要とし、IC化による外付け部品の削減及び
ピン数削減の妨げとなつていた。
When converting this integration circuit into an integrated circuit (IC), three pins for input/output and two external CR components are required, which hinders the reduction of external components and the number of pins by converting into an IC. was.

発明の目的 本発明は前記従来の問題点を解決するもので、
全ての構成要素をデイジタル化したデイジタルフ
イルタを提供することを目的とするものである。
Purpose of the Invention The present invention solves the above-mentioned conventional problems.
The object of the present invention is to provide a digital filter in which all components are digitized.

発明の構成 本発明は、基準値D2(固定値)の基準デイジタ
ル信号を発生する基準信号発生手段と、入力値
D1(可変値)の入力デイジタル信号と前記基準デ
イジタル信号とを入力し、前記入力値D1を前記
基準値D2と比較し、D1>D2のとき第1の切換信
号を、D1<D2のとき第2の切換信号を出力する
大小判別手段と、前記第1の切換信号と前記第2
の切換信号をそれぞれゲードして出力するゲート
手段と、前記ゲート手段を通過した第1の切換信
号で計数方向をアツプしまたはダウン)に、前記
ゲート手段を通過した第2の切換信号で計数方向
をダウン(またはアツプ)に設定し、かつ、クロ
ツクパルスを初段に入力する構成とし、前記計数
方向がアツプに設定されたとき前記クロツクパル
スでアツプ計数し、前記計数方向がダウンに設定
されたとき前記クロツクパルスでダウン計数し、
前記計数方向がアツプ/ダウンの何れにも設定さ
れないとき(D1=D2のとき)前記クロツクパル
スによる計数を停止するアツプダウンカウンタ
と、前記アツプダウンカウンタの最大値を検出
し、前記ゲート手段において前記第1の切換信号
(または前記第2の切換信号)をゲートする第1
の検出手段と、前記アツプダウンカウンタの最小
値を検出し、前記ゲート手段において前記第2の
切換信号(または前記第1の切換信号)をゲート
する第2の検出信号とを備え、前記アツプダウン
カウンタより出力デイジタル信号を得るデイジタ
ルフイルタであり、比較的簡単な構成によりデイ
ジタル式積分回路を実現できるものである。
Structure of the Invention The present invention includes a reference signal generating means for generating a reference digital signal having a reference value D 2 (fixed value), and an input value D 2 (fixed value).
An input digital signal of D1 (variable value) and the reference digital signal are input, the input value D1 is compared with the reference value D2 , and when D1 > D2 , the first switching signal is set to D. 1 <D 2 , a size determining means for outputting a second switching signal;
a gate means for gating and outputting a switching signal, and a first switching signal passing through the gate means to increase or decrease the counting direction, and a second switching signal passing through the gate means to increase or decrease the counting direction. is set to down (or up) and a clock pulse is input to the first stage, and when the counting direction is set to up, the clock pulse counts up, and when the counting direction is set to down, the clock pulse is input. Count down with
When the counting direction is not set to either up or down (when D 1 = D 2 ), the up-down counter stops counting by the clock pulse, and the maximum value of the up-down counter is detected, and the gate means a first gate for gating the first switching signal (or the second switching signal);
and a second detection signal for detecting the minimum value of the up-down counter and gating the second switching signal (or the first switching signal) in the gate means, This is a digital filter that obtains an output digital signal from a counter, and can realize a digital integration circuit with a relatively simple configuration.

そして、以上のように全面的にデイジタル化す
ることによりコンデンサや抵抗などの外付け部品
を不要にできると共に、ICの内蔵回路とするこ
とにより入出力ピンをも削減できるものである。
By completely digitalizing the device as described above, external components such as capacitors and resistors can be eliminated, and by incorporating the IC into a built-in circuit, the number of input/output pins can also be reduced.

実施例の説明 第3図は本発明の第1実施例であり、第4図は
その動作波形図である。
DESCRIPTION OF EMBODIMENTS FIG. 3 shows a first embodiment of the present invention, and FIG. 4 is an operating waveform diagram thereof.

第3図において、4は基準信号発生手段、5は
大小判別手段、6はゲート手段、7は可逆計数手
段(以下、アツプダウンカウンタという。)、8は
第1検出手段、9は第2検出手段であり、D1
2進数の入力デイジタル信号、D2は基準信号発
生手段4で発生した2進数の基準デイジタル信
号、D3はアツプダウンカウンタ7の出力で2進
数の出力デイジタル信号、S1,S2は大小別手段5
の出力で第1,第2の切換信号、S3はクロツクパ
ルス、S4,S5はゲート手段6の出力、S6,S7は第
1、第2検出手段8,9の出力すなわち第1,第
2の検出信号である。2進数の入力デイジタル信
号D1と基準デイジタル信号D2とを大小判別手段
5の入力として大小判別を行う。大小判別手段5
の大、小を表わす第1、第2の切換信号S1,S2
は、ゲート手段6を介してクロツクパルスS3と共
にアツプダウンカウンタ7の入力とする。アツプ
ダウンカウンタ7のオーバーフロー、アンダーフ
ローを防止するために第1検出手段8、第2検出
手段9により最大値、最小値の検出を行い、第
1、第2検出手段8,9の出力すなわち第1、第
2の検出信号S6,S7により第1、第2の切換信号
S1,S2のゲート出力S4,S5を禁止するようにゲー
ト手段6を制御する構成にしている。
In FIG. 3, 4 is a reference signal generation means, 5 is a magnitude discrimination means, 6 is a gate means, 7 is a reversible counting means (hereinafter referred to as an up-down counter), 8 is a first detection means, and 9 is a second detection means. D1 is a binary input digital signal, D2 is a binary reference digital signal generated by the reference signal generating means 4, D3 is a binary output digital signal which is the output of the up-down counter 7, and S 1 , S 2 is a means of size 5
The outputs are the first and second switching signals, S3 is the clock pulse, S4 and S5 are the outputs of the gate means 6 , and S6 and S7 are the outputs of the first and second detection means 8 and 9, that is, the first , the second detection signal. The binary input digital signal D 1 and the reference digital signal D 2 are input to the size determining means 5 to perform size determination. Size discrimination means 5
The first and second switching signals S 1 and S 2 indicate whether the
is input to the up-down counter 7 together with the clock pulse S 3 via the gate means 6. In order to prevent overflow and underflow of the up-down counter 7, the first detection means 8 and the second detection means 9 detect the maximum value and the minimum value. 1. The first and second switching signals are activated by the second detection signals S 6 and S 7
The configuration is such that the gate means 6 is controlled so as to inhibit the gate outputs S 4 and S 5 of S 1 and S 2 .

第4図により第3図の動作を説明すれば、大小
判別手段5において入力デイジタル信号D1と基
準デイジタル信号D2との大小判別で、D2に比べ
てD1の値が大か小かによりアツプダウンカウン
タ7の動作をアツプかダウン(またはダウンかア
ツプ)に切換えている。即ち、D1,D2の関係が、 D1>D2(またはD1<D2)ならアツプカウント
(t2〜t3,t6〜t7), D1=D2ならカウント停止(t1〜t2,t3〜t4), D12(またはD1>D2)ならダウンカウント
(〜t1,t4〜t5,t8〜) する構成にしており、かつカウンタ7の計数値
が最大値に達したら(t7〜t8)アツプカウントを
停止させ、カウンタ7を状態保持し、かつ、次の
動作すなわちダウンカウントに備え、また、最小
値に達したら(t5〜t6)ダウンカウントを停止さ
せ、カウンタ7を状態保持し、かつ、次の動作す
なわちアツプカウントに備える構成にしている。
これにより積分要素の機能を付加することができ
る。(1)式の時定数T1は、 T1=1/fCK (2) 但し、FCKはクロツクパルスS3の周波数として
求めることができる。
To explain the operation of FIG. 3 with reference to FIG. 4, the size determining means 5 determines whether the input digital signal D 1 and the reference digital signal D 2 are large or small, depending on whether the value of D1 is larger or smaller than D 2 . The operation of the up-down counter 7 is switched between up and down (or down and up). That is, if the relationship between D 1 and D 2 is D 1 > D 2 (or D 1 < D 2 ), the count is up (t 2 to t 3 , t 6 to t 7 ), and if D 1 = D 2 , the count is stopped ( t 1 ~ t 2 , t 3 ~ t 4 ), and if D 1 < 2 (or D 1 > D 2 ), it is configured to count down (~ t 1 , t 4 ~ t 5 , t 8 ~), and When the count value of the counter 7 reaches the maximum value (t 7 - t 8 ), the up-count is stopped, the counter 7 is maintained, and is prepared for the next operation, that is, the down-count, and when the count value reaches the minimum value ( t5 to t6 ) Down counting is stopped, the state of the counter 7 is maintained, and the counter 7 is configured to prepare for the next operation, that is, up counting.
This makes it possible to add the function of an integral element. The time constant T 1 in equation (1) is: T 1 =1/f CK (2) However, F CK can be determined as the frequency of the clock pulse S 3 .

第5図は第3図のアツプダウンカウンタ7の具
体回路例である。10はクロツクパルス入力端
子、11はアツプ切換信号入力端子、12はダウ
ン切換信号入力端子、13〜16はデイジタル信
号出力端子である。ANDゲート17,18及び
ORゲート19で成る複合ゲートとフリツプフロ
ツプ20とでアツプダウンカウンタの単位ビツト
を形成し、これを必要なビツト数だけ接続すれば
アツプダウンカウンタ7を構成できる。
FIG. 5 shows a specific circuit example of the up-down counter 7 shown in FIG. 10 is a clock pulse input terminal, 11 is an up switching signal input terminal, 12 is a down switching signal input terminal, and 13 to 16 are digital signal output terminals. AND gates 17, 18 and
The composite gate consisting of the OR gate 19 and the flip-flop 20 form a unit bit of an up-down counter, and the up-down counter 7 can be constructed by connecting the required number of bits.

第6図は第3図の動作説明に供する波形図であ
る。今、入力デイジタル信号D1が、時刻t0におい
て最小値であり、時刻t1から増加し、時刻t2で基
準デイジタル信号D2と等しくなり、時刻t3から再
び増加し、時刻t4最大値になり、時刻t6から減少
し、時刻t7でD2等しくなり、時刻t8から再び減少
し、時刻t10で最小値となり、時刻t12から増加し、
時刻t13でD2と等しくなるもなお増加し、時刻t15
で一定値となり、時刻t16から減少し、時刻t17
D2と等しくなるもなお減少し、時刻t18で一定値
となり、時刻t19から増加し、時刻t20でD2と等し
くなるもなお増加し、時刻t21で一定値となり、
時刻t22から減少し、時刻t23でD2と等しくなるも
なお減少し、時刻t24で一定値となる場合を例に
説明する。また、基準デイジタル信号D2は入力
デイジタル信号D1の中心値である場合を示して
いる。
FIG. 6 is a waveform diagram for explaining the operation of FIG. 3. Now, the input digital signal D 1 has the minimum value at time t 0 , increases from time t 1 , becomes equal to the reference digital signal D 2 at time t 2 , increases again from time t 3 , and reaches the maximum value at time t 4 . value, decreases from time t 6 , becomes equal to D 2 at time t 7 , decreases again from time t 8 , reaches a minimum value at time t 10 , increases from time t 12 ,
At time t 13 it becomes equal to D 2 but still increases and at time t 15
It becomes a constant value at time t 16 , decreases from time t 16, and at time t 17
Even though it becomes equal to D 2 , it still decreases, becomes a constant value at time t 18 , increases from time t 19 , becomes equal to D 2 at time t 20 , but still increases, and becomes a constant value at time t 21 ,
An example will be explained in which the value decreases from time t 22 , becomes equal to D 2 at time t 23 , but still decreases, and reaches a constant value at time t 24 . Further, a case is shown in which the reference digital signal D2 is the center value of the input digital signal D1 .

出力デイジタル信号D3は、入力デイジタル信
号D1と基準デイジタル信号D2との関係が、D1
D2のときアツプカウントし、D1>D2のときダウ
ンカウントする動作例を示しており、D1=D2
きカウント停止する構成になつている。なお、
D1,D2,D3は夫々アナログ表示している。
The output digital signal D 3 has a relationship between the input digital signal D 1 and the reference digital signal D 2 such that D 1 >
This shows an example of an operation in which up-counting occurs when D 2 and down-counting when D 1 > D 2 , and the count is stopped when D 1 = D 2 . In addition,
D 1 , D 2 , and D 3 are each displayed in analog form.

ここで入力デイジタル信号D1が前記の状態変
化をするときの各手段の出力は、夫々次のように
変化する。大小判別手段5の第1の切換信号S1
は、t3〜t7、t13〜t17,t20〜t23の期間が“H”で
他の期間が“L”となり、第2の切換信号S2はt0
〜t2,t8〜t13,t17〜t20,t23〜の期間が“H”で
他の期間が“L”となる。一方、アツプダウンカ
ウンタ7の出力デイジタル信号D3の最大値を検
出する第1検出手段8の出力S6(第1の検出信号)
は、t5〜t9の期間が“L”で他の期間が“H”と
なり、最小値を検出する第2検出手段9の出力S7
(第2の検出信号)は、t11〜t14,t25…の期間が
“L”で他の期間が“H”となる。しかるにゲー
ト手段6の出力S4は第1の切替信号S1第1の検出
信号S6によりゲートされた出力となり、t3
t5,t13〜t17,t20〜t23の期間が“H”で他の期間
が“L”となり、ゲート手段6の出力S5第2の切
換信号S2が第2の検出信号S7によりゲートされた
出力となり、t0〜t2,t8〜t11,t17〜t20,t23〜t25
期間が“H”で他の期間が“L”となる。
Here, when the input digital signal D1 undergoes the above-mentioned state change, the output of each means changes as follows. First switching signal S 1 of the size determining means 5
is "H" during the periods t3 to t7 , t13 to t17 , and t20 to t23 and "L" during the other periods, and the second switching signal S2 is at t0.
The period from ~ t2 , t8 ~ t13 , t17 ~ t20 , t23 ~ is "H", and the other periods are "L". On the other hand, the output S 6 (first detection signal) of the first detection means 8 which detects the maximum value of the output digital signal D 3 of the up-down counter 7
is "L" during the period t5 to t9 and "H" during the other periods, and the output S7 of the second detection means 9 detects the minimum value.
(Second detection signal) is "L" during the period from t11 to t14 , t25, . . . and "H" during the other periods. However, the output S4 of the gate means 6 becomes an output gated by the first switching signal S1 and the first detection signal S6, and from t3 to
The periods t 5 , t 13 to t 17 , t 20 to t 23 are “H” and the other periods are “L”, and the output S 5 of the gate means 6 and the second switching signal S 2 are the second detection signal. The output is gated by S7 , and is "H" during the periods t0 to t2 , t8 to t11 , t17 to t20 , and t23 to t25 , and "L" during the other periods.

以上により、アツプダウンカウンタ7はゲート
手段6の出力S4,S5によりアツプ・ダウンの計数
方向を切換え、かつ、クロツクパルスS3を計数す
ることにより、ゲート手段6の出力S4,S5
“H”,“L”のときアツプカウントし、“L”,
“H”のときダウンカウントし、共に“L”のと
きカウント停止するようにしている。
As described above, the up-down counter 7 switches the up/down counting direction using the outputs S 4 and S 5 of the gate means 6, and by counting the clock pulse S 3 , the outputs S 4 and S 5 of the gate means 6 are changed. When “H” and “L”, count up, “L”,
When both are "H", the count is down, and when both are "L", the count is stopped.

以上のように切換信号S1,S2は検出信号S6,S7
によりゲートした後、アツプダウンカウンタ7の
計数方向を切換える切換信号として用いているか
ら、アツプダウンカウンタ7がアツプカウントし
て最大値になつたら計数停止して次のダウンカウ
ントに備え、また、ダウンカウントして最小値に
なつたら計数停止して次のアツプカウントに備え
ることができ、オーバーフロー、アンダーフロー
を防止することができる。
As described above, the switching signals S 1 and S 2 are the detection signals S 6 and S 7
This is used as a switching signal to switch the counting direction of the up-down counter 7, so when the up-down counter 7 counts up and reaches the maximum value, it stops counting and prepares for the next down count. When the count reaches the minimum value, the count can be stopped to prepare for the next up count, and overflow and underflow can be prevented.

なお、出力S6,S7を入替えると供に出力S4,S5
を入替えるとアツプダウンカウンタ7の動作を逆
にすることができる。これは端に極性だけの問題
であり、何れをも採用し得る。また、基準信号発
生手段4は特にゲート回路等を必要とせず、単に
“H”が“L”かの固定した2進数のデイジタル
信号を発生させるだけで済ませることができる。
Note that when outputs S 6 and S 7 are swapped, outputs S 4 and S 5
By replacing the numbers, the operation of the up-down counter 7 can be reversed. This is ultimately a matter of polarity, and either can be adopted. Further, the reference signal generating means 4 does not particularly require a gate circuit or the like, and can simply generate a fixed binary digital signal indicating whether "H" or "L".

発明の効果 本発明のデイジタルフイルタは基準信号発生手
段4、大小判別手段5、ゲート手段6、可逆計数
手段(アツプダウンカウンタ)7、第1、第2検
出手段8,9を設けるだけの簡単な構成により、
積分要素の機能を持つたデイジタルフイルタを提
供することができ、またアツプダウンカウンタ7
はクロツクパルスS3を常にカウンタの初段に入力
する構成とし、かつ大小判別手段5はD1=D2
ときのみアツプダウンカウンタ7の計数を停止さ
せる構成としているため、クロツクパルスS3に同
期し連続した計数出力(積分出力D3がアツプダ
ウンカウンタ7から得られる。さらに、アツプダ
ウンカウンタ7の計数停止はD1=D2の一点だけ
であり「不感帯」がないため、アナログ式積分回
路の動作をそのままデイジタル回路で実現でき
る。そしてIC化したときの外付部品を不要にで
きると共にICの内蔵回路とすることにより入出
力ピンも不要にできるなど、その実用的効果は大
である。
Effects of the Invention The digital filter of the present invention is simple and includes a reference signal generation means 4, a magnitude discrimination means 5, a gate means 6, a reversible counting means (up-down counter) 7, and first and second detection means 8, 9. Depending on the configuration,
A digital filter with the function of an integral element can be provided, and an up-down counter 7 can also be provided.
The clock pulse S3 is always inputted to the first stage of the counter, and the size determining means 5 is configured to stop counting in the up-down counter 7 only when D1 = D2 , so that the clock pulse S3 is continuously inputted in synchronization with the clock pulse S3 . The counting output (integral output D 3 ) is obtained from the up-down counter 7. Furthermore, the up-down counter 7 stops counting only at one point D 1 = D 2 and there is no "dead zone", so the operation of the analog integration circuit is can be realized as is with a digital circuit.It has great practical effects, such as not only eliminating the need for external components when converting it into an IC, but also eliminating the need for input/output pins by making it a built-in circuit of the IC.

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

第1図は積分回路の従来構成を示すブロツク
図、第2図はその動作波形図、第3図は本発明の
1実施例のデイジタルフイルタのブロツク図、第
4図はその動作波形図、第5図はアツプダウンカ
ウンタの具体回路図、第6図は第3図の動作波形
図である。 4……基準信号発生手段、5……大小判別手
段、6……ゲート手段、7……可逆計数手段(ア
ツプダウンカウンタ)、8……第1の検出手段、
9……第2の検出手段。
FIG. 1 is a block diagram showing the conventional configuration of an integrating circuit, FIG. 2 is its operating waveform diagram, FIG. 3 is a block diagram of a digital filter according to an embodiment of the present invention, and FIG. 4 is its operating waveform diagram. FIG. 5 is a specific circuit diagram of the up-down counter, and FIG. 6 is an operational waveform diagram of FIG. 3. 4... Reference signal generation means, 5... Size discrimination means, 6... Gate means, 7... Reversible counting means (up-down counter), 8... First detection means,
9...Second detection means.

Claims (1)

【特許請求の範囲】 1 基準値D2(固定値)の基準デイジタル信号を
発生する基準信号発生手段と、 入力値D1(可変値)の入力デイジタル信号と前
記基準デイジタル信号とを入力し、前記入力値
D1を前記基準値D2と比較し、D1>D2のとき第1
の切換信号を、D1<D2のとき第2の切換信号を
出力する大小判別手段と、 前記第1の切換信号と前記第2の切換信号をそ
れぞれゲードして出力するゲート手段と、 前記ゲート手段を通過した第1の切換信号で計
数方向をアツプ(またはダウン)に、前記ゲート
手段を通過した第2の切換信号で計数方向をダウ
ン(またはアツプ)に設定し、かつクロツクパル
スを初段に入力する構成とし、前記計数方向がア
ツプに設定されたとき前記クロツクパルスでアツ
プ計数し、前記計数方向がダウンに設定されたと
き前記クロツクパルスでダウン計数し、前記計数
方向がアツプ/ダウンの何れにも設定されないと
き(D1=D2のとき)前記クロツクパルスによる
計数を停止するアツプダウンカウンタと、 前記アツプダウンカウンタの最大値を検出し、
前記ゲート手段において前記第1の切換信号(ま
たは前記第2の切換信号)をゲートする第1の検
出手段と、 前記アツプダウンカウンタの最小値を検出し、
前記ゲート手段において前記第2の切換信号(ま
たは前記第1の切換信号)をゲートする第2の検
出手段とを備え、 前記アツプダウンカウンタより出力デイジタル
信号を得るように構成してなるデイジタルフイル
タ。
[Claims] 1. A reference signal generating means for generating a reference digital signal having a reference value D 2 (fixed value); an input digital signal having an input value D 1 (variable value) and the reference digital signal; Said input value
D 1 is compared with the reference value D 2 and when D 1 > D 2 , the first
a gate means for gating and outputting the first switching signal and the second switching signal, respectively; A first switching signal passed through the gate means sets the counting direction up (or down), a second switching signal passed through the gate means sets the counting direction down (or up), and the clock pulse is set to the first stage. When the counting direction is set to up, the clock pulse counts up; when the counting direction is set to down, the clock pulse counts down; and when the counting direction is set to up or down, the clock pulse counts down. an up-down counter that stops counting by the clock pulse when not set (when D 1 = D 2 ); and detecting the maximum value of the up-down counter;
a first detection means for gating the first switching signal (or the second switching signal) in the gate means; detecting a minimum value of the up-down counter;
a second detection means for gating the second switching signal (or the first switching signal) in the gate means, and configured to obtain an output digital signal from the up-down counter.
JP18840682A 1982-10-27 1982-10-27 Digital filter Granted JPS5977716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18840682A JPS5977716A (en) 1982-10-27 1982-10-27 Digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18840682A JPS5977716A (en) 1982-10-27 1982-10-27 Digital filter

Publications (2)

Publication Number Publication Date
JPS5977716A JPS5977716A (en) 1984-05-04
JPH0446005B2 true JPH0446005B2 (en) 1992-07-28

Family

ID=16223085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18840682A Granted JPS5977716A (en) 1982-10-27 1982-10-27 Digital filter

Country Status (1)

Country Link
JP (1) JPS5977716A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS524143A (en) * 1975-06-27 1977-01-13 Mitsubishi Electric Corp Digital filter
JPS55124317A (en) * 1979-03-20 1980-09-25 Mitsubishi Electric Corp Digital filter circuit
JPS57121317A (en) * 1981-01-20 1982-07-28 Ricoh Elemex Corp Digital band pass filter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS524143A (en) * 1975-06-27 1977-01-13 Mitsubishi Electric Corp Digital filter
JPS55124317A (en) * 1979-03-20 1980-09-25 Mitsubishi Electric Corp Digital filter circuit
JPS57121317A (en) * 1981-01-20 1982-07-28 Ricoh Elemex Corp Digital band pass filter

Also Published As

Publication number Publication date
JPS5977716A (en) 1984-05-04

Similar Documents

Publication Publication Date Title
KR20020015671A (en) Time-to-digital converter
JPH0456519A (en) A/d converter
JPH0446005B2 (en)
JPH0530085B2 (en)
JPH0530084B2 (en)
JPH0113765B2 (en)
JPH0446006B2 (en)
JPH0465569B2 (en)
JPH0583135A (en) Double integral type a/d converter
JP2746081B2 (en) AD converter circuit
JPH0365685B2 (en)
JPH0583007B2 (en)
JPS6011492B2 (en) Analog to digital converter
JP2783543B2 (en) Phase difference judgment circuit
JP2617484B2 (en) Successive approximation type AD converter
JPH0519330B2 (en)
SU1101848A1 (en) Logarithmic analog-to-digital converter
JPS646571B2 (en)
JPS6216690Y2 (en)
JPH0142425B2 (en)
JPH04288728A (en) A/d converter
JPH0241767B2 (en)
JPS6372217A (en) Control signal generating circuit
JPH03256457A (en) Digital signal separator circuit
JPH03258119A (en) Digital/analog converter