JP4362407B2 - Digital noise filter - Google Patents

Digital noise filter Download PDF

Info

Publication number
JP4362407B2
JP4362407B2 JP2004112295A JP2004112295A JP4362407B2 JP 4362407 B2 JP4362407 B2 JP 4362407B2 JP 2004112295 A JP2004112295 A JP 2004112295A JP 2004112295 A JP2004112295 A JP 2004112295A JP 4362407 B2 JP4362407 B2 JP 4362407B2
Authority
JP
Japan
Prior art keywords
value
register
output
noise filter
level
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 - Fee Related
Application number
JP2004112295A
Other languages
Japanese (ja)
Other versions
JP2005303358A (en
Inventor
啓史 正井
匡隆 尾坂
和久 田中
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 Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2004112295A priority Critical patent/JP4362407B2/en
Publication of JP2005303358A publication Critical patent/JP2005303358A/en
Application granted granted Critical
Publication of JP4362407B2 publication Critical patent/JP4362407B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、高速通信が要求されるインターフェースにおいて利用可能なデジタルノイズフィルタに関するものである。   The present invention relates to a digital noise filter that can be used in an interface that requires high-speed communication.

図8は、従来のデジタルノイズフィルタ(例えば、特許文献1参照)のシステム構成図である。図8に示すように、デジタルノイズフィルタ100は、FF1(1)〜FF1(n)のn段のフリップフロップ(以下、FFと称す)で構成されるシフトレジスタ101と、各FFの出力信号S1(1)〜S1(n)の値が全てHレベルに一致するかを判定し、又は出力信号S1(1)〜S1(n)の値を多数決で判定することにより、外部出力信号104の出力レベルを決定する判定回路102とを備えている。   FIG. 8 is a system configuration diagram of a conventional digital noise filter (see, for example, Patent Document 1). As shown in FIG. 8, the digital noise filter 100 includes a shift register 101 including n stages of flip-flops (hereinafter referred to as FFs) FF1 (1) to FF1 (n), and an output signal S1 of each FF. The output of the external output signal 104 is determined by determining whether all the values of (1) to S1 (n) coincide with the H level or by determining the values of the output signals S1 (1) to S1 (n) by majority. And a determination circuit 102 for determining the level.

以下、前記デジタルノイズフィルタ100の動作について説明する。まず、外部入力信号103が入力端子inから前記シフトレジスタ101の1段目のFF1(1)に入力される。そして、FF1(1)の出力信号S1(1)がFF1(2)へと入力される。このようなシフトがシフトレジスタ101内のFF1(2)からFF1(n)まで繰り返し行われる。   Hereinafter, the operation of the digital noise filter 100 will be described. First, the external input signal 103 is input from the input terminal “in” to the first stage FF 1 (1) of the shift register 101. Then, the output signal S1 (1) of FF1 (1) is input to FF1 (2). Such a shift is repeatedly performed from FF1 (2) to FF1 (n) in the shift register 101.

一方、各FF1(1)〜FF1(n)の出力信号S1(1)〜S1(n)は、さらに判定回路102にも入力される。この判定回路102では、出力信号S1(1)〜S1(n)の値に基づいて外部出力信号104の出力レベルが決定され、出力端子outから外部出力信号104が出力される。   On the other hand, output signals S1 (1) to S1 (n) of the FF1 (1) to FF1 (n) are further input to the determination circuit 102. In the determination circuit 102, the output level of the external output signal 104 is determined based on the values of the output signals S1 (1) to S1 (n), and the external output signal 104 is output from the output terminal out.

ここで、前記判定回路102が信号値の一致を判定する一致回路である場合には、出力信号S1(1)〜S1(n)の値が全てHレベルであると判定されたときに、Hレベルの外部出力信号104が出力端子outから出力される。また、出力信号S1(1)〜S1(n)の値が全てHレベルではないと判定されたときには、Lレベルの外部出力信号104が出力端子outから出力される。これにより、シフトレジスタ101内のFF1(1)〜FF1(n)に供給されている動作クロック105の周期にFFの段数nを掛けて算出される期間以下のノイズが除去される。   Here, when the determination circuit 102 is a coincidence circuit for determining the coincidence of signal values, when it is determined that all the values of the output signals S1 (1) to S1 (n) are at the H level, H The level external output signal 104 is output from the output terminal out. When it is determined that the values of the output signals S1 (1) to S1 (n) are not all at the H level, the L level external output signal 104 is output from the output terminal out. As a result, the noise below the period calculated by multiplying the cycle of the operation clock 105 supplied to the FF1 (1) to FF1 (n) in the shift register 101 by the number n of FFs is removed.

また、前記判定回路102が信号値の多数決をとる多数決回路である場合には、出力信号S1(1)〜S1(n)の値の中でHレベルの数がFFの段数nの1/2以上(Hレベルの数≧n/2)であれば、Hレベルの外部出力信号104が出力端子outから出力され、Hレベルの数がFFの段数nの1/2未満(Hレベルの数<n/2)であれば、Lレベルの外部出力信号104が出力端子outから出力される。これにより、シフトレジスタ101内のFF1(1)〜FF1(n)に供給されている動作クロック105の周期にFFの段数nを掛けて算出される期間の1/2の期間以下のノイズが除去される。   When the determination circuit 102 is a majority circuit that takes a majority decision of signal values, among the values of the output signals S1 (1) to S1 (n), the number of H levels is ½ of the number n of FF stages. If the above is satisfied (the number of H levels ≧ n / 2), the H level external output signal 104 is output from the output terminal out, and the number of H levels is less than ½ of the number n of FFs (the number of H levels < n / 2), the L level external output signal 104 is output from the output terminal out. As a result, noise of a period equal to or less than ½ of the period calculated by multiplying the period of the operation clock 105 supplied to FF1 (1) to FF1 (n) in the shift register 101 by the number n of FFs is removed. Is done.

図9はデジタルノイズフィルタの動作を示すタイムチャート、図10は判定回路が一致回路である場合における各FF段の出力値及びデジタルノイズフィルタの出力値を示す図、図11は判定回路102が多数決回路である場合における各FF段の出力値及びデジタルノイズフィルタの出力値を示す図である。以下、シフトレジスタ101のFFの段数を“15”とした場合について説明する。   9 is a time chart showing the operation of the digital noise filter, FIG. 10 is a diagram showing the output value of each FF stage and the output value of the digital noise filter when the judgment circuit is a coincidence circuit, and FIG. It is a figure which shows the output value of each FF stage in the case of being a circuit, and the output value of a digital noise filter. The case where the number of FF stages of the shift register 101 is “15” will be described below.

図9に示すような入力信号が入力端子inからシフトレジスタ101に入力された場合、FF1(1)〜FF(15)の動作クロック105の各サイクル毎における出力信号S1(1)〜S1(15)は、後段のFFに順次シフトされ、動作クロック105のサイクル毎に判定回路102において外部出力信号104の出力レベルが判定される。   When an input signal as shown in FIG. 9 is input to the shift register 101 from the input terminal in, the output signals S1 (1) to S1 (15) in each cycle of the operation clock 105 of FF1 (1) to FF (15). ) Are sequentially shifted to subsequent FFs, and the output level of the external output signal 104 is determined by the determination circuit 102 every cycle of the operation clock 105.

