JPH0746210A - Multiplex transmission system - Google Patents

Multiplex transmission system

Info

Publication number
JPH0746210A
JPH0746210A JP20457193A JP20457193A JPH0746210A JP H0746210 A JPH0746210 A JP H0746210A JP 20457193 A JP20457193 A JP 20457193A JP 20457193 A JP20457193 A JP 20457193A JP H0746210 A JPH0746210 A JP H0746210A
Authority
JP
Japan
Prior art keywords
transmission
signal
data
line
output
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
JP20457193A
Other languages
Japanese (ja)
Inventor
Yasunobu Adachi
康信 足立
Koji Yoshida
功二 吉田
Yasuhito Takeda
泰仁 武田
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.)
Idec Izumi Corp
Original Assignee
Idec Izumi Corp
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 Idec Izumi Corp filed Critical Idec Izumi Corp
Priority to JP20457193A priority Critical patent/JPH0746210A/en
Publication of JPH0746210A publication Critical patent/JPH0746210A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the multiplex transmission system in which the transmission reliability is high, the transmission speed is fast, number of transmission lines is less and a short-circuit of the transmission line is simply detected. CONSTITUTION:A transmitter 12 sends a transmission signal TS in the voltage mode in which '0', '1' of transmission data are expressed by a narrower and a wider pulse width complementary data are respectively added just after transmission data, and a start synchronizing signal is added to its head. A data discrimination section 60 of a receiver 14 uses an up-down counter to discriminate whether the data are '0' or '1', a complementarity check section 62 checks the complementarity between transmission data and their complementary data and uses a switch circuit 66 to return a reply signal RS in the current mode for a start synchronization period in a succeeding communication cycle when the complementarity is all normal. A reply discrimination section 32 in the transmitter 12 monitors a voltage V1 across a resistor 36 to detect the return of the reply signal RS and then a short-circuit of a transmission line 16.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、例えば工場、プラン
ト等における省配線化等のために用いられる多重伝送シ
ステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex transmission system used for wiring reduction in factories, plants and the like.

【0002】[0002]

【従来の技術】従来の多重伝送システムの概略例を図8
に示す。この多重伝送システムは、送信装置2に並列に
入力される複数のデータを直列に変換して1本の伝送路
6を経由して受信装置4へ伝送し、受信装置4では受信
した直列のデータを並列に変換して出力するものであ
る。伝送路6は、信号伝送用の信号線7とグラウンド用
のグラウンド線8とで構成されている。
2. Description of the Related Art A schematic example of a conventional multiplex transmission system is shown in FIG.
Shown in. In this multiplex transmission system, a plurality of data input in parallel to the transmitting device 2 are converted into serial data and transmitted to the receiving device 4 via one transmission line 6, and the receiving device 4 receives the received serial data. Is converted in parallel and output. The transmission line 6 includes a signal line 7 for signal transmission and a ground line 8 for ground.

【0003】この種の従来の多重伝送システムにおいて
は、“0”または“1”のデータを伝送する伝送方式に
は、パルス波形をそのままの形で伝送するベースバンド
方式が採用されている。
In a conventional multiplex transmission system of this type, a baseband system for transmitting a pulse waveform as it is is used as a transmission system for transmitting "0" or "1" data.

【0004】また、データの表現方式としては、従来は
例えば図9に示すように、パルスの有無によって“1”
または“0”のデータを表現する方式が採用されてい
る。
As a data representation method, conventionally, as shown in FIG. 9, for example, "1" is set depending on the presence or absence of a pulse.
Alternatively, a method of expressing "0" data is adopted.

【0005】また、1本の伝送路6を用いて複数のデー
タを伝送する多重化方式には、主なものとして周波数分
割方式および時分割方式があるが、低コスト等の理由か
ら、この種の省配線化用等のシステムでは通常は時分割
方式が採用されている。
In addition, a multiplexing method for transmitting a plurality of data using one transmission line 6 mainly includes a frequency division method and a time division method, but this type is used because of low cost. The time-division system is usually adopted in the system for wire saving.

【0006】また、ノイズ等の外乱の影響による伝送誤
りを検出する誤り検出方式には、サムチェック方式が採
用されている。この方式は、例えば図10に示すよう
に、一連のデータの後に、その一連のデータの和Aを表
すサムチェックデータを付加し、このようなデータを送
信側から送信し、そして受信側では、受信した一連のデ
ータの和とサムチェックデータ(この例ではA)とを比
較し、両者が一致していれば正常、両者が相違していれ
ば誤りと判定する方式である。
A sum check method is adopted as an error detection method for detecting a transmission error due to the influence of disturbance such as noise. In this method, for example, as shown in FIG. 10, after a series of data, sum check data representing the sum A of the series of data is added, such data is transmitted from the transmitting side, and the receiving side This is a method in which the sum of a series of received data is compared with the sum check data (A in this example), and if both match, it is determined to be normal, and if they are different, it is determined to be an error.

【0007】またこの種の多重伝送システムにおいて
は、伝送の信頼性を向上させる目的で、伝送が正常であ
ったか否かを送信側で確認する方式が採用される場合が
あるが、その場合に従来は、送信装置2と受信装置4と
の間に、信号線7とは別のリプライ信号返送用の伝送線
を配線し、この伝送線を用いて受信装置4から送信装置
2へ、受信が正常であったことを表すリプライ信号を返
送するようにしている。これは、従来の伝送信号および
リプライ信号は共に電圧を変化させて作られる信号であ
り、このような二つの信号を一つの信号線7に乗せる
と、両信号は互いに影響し合って波形がくずれる等し
て、両信号の識別ができなくなるからである。
Further, in this kind of multiplex transmission system, there is a case where a method of confirming whether or not the transmission was normal is adopted in order to improve the reliability of the transmission. A transmission line for reply signal return different from the signal line 7 is wired between the transmission device 2 and the reception device 4, and reception is normally performed from the reception device 4 to the transmission device 2 using this transmission line. The reply signal indicating that it was was sent back. This is a conventional transmission signal and a reply signal which are produced by changing both voltages. When two such signals are placed on one signal line 7, the two signals influence each other and the waveform is distorted. This is because, for example, it becomes impossible to distinguish both signals.

【0008】リプライ信号を返送する場合の従来の通信
のフレーム構成としては、例えば図12に示すように、
同期期間およびデータ送信・入出力期間とは別に、リプ
ライ信号の返送を確認するためのリプライ確認期間を設
けている。
A conventional communication frame structure for returning a reply signal is, for example, as shown in FIG.
In addition to the synchronization period and the data transmission / input / output period, a reply confirmation period for confirming the return of the reply signal is provided.

【0009】[0009]

【発明が解決しようとする課題】ところが上記のような
従来の多重伝送システムにおいては、次のような多くの
問題がある。
However, the conventional multiplex transmission system as described above has many problems as follows.

【0010】 パルスの有無によって“1”または
“0”のデータを表現する伝送方式を採用しており、こ
の方式は伝送波形の波高値に対する依存度が極めて高い
ので、電源電圧の変動やノイズ等による外乱によって伝
送誤りが生じやすく、従って伝送の信頼性が低い。
A transmission method that expresses “1” or “0” data depending on the presence or absence of a pulse is adopted. Since this method has an extremely high dependence on the peak value of the transmission waveform, fluctuations in power supply voltage, noise, etc. A transmission error is apt to occur due to the disturbance due to, and thus the transmission reliability is low.

【0011】 伝送誤りの検出方式にサムチェック方
式を採用しているので、伝送誤りの検出能力が低く、か
つその検出が遅い。これを詳述すると、サムチェック方
式では、複数個のデータが外乱の影響を受けて反転した
場合に、伝送誤りを検出できないことがある。例えば図
11に示すように、二つのデータ(この例の場合データ
0とデータn)が外乱の影響を受けて反転した場合、受
信側で受信した一連のデータの和は正常の場合の和(即
ちA)と変わらないので、そのような伝送誤りを検出で
きない。従って、伝送の信頼性が低い。伝送の信頼性が
低いことは、例えば工場のような厳しいノイズ環境下に
おいては特に深刻である。また、上記サムチェック方式
では、一連のデータの伝送途中で伝送誤りが生じていて
も、その伝送誤りを、受信側では、一連のデータの和と
サムチェックデータとを比較する時点まで検出すること
ができないので、伝送誤りの検出が遅いという問題もあ
る。
Since the sum check method is adopted as the transmission error detection method, the transmission error detection capability is low and the detection thereof is slow. More specifically, the sum check method may not be able to detect a transmission error when a plurality of data are inverted due to the influence of disturbance. For example, as shown in FIG. 11, when two data (data 0 and data n in this example) are inverted due to the influence of disturbance, the sum of a series of data received on the receiving side is the sum of normal ( That is, since it is the same as A), such a transmission error cannot be detected. Therefore, the reliability of transmission is low. The low reliability of transmission is especially serious in a severe noise environment such as a factory. In addition, in the above sum check method, even if a transmission error occurs during the transmission of a series of data, the transmission side must detect the transmission error until the time when the sum of the series of data and the sum check data are compared. Therefore, there is also a problem that transmission error detection is slow.

