JPH04175917A - Noise removing circuit - Google Patents

Noise removing circuit

Info

Publication number
JPH04175917A
JPH04175917A JP30266790A JP30266790A JPH04175917A JP H04175917 A JPH04175917 A JP H04175917A JP 30266790 A JP30266790 A JP 30266790A JP 30266790 A JP30266790 A JP 30266790A JP H04175917 A JPH04175917 A JP H04175917A
Authority
JP
Japan
Prior art keywords
signal
circuit
latch circuit
sampling
timing
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
JP30266790A
Other languages
Japanese (ja)
Inventor
Tomio Ikejima
池嶋 冨美夫
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP30266790A priority Critical patent/JPH04175917A/en
Publication of JPH04175917A publication Critical patent/JPH04175917A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve noise removal performance corresponding to ambient noise environment without any component replacement even after the noise removing circuit is installed in a device by varying sampling intervals for signal comparison with an indication from an external device. CONSTITUTION:The noise removing circuit is provided with a receiving means which receives an indication signal regarding the sampling intervals and the sampling intervals matching an indicated interval is varied and set. Namely, a latch circuit 13 and a latch circuit 14 sample an input signal at points of time which are different in time series and a comparator 16 outputs a coincidence signal at timing T6 where the ON levels of two sampling signals coincide with each other, so that a latch circuit 18 holds an ON signal. When both the latch circuits 13 and 14 hold level-OFF signals, the (timing T9) latch circuit 18 outputs a level-OFF signal. Consequently, noises are removed from the input signal.

Description

【発明の詳細な説明】 [産業上の利用分野〕 本発明は、信号線により伝送されたデジタル信号の中の
ノイズを除去するノイズ除去回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a noise removal circuit that removes noise in a digital signal transmitted by a signal line.

〔従来の技術〕[Conventional technology]

従来のデジタル信号のノイズ除去回路の代表例を第3図
に示す。
A typical example of a conventional digital signal noise removal circuit is shown in FIG.

第3図において、信号線上を伝送されるオン/オフレベ
ルの情報信号は送信側の書込信号により第1段目のラッ
チ回路1に保持される。続いて、送信側の読出信号によ
り保持された情報信号がドライバ3を介して読みもどさ
れる。比較器4は読みもどされた情報信号と、信号線P
1上の現在の情報信号のレベルについての一致比較を行
う。比較器4は一致判定が得られた場合はオフのノイズ
無し信号を発生し、不一致判定が得られた場合はノイズ
有り信号を発生する。
In FIG. 3, the on/off level information signal transmitted on the signal line is held in the first stage latch circuit 1 by a write signal from the transmitting side. Subsequently, the information signal held by the read signal on the transmitting side is read back via the driver 3. The comparator 4 receives the read back information signal and the signal line P.
A matching comparison is made for the level of the current information signal on 1. The comparator 4 generates an OFF noise-free signal when a match is determined, and generates a noise-present signal when a non-coincidence determination is obtained.

送信側では上述のノイズ検出(有無)信号に基き、通信
異常を検出する。また、上記一致判定が得られた場合は
出力許可信号が発生し、ラッチ回路2によりラッチ回路
1の保持信号を出力する。
On the transmitting side, communication abnormality is detected based on the above-mentioned noise detection (presence/absence) signal. Further, when the above-mentioned match determination is obtained, an output permission signal is generated, and the latch circuit 2 outputs the holding signal of the latch circuit 1.

また、受信側で入力信号を保持し、異なる時点での入力
信号のレベル比較を行うことによりノイズを検出し、ノ
イズ除去を行うようにしたノイズ除去回路も提案されて
いる。
Further, a noise removal circuit has been proposed in which the receiving side holds an input signal and compares the levels of the input signal at different points in time to detect noise and perform noise removal.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来のノイズ除去回路では比較信号のサ
ンプリング間隔が固定のため、第4図に示すように、サ
ンプリングTI、T2の間で発生したノイズを除去する
ことができない。
However, in the conventional noise removal circuit, since the sampling interval of the comparison signal is fixed, it is not possible to remove the noise generated between the samplings TI and T2, as shown in FIG.

サンプリングタイミングを変更するためには回路の構成
部品を交換する必要があり、特にノイズ除去回路を装置
内に設置後は部品交換が難しいという不具合があった。
In order to change the sampling timing, it is necessary to replace circuit components, and there is a problem in that it is particularly difficult to replace the components after the noise removal circuit is installed in the device.

そこで、本発明の目的は、部品交換を行うことなく比較
対象の信号のサンプリングタイミングを変更することで
上述の不具合を解消することの可能なノイズ除去回路を
提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a noise removal circuit that can eliminate the above-mentioned problems by changing the sampling timing of signals to be compared without replacing parts.

〔課題を解決するための手段] このような目的を達成するため、本発明は、ノイズ除去
対象の信号をサンプリング回路において異なる時点で2
回サンプリングしサンプリングした各信号のレベル比較
を行うことによりノイズ除去を行うノイズ除去回路にお
いて、前記信号のサンプリング間隔を指示する信号を受
信する受信手段と、当該受信した信号の示すサンプリン
グ間隔に前記サンプリング回路のサンプリング間隔を可
変設定する制御手段とを具えたことを特徴とする。
[Means for Solving the Problems] In order to achieve such an object, the present invention provides a sampling circuit that processes a signal to be noise-removed at two different times.
In a noise removal circuit that performs noise removal by sampling twice and comparing the levels of each sampled signal, the noise removal circuit includes a receiving means for receiving a signal instructing a sampling interval of the signal; The present invention is characterized by comprising a control means for variably setting the sampling interval of the circuit.

