JP2001285271A - Signal receiver - Google Patents

Signal receiver

Info

Publication number
JP2001285271A
JP2001285271A JP2000091237A JP2000091237A JP2001285271A JP 2001285271 A JP2001285271 A JP 2001285271A JP 2000091237 A JP2000091237 A JP 2000091237A JP 2000091237 A JP2000091237 A JP 2000091237A JP 2001285271 A JP2001285271 A JP 2001285271A
Authority
JP
Japan
Prior art keywords
pulse
synchronization
detection signal
signal
circuit
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
JP2000091237A
Other languages
Japanese (ja)
Inventor
Junichiro Hayakawa
淳一郎 早川
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 Industrial Devices SUNX Co Ltd
Original Assignee
Sunx 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 Sunx Ltd filed Critical Sunx Ltd
Priority to JP2000091237A priority Critical patent/JP2001285271A/en
Publication of JP2001285271A publication Critical patent/JP2001285271A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a signal receiver that can surely detect a synchronizing signal. SOLUTION: On the occurrence of a noise pulse NP just before a start pulse SP, a 1st discrimination circuit 32 having been in a standby state is active only for a fixed period with an edge detection signal W11 relating to the noise pulse NP. However, since the pulse width of the noise do not reach a prescribed width or over, no synchronous pulse detection signal is outputted. Then a 2nd discrimination circuit 35 reaching a standby state next receives an edge detection signal W12 relating to the start pulse SP and is activated to provide an output of a synchronous pulse signal. Then an OR circuit 37 detects timing when the synchronous pulse detection signal is outputted as a synchronous timing to be synchronized with the timing of an opposite party.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、データ伝送ライン
を介して相手側からシリアルデータを受信したときに、
そのシリアルデータに含まれる同期用のパルスに基づい
て相手側と同期を図る信号受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for receiving serial data from a partner via a data transmission line.
The present invention relates to a signal receiving apparatus that synchronizes with a partner based on a synchronization pulse included in the serial data.

【0002】[0002]

【従来の技術】例えば、シリアルデータに含まれる同期
信号の一例として、シリアルデータの構成単位である1
フレームの先頭には、スタートパルスが配されている。
また、従来の信号受信装置は、例えば、エッジ検出回路
と、スタートパルス判別回路とを備えており、エッジ検
出回路にてパルスの前側のエッジを検出すると、スター
トパルス判別回路が所定期間だけ動作し、その期間中に
受信したパルスの幅が所定値以上であるときに、スター
トパルスを検出したとして検出信号を出力する。そし
て、この検出信号に基づいて、相手側と同期が図られ
る。また、スタートパルス判別手段は、所定期間の判定
動作を終了すると、リセット動作を行うために、休止期
間に入る。
2. Description of the Related Art For example, as an example of a synchronizing signal included in serial data, 1 which is a structural unit of serial data is used.
At the beginning of the frame, a start pulse is provided.
Further, the conventional signal receiving apparatus includes, for example, an edge detection circuit and a start pulse discrimination circuit. When the edge detection circuit detects the leading edge of the pulse, the start pulse discrimination circuit operates for a predetermined period. When the width of the pulse received during that period is equal to or greater than a predetermined value, the detection signal is output as a start pulse is detected. Then, based on this detection signal, synchronization with the other party is achieved. Further, when the start pulse judging means ends the judging operation for the predetermined period, the start pulse judging unit enters a pause period in order to perform a reset operation.

【発明が解決しようとする課題】ところで、上記した従
来の信号受信装置では、スタートパルス判別回路は、一
度エッジを検出すると、その時点から前記所定期間の判
別動作を続けないと、スタートパルスの判別を行うこと
ができない、従って、判別動作中に新たなエッジが検出
されても、そのエッジに基づく判別動作を行うことがで
きない。それ故、図7に示すように、スタートパルスS
Pの直前に、ノイズによるパルスNP(以下、「ノイズ
パルスNP」という)がのってしまうと、ノイズパルス
NPにかかるエッジ検出(図7のP10参照)で、スタ
ートパルス判別回路が、判別動作を開始し、その判別動
作中(図7のT10参照)にスタートパルスSPに係る
エッジ検出(図7のP11参照)が行われることになる
ので、スタートパルスSPに対する判別動作が行われ
ず、結局、スタートパルスSPを検出できないという問
題が生じる。
By the way, in the above-mentioned conventional signal receiving apparatus, once the start pulse discriminating circuit detects an edge, the start pulse discriminating circuit must continue the discriminating operation for the predetermined period from that point in time. Therefore, even if a new edge is detected during the discrimination operation, the discrimination operation based on the edge cannot be performed. Therefore, as shown in FIG.
If a pulse NP due to noise (hereinafter, referred to as “noise pulse NP”) is applied immediately before P, the start pulse determination circuit performs the determination operation by detecting the edge of the noise pulse NP (see P10 in FIG. 7). Is started, and during the determination operation (see T10 in FIG. 7), the edge detection (refer to P11 in FIG. 7) relating to the start pulse SP is performed. Therefore, the determination operation for the start pulse SP is not performed. There is a problem that the start pulse SP cannot be detected.