前記判定回路102が一致回路である場合には、図10に示すように、出力信号S1(1)〜S1(15)の値が全てHレベルに一致したときに、前記判定回路102からHレベルの外部出力信号104が出力される。図9に示す入力信号では、27サイクル目に出力信号S1(1)〜S1(15)の値が全てHレベルに一致するため、外部出力信号104がHレベルになる。これにより、外部入力信号103のノイズが除去される。   When the determination circuit 102 is a coincidence circuit, as shown in FIG. 10, when all the values of the output signals S1 (1) to S1 (15) coincide with the H level, the determination circuit 102 outputs an H level. The external output signal 104 is output. In the input signal shown in FIG. 9, since the values of the output signals S1 (1) to S1 (15) all coincide with the H level in the 27th cycle, the external output signal 104 becomes the H level. Thereby, the noise of the external input signal 103 is removed.

また、前記判定回路102が多数決回路である場合には、図11に示すように、出力信号S1(1)〜S1(15)の値の中で、Hレベルの数がシフトレジスタ101のFFの段数である15段の1/2より多い場合(図9においては“8”以上)に、前記判定回路102からHレベルの外部出力信号104が出力される。図9に示す入力信号では、13サイクル目に出力信号S1(1)〜S1(15)の値の中でHレベルのものが8つになるため、外部出力信号104がHレベルになる。これにより、外部入力信号103のノイズが除去される。
特開平5−145380号公報(第5頁、第2図)
When the determination circuit 102 is a majority circuit, the number of H levels among the values of the output signals S1 (1) to S1 (15) is the FF of the shift register 101 as shown in FIG. When the number of stages is more than ½ of 15 stages (“8” or more in FIG. 9), the determination circuit 102 outputs an external output signal 104 of H level. In the input signal shown in FIG. 9, since there are eight H level signals among the values of the output signals S1 (1) to S1 (15) in the thirteenth cycle, the external output signal 104 becomes H level. Thereby, the noise of the external input signal 103 is removed.
JP-A-5-145380 (5th page, FIG. 2)