[作 用] 本発明では、ノイズ除去回路にサンプリング間隔につい
ての指示信号を受信する受信手段を設け、指示された間
隔にあわせサンプリング間隔を可変設定するようにした
ので、ノイズ除去回路の回路部品を交換する必要がない
[Function] In the present invention, the noise removal circuit is provided with a receiving means for receiving an instruction signal regarding the sampling interval, and the sampling interval is variably set in accordance with the instructed interval, so that the circuit components of the noise removal circuit are No need to replace.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例を詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明実施例の回路構成を示す6本実施例はプ
ログラマブルコントローラと接続する入出力(Ilo)
モジュール側にノイズ除去回路を設置する例を示す。
Figure 1 shows the circuit configuration of an embodiment of the present invention.6 This embodiment shows input/output (Ilo) connected to a programmable controller.
An example of installing a noise removal circuit on the module side is shown.

第1図において、プログラマブルコントローラ内の中央
演算処理装置(CPU)はI10モジュールに対するデ
ジタル信号の送信に先立って信号比較用のサンプリング
間隔を示す情報をデータバスを介し、ラッチ回路II(
本発明の受信手段)に送信する。
In FIG. 1, the central processing unit (CPU) in the programmable controller sends information indicating the sampling interval for signal comparison via the data bus to the latch circuit II (
receiving means of the present invention).

本実施例ではこのサンプリング間隔を示す情報には基準
クロックの計数個数を用いる。
In this embodiment, the counted number of reference clocks is used as the information indicating the sampling interval.

カウンタ12(本発明の制御手段)は基準クロックを計
数し、ラッチ回路11に保持された値に到達すると、単
発パルスのカウントアツプ信号を発生する。
The counter 12 (control means of the present invention) counts the reference clock, and when it reaches the value held in the latch circuit 11, it generates a single pulse count-up signal.

サンプリング回路を構成するラッチ回路13はプログラ
マブルコントローラから入力した入力データ又は制御信
号の中の1ビット単位のデジタル信号をカウンタ12の
カウントアツプ信号の発生時に保持する。
The latch circuit 13 constituting the sampling circuit holds a 1-bit digital signal of the input data or control signal input from the programmable controller when the counter 12 generates a count-up signal.