【0003】本発明は、上記事情に鑑みてなされたもの
で、同期信号を確実に検出することが可能な信号受信装
置の提供を目的とする。
[0003] The present invention has been made in view of the above circumstances, and has as its object to provide a signal receiving apparatus capable of reliably detecting a synchronization signal.

【0004】[0004]

【課題を解決するための手段及び作用・効果】上記目的
を達成するために、請求項1の発明に係る信号受信装置
は、データ伝送ラインを介して相手側からシリアルデー
タを受信したときに、そのシリアルデータに含まれる同
期用のパルスに基づいて相手側と同期を図る信号受信装
置において、データ伝送ラインの電圧と、予め設定した
基準電圧との大小関係の反転に基づいて、相手側から伝
送されたパルスのエッジを検出してエッジ検出信号を出
力するエッジ検出手段と、エッジ検出手段に連なる複数
の判別手段とを備え、複数の判別手段は、異なるタイミ
ングでエッジ検出信号を待ち受ける待受状態とされ、待
受状態でエッジ検出信号を受けた判別手段が、同期用の
パルスの幅に対応した一定期間だけ動作し、同期用のパ
ルスを検出したか否かを判別して、同期用のパルスを検
出したときに同期パルス検出信号を出力する構成とされ
ており、さらに、複数の判別手段のいずれかが同期パル
ス検出信号を出力したタイミングを、相手側との同期タ
イミングとして検出する同期検出手段を設けたところに
特徴を有する。
In order to achieve the above object, a signal receiving apparatus according to the first aspect of the present invention, when receiving serial data from a partner via a data transmission line, In the signal receiving device for synchronizing with the other party based on the synchronization pulse included in the serial data, the signal is transmitted from the other party based on the reversal of the magnitude relationship between the voltage of the data transmission line and a preset reference voltage. Edge detecting means for detecting an edge of the detected pulse and outputting an edge detection signal; and a plurality of determining means connected to the edge detecting means, wherein the plurality of determining means wait for the edge detection signal at different timings. The determination means that has received the edge detection signal in the standby state operates only for a certain period corresponding to the width of the synchronization pulse and detects the synchronization pulse. The synchronization pulse detection signal is output when a synchronization pulse is detected, and the timing at which one of the plurality of determination means outputs the synchronization pulse detection signal is determined by the other party. It is characterized in that a synchronization detecting means for detecting as a synchronization timing with the control signal is provided.

【0005】この構成によれば、データ伝送ライン上に
パルスが伝送されて、エッジ検出手段からエッジ検出信
号が出力されると、このとき待受状態となっていた1つ
の判別手段が、一定期間だけ動作し、次の1つの判別手
段が待受状態とされる。ここで受信したパルスが同期用
のパルスである場合には、最初に動作した判別手段が、
同期用のパルスを検出して同期パルス検出信号を出力
し、これを受けて、同期検出手段が同期タイミングを検
出する。そして、この同期タイミングで相手側との同期
が図られる。
According to this configuration, when a pulse is transmitted on the data transmission line and the edge detection signal is output from the edge detection means, one of the determination means in the standby state at this time is used for a predetermined period. And the next one of the determination means is set in the standby state. If the pulse received here is a pulse for synchronization, the discriminating means that operates first,
A synchronization pulse is detected by detecting a synchronization pulse, and in response to this, the synchronization detection means detects a synchronization timing. Then, synchronization with the other party is achieved at this synchronization timing.

【0006】さて、同期用のパルスの直前にノイズによ
るパルスが生じた場合、待受状態となっていた判別手段
が、ノイズによるパルスに係るエッジ検出信号により、
一定期間だけ動作する。ところが、ノイズのパルス幅は
所定値以上とならないから、同期パルス検出信号は出力
されない。しかし、次以降に待受状態になった判別手段
が、同期用のパルスに係るエッジ検出信号を受けて動作
し、同期用のパルスを検出して同期パルス検出信号を出
力する。そして、同期パルス検出信号が出力されたタイ
ミングを、同期検出手段が同期タイミングとして検出し
て、相手側との同期が図られる。従って、同期用のパル
スの直前にノイズによるパルスが生じても、従来のよう
に、同期用のパルスを認識し損ねることがない。
[0006] When a pulse due to noise occurs immediately before the pulse for synchronization, the discriminating means in the standby state uses the edge detection signal relating to the pulse due to noise to generate a signal.
Operate only for a certain period. However, since the pulse width of the noise does not exceed a predetermined value, no synchronization pulse detection signal is output. However, the discriminating unit that has entered the standby state after the next operates in response to the edge detection signal related to the synchronization pulse, detects the synchronization pulse, and outputs the synchronization pulse detection signal. Then, the timing at which the synchronization pulse detection signal is output is detected by the synchronization detection means as the synchronization timing, and synchronization with the other party is achieved. Therefore, even if a pulse due to noise occurs immediately before the synchronization pulse, the recognition of the synchronization pulse does not fail as in the related art.