しかしながら、上述のデジタルノイズフィルタ100では、シフトレジスタ101のFF段数によって除去できるノイズ幅が固定されてしまうため、デジタルノイズフィルタ100の性能はシフトレジスタ101のFFの段数に依存してしまう。このため、除去できるノイズ幅を変更するには、回路を変更をする必要があり、コスト増大につながるという問題があった。   However, in the above-described digital noise filter 100, the noise width that can be removed is fixed depending on the number of FF stages of the shift register 101. Therefore, the performance of the digital noise filter 100 depends on the number of FF stages of the shift register 101. For this reason, in order to change the noise width that can be removed, it is necessary to change the circuit, resulting in an increase in cost.

本発明は、かかる点に鑑みてなされたものであり、その目的とするところは、外部からノイズ除去幅を設定することを可能とし、目的に応じて必要な信号成分を得ることができるようにすることにある。   The present invention has been made in view of such a point, and the object of the present invention is to enable setting of a noise removal width from the outside and to obtain a necessary signal component according to the purpose. There is to do.

すなわち、請求項1の発明は、複数段のフリップフロップを有するシフトレジスタと、
ノイズ除去幅をレジスタ設定値として設定するレジスタと、
前記レジスタ設定値に基づいて、前記シフトレジスタ内の各フリップフロップの出力信号のうち1つを選択するセレクタ部と、
前記選択されたフリップフロップの出力信号の値と、前記シフトレジスタに入力された入力信号の値との一致又は不一致の判定結果に基づいて、前記レジスタ設定値で設定された期間内における前記入力信号のHレベルの数をカウントするカウンタ部と、
前記カウンタ部のカウント値と前記レジスタ設定値とに基づいて、外部出力信号の出力レベルを判定する判定回路とを備えていることを特徴とする。
That is, the invention of claim 1 is a shift register having a plurality of stages of flip-flops;
A register for setting the noise reduction width as a register setting value;
A selector unit that selects one of the output signals of each flip-flop in the shift register based on the register setting value;
The input signal within a period set by the register setting value based on a determination result of a match or mismatch between the value of the output signal of the selected flip-flop and the value of the input signal input to the shift register A counter unit that counts the number of H levels of
And a determination circuit for determining an output level of the external output signal based on the count value of the counter unit and the register setting value.

従って、本発明によれば、ノイズ除去幅を決定するレジスタ設定値によって、シフトレジスタ内の各FF段の出力信号のうち1つをセレクタ部で選択して出力することができ、シフトレジスタ内のFFの段数と前記FFに供給される動作クロックの周期とによって、ノイズ除去幅となる期間が決定される。また、この期間内において、カウンタ部では、選択されたFF段の出力信号とシフトレジスタに入力された入力信号との一致又は不一致の判別結果から、カウント値のカウントアップ、カウントダウン、又は保持が行われる。   Therefore, according to the present invention, one of the output signals of each FF stage in the shift register can be selected and output by the selector unit according to the register setting value that determines the noise removal width. The period of noise removal width is determined by the number of FF stages and the period of the operation clock supplied to the FF. Also, during this period, the counter unit counts up, counts down, or holds the count value based on the determination result of the match or mismatch between the output signal of the selected FF stage and the input signal input to the shift register. Is called.