サンプリング回路を構成するラッチ回路14はラッチ回
路13の保持信号を上記カウントアツプ信号の発生時に
保持する。
The latch circuit 14 constituting the sampling circuit holds the holding signal of the latch circuit 13 when the count-up signal is generated.

比較器16はラッチ回路13の保持信号とラッチ回路1
4の保持信号のレベル比較を行ってレベルが一致してい
るときオンのレベル信号を発生する。
The comparator 16 outputs the holding signal of the latch circuit 13 and the latch circuit 1.
The levels of the hold signals No. 4 and 4 are compared, and when the levels match, an on level signal is generated.

ラッチ回路18は比較器16の判定信号およびカウンタ
12のカウントアツプ信号の反転信号により作成される
信号を入力し、この信号がレベルオンとなるタイミング
でラッチ回路13の出力信号をノイズ除去後の信号とし
て出力する。
The latch circuit 18 inputs a signal created by the judgment signal of the comparator 16 and the inverted signal of the count-up signal of the counter 12, and converts the output signal of the latch circuit 13 into the noise-removed signal at the timing when this signal turns on. Output as .

このような回路におけるノイズ除去動作を第2図の波形
図を用いて説明する。
The noise removal operation in such a circuit will be explained using the waveform diagram of FIG.

なお、説明のため、カウンタ12は基準クロックを3個
計数するとカウントアツプ信号を発生するものとする。
For the sake of explanation, it is assumed that the counter 12 generates a count-up signal when it counts three reference clocks.

入力信号のレベルが第2図のタイミングTIでオフから
オンに変化すると、ラッチ回路13はタイミングT3の
カウントアツプ信号の発生時に、レベルオンの入力信号
を保持する。
When the level of the input signal changes from off to on at timing TI in FIG. 2, the latch circuit 13 holds the level-on input signal when the count-up signal is generated at timing T3.

ラッチ回路14はラッチ回路13のオフの出力信号を保
持する。比較器16の比較結果は不一致となるので、ラ
ッチ回路18に対するクロック入力はレベルオフのまま
であり、ラッチ回路18のタイミングT3での信号はレ
ベルオフのままである。
The latch circuit 14 holds the off output signal of the latch circuit 13. Since the comparison result of the comparator 16 is a mismatch, the clock input to the latch circuit 18 remains at level OFF, and the signal at timing T3 of the latch circuit 18 remains at level OFF.

次のカウントアツプ信号の発生時(タイミングT4)に
おいて入力信号の中にノイズが混入すると、ラッチ回路
13ではレベルオフの入力信号を保持する。ラッチ回路
14はラッチ回路13のこれまでのレベルオンの信号を
保持する。このため比較器16の判定は不一致判定とな
るので、ラッチ回路18の保持信号はレベルオフ状態を
続ける。
If noise is mixed into the input signal when the next count-up signal is generated (timing T4), the latch circuit 13 holds the level-off input signal. The latch circuit 14 holds the level-on signal of the latch circuit 13 so far. Therefore, since the comparator 16 makes a non-coincidence determination, the holding signal of the latch circuit 18 continues to be level off.

タイミングT6のカウントアツプ信号の発生時には、ラ
ッチ回路13ではレベルオンの入力信号を保持するがラ
ッチ回路14ではレベルオフのラッチ回路13出力信号
を保持する。したがって、比較器16の判定は不一致と
なり、ラッチ回路18の保持信号はレベルオフ状態を続
ける。
When the count-up signal is generated at timing T6, the latch circuit 13 holds the level-on input signal, but the latch circuit 14 holds the level-off output signal of the latch circuit 13. Therefore, the judgment of the comparator 16 is inconsistent, and the holding signal of the latch circuit 18 continues to be in the level-off state.