【0012】 上記のようなリプライ信号の確認方式
においては、図12からも分かるように、リプライ確認
期間を設けなければならない分、伝送時間が長くなり、
伝送速度が低下する。また、リプライ信号用の伝送線を
設けなければならない分、伝送線の数が増え、材料、配
線工数およびコストが増える。
In the reply signal confirmation method as described above, as can be seen from FIG. 12, the transmission time becomes longer because the reply confirmation period must be provided.
Transmission speed decreases. Further, since the transmission line for the reply signal has to be provided, the number of transmission lines increases, and the material, the wiring man-hour and the cost increase.

【0013】 上記のように電圧を変化させて信号を
伝送する場合、伝送路6、より具体的にはその信号線7
とグラウンド線8とが事故や誤配線等によって短絡する
と、伝送路6に過電流が流れ、それによって伝送路6に
信号を送出する回路が破壊される。これを防止するため
には、信号線7に直列に電流制限用の抵抗等を挿入して
おく方法があるが、そのようにすると、正常時において
も伝送路6の電圧降下が大になり、通信可能距離が短く
なる等の別の問題が発生する。また、伝送路6の短絡を
検出する短絡検出回路を設けておき、それによる短絡検
出に応答して保護動作を行わせるという方法もあるが、
この方法の場合は短絡検出回路を設けなければならない
分、回路が複雑になりコストが嵩む。
When a signal is transmitted by changing the voltage as described above, the transmission line 6, more specifically, the signal line 7 thereof.
When the ground line 8 and the ground line 8 are short-circuited due to an accident, miswiring, or the like, an overcurrent flows through the transmission line 6, thereby destroying the circuit that sends a signal to the transmission line 6. In order to prevent this, there is a method of inserting a current limiting resistor or the like in the signal line 7 in series, but if this is done, the voltage drop of the transmission line 6 will be large even during normal operation, Another problem such as a short communication range occurs. There is also a method in which a short-circuit detection circuit for detecting a short circuit in the transmission path 6 is provided and the protection operation is performed in response to the detection of the short circuit.
In the case of this method, since a short circuit detection circuit must be provided, the circuit becomes complicated and the cost increases.

【0014】そこでこの発明は、伝送の信頼性が高く、
伝送速度が大きく、しかも伝送線の数が少なくて済み、
更に伝送路の短絡検出を簡単に行えるようにした多重伝
送システムを提供することを主たる目的とする。
Therefore, according to the present invention, the reliability of transmission is high,
The transmission speed is high and the number of transmission lines is small,
Further, it is a main object to provide a multiplex transmission system capable of easily detecting a short circuit of a transmission line.

【0015】[0015]

【発明の概要】この発明の概要を説明すると、この発明
では、送信装置から送信する伝送信号において、パルス
幅の長短によって伝送データが“0”か“1”かを表現
するようにしており、この方式は、伝送波形の波高値に
対する依存度が低いので、電源電圧の変動やノイズ等の
外乱によって伝送誤りが生じにくい。従って、伝送の信
頼性が高い。
SUMMARY OF THE INVENTION To explain the outline of the present invention, in the present invention, in a transmission signal transmitted from a transmitting device, whether transmission data is "0" or "1" is expressed by the length of a pulse width. In this method, since the dependence of the transmission waveform on the peak value is low, a transmission error is unlikely to occur due to fluctuations in the power supply voltage or disturbance such as noise. Therefore, the reliability of transmission is high.

【0016】また、この発明では、受信装置において、
アップダウンカウンタを用いて受信データが“0”か
“1”かを判定するようにしており、この方式によれば
多少の外乱が加わってもデータが“0”か“1”かを正
しく判定することができるので、ノイズ等による外乱に
強く、この観点からも伝送の信頼性が高くなる。
Further, according to the present invention, in the receiving device,
The up / down counter is used to judge whether the received data is "0" or "1". According to this method, it is correctly judged whether the data is "0" or "1" even if some disturbance is added. Therefore, it is resistant to disturbance due to noise or the like, and the reliability of transmission is improved from this viewpoint as well.

【0017】また、この発明では、送信装置から、一つ
の伝送データとその値を反転した相補データとを連続し
て送信するようにしており、外乱の影響を受けた場合、
通常は両データの内のどちらか一方のみが反転して相補
性がくずれるので、受信装置において両データ間の相補
性をチェックすることにより、伝送誤りを確実に検出す
ることができる。従って、外乱の影響を受けた場合の誤
り捕捉率が向上するので、この観点からも伝送の信頼性
が高くなる。
Further, according to the present invention, one transmission data and complementary data of which the value is inverted are continuously transmitted from the transmitting device, and when the influence of the disturbance occurs,
Normally, only one of the two pieces of data is inverted and the complementarity is lost. Therefore, by checking the complementarity between the two pieces of data in the receiving device, a transmission error can be reliably detected. Therefore, since the error capture rate when affected by the disturbance is improved, the reliability of transmission is increased from this viewpoint as well.

【0018】また、この発明では、受信装置において、
一つの伝送データとその相補データとを受信するごと
に、両データ間の相補性をチェックするので、外乱の影
響を受けた場合の誤り検出までの時間が非常に短く、速
やかな検出が可能である。
Further, according to the present invention, in the receiving device,
Every time one transmission data and its complementary data are received, the complementarity between the two data is checked, so the error detection time is extremely short when affected by disturbance, and quick detection is possible. is there.

【0019】また、この発明では、受信装置から、受信
が正常であったことを表すリプライ信号を電流モードで
返送するようにしており、このリプライ信号の有無によ
って伝送が正常であったか否かを送信装置側で確認する
ことができるので、この観点からも伝送の信頼性が向上
すると共に、リプライ信号専用の伝送線が不要になるの
で、省配線、省配線工数および省コストを実現すること
ができる。
Further, in the present invention, the reply signal indicating that the reception is normal is returned from the receiving device in the current mode, and whether or not the transmission is normal is transmitted depending on the presence or absence of the reply signal. Since it can be confirmed on the device side, the reliability of transmission is improved from this point of view as well, and since a transmission line dedicated to the reply signal is not required, it is possible to realize wire saving, wire saving man-hours and cost saving. .

【0020】しかもこの発明では、スタート同期信号と
同じタイミングでリプライ信号の返送を行うので、リプ
ライ信号返送用の特別な期間が不要になる。その結果、
伝送時間の短縮が可能になり、伝送速度の向上を図るこ
とができる。
Further, according to the present invention, since the reply signal is returned at the same timing as the start synchronization signal, a special period for returning the reply signal is unnecessary. as a result,
The transmission time can be shortened and the transmission speed can be improved.

【0021】また、スタート同期信号の送信期間以外の
期間中に電流モードの信号が返ってきているか否かを送
信装置側で判定するようにしており、これによって、リ
プライ信号検出用の回路を兼用して、即ち専用の短絡検
出回路を設けることなく簡単に、伝送路の短絡を検出す
ることができる。その結果、回路の簡素化による機器の
小型化およびコストダウンを図ることができる。また、
短絡保護のために伝送線に直列に電流制限用の抵抗等を
挿入しなくて済むので、通信可能距離が短くなることも
ない。
Further, the transmitting device determines whether or not the current mode signal is returned during the period other than the transmission period of the start synchronizing signal, thereby also serving as the circuit for detecting the reply signal. In other words, it is possible to easily detect a short circuit in the transmission line without providing a dedicated short circuit detection circuit. As a result, the size of the device can be reduced and the cost can be reduced by simplifying the circuit. Also,
Since it is not necessary to insert a current limiting resistor or the like in series with the transmission line for short-circuit protection, the communicable distance does not become short.