【0007】また、上記判別手段は、一定期間のうち、
パルスの波高値が、所定値を越えた時間が、一定期間の
半分より長かった場合に、同期用パルス検出信号を出力
する構成としてもよい(請求項2の発明)。
[0007] Further, the discriminating means is provided for a predetermined period of time.
A configuration may be adopted in which a synchronizing pulse detection signal is output when the time when the pulse peak value exceeds a predetermined value is longer than half of a certain period (invention of claim 2).

【0008】さらに、エッジ検出手段と複数の判別手段
との間には、ゲート手段が設けられ、そのゲート手段
は、常には、エッジ検出信号が判別手段に与えられるよ
うに開いており、同期検出手段が同期タイミングを検出
したときには、予め定められた同期用のパルス同士の間
隔に対応した休止期間だけ閉じる構成とすれば(請求項
3の発明)、判別手段が同期パルスを検出した後で、ノ
イズ等によるパルスのエッジに基づいて、判別手段が逐
一動作するような事態を防ぐことができる。
Further, a gate means is provided between the edge detecting means and the plurality of discriminating means, and the gate means is always open so that an edge detection signal is supplied to the discriminating means. When the means detects the synchronization timing, if it is configured to close for a pause period corresponding to a predetermined interval between synchronization pulses (the invention of claim 3), after the determination means detects the synchronization pulse, It is possible to prevent a situation in which the determination unit operates one by one based on the edge of a pulse due to noise or the like.

【0009】[0009]

【発明の実施の形態】以下、本発明の一実施形態を図1
〜図6に基づいて説明する。図1には、センサSやアク
チュエータR等を1つのコントローラCに接続して制御
するシステムにおいて、オンラインでデータ伝送するネ
ットワークが示されている。このネットワークは、例え
ば、コントローラCに配されたマスターユニット11
と、各センサS、アクチュエータR等の端末毎に配され
た複数のターミナルユニット12とを、1つのデータ伝
送ライン10に共通接続したバス方式をなす。そして、
これらターミナルユニット12に本発明が適用されてい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIG.
This will be described with reference to FIG. FIG. 1 shows a network for transmitting data online in a system in which a sensor S, an actuator R and the like are connected to one controller C for control. This network includes, for example, the master unit 11 arranged in the controller C.
And a plurality of terminal units 12 arranged for each terminal such as each sensor S, actuator R, and the like, in a bus system in which one data transmission line 10 is commonly connected. And
The present invention is applied to these terminal units 12.

【0010】図2には、データ伝送ライン10を介して
各ユニット間で送受信されるシリアルデータが示されて
いる。このシリアルデータの送受信単位である1フレー
ムは、一定の長さをなし、その1フレームの先頭には、
スタートパルスSPが設けられている。このスタートパ
ルスSPは、本発明の同期用のパルスに相当し、スター
トパルスSP同士の間隔は、必然的に少なくとも1フレ
ームを伝送するのに要する時間以上となり、この時間が
本発明及び後述の休止期間(T2)に相当する。また、
スタートパルスSPは、データ伝送ライン10を12
[V]と24[V]との間で反転して生成され、シリア
ルデータのうちスタートパルスSP以降には、一定周期
で12[V]と24[V]との間で反転するクロックパ
ルスCPと、所定のタイミングで12[V]と0[V]
との間で反転するデータパルスDPとが連ねられてい
る。なお、スタートパルスSPは、クロックパルスC
P、データパルスDPよりパルス幅が広い。
FIG. 2 shows serial data transmitted and received between the units via the data transmission line 10. One frame, which is a transmission / reception unit of the serial data, has a fixed length, and at the beginning of the one frame,
A start pulse SP is provided. The start pulse SP corresponds to the synchronization pulse of the present invention, and the interval between the start pulses SP is inevitably equal to or longer than the time required to transmit at least one frame. This corresponds to the period (T2). Also,
The start pulse SP sets the data transmission line 10 to 12
A clock pulse CP which is generated by inverting between [V] and 24 [V] and which is inverted between 12 [V] and 24 [V] at a constant period after the start pulse SP in the serial data. And 12 [V] and 0 [V] at predetermined timing
And a data pulse DP that is inverted between the two. Note that the start pulse SP is the clock pulse C
P, the pulse width is wider than the data pulse DP.