このようにしてラッチ回路13.ラッチ回路14は一人
力信号を時系列的に異なる時点でサンプリングし、2つ
サンプリング信号のレベルが共にオンに一致したタイミ
ングT6で比較器16から一致信号が出力され、ラッチ
回路18がオンの信号を保持する(第2図参照)。また
、ラッチ回路13.14が共にレベルオフの信号を保持
したときに(タイミングT9)ラッチ回路18はレベル
オフの信号を出力する。このような処理動作により入力
信号の雑音が除去される。
In this way, the latch circuit 13. The latch circuit 14 samples the single power signal at different time points in time series, and at timing T6 when the levels of the two sampling signals both match on, the comparator 16 outputs a coincidence signal, and the latch circuit 18 outputs an on signal. (See Figure 2). Furthermore, when both the latch circuits 13 and 14 hold level-off signals (timing T9), the latch circuit 18 outputs a level-off signal. Such processing operations remove noise from the input signal.

また、比較対象のサンプリング信号のサンプリング間隔
はカウントアツプ信号の発生周期と同じとなる。このた
め、サンプリング間隔を変えたい場合は、プログラマブ
ルコントローラ側の書き込み処理によりラッチ回路11
の計数設定値を変更することができる。
Further, the sampling interval of the sampling signal to be compared is the same as the generation cycle of the count-up signal. Therefore, if you want to change the sampling interval, the latch circuit 11 can be changed by writing processing on the programmable controller side.
The count setting value can be changed.

本実施例の他次の例を挙げることができる。In addition to this embodiment, the following examples can be given.

l)本実施例ではプログラマブルコントローラ側の指示
でサンプリング間隔を可変とする例を示したがI10ユ
ニット側からサンプリング間隔の変更処理を行ってもよ
い。またこの変更処理を自動的に行いたい場合は次のよ
うにするとよい。
l) In this embodiment, an example is shown in which the sampling interval is made variable by instructions from the programmable controller, but the sampling interval may also be changed from the I10 unit side. If you want to do this change automatically, you can do the following.

パリティ符号を用いたデータ異常検出装!を用いてノイ
ズ異常を検知し、次にこの検知回数を計数する。計数結
果が一定回数以上となったことをCPU等により判別し
たときには、I10ユニット側のCPUによりラッチ回
路11の計数設定値を変更する。変更する値については
予め、たとえば、2−4−6→8のように変更類を定め
ておけばよい。
Data anomaly detection system using parity code! is used to detect noise abnormalities, and then the number of times this detection is performed is counted. When the CPU or the like determines that the count result exceeds a certain number of times, the CPU of the I10 unit changes the count setting value of the latch circuit 11. Regarding the values to be changed, the type of change may be determined in advance, for example, 2-4-6→8.

2)本実施例ではサンプリングタイミングを指示するタ
イミング信号発生器にカウンタを用いたが、タイミング
信号の発生タイミングを可変設定可能な他の回路、たと
えば複数種の分周器を用いるタイミング信号発生器を用
いてもよい。
2) In this embodiment, a counter is used as the timing signal generator that instructs the sampling timing, but other circuits that can variably set the timing signal generation timing, such as a timing signal generator that uses multiple types of frequency dividers, may be used. May be used.

〔発明の効果〕〔Effect of the invention〕