【0022】[0022]

【実施例】図1は、この発明の一実施例に係る多重伝送
システムを示すブロック図である。図2は、図1の多重
伝送システムにおける伝送信号波形、リプライ信号波形
および伝送路短絡時の返送信号波形の一例を示す図であ
る。
1 is a block diagram showing a multiplex transmission system according to an embodiment of the present invention. FIG. 2 is a diagram showing an example of a transmission signal waveform, a reply signal waveform, and a return signal waveform when the transmission line is short-circuited in the multiplex transmission system of FIG.

【0023】この多重伝送システムは、複数点の入力端
子20を有し、各入力端子20に入力される入力信号に
応じた複数の伝送データを直列にして伝送信号TSに含
めて送信する送信装置12と、複数点の出力端子50を
有し、送信装置12から送られてくる伝送信号TSを受
けてそれに含まれている直列の伝送データを並列に変換
してその伝送データに応じた信号を各出力端子50から
それぞれ出力する受信装置14と、この送信装置12と
受信装置14との間を接続する伝送路16とを備えてい
る。伝送路16は、信号伝送用の信号線17とグラウン
ド用のグラウンド線18とで構成されている。
This multiplex transmission system has a plurality of input terminals 20 and transmits a plurality of pieces of transmission data corresponding to the input signals input to the respective input terminals 20 in series and included in a transmission signal TS for transmission. 12 and a plurality of output terminals 50, receives the transmission signal TS sent from the transmitter 12, converts serial transmission data contained therein into parallel, and outputs a signal corresponding to the transmission data. The receiving device 14 that outputs from each output terminal 50, and the transmission line 16 that connects the transmitting device 12 and the receiving device 14 are provided. The transmission line 16 is composed of a signal line 17 for signal transmission and a ground line 18 for ground.

【0024】送信装置12は、この例では、入力回路2
2、出力回路24、それらに接続された制御回路26、
この制御回路26によって制御される切換スイッチ回路
34、電源端子40とこの切換スイッチ回路34間に接
続された抵抗36および入力部がこの抵抗36の両端に
接続されたアンプ38を備えている。
The transmitter 12 is, in this example, an input circuit 2
2, output circuit 24, control circuit 26 connected to them,
The control circuit 26 includes a changeover switch circuit 34, a power supply terminal 40, a resistor 36 connected between the changeover switch circuit 34, and an amplifier 38 having an input portion connected to both ends of the resistor 36.

【0025】入力回路22は、入力インタフェース用の
回路であり、入力端子20からこの例では(n+1)点
のオンオフ信号が入力される。出力回路24は、後述す
る返信判定部32から与えられる警報信号S2 を出力端
子21に出力するためのインタフェース用の回路であ
る。
The input circuit 22 is a circuit for an input interface, and in this example, an on / off signal at (n + 1) points is input from the input terminal 20. The output circuit 24 is a circuit for an interface for outputting an alarm signal S 2 given from a reply determination unit 32 described later to the output terminal 21.

【0026】制御回路26には、この例では、送信制御
手段を構成する送信制御部28および返信判定手段を構
成する返信判定部32が含まれている。
In this example, the control circuit 26 includes a transmission control section 28 which constitutes a transmission control means and a reply judgment section 32 which constitutes a reply judgment means.

【0027】送信制御部28は、入力回路22から並列
(パラレル)に与えられる伝送データを直列(シリア
ル)に変換すると共に、パルス幅の長短によって各伝送
データが“0”か“1”かを表現し、更に各伝送データ
の直後にその値を反転した相補データをそれぞれ付加
し、かつそれらの一連のデータの前および後に、同期を
とるためのスタート同期信号および入出力を処理するた
めのI/Oサービス期間をそれぞれ付加して、図2Aに
示すような伝送信号TSの元になる伝送制御信号S1
作成してそれをサイクリックに出力する。図2Aの伝送
信号TSについては後で更に説明する。
The transmission control unit 28 converts the transmission data provided in parallel from the input circuit 22 into serial data, and determines whether each transmission data is "0" or "1" depending on the length of the pulse width. I, which represents the start sync signal for synchronization and I / O for adding and complementing complementary data whose value is inverted immediately after each transmission data and before and after the series of data. Each / O service period is added to create a transmission control signal S 1 which is a source of the transmission signal TS as shown in FIG. 2A and cyclically outputs it. The transmission signal TS of FIG. 2A will be further described later.

【0028】切換スイッチ回路34は、切換スイッチ手
段を構成するものであり、送信制御部28からの伝送制
御信号S1 に応答して、共通端子cを端子aと端子b側
とに択一的に切り換えるものである。共通端子cには伝
送路16の信号線17が、端子aには抵抗36が、端子
bにはグラウンド線18がそれぞれ接続されている。
The changeover switch circuit 34 constitutes a changeover switch means, and in response to the transmission control signal S 1 from the transmission control section 28, the common terminal c is selectively set between the terminal a and the terminal b side. To switch to. A signal line 17 of the transmission line 16 is connected to the common terminal c, a resistor 36 is connected to the terminal a, and a ground line 18 is connected to the terminal b.

【0029】この切換スイッチ回路34において、共通
端子cを端子a側に切り換えると、電源端子40から抵
抗36を介して電圧が印加されるので共通端子cの電圧
は“H”レベルになり、端子b側に切り換えるとグラウ
ンドに接続されるので共通端子cの電圧は“L”レベル
になる。このようにして、切換スイッチ回路34は、送
信制御部28による制御下で伝送路16に、図2Aに示
したような伝送信号TSを電圧モードで出力する。この
切換スイッチ回路34は、送信制御部28からの伝送制
御信号S1 が中断すると、共通端子cを端子b側に切り
換えたままの状態となる。なおこの切換スイッチ回路3
4は、例えば複数のトランジスタの組み合わせによって
構成されている。
In the changeover switch circuit 34, when the common terminal c is switched to the terminal a side, a voltage is applied from the power supply terminal 40 through the resistor 36, so that the voltage of the common terminal c becomes "H" level, When it is switched to the b side, it is connected to the ground, so that the voltage of the common terminal c becomes "L" level. In this way, the changeover switch circuit 34 outputs the transmission signal TS as shown in FIG. 2A in the voltage mode to the transmission line 16 under the control of the transmission control unit 28. When the transmission control signal S 1 from the transmission control unit 28 is interrupted, the changeover switch circuit 34 remains in the state in which the common terminal c is switched to the terminal b side. This changeover switch circuit 3
4 is composed of, for example, a combination of a plurality of transistors.

【0030】返信判定部32は、前記抵抗36の両端の
電圧V1 をアンプ38を介して監視して、当該電圧V1
が伝送信号TS中のスタート同期信号の送信期間中に所
定値よりも上昇しなければ、一つ前の通信サイクルにお
ける伝送が異常であったと判断して警報信号S2 を出力
する。更に、当該電圧V1 がスタート同期信号の送信期
間以外の期間中に所定値よりも上昇すれば、伝送路16
が短絡していると判断して警報信号S2 を出力すると共
に、送信制御部28からの伝送制御信号S1 の出力を中
断させる。この返信判定部32から警報信号S2 が出力
されると、それが出力回路24を経由して出力端子21
から出力される。
The reply determination section 32 monitors the voltage V 1 across the resistor 36 via the amplifier 38 to detect the voltage V 1 concerned.
Is not higher than a predetermined value during the transmission period of the start synchronization signal in the transmission signal TS, it is determined that the transmission in the previous communication cycle is abnormal and the alarm signal S 2 is output. Furthermore, if the voltage V 1 rises above a predetermined value during a period other than the transmission period of the start synchronization signal, the transmission line 16
Is determined to be short-circuited, the alarm signal S 2 is output, and the output of the transmission control signal S 1 from the transmission control unit 28 is interrupted. When the alarm signal S 2 is output from the reply determination unit 32, the alarm signal S 2 is output via the output circuit 24 to the output terminal 21.
Is output from.