【0011】さて、図3には、上記ターミナルユニット
12に設けられたパルス受信部が示されている。同図に
おいて30は、エッジ検出回路であって、データ伝送ラ
イン10の電圧と予め設定した基準電圧(例えば、12
Vより若干小さい値)とを比較し、データ伝送ライン1
0の電圧が、前記基準電圧より小さい状態から、大きい
状態に切り替わったことをもって、前記相手側から伝送
されたパルスのエッジを検出する。
FIG. 3 shows a pulse receiving section provided in the terminal unit 12. In the figure, reference numeral 30 denotes an edge detection circuit, which is connected to a voltage of the data transmission line 10 and a preset reference voltage (for example, 12
V is slightly smaller than V), and the data transmission line 1
When the voltage of 0 is switched from a state smaller than the reference voltage to a state larger than the reference voltage, the edge of the pulse transmitted from the other party is detected.

【0012】31は、ゲート回路であって、常にはオン
信号を出力しており、後述のOR回路37の出力がオン
したことを受けて、スタートパルスSP同士の間隔に対
応した休止期間T2(図4参照)だけ出力信号をオフす
る。
Reference numeral 31 denotes a gate circuit, which constantly outputs an ON signal, and receives a turn-on of an output of an OR circuit 37 to be described later, and receives a pause period T2 (corresponding to an interval between start pulses SP). Only the output signal is turned off (see FIG. 4).

【0013】32は、第1判別回路であって、エッジ検
出回路30及びゲート回路31の出力を第1AND回路
33を通して受けており、ゲート回路31の出力がオン
していることを条件として、エッジ検出回路30がエッ
ジ検出信号W1(図4参照)を出力すると、これをトリ
ガにして第1判別回路32が一定期間T1(図4参照)
だけ動作する。そして、第1判別回路32は、前記一定
期間T1のうち、受信したパルスの波高値が所定値を越
えた時間が、一定期間T1の半分以上となったときに、
同期パルス検出信号W2(図4参照)を後述のOR回路
37への出力する。
Reference numeral 32 denotes a first discriminating circuit, which receives the outputs of the edge detecting circuit 30 and the gate circuit 31 through the first AND circuit 33, and provides the edge signal on condition that the output of the gate circuit 31 is on. When the detection circuit 30 outputs the edge detection signal W1 (see FIG. 4), the first discrimination circuit 32 uses this as a trigger to cause the first discrimination circuit 32 to perform a predetermined period T1 (see FIG. 4).
Only works. Then, the first discriminating circuit 32, when the time during which the peak value of the received pulse exceeds the predetermined value in the certain period T1 is equal to or more than half of the certain period T1,
The synchronization pulse detection signal W2 (see FIG. 4) is output to an OR circuit 37 described later.

【0014】34は、ディレイ回路であって、常には、
出力信号がオフしており、第1判別回路32の始動タイ
ミングから所定の遅延時間T3(図4参照)後に、一定
の期間T4だけ出力をオンする。なお、本実施形態で
は、前記期間T4は、前記第1判別回路32に係る一定
期間T1と同時に終了するように設定されている。
Reference numeral 34 denotes a delay circuit, which is always
The output signal is off, and the output is turned on for a predetermined period T4 after a predetermined delay time T3 (see FIG. 4) from the start timing of the first determination circuit 32. In the present embodiment, the period T4 is set to end at the same time as the certain period T1 of the first determination circuit 32.

【0015】35は、第2判別回路であって、エッジ検
出回路30及びディレイ回路34の出力を第2AND回
路36を通して受けており、ディレイ回路34の出力が
オンしていることを条件として、エッジ検出回路30が
エッジ検出信号W1(図4参照)を出力すると、これを
トリガにして第2判別回路35が一定期間だけ動作す
る。そして、第2判別回路35は、前記第1判別回路3
2と同様に、パルスの波高値が所定値を越えた時間が、
一定期間T1の半分以上となったときに、同期パルス検
出信号W4(図4参照)を後述のOR回路37への出力
する。
Numeral 35 denotes a second discriminating circuit which receives the outputs of the edge detecting circuit 30 and the delay circuit 34 through the second AND circuit 36, and provides an edge signal on condition that the output of the delay circuit 34 is on. When the detection circuit 30 outputs the edge detection signal W1 (see FIG. 4), the second discrimination circuit 35 operates only for a certain period by using this as a trigger. Then, the second determination circuit 35 is provided with the first determination circuit 3.
Similarly to 2, the time when the peak value of the pulse exceeds the predetermined value,
When the period becomes equal to or more than half of the certain period T1, the synchronization pulse detection signal W4 (see FIG. 4) is output to the OR circuit 37 described later.

