JPH0221809Y2 - - Google Patents
Info
- Publication number
- JPH0221809Y2 JPH0221809Y2 JP20222882U JP20222882U JPH0221809Y2 JP H0221809 Y2 JPH0221809 Y2 JP H0221809Y2 JP 20222882 U JP20222882 U JP 20222882U JP 20222882 U JP20222882 U JP 20222882U JP H0221809 Y2 JPH0221809 Y2 JP H0221809Y2
- Authority
- JP
- Japan
- Prior art keywords
- output
- pulse
- circuit
- holding
- gate
- 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
- 230000002265 prevention Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 7
- 230000000630 rising effect Effects 0.000 description 3
- 238000007493 shaping process Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 244000145845 chattering Species 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
- Electronic Switches (AREA)
Description
【考案の詳細な説明】
本考案は、互に逆相として変化する二つのパル
ス信号に欠落または波形の乱れを生じた場合、こ
れらの部分が送出されるのを阻止するために使用
される回路に関するものである。[Detailed description of the invention] The present invention is a circuit used to prevent two pulse signals that change in phase with each other from being transmitted when there is a dropout or waveform disturbance. It is related to.
第1図は、プロセス計測等に使用される流量計
等の出力回路を示すブロツク図であり、波形整形
回路WFの共通端子Cと両入力端子IN1,IN2との
間へ、各個に常開接点Aおよび常閉接点Bを接続
のうえ、測定流量等に応じて両接点A,Bを同時
に駆動し、互に逆相として変化する二つのパルス
信号を発生してから、波形整形回路WFにより波
形整形および雑音成分除去等を行ない、第1およ
び第2のパルス信号S1,S2として送出するものと
なつている。 FIG. 1 is a block diagram showing an output circuit of a flowmeter, etc. used for process measurement, etc., and is a block diagram showing the output circuit of a flowmeter, etc. used for process measurement , etc .. After connecting open contact A and normally closed contact B, both contacts A and B are driven simultaneously according to the measured flow rate, etc., to generate two pulse signals that change in opposite phase to each other, and then to the waveform shaping circuit WF. Waveform shaping, noise component removal, etc. are performed using the pulse signals S 1 and S 2 .
しかし、両接点A,Bのいずれか一方または双
方の接触不良あるいはチヤツタリング等により、
パルス信号S1,S2のいずれか一方または双方に欠
落を生じ、あるいは、第2図に波形図を示すとお
り、リンギング等の波形乱れを生ずることがあ
り、パルス信号S1,S2によりカウンタ等を駆動す
る場合、欠落や波形乱れの生じたパルス出力を入
力したカウンタが誤つたカウント動作を行う欠点
があつた。このため、従来は波形整形回路WFの
入力段にローパスフイルタ(図示せず)を設けて
チヤツタリングなどに起因するリンギングを除去
する必要があつた。 However, due to poor contact or chattering of either or both contacts A and B,
Either one or both of the pulse signals S 1 and S 2 may be missing, or waveform disturbances such as ringing may occur as shown in the waveform diagram in Figure 2 . etc., there was a drawback that a counter receiving a pulse output with a dropout or waveform disturbance would perform an erroneous counting operation. For this reason, it has conventionally been necessary to provide a low-pass filter (not shown) at the input stage of the waveform shaping circuit WF to remove ringing caused by chatter or the like.
本考案は、従来のかゝる欠点、すなわち、欠落
または波形の乱れの生じたパルス信号を入力した
カウンタなどが誤カウントする欠点を一挙に排除
する目的を有し、第1および第2のパルス信号を
第1のクロツクパルスに応じて各個に保持すると
共に、両保持出力中のいずれか一方を第1のクロ
ツクパルスの周波数の2の整数倍の周波数を有す
る第2のクロツクパルスに応じて保持のうえ、こ
の保持出力と両保持出力中のいずれか一方との不
一致を検出し、かつ両保持出力の不一致を検出し
てから、両不一致検出々力の一致を検出すること
により、正規な状態の両パルス信号とのみ対応す
るパルス出力を得るものとした極めて効果的な、
パルス信号の誤り阻止回路を提供するものであ
る。 The present invention has the purpose of eliminating all of the above drawbacks of the conventional art, that is, the fault of a counter that receives pulse signals with missing or waveform disturbances and the like, resulting in erroneous counts. are held individually in response to the first clock pulse, and one of the two holding outputs is held in response to a second clock pulse having a frequency that is an integral multiple of 2 of the frequency of the first clock pulse. Both pulse signals in a normal state can be detected by detecting a mismatch between the holding output and either one of the holding outputs, detecting a mismatch between both holding outputs, and then detecting a match between the two mismatch detection outputs. Extremely effective, with a pulse output corresponding only to
A pulse signal error prevention circuit is provided.
以下、実施例を示す第3図以降により本考案の
詳細を説明する。 The details of the present invention will be explained below with reference to FIG. 3 and subsequent figures showing embodiments.
第3図はブロツク図、第4図は第3図における
各部の波形を示すタイミングチヤートであり、パ
ルス信号S1,S2は、第1の保持回路としてのラツ
チ回路LATにより、例えば500Hzの周波数を有す
る第1のクロツクパルスCLK1aの立上りに応じ
て各個に保持され、両保持出賄c,dとなつたう
え、第1のゲート回路として用いる排他的論理和
(以下、EXOR)ゲートG1へ与えられ、こゝにお
いて両者の不一致が検出され、両者が不一致のと
きに“H”(高レベル)となる出力eが得られる。 Fig. 3 is a block diagram, and Fig. 4 is a timing chart showing the waveforms of each part in Fig. 3. Pulse signals S 1 and S 2 are generated at a frequency of, for example, 500Hz by a latch circuit LAT as a first holding circuit. In response to the rising edge of the first clock pulse CLK 1 a having A mismatch between the two is detected here, and an output e which becomes "H" (high level) when the two do not match is obtained.
一方、両保持出力c,d中のいずれか一方c
は、第2の保持回路としてのD形フリツプフロツ
プ回路(以下、FFC)FF1および、第2のゲート
回路として用いるEXORゲートG2の一方の入力
にも与えられており、例えば、1KHzの周波数を
有する第2のクロツクパルスCLK2bの立上りに
応じて生ずる出力パルスiの立上りに応じ、
FFC・FF1において保持出力cが保持され、この
保持出力fがEXORゲートG2の他方の入力へ与
えられる。 On the other hand, one of both holding outputs c and d c
is also applied to one input of the D-type flip-flop circuit (hereinafter referred to as FFC) FF 1 as the second holding circuit and the EXOR gate G 2 used as the second gate circuit. In response to the rising edge of the output pulse i, which occurs in response to the rising edge of the second clock pulse CLK 2 b,
The held output c is held in FFC·FF 1 , and this held output f is given to the other input of EXOR gate G 2 .
このため、EXORゲートG2においては、保持
出力cとfとの不一致が検出され、両者が不一致
のときに、“H”となる出力gが得られる。 Therefore, in the EXOR gate G2 , a mismatch between the held outputs c and f is detected, and when the two do not match, an output g that becomes "H" is obtained.
出力e,gは、第3のゲート回路としての
ANDゲートG3へ与えられており、こゝにおいて
両者の一致が検出され、両者が共に“H”のとき
“H”となる出力hが得られ、これが第3の保持
回路としてのFFC・FF2において、クロツクパル
スCLK2bの立上りに応じて保持され、出力パル
スiとなつたうえ、出力OUTへ送出される。 The outputs e and g are the third gate circuit.
This is applied to the AND gate G3 , where a match between the two is detected and an output h which becomes "H" when both are "H" is obtained, and this is sent to the FFC/FF as the third holding circuit. 2 , it is held in response to the rise of the clock pulse CLK 2 b, becomes the output pulse i, and is sent to the output OUT.
なお、以上の動作を反復することにより、
FFC・FF1においては、現在の保持出力cが、
“L”(低レベル)から“H”へ転じても、保持出
力fが“L”となつており、現在の保持出力cが
“H”から“L”へ転じても、保持出力fが“H”
となつているため、FFC・FF1により保持出力c
の直前の状態が保持されるもとなつている。 By repeating the above operations,
In FFC/FF 1 , the current holding output c is
Even when the current holding output c changes from “L” (low level) to “H”, the holding output f remains “L”, and even when the current holding output c changes from “H” to “L”, the holding output f remains “L”. “H”
Therefore, by FFC・FF 1 , the holding output c
The state immediately before is maintained.
このため、EXORゲートG2の出力gは、保持
出力cの現在の状態が直前の状態と不一致のとき
のみ“H”となり、これによつて、パルス信号S
1が“H”と“L”とを反復したことの確認が行
なわれる。 Therefore, the output g of the EXOR gate G2 becomes "H" only when the current state of the holding output c does not match the previous state, and thereby the pulse signal S
1 repeats "H" and "L".
また、EXORゲートG1の出力eは、両保持出
力c,dの不一致により“H”となるため、これ
によつてパルス信号S1とS2とが互に逆相であるこ
との確認が行なわれる。 Furthermore, since the output e of EXOR gate G1 becomes "H" due to the mismatch between both holding outputs c and d, this confirms that the pulse signals S1 and S2 are in opposite phases to each other. It is done.
したがつて、ANDゲートG3の出力hは、パル
ス信号S1の状態が現在と直前とにおいて異な
り、かつ、パルス信号S1とS2とが互に逆相である
ことを前提として“H”となるため、出力hは、
正規な状態のパルス信号S1,S2とのみ対応するも
のとなり、パルス信号S1,S2における欠落および
波形の乱れが出力hに現われない。 Therefore, the output h of the AND gate G3 is "H" on the assumption that the state of the pulse signal S1 is different between the current state and immediately before, and that the pulse signals S1 and S2 are in opposite phases. Therefore, the output h is
It corresponds only to the pulse signals S 1 and S 2 in the normal state, and omissions and waveform disturbances in the pulse signals S 1 and S 2 do not appear in the output h.
たゞし、出力hには、ラツチ回路LAT乃至
ANDゲートG3における信号伝送上の遅延時間差
等によりスパイク状のパルスが現われることがあ
り、出力hをクロツクパルスCLK2bに応じてサ
ンプリングのうえ保持し、スパイク状のパルスを
除去したパルス出力iを得るものとしている。 However, the output h has a latch circuit LAT to
Spiked pulses may appear due to delay time differences in signal transmission in AND gate G3 , so the output h is sampled and held according to clock pulse CLK2b , and the pulse output i from which the spiked pulses have been removed is I am assuming that I will get it.
なお、以上は、正論値により構成した場合であ
るが、負論理により構成しても同様であり、保持
出力dをFFC・FF1において保持保持すると共
に、EXORゲートG2へ与えてもよい等、本考案
は種々の変形が自在である。 Note that the above is a case where the configuration is performed using positive logic values, but the same applies to the configuration using negative logic, and the holding output d may be held and held in FFC/FF 1 and also provided to EXOR gate G 2 , etc. However, the present invention can be modified in various ways.
以上の説明により明らかなとおり本考案によれ
ば、互に逆相として変化する二つのパルス信号に
欠落または波形の乱れを生じた場合、これらを除
去したパルス出力が得られるため、パルス出力を
カウンタ等に与えれば、カウント誤差を生じるこ
とがない。このため、従来と違つて上記互いに逆
相として変化する二つのパルス信号の波形の乱れ
を除去するローパスフイルタが不要となる利点が
ある。また、パルス出力の中断有無を監視すれ
ば、パルス信号の欠落および波形の乱れを検出す
ることができるものとなり、互に逆相として変化
する二つのパルス信号を取扱う装置において多大
な効果が得られる。 As is clear from the above explanation, according to the present invention, when there is a dropout or waveform disturbance in two pulse signals that change in phase with each other, a pulse output with these removed can be obtained. etc., there will be no counting error. Therefore, unlike the conventional method, there is an advantage that there is no need for a low-pass filter for removing disturbances in the waveforms of the two pulse signals that change in phase with each other. Additionally, by monitoring the presence or absence of interruptions in pulse output, it is possible to detect missing pulse signals and disturbances in waveforms, which is highly effective in devices that handle two pulse signals that change in phase with each other. .
第1図は流量計等の出力回路を示すブロツク
図、第2図はリンギングを生じたパルス信号の波
形図、第3図は本考案の実施例を示すブロツク
図、第4図は第3図における各部の波形を示すタ
イミングチヤートである。
LAT……ラツチ回路、FF1,FF2……FFC(D
形フリツプフロツプ回路)、G1,G2……EXOR
(排他的論理和)ゲート、G3……ANDゲート、
S1,S2……パルス信号、CLK1,CLK2……クロ
ツクパルス。
Figure 1 is a block diagram showing the output circuit of a flow meter, etc. Figure 2 is a waveform diagram of a pulse signal that causes ringing, Figure 3 is a block diagram showing an embodiment of the present invention, Figure 4 is Figure 3. 2 is a timing chart showing the waveforms of various parts in FIG. LAT...Latch circuit, FF 1 , FF 2 ...FFC (D
type flip-flop circuit), G 1 , G 2 ……EXOR
(exclusive OR) gate, G 3 ...AND gate,
S 1 , S 2 ... Pulse signal, CLK 1 , CLK 2 ... Clock pulse.
Claims (1)
ス信号を第1のクロツクパルスに応じて各個に保
持する第1の保持回路と、該保持回路の前記第1
および第2のパルス信号と対応する両保持出力の
不一致を検出する第1のゲート回路と、前記両保
持出力中のいずれか一方を出力パルスに応じて保
持する第2の保持回路と、該保持回路の保持出力
と前記両保持出力中のいずれか一方との不一致を
検出する第2のゲート回路と、前記第1および第
2のゲート回路の両出力の一致を検出する第3の
ゲート回路と、該ゲート回路の出力を前記第1の
クロツクパルスの周波数の2の整数倍の周波数を
有する第2のクロツクパルスに応じて保持し前記
出力パルスを送出する第3の保持回路とを有する
ことを特徴とするパルス信号の誤り阻止回路。 a first holding circuit that individually holds first and second pulse signals that change in phase with each other in accordance with a first clock pulse;
and a first gate circuit that detects a mismatch between the two holding outputs corresponding to the second pulse signal, a second holding circuit that holds either one of the holding outputs according to the output pulse, and the holding output. a second gate circuit that detects a mismatch between a held output of the circuit and either one of the held outputs; and a third gate circuit that detects a match between both outputs of the first and second gate circuits. and a third holding circuit that holds the output of the gate circuit in response to a second clock pulse having a frequency that is an integral multiple of 2 of the frequency of the first clock pulse and sends out the output pulse. Error prevention circuit for pulse signals.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20222882U JPS59101531U (en) | 1982-12-24 | 1982-12-24 | Pulse signal error prevention circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20222882U JPS59101531U (en) | 1982-12-24 | 1982-12-24 | Pulse signal error prevention circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59101531U JPS59101531U (en) | 1984-07-09 |
| JPH0221809Y2 true JPH0221809Y2 (en) | 1990-06-12 |
Family
ID=30427705
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20222882U Granted JPS59101531U (en) | 1982-12-24 | 1982-12-24 | Pulse signal error prevention circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59101531U (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2705174B2 (en) * | 1988-12-30 | 1998-01-26 | 日本電気株式会社 | Oscillation circuit |
-
1982
- 1982-12-24 JP JP20222882U patent/JPS59101531U/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59101531U (en) | 1984-07-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0129093B2 (en) | ||
| JPH0378022B2 (en) | ||
| JPH02272907A (en) | Comparator circuit | |
| JPH0221809Y2 (en) | ||
| JP2005039307A (en) | Error detection apparatus and method | |
| JPH01503345A (en) | Method and apparatus for adaptive equalization of pulse signals | |
| CA1296072C (en) | Method and arrangement for generating a correction signal for a digital timing recovery device | |
| JPS642259B2 (en) | ||
| JPH0431211B2 (en) | ||
| JP2988300B2 (en) | Bipolar clock disturbance detection circuit | |
| JPH055708Y2 (en) | ||
| JP2606458Y2 (en) | Signal level monitoring circuit | |
| JP4439635B2 (en) | Asynchronous receiver | |
| JPS5979409A (en) | Restoring system of digital signal | |
| JPS63306723A (en) | Supervisory signal transfer circuit | |
| JPH05276206A (en) | Frequency detecting and demodulating device | |
| JPH09205463A (en) | Noise detection circuit | |
| JPH07250054A (en) | Bit synchronizing circuit/method for serial communication | |
| JPS606143B2 (en) | Input data state change detection circuit | |
| JPH01240038A (en) | System for reproducing peak value comparison type timing | |
| JPH0320942B2 (en) | ||
| JPH01194709A (en) | Phase discrimination circuit | |
| JPS5984319A (en) | System for restoring digital signal | |
| JPH03140039A (en) | Optical receiver with error detection function | |
| JPS60219563A (en) | Phase shift detection device |