【0031】図2Aに示した伝送信号TSについて説明
すると、その1サイクリックフレームは、同期をとるた
めのスタート同期信号と、それに続く一連のデータ0〜
nと、それに続くI/Oサービス期間とで構成されてい
る。I/Oサービス期間は、送信側においては次の入力
を処理し、受信側においては出力を処理するための期間
である。Tは1データ分の期間であり、例えば120μ
sである。
Explaining the transmission signal TS shown in FIG. 2A, the one cyclic frame has a start synchronization signal for synchronization and a series of data 0 to 0 following it.
n, followed by an I / O service period. The I / O service period is a period for processing the next input on the transmitting side and processing the output on the receiving side. T is a period for one data, for example, 120μ
s.

【0032】この多重伝送システムでは、図3Aも参照
して、一つの“0”または“1”の伝送データを送信す
る場合に、各伝送データの直後にその値を反転した相補
データをそれぞれ付加して、各伝送データとその相補デ
ータとを一組にして連続して送信するようにしている。
In this multiplex transmission system, also referring to FIG. 3A, when transmitting one transmission data of "0" or "1", complementary data of which the value is inverted is added immediately after each transmission data. Then, each transmission data and its complementary data are paired and continuously transmitted.

【0033】更にこの多重伝送システムでは、パルス幅
の長短によって(即ちパルス幅変調によって)、データ
が“0”か“1”かを表現するようにしている。即ち、
図3Aも参照して、30μsの“L”レベルとそれに続
く90μsの“H”レベルの組み合わせで“0”を表
し、60μsの“L”レベルとそれに続く60μsの
“H”レベルの組み合わせで“1”を表している。1周
期は120μsである。この表現方式は、伝送データお
よび相補データに共通である。
Further, in this multiplex transmission system, whether the data is "0" or "1" is expressed by the length of the pulse width (that is, by pulse width modulation). That is,
Referring also to FIG. 3A, a combination of an “L” level of 30 μs and a subsequent “H” level of 90 μs represents “0”, and a combination of an “L” level of 60 μs and a subsequent “H” level of 60 μs indicates “0”. 1 ”is represented. One cycle is 120 μs. This representation method is common to transmission data and complementary data.

【0034】受信装置14は、この例では、入力部が伝
送路16の信号線17とグラウンド線18に接続された
アンプ64、このアンプ64に接続された制御回路56
およびこの制御回路56に接続された出力回路52を備
えている。また、信号線17とグラウンド線18との間
には、互いに直列接続された抵抗67およびトランジス
タ68から成るスイッチ回路66が接続されており、こ
れによってスイッチ手段を構成している。
In this example, the receiver 14 has an amplifier 64 whose input section is connected to the signal line 17 and the ground line 18 of the transmission line 16, and a control circuit 56 connected to this amplifier 64.
And an output circuit 52 connected to the control circuit 56. Further, between the signal line 17 and the ground line 18, a switch circuit 66 including a resistor 67 and a transistor 68 connected in series is connected, which constitutes a switch means.

【0035】この受信装置14の電源端子70と前記送
信装置12の電源端子40には、別の電源を接続しても
良いし、一つの共通の電源を接続しても良い。
The power source terminal 70 of the receiving device 14 and the power source terminal 40 of the transmitting device 12 may be connected to different power sources or one common power source.

【0036】アンプ64は、伝送路16を経由して送ら
れてきた伝送信号TSを増幅して制御回路56に与え
る。
The amplifier 64 amplifies the transmission signal TS sent via the transmission line 16 and supplies it to the control circuit 56.

【0037】制御回路56には、この例では、受信制御
手段を構成する受信制御部58、データ判定手段を構成
するデータ判定部60および相補性チェック手段を構成
する相補性チェック部62が含まれている。
In this example, the control circuit 56 includes a reception control unit 58 which constitutes a reception control unit, a data determination unit 60 which constitutes a data determination unit, and a complementation checking unit 62 which constitutes a complementation checking unit. ing.

【0038】データ判定部60の動作例を図3を参照し
て説明すると、このデータ判定部60は、アップダウン
カウンタを含んでおり、一定のタイミングで、この例で
は信号の各立ち下がり時点で信号のサンプリングを開始
し、このサンプリングを一定期間T2 (この例では60
μs)経過後の判定点まで続ける。その間に、アップダ
ウンカウンタにおいて、サンプリングデータが“L”レ
ベルならこの例ではアップカウントし、“H”レベルな
らダウンカウントする。従って、カウント値は、図3B
に示したように、データが“0”のときは増加から途中
で減少に転じ、データが“1”のときは増加の一途をた
どる。
An example of the operation of the data judging section 60 will be described with reference to FIG. 3. The data judging section 60 includes an up / down counter, and at a fixed timing, in this example, at each falling edge of the signal. Sampling of the signal is started and this sampling is performed for a certain period T 2 (60 in this example).
μs) Continue until the judgment point. In the meantime, in the up / down counter, if the sampling data is “L” level, it is counted up in this example, and if it is “H” level, it is counted down. Therefore, the count value is shown in FIG.
As shown in (1), when the data is "0", it starts to increase and then decreases halfway, and when the data is "1", it increases steadily.

【0039】そして、上記判定点でその時のカウント値
を一定のしきい値と比較する。この例では、しきい値
を、データが“0”のときのカウント値とデータが
“1”のときのカウント値の中間の値にしている。そし
て、判定点でのカウント値がしきい値より小さいときに
“0”と判定し、カウント値がしきい値より大きいとき
に“1”と判定するようにしている。
Then, at the judgment point, the count value at that time is compared with a fixed threshold value. In this example, the threshold value is set to an intermediate value between the count value when the data is “0” and the count value when the data is “1”. Then, when the count value at the determination point is smaller than the threshold value, "0" is determined, and when the count value is larger than the threshold value, "1" is determined.

【0040】上記のようなデータ判定部60のより具体
的な構成例を図4に示す。この例では、データ判定部6
0は、サンプリング回路601、アップダウンカウンタ
602および比較回路603を備えている。
FIG. 4 shows a more specific example of the configuration of the data determination unit 60 as described above. In this example, the data determination unit 6
0 includes a sampling circuit 601, an up / down counter 602, and a comparison circuit 603.

【0041】サンプリング回路601は、図3Aに示す
ような信号を受け、当該信号を前記期間T2 の間、一定
周期でサンプリングし、そのサンプリング値が“L”レ
ベルなら例えば“0”パルスを、“H”レベルなら
“1”パルスを出力する。
The sampling circuit 601 receives a signal as shown in FIG. 3A, samples the signal at a constant period during the period T 2 , and if the sampled value is at the "L" level, for example, outputs a "0" pulse. If it is at "H" level, "1" pulse is output.

【0042】アップダウンカウンタ602は、この例で
は、サンプリング回路601から与えられるパルスが
“0”ならアップカウントし、“1”ならダウンカウン
トし、そのカウント値を出力する。
In this example, the up-down counter 602 counts up if the pulse given from the sampling circuit 601 is "0", down-counts if it is "1", and outputs the count value.

【0043】比較回路603は、アップダウンカウンタ
602から与えられるカウント値と、一定の前述したよ
うなしきい値とを比較し、前述したような判定点でのカ
ウント値がしきい値より小さいときに“0”を出力し、
大きいときに“1”を出力する。この出力が、入力デー
タの判定結果である。
The comparison circuit 603 compares the count value given from the up / down counter 602 with a constant threshold value as described above, and when the count value at the determination point as described above is smaller than the threshold value. Output "0",
When it is large, "1" is output. This output is the determination result of the input data.

【0044】図1に戻って、受信制御部58は、データ
判定部60から直列に与えられる各伝送データを並列に
変換して出力データを作成し、それを出力回路52に与
える。その他、この実施例ではこの受信制御部58は、
受信装置14全体の制御、例えば図7のフローに示すよ
うな制御を司る機能を有している。
Returning to FIG. 1, the reception control unit 58 converts each transmission data serially supplied from the data determination unit 60 into parallel data to create output data, and supplies the output data to the output circuit 52. In addition, in this embodiment, the reception control unit 58 is
It has a function of controlling the entire receiving device 14, for example, the control shown in the flow of FIG. 7.

【0045】出力回路52は、出力インタフェース用の
回路であり、受信制御部58から与えられる出力データ
に基づいて、各出力端子50に出力信号を出力する。ま
た、受信制御部58から与えられる警報信号を出力端子
51に出力する。
The output circuit 52 is a circuit for an output interface, and outputs an output signal to each output terminal 50 based on the output data given from the reception controller 58. Further, the alarm signal given from the reception controller 58 is output to the output terminal 51.