そして、前記カウント値は、設定された期間内におけるHレベルの数をカウントしたものであることから、このカウント値とレジスタ設定値とを比較することにより、設定された期間内よりも短い周期のノイズを除去することができる。   Since the count value is obtained by counting the number of H levels in the set period, by comparing the count value with the register set value, the cycle value shorter than that in the set period is obtained. Noise can be removed.

以上のように、請求項1に係る発明によれば、外部からノイズ除去幅を設定することを可能とし、レジスタ設定値を変更することで、目的に応じて必要な信号成分を得ることができる。   As described above, according to the first aspect of the present invention, it is possible to set a noise removal width from the outside, and a necessary signal component can be obtained according to the purpose by changing a register setting value. .

以下、本発明の実施形態を図面に基づいて詳細に説明する。以下の好ましい実施形態の説明は、本質的に例示に過ぎず、本発明、その適用物或いはその用途を制限することを意図するものでは全くない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The following description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, its application, or its application.

図1は、本発明におけるデジタルノイズフィルタのシステム構成図である。図1において、201は、周期T[sec]の動作クロック206が供給されるn段のフリップフロップFF2(0)〜FF2(n−1)で構成されるシフトレジスタ、205はノイズ除去幅をレジスタ設定値として設定するレジスタ、202は前記レジスタ設定値に基づいて前記シフトレジスタ201の各FF段の出力信号S2(0)〜S2(n−1)のうち1つを選択するセレクタ部、203は、前記セレクタ部202で選択された前記FF段の出力信号の値と、外部入力信号103のFF初段の出力信号S2(0)の値との一致又は不一致を判定する論理演算部、204は、前記論理演算部203で演算されたイネーブル信号ENと外部入力信号103のFF初段の出力信号S2(0)とに基づいて設定される、動作クロック206に前記選択されたFFの段数を掛けて算出された期間St(St=T×レジスタ設定値)におけるS2(1)〜S2(レジスタ設定値)のHレベルの数をカウントするカウンタ部、207は、前記カウンタ部204でカウントされたカウント値Cntと前記レジスタ設定値とに基づいて、デジタルノイズフィルタ200の出力レベルを判定する判定回路である。   FIG. 1 is a system configuration diagram of a digital noise filter according to the present invention. In FIG. 1, 201 is a shift register composed of n-stage flip-flops FF2 (0) to FF2 (n-1) to which an operation clock 206 having a period T [sec] is supplied, and 205 is a register for noise removal width. A register to be set as a set value, 202 is a selector unit that selects one of output signals S2 (0) to S2 (n-1) of each FF stage of the shift register 201 based on the register set value, and 203 is A logic operation unit 204 that determines whether the value of the output signal of the FF stage selected by the selector unit 202 matches the value of the output signal S2 (0) of the first stage FF of the external input signal 103; The operation clock 206 is set based on the enable signal EN calculated by the logic operation unit 203 and the output signal S2 (0) of the first stage FF of the external input signal 103. A counter unit 207 that counts the number of H levels of S2 (1) to S2 (register setting value) in a period St (St = T × register setting value) calculated by multiplying the number of selected FF stages, The determination circuit determines the output level of the digital noise filter 200 based on the count value Cnt counted by the counter unit 204 and the register setting value.

図2にも示すように、前記カウンタ部204は、イネーブル信号ENが1(論理演算部203の判定が一致)の場合、S2(0)がHレベルならカウント値をカウントアップ、Lレベルならカウントダウンし、ENが0(論理演算部203の判定が不一致)の場合はカウント保持することにより、多数決判定の基準となる除去したいノイズ幅の期間内におけるHレベルの期間Cntを判定する。   As shown also in FIG. 2, when the enable signal EN is 1 (the judgment of the logic operation unit 203 is coincident), the counter unit 204 counts up the count value when S2 (0) is H level, and counts down when the enable signal EN is L level. If EN is 0 (the logic operation unit 203 does not agree), the count is held to determine the H level period Cnt within the period of the noise width to be removed, which is the basis for majority decision.