【0016】37は、同期タイミング検出手段としての
OR回路であって、第1判別回路32の出力と第2判別
回路35の出力との論理和を求めて出力する。
Reference numeral 37 denotes an OR circuit serving as a synchronization timing detecting means, which calculates and outputs the logical sum of the output of the first discriminating circuit 32 and the output of the second discriminating circuit 35.

【0017】次に、上記構成からなる本実施形態の動作
を説明する。データ伝送ライン10にパルスが生成され
る前は、各ターミナルユニット12では、ゲート回路3
1から第1AND回路33への出力がオンし、ディレイ
回路34から第2AND回路36への出力がオフしてい
るから、両判別回路32,35のうち一方の第1判別回
路32のみがエッジ検出信号W1を取り込み可能な待受
状態となっている。また、このとき、両判別回路32,
35の出力は共にオフしているから、これらの出力を受
けたOR回路37の出力も、やはりオフしている。
Next, the operation of this embodiment having the above configuration will be described. Before a pulse is generated on the data transmission line 10, the gate circuit 3
Since the output from 1 to the first AND circuit 33 is on and the output from the delay circuit 34 to the second AND circuit 36 is off, only one of the first discriminating circuits 32 of the two discriminating circuits 32 and 35 detects an edge. It is in a standby state in which the signal W1 can be taken. At this time, both discriminating circuits 32,
Since both outputs of the circuit 35 are off, the output of the OR circuit 37 receiving these outputs is also off.

【0018】次いで、データ伝送ライン10にパルスが
生成されると、そのパルスに基づきエッジ検出回路30
がエッジ検出信号W1を出力する。ここで、パルスは、
図5に示すような理想的な矩形波とならずに、ノイズの
影響を受けて図6に示すように歪んだ矩形波となってタ
ーミナルユニット12に取り込まれ、そのパルスの立ち
上がり部分と、基準電圧VRFとのクロスポイントP1
(図6参照)のタイミングで、エッジ検出信号W1が出
力される。
Next, when a pulse is generated on the data transmission line 10, the edge detection circuit 30 is generated based on the pulse.
Output the edge detection signal W1. Where the pulse is
Instead of an ideal rectangular wave as shown in FIG. 5, a rectangular wave distorted as shown in FIG. 6 due to the influence of noise is taken into the terminal unit 12, and the rising portion of the pulse and the reference Cross point P1 with voltage VRF
At the timing shown in FIG. 6, the edge detection signal W1 is output.

【0019】すると、第1AND回路33を介して、待
受状態となっている第1判別回路32のみにエッジ検出
信号W1が取り込まれ、図6に示すように、エッジ検出
信号W1の出力タイミングを始端とした一定期間T1だ
け、第1判別回路32が動作する。ここで、第1判別回
路32は、一定期間T1の間に取り込んだパルスの波高
値が基準値VRFを越えた総時間(S1+S2+S3)を
求め、この総時間が一定期間T1の半分以上となったと
きに、スタートパルスSPを受信したと判断する。そし
て、一定期間T1の終端のタイミングで同期パルス検出
信号W2(図4参照)を出力する。なお、本実施形態で
は、第1判別回路32において、パルスの波高値と比較
する基準電圧VRFと、エッジ検出回路30がエッジを検
出するための基準電圧VRFとは、同じであるが、両者は
異なっていてもよい。
Then, the edge detection signal W1 is fetched only through the first AND circuit 33 to the first determination circuit 32 in the standby state, and the output timing of the edge detection signal W1 is changed as shown in FIG. The first discriminating circuit 32 operates only for a certain period T1 at the start. Here, the first determination circuit 32 obtains the total time (S1 + S2 + S3) in which the peak value of the pulse captured during the certain period T1 exceeds the reference value VRF, and this total time is more than half of the certain period T1. At this time, it is determined that the start pulse SP has been received. Then, a synchronization pulse detection signal W2 (see FIG. 4) is output at the end timing of the certain period T1. In the present embodiment, in the first determination circuit 32, the reference voltage VRF to be compared with the peak value of the pulse and the reference voltage VRF for the edge detection circuit 30 to detect an edge are the same, but both are the same. It may be different.