【0046】相補性チェック部62は、データ判定部6
0から一つの伝送データとそれに続く相補データとが与
えられるごとに両データ間の相補性(即ち一方が“0”
であれば他方が“1”であること)をチェックし、一つ
の通信サイクル内の全ての伝送データについて相補性が
成立している場合にのみ、次の通信サイクルにおけるス
タート同期信号の受信期間中に受信正常信号S3 を出力
する。更にこの例では、相補性が成立していないデータ
の組が一つでもあれば、受信制御部58に対して受信異
常信号を出力する。
The complementarity check unit 62 includes a data decision unit 6
Every time 0 to 1 transmission data and the following complementary data are given, the complementarity between the two data (that is, one is “0”)
If so, check that the other is "1", and only when the complementarity is established for all the transmission data in one communication cycle, during the reception period of the start synchronization signal in the next communication cycle. The reception normal signal S 3 is output to. Further, in this example, if there is even one data set for which complementarity is not established, a reception abnormality signal is output to the reception control unit 58.

【0047】スイッチ回路66は、相補性チェック部6
2から与えられる受信正常信号S3に応答して、伝送路
16の信号線17とグラウンド線18との間の抵抗値を
低下させ、それによって図2Bに示すような電流モード
のリプライ信号RSを伝送路16に発生させる。
The switch circuit 66 includes a complementary check unit 6
In response to the reception normal signal S 3 given from 2, the resistance value between the signal line 17 and the ground line 18 of the transmission line 16 is reduced, and thereby the current mode reply signal RS as shown in FIG. 2B is obtained. It is generated in the transmission line 16.