また、前記判定回路207は、入力されたレジスタ設定値の1/2の値とカウント値Cntとを比較し、Cnt≧(レジスタ設定値)/2(レジスタ設定値が奇数の場合は切り上げ)の条件が成り立つ場合に判定回路207からHレベルを出力する。これにより、T×(レジスタ設定値)/2(レジスタ設定値が奇数の場合、レジスタ設定値/2は切り捨て)となる周期のノイズを除去することが可能となる。   Further, the determination circuit 207 compares a half value of the input register setting value with the count value Cnt, and Cnt ≧ (register setting value) / 2 (rounds up when the register setting value is an odd number). When the condition is satisfied, the determination circuit 207 outputs an H level. As a result, it is possible to remove noise having a period of T × (register set value) / 2 (when the register set value is an odd number, the register set value / 2 is discarded).

図3は、デジタルTV用のシステムLSIにおいて、I2C(Inter Integrated Circuit)インタフェースのクロック・データラインに本発明のデジタルノイズフィルタが搭載されている場合の構成図である。   FIG. 3 is a configuration diagram when the digital noise filter of the present invention is mounted on a clock / data line of an I2C (Inter Integrated Circuit) interface in a system LSI for digital TV.

システムLSI401にはI2Cインタフェース402が搭載されており、このI2Cインタフェース402とシステムLSI401の外部にあるNTSCエンコーダ403とは、クロック及びデータライン406が接続されている。I2Cインタフェース402のデータ・クロックは、デジタルノイズフィルタ404を介してI2Cインタフェース402の論理演算部405に接続されている。   The system LSI 401 includes an I2C interface 402, and a clock and data line 406 is connected to the I2C interface 402 and the NTSC encoder 403 outside the system LSI 401. The data clock of the I2C interface 402 is connected to the logic operation unit 405 of the I2C interface 402 via the digital noise filter 404.

次に、デジタルノイズフィルタ404の回路構成を図4に示す。デジタルノイズフィルタ404は、32段のFFによって構成されるシフトレジスタ301を有しており、レジスタ305に設定された値に基づいて32段のFFの出力信号S3(0)〜S3(31)のうち1つを選択するセレクタ部302と、前記セレクタ部302の出力信号の値と入力信号FF3(0)の値との一致又は不一致を判定する論理演算部303と、前記論理演算部303の出力をイネーブル信号ENとし、入力信号FF3(0)のレベルに応じてカウント値のカウントアップ、カウントダウン、又は保持を行うカウンタ部304と、前記カウンタ部304から出力されるカウント値が、レジスタ305に設定された値の1/2より大きい場合にはHレベル、小さい場合にはLレベルを出力する判定回路307とから構成される。なお、前記レジスタ305に設定される値は、ノイズ除去幅を決定するものである。   Next, a circuit configuration of the digital noise filter 404 is shown in FIG. The digital noise filter 404 has a shift register 301 composed of 32 stages of FFs, and based on the values set in the register 305, the output signals S3 (0) to S3 (31) of the 32 stages of FFs. A selector unit 302 that selects one of them, a logic operation unit 303 that determines whether the value of the output signal of the selector unit 302 matches the value of the input signal FF3 (0), and the output of the logic operation unit 303 Is the enable signal EN, and the counter unit 304 that counts up, counts down, or holds the count value according to the level of the input signal FF3 (0), and the count value output from the counter unit 304 is set in the register 305 And a determination circuit 307 that outputs an H level when it is greater than ½ of the measured value and an L level when it is smaller. . The value set in the register 305 determines a noise removal width.

図5は、本発明のデジタルノイズフィルタ404のタイミングチャート図である。以下、図3又は図4にも示すように、システムLSI401に接続されたNTSCエンコーダ403から、外部入力信号103がデータライン406を介してデジタルノイズフィルタ404のFF3(0)に入力され、レジスタ305に“15(0xF)”が設定されている場合を考える。   FIG. 5 is a timing chart of the digital noise filter 404 of the present invention. 3 and 4, the external input signal 103 is input from the NTSC encoder 403 connected to the system LSI 401 to the FF3 (0) of the digital noise filter 404 via the data line 406, and the register 305 Let us consider a case where “15 (0xF)” is set in.