【0020】第1判別回路32の出力がオンすると、こ
れを受けたOR回路37の出力がオンし(図4のW31
参照)、このOR回路37の出力に基づいて、ターミナ
ルユニット12がマスターユニット11との間の同期を
図る。また、ゲート回路31は、OR回路37の出力が
オンしたことを受け、プロトコル上、次のスタートパル
スSPが送られてくるまでの休止期間T2(図4参照)
だけ、出力をオフする。これにより、第1AND回路3
3が閉じられて、第1判別回路32ひいては第2判別回
路35にエッジ検出信号W1が与えられなくなり、スタ
ートパルスSPを検出した後で、クロックパルス及びデ
ータパルスやノイズ等によるパルスのエッジに基づい
て、判別回路32,35が逐一動作するような事態を防
ぐことができる。
When the output of the first determination circuit 32 is turned on, the output of the OR circuit 37 receiving the output is turned on (W31 in FIG. 4).
), And the terminal unit 12 synchronizes with the master unit 11 based on the output of the OR circuit 37. In response to the output of the OR circuit 37 being turned on, the gate circuit 31 pauses T2 until the next start pulse SP is sent according to the protocol (see FIG. 4).
Just turn off the output. Thereby, the first AND circuit 3
3 is closed, the edge detection signal W1 is not supplied to the first discriminating circuit 32, and further to the second discriminating circuit 35, and after detecting the start pulse SP, it is determined based on the clock pulse and the edge of the pulse due to the data pulse or noise. Thus, it is possible to prevent a situation in which the determination circuits 32 and 35 operate one by one.

【0021】さて、図4の左側に示すように、スタート
パルスSPの直前に、ノイズパルスNPが発生した場合
は以下のようである。まず、ノイズパルスNPに係るエ
ッジ検出信号W11(図4参照)が出力されると、この
とき待受状態であった第1判別回路32が一定期間T1
だけ動作する。ところが、その一定期間T1中に受信し
たノイズパルスNPのうち基準電圧VRFを越えた時間
は、一定期間T1の半分以上とならず、第1判別回路3
2から同期パルス検出信号は出力されない。
Now, as shown on the left side of FIG. 4, the case where the noise pulse NP occurs immediately before the start pulse SP is as follows. First, when the edge detection signal W11 (see FIG. 4) relating to the noise pulse NP is output, the first discriminating circuit 32, which was in the standby state at this time, operates for a certain period T1.
Only works. However, the time during which the noise pulse NP received during the certain period T1 exceeds the reference voltage VRF does not become more than half of the certain period T1 and the first determination circuit 3
2 does not output a synchronization pulse detection signal.

【0022】ここで、ディレイ回路34は、第1判別回
路32が始動してから遅延時間T3後に、出力信号をオ
ンする。これにより、第2判別回路35が待受状態とな
る。そして、ノイズパルスNPに次いでスタートパルス
SPに係るエッジ検出信号W12(図4参照)が出力さ
れると、これが待受状態となった第2判別回路35に取
り込まれて、同回路35が一定期間T1だけ動作する。
そして、スタートパルスSPの波高値が基準電圧VRFを
越える時間は、一定期間T1の半分以上となり、一定期
間T1の終端のタイミングで、同期パルス検出信号W4
が出力される。すると、OR回路37がこの検出信号W
4を受けて出力をオンし、このOR回路37の出力に基
づいて、ターミナルユニット12がマスターユニット1
1との間の同期を図る。
Here, the delay circuit 34 turns on the output signal after a delay time T3 from the start of the first determination circuit 32. Thus, the second determination circuit 35 enters a standby state. Then, when the edge detection signal W12 (see FIG. 4) relating to the start pulse SP is output next to the noise pulse NP, the edge detection signal W12 is taken into the second determination circuit 35 in the standby state, and the circuit 35 is operated for a certain period. It operates only for T1.
The time during which the peak value of the start pulse SP exceeds the reference voltage VRF is more than half of the fixed period T1, and at the end of the fixed period T1, the synchronization pulse detection signal W4
Is output. Then, the OR circuit 37 outputs the detection signal W
4 and turns on the output. Based on the output of the OR circuit 37, the terminal unit 12
1 is synchronized with

【0023】このように本実施形態によれば、スタート
パルスSPの直前に、ノイズパルスNPが発生した場合
であっても、そのノイズパルスNPの影響を受けずに、
同期用のスタートパルスSPを確実に検出することがで
きる。
As described above, according to the present embodiment, even if the noise pulse NP occurs immediately before the start pulse SP, the noise pulse NP is not affected by the noise pulse NP.
The start pulse SP for synchronization can be reliably detected.

【0024】<他の実施形態>本発明は、前記実施形態
に限定されるものではなく、例えば、以下に説明するよ
うな実施形態も本発明の技術的範囲に含まれ、さらに、
下記以外にも要旨を逸脱しない範囲内で種々変更して実
施することができる。 (1)前記第1実施形態では、バス方式のネットワーク
に、本発明にかかるデータ伝送装置を接続した例を示し
たが、スター方式、ツリー方式、ループ方式のネットワ
ークに本発明にかかるデータ伝送装置を接続してもよ
い。
<Other Embodiments> The present invention is not limited to the above embodiments. For example, the following embodiments are also included in the technical scope of the present invention.
In addition to the following, various changes can be made without departing from the scope of the invention. (1) In the first embodiment, an example in which the data transmission device according to the present invention is connected to a bus network is described. However, the data transmission device according to the present invention is connected to a star, tree, or loop network. May be connected.

