JPS6019167B2 - digital filter - Google Patents
digital filterInfo
- Publication number
- JPS6019167B2 JPS6019167B2 JP8020675A JP8020675A JPS6019167B2 JP S6019167 B2 JPS6019167 B2 JP S6019167B2 JP 8020675 A JP8020675 A JP 8020675A JP 8020675 A JP8020675 A JP 8020675A JP S6019167 B2 JPS6019167 B2 JP S6019167B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- digital filter
- signal
- difference signal
- input
- 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
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H17/02—Frequency selective networks
Description
【発明の詳細な説明】 この発明はディジタル・フィル夕に関するものである。[Detailed description of the invention] This invention relates to digital filters.
従来の代表的なディジタル・フィル夕は、適当な時間間
隔ごとに入力量を離散的にサンプリングし、これらのサ
ンプリング値の差分を求め、この差分値を使って希望す
る特性の満たす微分方程式を成立させるように構成して
いた。しかし、このようなディジタル・フィル夕は乗算
器、除算器、遅延回路を必要とするため鹸成が複雑とな
り、さらに乗算器、除算器によって生じる誤差、演算結
果を再び入力に使うことによる誤差の累積、サンプリン
グを行うために実時間処理が困難である等の問題があっ
た。この発明はこのような点に鑑みてなされたもので、
簡単な構成で、精度および応答特性の優れたディジタル
・フィル夕を提供するものである。Typical conventional digital filters discretely sample the input amount at appropriate time intervals, find the difference between these sampled values, and use this difference value to establish a differential equation that satisfies the desired characteristics. It was configured to do so. However, such digital filters require multipliers, dividers, and delay circuits, making their construction complex. Furthermore, there are errors caused by the multipliers and dividers, and errors caused by using the calculation results as input again. There were problems such as the difficulty of real-time processing due to accumulation and sampling. This invention was made in view of these points,
The present invention provides a digital filter with a simple configuration and excellent accuracy and response characteristics.
以下この発明の一実施例を第1図および第2図について
説明する。第1図はこの発明に係るディジタル・フィル
夕の構成を示すもので第1図において、10‘ま減算器
、2川まアップ・ダウン・カウンタ、30は数値制御分
周器である。An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. FIG. FIG. 1 shows the configuration of a digital filter according to the present invention. In FIG. 1, 10' is a subtracter, 2 up/down counters, and 30 is a numerically controlled frequency divider.
減算器10は入力VIIとアップ・ダウン・カウンタ2
0の出力Vc21との大きさの差を表わす信号(以下、
出力VR12と称する)とその差信号の極性を表わす信
号(以下、符号SI3と称する)とを出力する。数値制
御分周器30はクロツクパルスナo31を分周して、減
算器10の出力VR12の大きさに比例した周波数のパ
ルスメ32を出力する。アップ・ダウン・カウンタ20
は数値制御分周器30の出力ナ32をカウント入力とし
、符号S13により、入力VIIが出力Vc21より大
きい時はカウントアップし、入力11が出力Vc21よ
り小さい時はカウントダウンする。数値制御分周器30
は、例えば公知のDDA(ディジタル・ディフアレンシ
ャル・アナラィザ)を利用して実現できる。その一列を
第2図に示す。第2図において、33はフル・アダー3
4はしジスタ、35はアンドゲート、36はカウンタで
ある。フル・アダー33は入力VR12としジスタ34
の出力37とを加算し、その結果出力38を発生する。
この時オーバーフローがあるとオーバーフロー出力39
を生じる。レジスタ34はクロツクパルスナo31ごと
に出力38を読み込むため、クロツクパルスナo31ご
とに入力VR12がレジスタ34に加算されていくこと
になる。この結果オーバーフロー出力39をクロツクパ
ルスナo31とのアンド出力40周波数は、入力VR1
2の大きさに比例することになる。Subtractor 10 has input VII and up/down counter 2
A signal representing the difference in magnitude from the output Vc21 of 0 (hereinafter referred to as
output VR12) and a signal representing the polarity of the difference signal (hereinafter referred to as SI3). The numerically controlled frequency divider 30 divides the clock pulse frequency o31 and outputs a pulse frequency 32 having a frequency proportional to the magnitude of the output VR12 of the subtracter 10. up/down counter 20
uses the output 32 of the numerically controlled frequency divider 30 as a count input, and according to symbol S13, it counts up when the input VII is larger than the output Vc21, and counts down when the input 11 is smaller than the output Vc21. Numerical control frequency divider 30
This can be realized using, for example, a known DDA (Digital Differential Analyzer). One row is shown in FIG. In Figure 2, 33 is full adder 3
4 is a register, 35 is an AND gate, and 36 is a counter. Full adder 33 has input VR12 and register 34
and the output 37 of , resulting in an output 38.
If there is an overflow at this time, the overflow output 39
occurs. Since the register 34 reads the output 38 every clock pulse o31, the input VR12 is added to the register 34 every clock pulse o31. As a result, the overflow output 39 is ANDed with the clock pulse generator o31 and the frequency of the output 40 is the input VR1.
It will be proportional to the size of 2.
このアンド出力40をカウン夕36で分周して出力〆3
2とする。フル・アダー33としジスタ34のビット数
を0、カウン夕36のビット数をQとすると出力ナはた
ま馬・VR
となる。This AND output 40 is divided by the counter 36 and output 3
Set it to 2. Assuming that the full adder 33 is used, the number of bits of the register 34 is 0, and the number of bits of the counter 36 is Q, the output number is Tama-VR.
第2図に示すような数値制御分周器を第1図の数値制御
分周器30として使うとすると、アップ・ダウン・カウ
ンタ20は数値制御分周器30の出力〆32をカウント
するから、学ゴ=希・vR
となり
(符号はSI3でわかる)
が成立することになる。If a numerically controlled frequency divider as shown in FIG. 2 is used as the numerically controlled frequency divider 30 of FIG. Gakugo = Rare vR (the sign can be found in SI3) holds true.
ここで第3図に示す、抵抗R50とコンデンサ60によ
るアナログ・フィルタ回路について考えるとが成立して
いる。Now, considering the analog filter circuit shown in FIG. 3, which includes a resistor R50 and a capacitor 60, the following holds true.
第m式と第‘2)式より、第1図のディジタル・フ第1
図イル外ま時定数峯このRCI次アナログ‐フィル夕と
同様な機能を有していることがわかる。From the mth equation and the '2)th equation, the digital
It can be seen that the time constant value outside the figure has the same function as the RCI-order analog filter.
出力Vc21が積分出力、出力VR12が微分出力、出
力SI3が微分出力VR12の符号である。アナログ回
路においては、精度、特性の経年変化、特性の環境によ
る変化等に問題を生じるのに対し、この発明ではディジ
タル方式であるため、高精度で特性の変化のない回路が
実現できる。さらに、高次フィル夕を実現するためには
、アナログ方式の場合は段間にバッファ・アンプを必要
とし、また特性を自由に設定することは困難であるのに
対し、この発明に係るディジタル・フィル夕の場合は、
n次フィル夕を実現するには単に、n段直結すればよく
、その特性も各段のビット数qとb2とクロックパルス
ナoの周波数によって自由に設定できる。以上の説明か
ら明らかなようにこの発明によれば、簡単な構成で、精
度および応答性が良く、特性の設定が自由であるという
、すぐれたディジタル・フィル夕を得ることができる。The output Vc21 is the integral output, the output VR12 is the differential output, and the output SI3 is the sign of the differential output VR12. In analog circuits, problems arise with accuracy, changes in characteristics over time, changes in characteristics due to environment, etc., whereas the present invention uses a digital system, so it is possible to realize a circuit with high precision and whose characteristics do not change. Furthermore, in order to realize a high-order filter, an analog system requires a buffer amplifier between stages, and it is difficult to freely set the characteristics, whereas the digital system according to the present invention requires a buffer amplifier between stages. In the case of filter evening,
To realize an n-th filter, it is sufficient to simply connect n stages directly, and its characteristics can be freely set by the number of bits q and b2 of each stage and the frequency of the clock pulse number o. As is clear from the above description, according to the present invention, it is possible to obtain an excellent digital filter with a simple configuration, high accuracy and responsiveness, and characteristics that can be freely set.
第1図はこの発明の一実施例を示すブロック図、第2図
は第1図中の数値制御分周器30の詳細を示すブロック
図、第3図はアナログ・フィル夕回路である。
図中、1川ま減算器、20はアップ・ダウン・カウンタ
、30は数値制御分周器、33はフル・アダー、34は
しジスタ、35はアンドゲート、36はカウンタである
。
なお、図中同一符号はそれぞれ同一または相当部分を示
す。第2図FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing details of the numerically controlled frequency divider 30 in FIG. 1, and FIG. 3 is an analog filter circuit. In the figure, 1 is a subtracter, 20 is an up/down counter, 30 is a numerically controlled frequency divider, 33 is a full adder, 34 is a register, 35 is an AND gate, and 36 is a counter. Note that the same reference numerals in the figures indicate the same or corresponding parts. Figure 2
Claims (1)
さの差信号とこの差信号の極性を表わす信号を出力する
手段と、クロツクパルスを分周して前記差信号の大きさ
に比例した周波数のパルスを発生する手段と、前記差信
号の極性を表わす信号に対応して前記差信号の大きさに
比例した周波数パルスを計数し、その計数値をデイジタ
ルフイルタの出力信号とする計数手段とを備えたことを
特徴とするデイジタルフイルタ。1. Means for outputting a difference signal between the magnitudes of the input signal and output signal of a digital filter and a signal representing the polarity of this difference signal, and means for dividing a clock pulse to generate a pulse with a frequency proportional to the magnitude of the difference signal. and counting means for counting frequency pulses proportional to the magnitude of the difference signal in response to a signal representing the polarity of the difference signal, and using the counted value as an output signal of the digital filter. A digital filter featuring:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8020675A JPS6019167B2 (en) | 1975-06-27 | 1975-06-27 | digital filter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8020675A JPS6019167B2 (en) | 1975-06-27 | 1975-06-27 | digital filter |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS524143A JPS524143A (en) | 1977-01-13 |
JPS6019167B2 true JPS6019167B2 (en) | 1985-05-15 |
Family
ID=13711902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8020675A Expired JPS6019167B2 (en) | 1975-06-27 | 1975-06-27 | digital filter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6019167B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10638077B2 (en) | 2017-04-14 | 2020-04-28 | Canon Kabushiki Kaisha | Imaging device and control method |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5977717A (en) * | 1982-10-27 | 1984-05-04 | Matsushita Electric Ind Co Ltd | Digital filter |
JPS5977716A (en) * | 1982-10-27 | 1984-05-04 | Matsushita Electric Ind Co Ltd | Digital filter |
JPS59100609A (en) * | 1982-11-30 | 1984-06-09 | Matsushita Electric Ind Co Ltd | Digital filter |
JPS59101920A (en) * | 1982-12-02 | 1984-06-12 | Matsushita Electric Ind Co Ltd | Digital filter |
JPS60137117A (en) * | 1983-11-30 | 1985-07-20 | Nec Home Electronics Ltd | Digital filter circuit |
JPS60191513A (en) * | 1984-03-12 | 1985-09-30 | Matsushita Electric Ind Co Ltd | Digital type integration circuit |
-
1975
- 1975-06-27 JP JP8020675A patent/JPS6019167B2/en not_active Expired
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10638077B2 (en) | 2017-04-14 | 2020-04-28 | Canon Kabushiki Kaisha | Imaging device and control method |
Also Published As
Publication number | Publication date |
---|---|
JPS524143A (en) | 1977-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6019167B2 (en) | digital filter | |
Leach | The remainder term in numerical integration formulas | |
SU516065A2 (en) | Functional converter | |
SU1092498A1 (en) | Pulse-number device for calculating inverse trigonometric tangent | |
JPS601581B2 (en) | Speed detection device in servo mechanism | |
US3493734A (en) | Automatic line integrator | |
SU528695A1 (en) | Pulse frequency multiplier | |
GB1466213A (en) | Variable inverse period computer | |
SU1008667A1 (en) | Device for measuring frequency ratio of two pulse trains | |
SU1117590A1 (en) | Digital interpolator | |
SU410554A1 (en) | ||
SU894875A2 (en) | Device for changing pulse repetition frequency | |
SU572933A1 (en) | Frequency divider with fractional division factor | |
JPS6114692B2 (en) | ||
JPS6373386A (en) | Handwritten character recognizing device | |
SU259492A1 (en) | DIGITAL LINEAR INTERPOLATOR | |
SU1432516A1 (en) | Apparatus for dividing frequencies of two pulse trains | |
SU955024A1 (en) | Device for calculating random changing function | |
SU1677857A1 (en) | Pulse-legnth modulator | |
SU911525A1 (en) | Frequency dividing device | |
SU413487A1 (en) | ||
SU822182A2 (en) | Device for computing the difference between two n-digit numbers | |
SU740735A1 (en) | Device for computing arithmetic mean | |
SU940154A2 (en) | Pulse repetition frequency multiplier | |
SU1437858A1 (en) | Computing device |