レジスタ305に“15”が設定され、シフトレジスタ301のFF3(0)〜FF3(15)に供給される動作クロック306が50MHz(周期20ns)である場合、レジスタ設定値“15”に動作クロック306を掛けて算出される期間(周期300ns)においてノイズ除去の判定が行われる。   When “15” is set in the register 305 and the operation clock 306 supplied to the FF3 (0) to FF3 (15) of the shift register 301 is 50 MHz (period 20 ns), the operation clock 306 is set to the register setting value “15”. The noise removal determination is performed in the period (period 300 ns) calculated by multiplying.

まず、外部入力信号103のFF初段の出力信号であるS3(0)と、セレクタ部302においてレジスタ設定値に基づいて選択されたS3(15)とを比較し、その値の一致又は不一致を論理演算部303で判定する。   First, S3 (0), which is the output signal of the first stage of the FF of the external input signal 103, is compared with S3 (15) selected based on the register setting value in the selector unit 302, and the value match or mismatch is logically determined. This is determined by the calculation unit 303.

そして、図6に示すように、カウンタ部304では、前記論理演算部303から出力されるイネーブル信号ENとS3(0)の信号レベルとに基づいて、カウント値のカウントアップ、カウントダウン、又は保持が行われる。   As shown in FIG. 6, the counter unit 304 counts up, counts down, or holds the count value based on the enable signal EN output from the logic operation unit 303 and the signal level of S3 (0). Done.

さらに、判定回路307では、前記カウンタ部304でカウントされたカウント値と、レジスタ305で設定されたレジスタ設定値の1/2の値とを比較し、前記カウント値がレジスタ設定値の1/2の値より大きい場合に、Hレベルが出力される。   Further, the determination circuit 307 compares the count value counted by the counter unit 304 with a half value of the register set value set by the register 305, and the count value is 1/2 of the register set value. When the value is larger than the value of H, the H level is output.

具体的には、レジスタ設定値が“15”の場合には、カウント値が“8”以上のときに判定回路307からHレベルが出力されることになり、周期300ns(15サイクル分)の1/2以下である140ns(7サイクル分)以下の周期の信号成分をノイズとして除去することができる。   Specifically, when the register setting value is “15”, the H level is output from the determination circuit 307 when the count value is “8” or more, and 1 in a cycle of 300 ns (15 cycles). A signal component having a period of 140 ns (7 cycles) or less, which is / 2 or less, can be removed as noise.

この場合、サイクル数が13サイクル目において、カウント値がレジスタ設定値“15”の1/2の値より大きい“8”になり、判定回路307からHレベルが出力される。これにより、140ns以下の周期のノイズとして除去される。   In this case, in the thirteenth cycle, the count value becomes “8”, which is larger than half of the register setting value “15”, and the determination circuit 307 outputs the H level. Thereby, it is removed as noise with a period of 140 ns or less.

また、レジスタ設定値が“4”の場合、セレクタ部302からはS3(4)が出力され、動作クロック306の4サイクル分(80ns)の期間において、図7に示すように、各FF3(1)〜FF3(4)の出力信号がHレベルである数をカウンタ部304でカウントし、カウント値が“3”になったときに、レジスタ設定値の1/2である“2”を超えるため、判定回路307からHレベルが出力される。これにより、動作クロック306の2サイクル分である40ns以下の信号成分を除去することができ、ノイズが除去された信号が判定回路307から出力される。   Further, when the register set value is “4”, S3 (4) is output from the selector unit 302, and each FF3 (1) as shown in FIG. 7 in the period of 4 cycles (80 ns) of the operation clock 306. ) To FF3 (4) output signal H level is counted by the counter unit 304, and when the count value becomes “3”, it exceeds “2” which is ½ of the register set value. The determination circuit 307 outputs an H level. As a result, a signal component of 40 ns or less that is two cycles of the operation clock 306 can be removed, and a signal from which noise is removed is output from the determination circuit 307.