【0025】(2)前記実施形態では、2つの判別回路
32,35を備えた構成が示されていたが、判別回路を
3つ以上備えた構成として、これらが順次に始動するよ
うにしてもよい。そのようにすれば、スタートパルスの
前に複数のノイズパルスが発生したものでも、確実にス
タートパルスを検出することができる。
(2) In the above-described embodiment, the configuration provided with the two discriminating circuits 32 and 35 is shown. However, a configuration provided with three or more discriminating circuits may be used so that they are sequentially activated. Good. By doing so, even if a plurality of noise pulses are generated before the start pulse, the start pulse can be reliably detected.

【0026】(3)また、複数の判別回路を異なるタイ
ミングで待ち受け状態にする構成であれば、必ずしも、
複数の判別回路が順次に始動するものでなくてもよく、
例えば、2つの判別回路が交互に待ち受け状態となる構
成も本願発明の技術的範囲に含まれる。
(3) If the plurality of discriminating circuits are set to the standby state at different timings, it is not necessarily required that
A plurality of discriminating circuits need not be sequentially activated,
For example, a configuration in which two determination circuits alternately enter a standby state is also included in the technical scope of the present invention.

【0027】(4)前記実施形態では、同期用のパルス
として、スタートパルスSPの同期タイミングを図る構
成を例示したが、例えば、クロックパルスCPの同期タ
イミングを図るために、本発明を適用してもよい。
(4) In the above-described embodiment, the configuration in which the synchronization timing of the start pulse SP is used as the synchronization pulse is exemplified. However, for example, in order to achieve the synchronization timing of the clock pulse CP, the present invention is applied. Is also good.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施形態に係るネットワークの配
線図
FIG. 1 is a wiring diagram of a network according to an embodiment of the present invention.

【図2】 送受信されるシリアルデータの概念図FIG. 2 is a conceptual diagram of serial data transmitted and received.

【図3】 信号受信装置の構成を示すブロック図FIG. 3 is a block diagram illustrating a configuration of a signal receiving device.

【図4】 受信したパルス、エッジ検出信号等を示すタ
イムチャート
FIG. 4 is a time chart showing received pulses, edge detection signals, and the like.

【図5】 理想のパルスを示した概念図FIG. 5 is a conceptual diagram showing an ideal pulse.

【図6】 実際のパルスを示した概念図FIG. 6 is a conceptual diagram showing an actual pulse.

【図7】 従来の処理を説明を示した概念図FIG. 7 is a conceptual diagram illustrating a conventional process.

【符号の説明】[Explanation of symbols]