以上、説明したように、本発明によれば、信号比較のた
めのサンプリング間隔を外部装置からの指示で可変にで
きるので、ノイズ除去回路を装置に設置した後も部品交
換を行うことな(周辺のノイズ環境に対応させることが
でき、ノイズ除去性能を向上させることができるという
効果が得られる。
As described above, according to the present invention, the sampling interval for signal comparison can be made variable according to instructions from an external device, so there is no need to replace parts even after installing a noise removal circuit in the device. The present invention has the effect that the noise removal performance can be improved.

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

第1図は本発明実施例の回路構成を示す回路図、 第2図は本発明実施例の信号波形を示す波形図、 第3図は従来例の回路構成を示す回路図、第4図は正常
信号およびノイズ混入信号の波形を示す波形図である。 11.13,14.18・・・ラッチ回路、12・・・
カウンタ。 第3図 第4図
Fig. 1 is a circuit diagram showing the circuit configuration of the embodiment of the present invention, Fig. 2 is a waveform diagram showing signal waveforms of the embodiment of the invention, Fig. 3 is a circuit diagram showing the circuit configuration of the conventional example, and Fig. 4 is FIG. 3 is a waveform diagram showing waveforms of a normal signal and a noise-containing signal. 11.13, 14.18...Latch circuit, 12...
counter. Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 1)ノイズ除去対象の信号をサンプリング回路において
異なる時点で2回サンプリングしサンプリングした各信
号のレベル比較を行うことによりノイズ除去を行うノイ
ズ除去回路において、 前記信号のサンプリング間隔を指示する信号を受信する
受信手段と、 当該受信した信号の示すサンプリング間隔に前記サンプ
リング回路のサンプリング間隔を可変設定する制御手段
と を具えたことを特徴とするノイズ除去回路。
[Claims] 1) In a noise removal circuit that performs noise removal by sampling a signal to be removed twice at different times in a sampling circuit and comparing the levels of each sampled signal, the sampling interval of the signal is A noise removal circuit comprising: receiving means for receiving an instructing signal; and control means for variably setting the sampling interval of the sampling circuit to the sampling interval indicated by the received signal.
JP30266790A 1990-11-09 1990-11-09 Noise removing circuit Pending JPH04175917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30266790A JPH04175917A (en) 1990-11-09 1990-11-09 Noise removing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30266790A JPH04175917A (en) 1990-11-09 1990-11-09 Noise removing circuit

Publications (1)

Publication Number Publication Date
JPH04175917A true JPH04175917A (en) 1992-06-23

Family

ID=17911740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30266790A Pending JPH04175917A (en) 1990-11-09 1990-11-09 Noise removing circuit

Country Status (1)

Country Link
JP (1) JPH04175917A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015049568A (en) * 2013-08-30 2015-03-16 京セラドキュメントソリューションズ株式会社 Noise removal device, communication device, and noise removal method
US9395706B2 (en) 2013-04-04 2016-07-19 Mitsubishi Electric Corporation Noise determination device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53142157A (en) * 1977-05-18 1978-12-11 Hitachi Ltd Noise protection circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53142157A (en) * 1977-05-18 1978-12-11 Hitachi Ltd Noise protection circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9395706B2 (en) 2013-04-04 2016-07-19 Mitsubishi Electric Corporation Noise determination device
JP2015049568A (en) * 2013-08-30 2015-03-16 京セラドキュメントソリューションズ株式会社 Noise removal device, communication device, and noise removal method

Similar Documents

Publication Publication Date Title
US6175603B1 (en) System for managing signals in different clock domains and a programmable digital filter
JPH10145197A (en) Input signal read circuit
CN110798213A (en) Anomaly detection method, anomaly protection method, data detector and DAC system
JPH04175917A (en) Noise removing circuit
US7630464B1 (en) Analog-to-digital systems and methods
JPS63311402A (en) Plc device
JP2707778B2 (en) Noise removal circuit
JPH08221108A (en) Remote i/o system of plc
JP2000004147A (en) Device and method for eliminating noise, and recording medium
JPH0749879Y2 (en) Binary signal output device
JPH06232699A (en) Pulse generator
KR0167202B1 (en) Device of noise deletion in plc interrupt module
KR0136619B1 (en) Noise eliminating circuit
JPH10126228A (en) Digital waveform shaping circuit
KR100275684B1 (en) Digital filter
JP2751831B2 (en) Clock output monitoring method and clock output monitoring circuit
JPH10240374A (en) Clock abnormality detection circuit
JP4032418B2 (en) Input data hold device
KR100366800B1 (en) Apparatus for detecting error of external clock in transmission system
KR0181166B1 (en) Circuit for detecting the status of interface unit
JP2606458Y2 (en) Signal level monitoring circuit
CN105103063A (en) Noise determination device
JP2004233235A (en) Noise detection circuit and information processing apparatus
JPS63296408A (en) Signal processing system
JP2819955B2 (en) In-device error monitoring circuit