以上のように、本実施形態によれば、レジスタのレジスタ設定値を変更することにより、除去できるノイズ幅を変更することができる。これにより、システムLSIを使用するセット毎にノイズ特性に対するチューニングをすることができ、誤動作を防ぐことができる。   As described above, according to the present embodiment, the noise width that can be removed can be changed by changing the register setting value of the register. As a result, the noise characteristics can be tuned for each set using the system LSI, and malfunctions can be prevented.

以上説明したように、本発明は、デジタルノイズフィルタにおいて、レジスタ設定値を変更することにより、除去できるノイズ幅を変更することができるという実用性の高い効果が得られることから、きわめて有用で産業上の利用可能性は高い。   As described above, in the digital noise filter, the present invention provides a highly practical effect that the noise width that can be removed can be changed by changing the register setting value. The above availability is high.

本発明のデジタルノイズフィルタのシステム構成図である。It is a system block diagram of the digital noise filter of this invention. 本発明のデジタルノイズフィルタの論理演算部及びカウンター部の動作を示す図である。It is a figure which shows the operation | movement of the logic operation part and counter part of the digital noise filter of this invention. 本実施形態におけるデジタルノイズフィルタをI2Cインターフェイスに搭載した場合の構成図である。It is a block diagram at the time of mounting the digital noise filter in this embodiment in an I2C interface. 本実施形態におけるデジタルノイズフィルタの回路構成図である。It is a circuit block diagram of the digital noise filter in this embodiment. 本実施形態におけるデジタルノイズフィルタの動作を示すタイムチャート図である。It is a time chart figure showing operation of a digital noise filter in this embodiment. レジスタ設定値が“15”の場合における各FF段の出力値、及びカウント値を示す図である。It is a figure which shows the output value of each FF stage in case a register setting value is "15", and a count value. レジスタ設定値が“4”の場合における各FF段の出力値、及びカウント値を示す図である。It is a figure which shows the output value of each FF stage in case a register setting value is "4", and a count value. 従来のデジタルノイズフィルタのシステム構成図である。It is a system block diagram of the conventional digital noise filter. 従来のデジタルノイズフィルタの動作を示すタイムチャート図である。It is a time chart figure which shows the operation | movement of the conventional digital noise filter. 従来のデジタルノイズフィルタの判定回路が一致回路である場合における各FF段の出力値、及びデジタルノイズフィルタの出力値を示す図である。It is a figure which shows the output value of each FF stage in case the determination circuit of the conventional digital noise filter is a coincidence circuit, and the output value of a digital noise filter. 従来のデジタルノイズフィルタの判定回路が多数決回路である場合における各FF段の出力値、及びデジタルノイズフィルタの出力値を示す図である。It is a figure which shows the output value of each FF stage, and the output value of a digital noise filter in case the determination circuit of the conventional digital noise filter is a majority circuit.

符号の説明Explanation of symbols

200 デジタルノイズフィルタ
201 シフトレジスタ
202 セレクタ部
203 論理演算部
204 カウンタ部
205 レジスタ
206 動作クロック
207 判定回路
Sn(0)〜Sn(n) シフトレジスタ各FFの出力信号
FFn(0)〜FFn(n) シフトレジスタ内の各FF
200 Digital noise filter 201 Shift register 202 Selector unit 203 Logic operation unit 204 Counter unit 205 Register 206 Operation clock 207 Determination circuit Sn (0) to Sn (n) Output signal FFn (0) to FFn (n) of each FF of the shift register Each FF in the shift register

Claims (2)