10…データ伝送ライン 12…ターミナルユニット(信号受信装置) 30…エッジ検出回路(エッジ検出手段) 31…ゲート回路(ゲート手段) 32…第1判別回路(判別手段) 33…第1AND回路(ゲート手段) 34…ディレイ回路 35…第2判別回路(判別手段) 36…第2AND回路(ゲート手段) 37…OR回路(同期タイミング検出手段) SP…スタートパルス(同期用のパルス) T1…一定期間 T2…休止期間 VRF…基準電圧 W1…エッジ検出信号 W2,W4…同期パルス検出信号 DESCRIPTION OF SYMBOLS 10 ... Data transmission line 12 ... Terminal unit (signal receiving apparatus) 30 ... Edge detection circuit (edge detection means) 31 ... Gate circuit (gate means) 32 ... 1st discrimination circuit (discrimination means) 33 ... 1st AND circuit (gate means) 34 ... Delay circuit 35 ... Second discriminating circuit (discriminating means) 36 ... Second AND circuit (gate means) 37 ... OR circuit (synchronous timing detecting means) SP ... Start pulse (pulse for synchronization) T1 ... Constant period T2 ... Rest period VRF: Reference voltage W1: Edge detection signal W2, W4: Synchronous pulse detection signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 データ伝送ラインを介して相手側からシ
リアルデータを受信したときに、そのシリアルデータに
含まれる同期用のパルスに基づいて前記相手側と同期を
図る信号受信装置において、 前記データ伝送ラインの電圧と、予め設定した基準電圧
との大小関係の反転に基づいて、前記相手側から伝送さ
れたパルスのエッジを検出してエッジ検出信号を出力す
るエッジ検出手段と、 前記エッジ検出手段に連なる複数の判別手段とを備え、 前記複数の判別手段は、異なるタイミングで前記エッジ
検出信号を待ち受ける待受状態とされ、前記待受状態で
前記エッジ検出信号を受けた判別手段が、前記同期用の
パルスの幅に対応した一定期間だけ動作し、前記同期用
のパルスを検出したか否かを判別して、前記同期用のパ
ルスを検出したときに同期パルス検出信号を出力する構
成とされており、 さらに、前記複数の判別手段のいずれかが前記同期パル
ス検出信号を出力したタイミングを、前記相手側との同
期タイミングとして検出する同期検出手段を設けたこと
を特徴とする信号受信装置。
1. A signal receiving apparatus which, upon receiving serial data from a partner via a data transmission line, synchronizes with the partner based on a synchronization pulse included in the serial data. A line voltage, based on inversion of a magnitude relationship between a preset reference voltage, edge detection means for detecting an edge of a pulse transmitted from the other party and outputting an edge detection signal, and the edge detection means A plurality of judging means connected to each other, wherein the plurality of judging means are in a standby state for waiting for the edge detection signal at different timings, and the judging means having received the edge detection signal in the standby state is used for the synchronization. It operates only for a certain period corresponding to the width of the pulse, determines whether or not the synchronization pulse is detected, and detects the synchronization pulse. A synchronization pulse detection signal; and a synchronization detection unit configured to detect a timing at which one of the plurality of determination units outputs the synchronization pulse detection signal as a synchronization timing with the other party. A signal receiving apparatus characterized in that:
【請求項2】 前記判別手段は、前記一定期間のうち、
前記パルスの波高値が、所定値を越えた時間が、前記一
定期間の半分より長かった場合に、前記同期用パルス検
出信号を出力することを特徴とする請求項1記載の信号
受信装置。
2. The method according to claim 1, wherein the determining unit includes:
2. The signal receiving device according to claim 1, wherein the synchronizing pulse detection signal is output when the time when the peak value of the pulse exceeds a predetermined value is longer than half of the predetermined period.
【請求項3】 前記エッジ検出手段と前記複数の判別手
段との間には、ゲート手段が設けられ、そのゲート手段
は、常には、前記エッジ検出信号が前記判別手段に与え
られるように開いており、前記同期検出手段が同期タイ
ミングを検出したときには、予め定められた前記同期用
のパルス同士の間隔に対応した休止期間だけ閉じること
を特徴とする請求項1又は請求項2記載の信号受信装
置。
3. A gate means is provided between the edge detecting means and the plurality of discriminating means, and the gate means is always opened so that the edge detecting signal is supplied to the discriminating means. 3. The signal receiving apparatus according to claim 1, wherein when the synchronization detecting means detects a synchronization timing, the signal is closed only during a pause period corresponding to a predetermined interval between the synchronization pulses. .
JP2000091237A 2000-03-29 2000-03-29 Signal receiver Pending JP2001285271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000091237A JP2001285271A (en) 2000-03-29 2000-03-29 Signal receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000091237A JP2001285271A (en) 2000-03-29 2000-03-29 Signal receiver

Publications (1)

Publication Number Publication Date
JP2001285271A true JP2001285271A (en) 2001-10-12

Family

ID=18606719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000091237A Pending JP2001285271A (en) 2000-03-29 2000-03-29 Signal receiver

Country Status (1)

Country Link
JP (1) JP2001285271A (en)

Similar Documents

Publication Publication Date Title
KR940007655A (en) Serial bus system with single wire
JP2704144B2 (en) Serial data transmission device and control method therefor
JP2002351813A5 (en)
JP2001285271A (en) Signal receiver
JPS61161842A (en) Signal transmitting system
US5751770A (en) Data transmission system
JPH08279803A (en) Burst signal detection circuit
JP2001285272A (en) Signal receiver
JPH0740702B2 (en) Remote test circuit
JPH08251313A (en) Voice/data transmitter
JPH062361Y2 (en) Balanced transmission device
JPH0420027A (en) Synchronizing matching circuit
JP2981708B2 (en) Ultrasonic sensor device
JP2001274777A (en) Digital signal transmission method, device and system
JP2001274848A (en) Pulse signal receiver
JPS6248831A (en) Communication control equipment
JPH02109436A (en) Synchronizing pull-in circuit
JP2558119B2 (en) Transceiver circuit
JPS6238637A (en) Control system for transmission in multi-drop
JPH11289331A (en) Lan interface device
JPH0746229A (en) Synchronization changeover device
JP3652967B2 (en) Preamble signal detection control circuit and method for determining preamble signal
JP3040277B2 (en) Signal receiving circuit of digital baseband transmission equipment
JPH03192837A (en) Synchronous circuit
JPH08204652A (en) Optical data communication method and communication system using the method