【0048】これを詳述すると、上記受信正常信号S3
はスタート同期信号の受信期間中(送信側から見れば、
切換スイッチ回路34を端子a側に切り換えてスタート
同期信号の送信期間中)に与えられ、それによってトラ
ンジスタ68がオンする。トランジスタ68がオンする
と、信号線17とグラウンド線18との間に抵抗67が
接続されることになり、送信装置12側の電源端子40
から抵抗36、切換スイッチ回路34、信号線17およ
び抵抗67の経路で、通常よりも大きい電流(例えば通
常の10倍程度の電流)が流れる。この電流が、上記電
流モードのリプライ信号RSであり、このようにして、
受信装置14からリプライ信号RSを電流モードで送信
装置12へ返送することができる。
More specifically, the reception normal signal S 3
Is during the start sync signal reception period (from the transmission side,
The changeover switch circuit 34 is switched to the terminal a side and is applied during the transmission period of the start synchronizing signal, whereby the transistor 68 is turned on. When the transistor 68 is turned on, the resistor 67 is connected between the signal line 17 and the ground line 18, and the power supply terminal 40 on the transmitter 12 side is connected.
A current larger than usual (for example, about 10 times the normal current) flows through the path from the resistor 36, the changeover switch circuit 34, the signal line 17, and the resistor 67. This current is the reply signal RS in the current mode, and in this way,
The reply signal RS can be returned from the receiver 14 to the transmitter 12 in current mode.

【0049】なお、例えば受信制御部58において、受
信した伝送信号TSに乱れがなく図2Aに示したような
基本フレームが成立しているか否かを判定し、それが成
立していることと、上記各伝送データに相補性が成立し
ていることとをアンド条件にして、上記受信正常信号S
3 をスイッチ回路66に与えてリプライ信号RSを返送
するようにしても良い。
Note that, for example, the reception control unit 58 determines whether the received transmission signal TS is not disturbed and the basic frame as shown in FIG. 2A is established, and whether it is established, The reception normal signal S is set on the condition that the respective transmission data have complementarity.
3 may be given to the switch circuit 66 to return the reply signal RS.

【0050】送信装置12においては、前述したように
抵抗36の両端の電圧V1 をアンプ38を介して返信判
定部32で監視しており、上記リプライ信号RSの返送
があった場合、この抵抗36に多くの電流が流れてその
両端の電圧V1 が通常よりも上昇するので、この電圧V
1 の上昇がスタート同期信号の送信期間中にあるか否か
をこの返信判定部32で監視することによって、一つ前
の通信サイクルにおける伝送が正常であったか否かを判
定することができる。
In the transmitter 12, as described above, the voltage V 1 across the resistor 36 is monitored by the reply determination section 32 via the amplifier 38, and when the reply signal RS is returned, this resistance is detected. Since a large amount of current flows through 36 and the voltage V 1 across it rises above normal, this voltage V 1
It is possible to determine whether or not the transmission in the immediately preceding communication cycle was normal by monitoring by the reply determination unit 32 whether or not the increase of 1 is in the transmission period of the start synchronization signal.

【0051】また、伝送路16が正常の場合は、スター
ト同期信号の送信期間以外は電流モードの信号は送信装
置12側に返って来ず、伝送路16が短絡している、よ
り具体的にはその信号線17とグラウンド線18とが短
絡している場合は、例えば図2Cに示すように、伝送信
号TSの送信期間中に常に電流モードの信号が返ってく
る(但しこの図2Cは、送信を中断しない場合の例であ
り、本発明に従って伝送信号TSの送信が中断されれ
ば、その時点でこの電流モードの信号は無くなる)。こ
のことは、抵抗36に多くの電流が流れてその両端の電
圧V1 が通常よりも上昇することであり、従って、リプ
ライ信号RSの返送確認用の回路(より具体的には上記
抵抗36、アンプ38および返信判定部32)を兼用し
て、返信判定部32における上記電圧V1 の判定時点を
スタート同期信号の送信期間中以外に切り換えるだけ
で、即ちスタート同期信号の送信期間以外に上記電圧V
1 の上昇があるか否かを判断することによって、伝送路
16の短絡を簡単に検出することができる。
Further, when the transmission line 16 is normal, the current mode signal is not returned to the transmitter 12 side except during the transmission period of the start synchronization signal, and the transmission line 16 is short-circuited. When the signal line 17 and the ground line 18 are short-circuited, the current mode signal is always returned during the transmission period of the transmission signal TS (however, in FIG. 2C, This is an example of the case where the transmission is not interrupted, and if the transmission of the transmission signal TS is interrupted according to the present invention, the current mode signal disappears at that time). This means that a large amount of current flows through the resistor 36 and the voltage V 1 across the resistor 36 rises higher than usual. Therefore, a circuit for confirming the return of the reply signal RS (more specifically, the resistor 36, The amplifier 38 and the reply determination unit 32) are also used, and the determination time of the voltage V 1 in the reply determination unit 32 is simply switched to other than during the transmission period of the start synchronization signal, that is, during the transmission period of the start synchronization signal. V
By determining whether or not there is a rise of 1 , the short circuit of the transmission line 16 can be easily detected.

【0052】上記のようにこの多重伝送システムでは、
送信装置12から送信する伝送信号TSにおいて、パル
ス幅の長短によって伝送データが“0”か“1”かを表
現するようにしており、この方式は、伝送波形の波高値
に対する依存度が低いので、電源電圧の変動やノイズ等
の外乱によって伝送誤りが生じにくい。従って、伝送の
信頼性が高い。
As described above, in this multiplex transmission system,
In the transmission signal TS transmitted from the transmission device 12, the transmission data is expressed as "0" or "1" depending on the length of the pulse width. Since this method has a low dependence on the peak value of the transmission waveform, , Transmission errors are less likely to occur due to fluctuations in power supply voltage and disturbances such as noise. Therefore, the reliability of transmission is high.

【0053】また、受信装置14のデータ判定部60で
は、アップダウンカウンタを用いて受信データが“0”
か“1”かを判定するようにしており、そのようにすれ
ば、サンプリング期間中にノイズ等による外乱が加わっ
た場合、アップダウンカウンタによる判定点でのカウン
ト値は幾分変動することがあるかもしれないけれども、
カウント値の全体的な傾向は外乱がない場合と変わらな
い。
Further, in the data judging section 60 of the receiving device 14, the received data is "0" by using the up / down counter.
Or "1" is determined, and when doing so, the count value at the determination point by the up / down counter may fluctuate somewhat when disturbance such as noise is added during the sampling period. Maybe, but
The overall trend of the count value is the same as when there is no disturbance.

【0054】例えば図5に示すように、信号の一部を
“L”レベルにするような外乱、あるいは信号の一部を
“H”レベルにするような外乱が加わった場合、サンプ
リング期間の途中でカウント値が若干増減し、それに伴
って判定点でのカウント値も幾分上下するけれども、カ
ウント値の全体的な傾向は、図3の外乱がない場合と変
わらない。
For example, as shown in FIG. 5, when a disturbance that causes a part of the signal to go to the "L" level or a disturbance that causes a part of the signal to go to the "H" level is applied, the middle of the sampling period Although the count value slightly increases and decreases, and the count value at the determination point also fluctuates somewhat accordingly, the overall tendency of the count value is the same as that in the case without the disturbance in FIG.

【0055】従って、このようなカウント値としきい値
とを比較することにより、多少の外乱が加わっても、デ
ータが“0”か“1”かを正しく判定することができ
る。従って、ノイズ等による外乱に強く、この観点から
も伝送の信頼性が高くなる。
Therefore, by comparing the count value with the threshold value, it is possible to correctly determine whether the data is "0" or "1" even if some disturbance is applied. Therefore, it is resistant to disturbance due to noise or the like, and the reliability of transmission is improved from this viewpoint as well.

【0056】なお、上記実施例とは逆に、信号のサンプ
リング値が“L”レベルならアップダウンカウンタにお
いてダウンカウントし、“H”レベルならアップカウン
トするようにしても良い。そのようにする場合は、カウ
ント値およびしきい値を、図3Bおよび図5Bにおい
て、0レベルラインを対称軸として上下反転させて考え
れば良い。
Contrary to the above embodiment, if the signal sampling value is "L" level, the up / down counter may down-count, and if it is "H" level, up-counting may be performed. In such a case, the count value and the threshold value may be considered by vertically inverting with respect to the 0 level line as the axis of symmetry in FIGS. 3B and 5B.

【0057】また、この多重伝送システムでは、送信装
置12から、一つのデータとその値を反転した相補デー
タとを連続して送信するようにしており、外乱の影響を
受けた場合、両データが共に反転することは極めて希で
あり、通常は両データの内のどちらか一方のみが反転し
て相補性がくずれるので、受信装置14の相補性チェッ
ク部62において両データ間の相補性をチェックするこ
とにより、伝送誤りを確実に検出することができる。従
って、外乱の影響を受けた場合の誤り捕捉率が向上する
ので、この観点からも伝送の信頼性が高くなる。
In addition, in this multiplex transmission system, one data and complementary data whose value is inverted are continuously transmitted from the transmitter 12, and when the influence of disturbance causes both data to be transmitted. It is extremely rare to invert both, and normally, only one of the two data is inverted and the complementarity is lost. Therefore, the complementarity check unit 62 of the receiving device 14 checks the complementarity between the two data. As a result, it is possible to reliably detect a transmission error. Therefore, since the error capture rate when affected by the disturbance is improved, the reliability of transmission is increased from this viewpoint as well.

【0058】また、相補性チェック部62において、一
つのデータとその相補データとを受信するごとに、両デ
ータ間の相補性をチェックするので、外乱の影響を受け
た場合の誤り検出までの時間が非常に短く、速やかな検
出が可能である。
In addition, since the complementarity checking unit 62 checks the complementarity between both data each time one data and its complementary data are received, the time until an error is detected in the case of being affected by disturbance. Is very short, and quick detection is possible.

【0059】また、この多重伝送システムでは、受信装
置14から、受信が正常であったことを表すリプライ信
号RSを電流モードで返送するようにしており、このリ
プライ信号RSの有無によって伝送が正常であったか否
かを送信装置12側で確認することができるので、この
観点からも伝送の信頼性が向上する。
Further, in this multiplex transmission system, the reply signal RS indicating that the reception is normal is returned from the receiving device 14 in the current mode, and the transmission is normal depending on the presence or absence of the reply signal RS. Since it is possible to confirm whether or not the transmission has occurred, the transmission reliability is improved from this viewpoint as well.

【0060】しかも、伝送信号TSは電圧モードで送信
し、リプライ信号RSは電流モードで返送するので、両
信号を一つの信号線17に乗せても両信号の識別が可能
であり、従って一つの信号線17を両信号の伝送に共用
することができる。即ち、リプライ信号専用の伝送線が
不要になるので、省配線、省配線工数および省コストを
実現することができる。
Moreover, since the transmission signal TS is transmitted in the voltage mode and the reply signal RS is returned in the current mode, both signals can be discriminated even if both signals are put on one signal line 17, and therefore one signal is transmitted. The signal line 17 can be shared for transmission of both signals. That is, since the transmission line dedicated to the reply signal is not required, it is possible to realize wiring saving, wire saving man-hours and cost saving.

【0061】しかも、スタート同期信号と同じタイミン
グでリプライ信号RSの返送を行うので、リプライ信号
返送用の特別な期間が不要になる。その結果、伝送時間
の短縮が可能になり、伝送速度の向上を図ることができ
る。
Moreover, since the reply signal RS is returned at the same timing as the start synchronization signal, a special period for returning the reply signal becomes unnecessary. As a result, the transmission time can be shortened and the transmission speed can be improved.

【0062】また、スタート同期信号の送信期間以外の
期間中に電流モードの信号が返ってきているか否かを送
信装置12の返信判定部32で判定するようにしてお
り、これによって、リプライ信号検出用の回路を兼用し
て、即ち専用の短絡検出回路を設けることなく簡単に、
伝送路16の短絡を検出しかつ短絡保護を行うことがで
きる。その結果、回路の簡素化による機器の小型化およ
びコストダウンを図ることができる。また、短絡保護の
ために信号線17に直列に電流制限用の抵抗等を挿入し
なくて済むので、通信可能距離が短くなることもない。
Further, whether or not the current mode signal is returned during the period other than the transmission period of the start synchronization signal is determined by the reply determination section 32 of the transmission device 12, whereby the reply signal is detected. Double as a dedicated circuit, that is, easily without providing a dedicated short-circuit detection circuit,
A short circuit of the transmission line 16 can be detected and short circuit protection can be performed. As a result, the size of the device can be reduced and the cost can be reduced by simplifying the circuit. Further, since it is not necessary to insert a current limiting resistor or the like in series with the signal line 17 for short-circuit protection, the communicable distance does not become short.

【0063】図6は、送信装置12側の全体的な動作の
一例を示すフローチャートである。送信装置12側にお
いては、伝送信号TSを1通信サイクル分ずつ送信する
と共に、その送信期間中返送信号をモニタして、伝送が
正常であったか否か、および伝送路16が短絡している
か否かを常時モニタするようにしている。この図におけ
る各処理ステップの処理内容は、先に説明したとおりで
ある。
FIG. 6 is a flow chart showing an example of the overall operation on the transmission device 12 side. On the transmission device 12 side, the transmission signal TS is transmitted for each communication cycle, and the return signal is monitored during the transmission period to determine whether the transmission was normal and whether the transmission path 16 is short-circuited. Is constantly monitored. The processing contents of each processing step in this figure are as described above.

【0064】図7は、受信装置14側の全体的な動作の
一例を示すフローチャートである。受信装置14におい
ては、この図では1通信サイクルの受信異常で直ちにリ
プライ信号RSの返送を中断するようなことはせず、2
通信サイクルまでの受信異常ではリプライ信号RSを返
送すると共に前回のデータをそのまま出力し、3通信サ
イクル以上続けて受信が異常であった場合に初めて、出
力端子51に警報を出力すると共にリプライ信号RSの
返送を中断して異常を送信装置12側へ通知するように
している。その他のこの図における各処理ステップの処
理内容は、先に説明したとおりである。このようにする
方が、一過性の通信異常の場合は、送信装置12側およ
び受信装置14側において警報が出力されず、また直前
の出力データがそのまま出力されるので、実際の現場に
おいては使いやすい。もっとも上記のようにすること
は、好ましいけれども必須ではない。
FIG. 7 is a flowchart showing an example of the overall operation of the receiving device 14 side. In the receiving device 14, in this figure, the return of the reply signal RS is not immediately interrupted due to the reception abnormality of one communication cycle, and 2
In the case of reception abnormality up to the communication cycle, the reply signal RS is returned and the previous data is output as it is, and only when the reception is abnormal for three communication cycles or more, the alarm is output to the output terminal 51 and the reply signal RS is output. Is interrupted and the abnormality is notified to the transmitting device 12 side. The other processing contents of each processing step in this figure are as described above. In this way, in the case of a temporary communication abnormality, the alarm is not output on the transmitting device 12 side and the receiving device 14 side, and the immediately preceding output data is output as it is. Easy to use. However, doing so is preferred but not essential.

【0065】[0065]

【発明の効果】以上のようにこの発明によれば、送信装
置から送信する伝送信号において、パルス幅の長短によ
って伝送データが“0”か“1”かを表現するようにし
ており、この方式は、伝送波形の波高値に対する依存度
が低いので、電源電圧の変動やノイズ等の外乱によって
伝送誤りが生じにくい。従って、伝送の信頼性が高くな
る。
As described above, according to the present invention, in the transmission signal transmitted from the transmitting device, whether the transmission data is "0" or "1" is expressed by the length of the pulse width. Has a low dependence on the peak value of the transmission waveform, and therefore transmission errors are less likely to occur due to fluctuations in the power supply voltage and disturbances such as noise. Therefore, the reliability of transmission is increased.

【0066】また、この発明では、受信装置において、
アップダウンカウンタを用いて受信データが“0”か
“1”かを判定するようにしており、この方式によれば
多少の外乱が加わってもデータが“0”か“1”かを正
しく判定することができる。従って、ノイズ等による外
乱に強く、この観点からも伝送の信頼性が高くなる。
Further, according to the present invention, in the receiving device,
The up / down counter is used to judge whether the received data is "0" or "1". According to this method, it is correctly judged whether the data is "0" or "1" even if some disturbance is added. can do. Therefore, it is resistant to disturbance due to noise or the like, and the reliability of transmission is improved from this viewpoint as well.

【0067】また、この発明では、送信装置から、一つ
の伝送データとその値を反転した相補データとを連続し
て送信するようにしており、外乱の影響を受けた場合、
通常は両データの内のどちらか一方のみが反転して相補
性がくずれるので、受信装置において両データ間の相補
性をチェックすることにより、伝送誤りを確実に検出す
ることができる。従って、外乱の影響を受けた場合の誤
り捕捉率が向上するので、この観点からも伝送の信頼性
が高くなる。
Further, according to the present invention, one transmission data and complementary data of which the value is inverted are continuously transmitted from the transmission device, and when the influence of disturbance causes
Normally, only one of the two pieces of data is inverted and the complementarity is lost. Therefore, by checking the complementarity between the two pieces of data in the receiving device, a transmission error can be reliably detected. Therefore, since the error capture rate when affected by the disturbance is improved, the reliability of transmission is increased from this viewpoint as well.

【0068】また、この発明では、受信装置において、
一つの伝送データとその相補データとを受信するごと
に、両データ間の相補性をチェックするので、外乱の影
響を受けた場合の誤り検出までの時間が非常に短く、速
やかな検出が可能である。
Further, according to the present invention, in the receiving device,
Every time one transmission data and its complementary data are received, the complementarity between the two data is checked, so the error detection time is extremely short when affected by disturbance, and quick detection is possible. is there.

【0069】また、この発明では、受信装置から、受信
が正常であったことを表すリプライ信号を電流モードで
返送するようにしており、このリプライ信号の有無によ
って伝送が正常であったか否かを送信装置側で確認する
ことができるので、この観点からも伝送の信頼性が向上
する。
Further, in the present invention, the reply signal indicating that the reception is normal is returned from the receiving device in the current mode, and whether or not the transmission is normal is transmitted depending on the presence or absence of the reply signal. Since it can be confirmed on the device side, the reliability of transmission is improved also from this viewpoint.

【0070】このようにこの発明では、伝送の信頼性を
向上させる手段が幾重にも講じられているので、伝送の
信頼性が極めて高くなる。従ってこの発明の多重伝送シ
ステムは、例えば工場等のような厳しいノイズ環境下の
使用において特に著しい効果を発揮する。
As described above, in the present invention, since the means for improving the reliability of transmission are taken multiple times, the reliability of transmission becomes extremely high. Therefore, the multiplex transmission system of the present invention exerts a particularly remarkable effect in use in a severe noise environment such as a factory.

【0071】しかもリプライ信号の返送と伝送信号の伝
送とに1本の伝送線を共用することができるので、リプ
ライ信号専用の伝送線が不要になり、省配線、省配線工
数および省コストを実現することができる。
Moreover, since one transmission line can be shared for returning the reply signal and transmitting the transmission signal, a transmission line dedicated to the reply signal is not required, and wiring saving, man-hour saving and cost saving are realized. can do.

【0072】しかもこの発明では、スタート同期信号と
同じタイミングでリプライ信号の返送を行うので、リプ
ライ信号返送用の特別な期間が不要になる。その結果、
伝送時間の短縮が可能になり、伝送速度の向上を図るこ
とができる。
Further, according to the present invention, since the reply signal is returned at the same timing as the start synchronizing signal, a special period for returning the reply signal becomes unnecessary. as a result,
The transmission time can be shortened and the transmission speed can be improved.

【0073】また、スタート同期信号の送信期間以外の
期間中に電流モードの信号が返ってきているか否かを送
信装置側で判定するようにしており、これによって、リ
プライ信号検出用の回路を兼用して、即ち専用の短絡検
出回路を設けることなく簡単に、伝送路の短絡を検出す
ることができる。その結果、回路の簡素化による機器の
小型化およびコストダウンを図ることができる。また、
短絡保護のために伝送線に直列に電流制限用の抵抗等を
挿入しなくて済むので、通信可能距離が短くなることも
ない。
Further, the transmitter side determines whether or not the current mode signal is returned during the period other than the transmission period of the start synchronization signal, and thereby also serves as the circuit for detecting the reply signal. In other words, it is possible to easily detect a short circuit in the transmission line without providing a dedicated short circuit detection circuit. As a result, the size of the device can be reduced and the cost can be reduced by simplifying the circuit. Also,
Since it is not necessary to insert a current limiting resistor or the like in series with the transmission line for short-circuit protection, the communicable distance does not become short.

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

【図1】この発明の一実施例に係る多重伝送システムを
示すブロック図である。
FIG. 1 is a block diagram showing a multiplex transmission system according to an embodiment of the present invention.

【図2】図1の多重伝送システムにおける伝送信号波
形、リプライ信号波形および伝送路短絡時の返送信号波
形の一例を示す図である。
FIG. 2 is a diagram showing an example of a transmission signal waveform, a reply signal waveform, and a return signal waveform when the transmission line is short-circuited in the multiplex transmission system of FIG.

【図3】図1中のデータ判定部におけるデータ判定方法
の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a data determination method in a data determination unit in FIG.

【図4】図1中のデータ判定部のより具体的な構成例を
示すブロック図である。
FIG. 4 is a block diagram illustrating a more specific configuration example of a data determination unit in FIG.

【図5】図1中のデータ判定部におけるデータ判定方法
において外乱が加わった場合の一例を示す図である。
5 is a diagram showing an example in the case where a disturbance is added in the data determination method in the data determination unit in FIG.

【図6】図1中の送信装置側の全体的な動作の一例を示
すフローチャートである。
FIG. 6 is a flowchart showing an example of the overall operation of the transmitting device side in FIG.

【図7】図1中の受信装置側の全体的な動作の一例を示
すフローチャートである。
FIG. 7 is a flowchart showing an example of the overall operation on the receiving device side in FIG.

【図8】従来の多重伝送システムの一例を示す概略図で
ある。
FIG. 8 is a schematic diagram showing an example of a conventional multiplex transmission system.

【図9】従来のパルスの有無によるデータ表現方式を示
す概略図である。
FIG. 9 is a schematic diagram showing a conventional data representation method based on the presence or absence of a pulse.

【図10】従来のサムチェック方式の伝送信号の一例を
示す概略図である。
FIG. 10 is a schematic diagram showing an example of a transmission signal of a conventional sum check system.

【図11】図10の伝送信号に外乱が加わった場合の一
例を示す概略図である。
11 is a schematic diagram showing an example of a case where a disturbance is added to the transmission signal of FIG.

【図12】リプライ信号を返送する場合の従来のフレー
ム構成の一例を示す概略図である。
FIG. 12 is a schematic diagram showing an example of a conventional frame configuration when returning a reply signal.

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

12 送信装置 14 受信装置 16 伝送路 17 信号線 18 グラウンド線 20 入力端子 26 制御回路 28 送信制御部 32 返信判定部 34 切換スイッチ回路 36 抵抗 50 出力端子 56 制御回路 58 受信制御部 60 データ判定部 62 相補性チェック部 66 スイッチ回路 12 transmitter 14 receiver 16 transmission line 17 signal line 18 ground line 20 input terminal 26 control circuit 28 transmission control unit 32 reply determination unit 34 changeover switch circuit 36 resistance 50 output terminal 56 control circuit 58 reception control unit 60 data determination unit 62 Complementarity check unit 66 switch circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数点の入力端子を有し、各入力端子に
入力される信号に応じた複数の伝送データを直列にして
伝送信号に含めて送信する送信装置と、複数点の出力端
子を有し、送信装置から送られてくる伝送信号を受けて
それに含まれている直列の伝送データを並列に変換して
その伝送データに応じた信号を各出力端子からそれぞれ
出力する受信装置と、この送信装置と受信装置との間を
接続する伝送路とを備える多重伝送システムであって、 前記送信装置は、並列に与えられる伝送データを直列に
変換すると共に、パルス幅の長短によって各伝送データ
が“0”か“1”かを表現し、更に各伝送データの直後
にその値を反転した相補データをそれぞれ付加し、かつ
それらの一連のデータの前および後に、同期をとるため
のスタート同期信号および入出力を処理するためのI/
Oサービス期間をそれぞれ付加して、前記伝送信号の元
になる伝送制御信号を作成してそれをサイクリックに出
力する送信制御手段と、この送信制御手段から与えられ
る伝送制御信号に応答して、前記伝送路を構成する信号
線を、一端が電源端子に接続された抵抗の他端側と前記
伝送路を構成するグラウンド線側とに択一的に切り換え
て接続し、それによって伝送路に前記伝送信号を電圧モ
ードで出力する切換スイッチ手段と、前記抵抗の両端の
電圧を監視して、当該電圧が前記伝送信号中のスタート
同期信号の送信期間中に所定値よりも上昇しなければ警
報信号を出力し、かつ当該電圧がスタート同期信号の送
信期間以外の期間中に所定値よりも上昇すれば警報信号
を出力すると共に前記送信制御手段からの伝送制御信号
の出力を中断させる返信判定手段とを備えており、 前記受信装置は、サンプリング手段、アップダウンカウ
ンタおよび比較手段を含み、前記伝送信号中の各伝送デ
ータおよび各相補データについて、一定のタイミングで
信号のサンプリングを開始し、そのサンプリング値が
“L”レベルならアップダウンカウンタにおいて一方向
にカウントし、“H”レベルならその逆方向にカウント
し、そしてサンプリング開始から一定期間経過後の判定
点でその時のアップダウンカウンタのカウント値を一定
のしきい値と比較し、両値の大小によってデータが
“0”か“1”かを判定するデータ判定手段と、このデ
ータ判定手段から直列に与えられる各伝送データを並列
に変換して出力する受信制御手段と、前記データ判定手
段から一つの伝送データとそれに続く相補データとが与
えられるごとに両データ間の相補性をチェックし、一つ
の通信サイクル内の全ての伝送データについて相補性が
成立している場合にのみ、次の通信サイクルにおけるス
タート同期信号の受信期間中に受信正常信号を出力する
相補性チェック手段と、前記伝送路を構成する信号線と
グラウンド線との間に接続されていて、この相補性チェ
ック手段から与えられる受信正常信号に応答して、信号
線とグラウンド線との間の抵抗値を低下させて電流モー
ドのリプライ信号を伝送路に発生させるスイッチ手段と
を備えることを特徴とする多重伝送システム。
1. A transmitter having a plurality of input terminals, which transmits a plurality of transmission data corresponding to a signal input to each input terminal in series and including the transmission data, and a plurality of output terminals. A receiving device that has a transmission signal sent from the transmission device, converts serial transmission data included in the transmission signal to parallel, and outputs a signal corresponding to the transmission data from each output terminal, A multiplex transmission system comprising a transmission path connecting between a transmission device and a reception device, wherein the transmission device converts transmission data given in parallel to serial data, and each transmission data is converted depending on the length of the pulse width. A start synchronization signal for expressing "0" or "1", further adding complementary data with its value inverted immediately after each transmission data, and for synchronizing before and after the series of data. And for processing the input and output I /
In response to the transmission control signal given from the transmission control means, which adds the O service period, creates a transmission control signal which is a source of the transmission signal, and cyclically outputs the transmission control signal, The signal line forming the transmission line is selectively switched to and connected to the other end side of the resistor having one end connected to a power supply terminal and the ground line side forming the transmission line, thereby connecting the transmission line to the transmission line. A changeover switch means for outputting a transmission signal in a voltage mode and a voltage across the resistor are monitored, and if the voltage does not rise above a predetermined value during a transmission period of a start synchronizing signal in the transmission signal, an alarm signal Is output, and if the voltage rises above a predetermined value during a period other than the transmission period of the start synchronization signal, an alarm signal is output and the output of the transmission control signal from the transmission control means is interrupted. The reception device includes a sampling unit, an up / down counter, and a comparison unit, and starts sampling a signal at a constant timing for each transmission data and each complementary data in the transmission signal. If the sampled value is "L" level, the up / down counter counts in one direction, and if it is "H" level, it counts in the opposite direction. Data count means for comparing the count value with a fixed threshold value and judging whether the data is "0" or "1" according to the magnitude of both values, and transmission data serially given from the data judgment means are connected in parallel. The reception control means for converting and outputting, one transmission data from the data judging means and the complementary data following it. Each time and are given, the complementarity between both data is checked, and only when the complementarity is established for all the transmission data in one communication cycle, during the start synchronization signal reception period in the next communication cycle. A complementary check means for outputting a reception normal signal, and a signal connected to the signal line and the ground line forming the transmission line, and receiving a signal from the complementary check means in response to the signal. And a switch means for reducing a resistance value between the line and the ground line to generate a current-mode reply signal in the transmission line.
JP20457193A 1993-07-26 1993-07-26 Multiplex transmission system Pending JPH0746210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20457193A JPH0746210A (en) 1993-07-26 1993-07-26 Multiplex transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20457193A JPH0746210A (en) 1993-07-26 1993-07-26 Multiplex transmission system

Publications (1)

Publication Number Publication Date
JPH0746210A true JPH0746210A (en) 1995-02-14

Family

ID=16492681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20457193A Pending JPH0746210A (en) 1993-07-26 1993-07-26 Multiplex transmission system

Country Status (1)

Country Link
JP (1) JPH0746210A (en)

Similar Documents

Publication Publication Date Title
US7340023B1 (en) Auto baud system and method and single pin communication interface
US9678919B2 (en) Collision detection in EIA-485 bus systems
US6442142B1 (en) Base-band receiver energy detection system
US5898729A (en) Fault tolerant digital transmission system
US5315597A (en) Method and means for automatically detecting and correcting a polarlity error in twisted-pair media
US7130274B2 (en) Method for detecting connection polarity of network transmission lines and associated detection circuit
JPH0746210A (en) Multiplex transmission system
US6538865B1 (en) Fault-detecting device for communication system
JP2988529B2 (en) Fault diagnosis device
JP2863067B2 (en) Data transmission method
JP2752912B2 (en) Burst signal detection circuit
KR100793451B1 (en) Activity detection in a star node with a plurality of coupled network nodes
JP3036991B2 (en) Balanced transmission line disconnection detection circuit
US6374374B1 (en) Error processing circuit for a receiving location of a data transmission system
JPS60117843A (en) Signal output system of data transmission system
JP3506508B2 (en) Data transmission method and data transmission system
JPH036944A (en) Control bus line collision prevention device
JP2522408B2 (en) Receiver circuit of FS carrier transmission system
JP3164904B2 (en) Input signal loss detection method
JP3014602B2 (en) Transmission line monitoring method for optical transmission system
JP2849952B2 (en) Frame synchronization circuit
JP2863068B2 (en) Data transmission method
JPH0229138A (en) Data transmission circuit for key telephone system
JPH0795222A (en) Communication equipment
JP2007104482A (en) Signal transmission circuit