複数段のフリップフロップを有するシフトレジスタと、
ノイズ除去幅をレジスタ設定値として設定するレジスタと、
前記レジスタ設定値に基づいて、前記シフトレジスタ内の各フリップフロップの出力信号のうち1つを選択するセレクタ部と、
前記選択されたフリップフロップの出力信号の値と、前記シフトレジスタに入力された入力信号の値との一致又は不一致の判定結果に基づいて、前記レジスタ設定値で設定された期間内における前記入力信号のHレベルの数をカウントするカウンタ部と、
前記カウンタ部のカウント値と前記レジスタ設定値とに基づいて、外部出力信号の出力レベルを判定する判定回路とを備えていることを特徴とするデジタルノイズフィルタ。
A shift register having a plurality of flip-flops;
A register for setting the noise reduction width as a register setting value;
A selector unit that selects one of the output signals of each flip-flop in the shift register based on the register setting value;
The input signal within a period set by the register setting value based on a determination result of a match or mismatch between the value of the output signal of the selected flip-flop and the value of the input signal input to the shift register A counter unit that counts the number of H levels of
A digital noise filter comprising: a determination circuit that determines an output level of an external output signal based on a count value of the counter unit and a register setting value.
請求項1において、In claim 1,
前記判定回路は、前記カウント値と、前記レジスタ設定値の1/2の値とに基づいて、外部出力信号の出力レベルを判定するように構成されていることを特徴とするデジタルノイズフィルタ。The digital noise filter, wherein the determination circuit is configured to determine an output level of an external output signal based on the count value and a value half of the register setting value.
JP2004112295A 2004-04-06 2004-04-06 Digital noise filter Expired - Fee Related JP4362407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004112295A JP4362407B2 (en) 2004-04-06 2004-04-06 Digital noise filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004112295A JP4362407B2 (en) 2004-04-06 2004-04-06 Digital noise filter

Publications (2)

Publication Number Publication Date
JP2005303358A JP2005303358A (en) 2005-10-27
JP4362407B2 true JP4362407B2 (en) 2009-11-11

Family

ID=35334414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004112295A Expired - Fee Related JP4362407B2 (en) 2004-04-06 2004-04-06 Digital noise filter

Country Status (1)

Country Link
JP (1) JP4362407B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281057A (en) * 2013-04-28 2013-09-04 康力电梯股份有限公司 Filtering method for input signal

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5593256B2 (en) * 2011-03-08 2014-09-17 株式会社日立産機システム Motor control device
JP6037979B2 (en) * 2013-08-30 2016-12-07 京セラドキュメントソリューションズ株式会社 Receiving apparatus and noise removing method
JP2019097075A (en) * 2017-11-24 2019-06-20 オムロン株式会社 Digital noise filter
JP7018322B2 (en) * 2018-01-16 2022-02-10 株式会社ミツトヨ measuring device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281057A (en) * 2013-04-28 2013-09-04 康力电梯股份有限公司 Filtering method for input signal

Also Published As

Publication number Publication date
JP2005303358A (en) 2005-10-27

Similar Documents

Publication Publication Date Title
US8363773B2 (en) Digital phase interpolation control for clock and data recovery circuit
KR102205823B1 (en) Clock recovery circuit for multiple wire data signals
US7952391B2 (en) Digital noise filter
US9418037B2 (en) SPI interface and method for serial communication via an SPI interface having an SPI protocol handler for evaluating signal transitions of SPI signals
JP5086014B2 (en) Data recovery method and data recovery circuit
US20090195271A1 (en) Frequency mode selection discriminator and low pass filter
JP4362407B2 (en) Digital noise filter
US6469544B2 (en) Device for detecting abnormality of clock signal
CN1870429B (en) Semiconductor integrated circuit and method of reducing noise
JP5140915B2 (en) Noise filter and filtering method
JP5061498B2 (en) Jitter correction method and circuit
CN111211774A (en) Bounce removing circuit
US7345496B2 (en) Semiconductor apparatus and test execution method for semiconductor apparatus
JP2950784B2 (en) Asynchronous signal synchronization circuit
JP6012072B2 (en) Digital demodulation circuit, digital demodulation method and digital demodulation program
JP2006303928A (en) Filter device, communication processing device, communication processing system, and filtering method
JP2538762B2 (en) Clock loss detection circuit
JPH10126228A (en) Digital waveform shaping circuit
JP6037979B2 (en) Receiving apparatus and noise removing method
JP3201445B2 (en) Chattering prevention circuit
JP4249374B2 (en) Alarm detection circuit
JPH08125696A (en) Biphase code decoding circuit
JP5419651B2 (en) Module connection system
JP2007251659A (en) Signal switching device and signal determining device
CN116488617A (en) Circuit and method for filtering digital signal burrs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090721

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090817

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120821

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees