JPH02100549A - Transmission control equipment - Google Patents

Transmission control equipment

Info

Publication number
JPH02100549A
JPH02100549A JP63253074A JP25307488A JPH02100549A JP H02100549 A JPH02100549 A JP H02100549A JP 63253074 A JP63253074 A JP 63253074A JP 25307488 A JP25307488 A JP 25307488A JP H02100549 A JPH02100549 A JP H02100549A
Authority
JP
Japan
Prior art keywords
data
bit
transmission control
flag sequence
wiring
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
JP63253074A
Other languages
Japanese (ja)
Inventor
Minoru Umetsu
梅津 実
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63253074A priority Critical patent/JPH02100549A/en
Publication of JPH02100549A publication Critical patent/JPH02100549A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To normally transmit data without re-wiring even if there is the mistake of wiring, in which a polarity is inverted by inverting a reception bit pattern when the mistake cannot be recognized even if a flag sequence is checked for several times. CONSTITUTION:When wiring is normally connected, a data route change over switch part 5 is directly connected to a data reception control part 2 as shown in a lower half part, and the data reception control part 2 operates similarly as usual. When a transceiver 3 and a receiver 4 are wired with the polarity being inverted as shown in an upper half part, bit data transmitted from a transmission control part 1 is inverted from the receiver 4 and outputted. The data reception control part 2 switches the data route change over switch part 5 to a bit inversion operation part 6-side and operates is so that data can be received.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、信号の符号化に電圧の極性を利用する伝送
方式におけるフラグ同期式の伝送制御装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a flag-synchronized transmission control device in a transmission system that utilizes voltage polarity for signal encoding.

(従来の技術〕 一般に、信号の符号化に電圧の極性を利用した伝送方式
は、回路が比較的簡単で、しかも安価に伝送距離および
伝送速度を高めることができる。
(Prior Art) Generally, a transmission system that uses voltage polarity for signal encoding has a relatively simple circuit and can increase transmission distance and transmission speed at low cost.

また、ノイズにも比較的強いことから、工場内での伝送
手段として多様に用いられている。
It is also relatively resistant to noise, so it is used in a variety of ways as a transmission means within factories.

第4図は、従来のこの種の伝送制御装置を示すもので、
図中、(1)はデータ送信制御部、(2)はデータ受信
制御部、(3)は1つのビットデータを2つの出力電圧
にエンコードするトランシーバ、(4)は2つの電圧か
ら1つのビットデータにデコードするレシーバである。
Figure 4 shows a conventional transmission control device of this type.
In the figure, (1) is a data transmission control unit, (2) is a data reception control unit, (3) is a transceiver that encodes one bit of data into two output voltages, and (4) is one bit that is encoded from two voltages. It is a receiver that decodes it into data.

従来の伝送制御装置は上記のように構成され、トランシ
ーバ(3)とレシーバ(4)の(+) 、 (−)の各
種は、互いに同一の極間士が結線されている。そして、
トランシーバ(3)の入力に、データ送信制御部(1)
からビットデータ1又はOがあると、トランシーバ(3
)は、出力(+)極に)Iigh電圧又はLow電圧、
出力(−)極に出力(+)極反転させたLOwTL圧又
は旧gh電圧とする電圧信号に変換して電送する。一方
、レシーバ(4)は、入力(+)極。
The conventional transmission control device is configured as described above, and the (+) and (-) terminals of the transceiver (3) and receiver (4) are connected to the same poles. and,
A data transmission control unit (1) is connected to the input of the transceiver (3).
If there is bit data 1 or O from the transceiver (3
) is the output (+) pole) High voltage or Low voltage,
It converts into a voltage signal with the LOwTL voltage or the old gh voltage with the output (+) pole inverted to the output (-) pole, and transmits it. On the other hand, the receiver (4) has an input (+) pole.

入力(−)極に入ったHigh電圧、 Low電圧をデ
コードし、ビットデータの1又は0をデータ受信制御部
(2)に出力する。
It decodes the High voltage and Low voltage that enter the input (-) pole, and outputs bit data 1 or 0 to the data reception control section (2).

ところで、フラグ同期式は、フレームと呼ばれる伝送ブ
ロックの先端および後端に、フラグシーケンスと称する
特殊なビットパターンをそれぞれ付加してデータを構成
している。このビットパターンをチエツクしてフレーム
の同期を確立し、第3図に示すデータ受信制御部(2)
がそれを担当する。
By the way, in the flag synchronous method, data is constructed by adding special bit patterns called flag sequences to the leading and trailing ends of a transmission block called a frame. This bit pattern is checked to establish frame synchronization, and the data reception control unit (2) shown in Fig. 3
is in charge of it.

第5図(A)はフレームのフォーマットのビットパター
ン及び第5図(B)はフラグシーケンスのビットパター
ンとを示す。データ受信制御部(2)は、常にフラグシ
ーケンス(lO)と合致するビットパターンがくるのを
待っており、フラグシーケンス(10)がくるまではデ
ータの受信を行なわず、受信したビットパターンがフラ
グシーケンス(10)と合致したならば、以後のビット
データをフレームの情報部(11)のデータとして受信
する。
FIG. 5(A) shows the bit pattern of the frame format, and FIG. 5(B) shows the bit pattern of the flag sequence. The data reception control unit (2) always waits for the arrival of a bit pattern that matches the flag sequence (lO), and does not receive data until the flag sequence (10) comes, and the received bit pattern is the flag sequence. If it matches (10), the subsequent bit data is received as data in the information section (11) of the frame.

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

従来の伝送方式は以上のように構成されているので、信
号の符号化に電圧の極性を利用しており、極性を逆にし
て配線してしまうミスが多いが、配線の接続があくまで
も正常であることを前提としているため、配線ミスがあ
ると、配線工事を再度やり直さなければならず、工場等
のように複雑に配線されているところや、伝送線を地下
やパイプ内を通しているところでは、簡単に配線をし直
すことができないという課題があった。
Conventional transmission systems are configured as described above, and the polarity of the voltage is used to encode the signal, and although there are many mistakes in wiring with the polarity reversed, it is important to note that the wiring connection is normal. If there is a wiring error, the wiring work must be redone, and in places where the wiring is complicated, such as in factories, or where transmission lines are run underground or through pipes, There was a problem in that the wiring could not be easily rewired.

この発明は、かかる課題を解決するためになされたもの
で、配線の極性ミスを自動釣に検知し、配線をし直すこ
となくデータを正常に伝送することができる伝送制御装
置を得ることを目的とする。
This invention was made to solve this problem, and the object is to provide a transmission control device that can automatically detect wiring polarity errors and transmit data normally without rewiring. shall be.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る伝送制御装置は、伝送ブロックの先端お
よび後端にフラグシーケンスをそれぞれ付加したデータ
を出力するデータ送信制御手段と、上記データを電圧信
号に変換するエンコード手段と、該エンコード手段から
の電圧信号を元のデータに戻すデコード手段と、該デコ
ード手段からのデータのフラグシーケンスのビットパタ
ーンと予め定められているビットパターンとを比較して
一致、不一致を判定する判定手段と、該判定手段からの
一致信号の入力により、上記デコード手段からのデータ
を受信するデータ手段と、上記デコード手段からのデー
タの各ビットデータを反転させるビット反転手段と、上
記判定手段による判定回数をカウントするカウント手段
と、該カウント手段の判定回数が設定値に達した際に、
上記デコード手段からのデータを、上記ビット反転手段
を介して判定手段に入力する経路切換手段とを膜状るよ
うにしたものである。
A transmission control device according to the present invention includes a data transmission control means for outputting data with a flag sequence added to the leading and trailing ends of a transmission block, an encoding means for converting the data into a voltage signal, and a voltage signal from the encoding means. a decoding means for returning the voltage signal to the original data; a determining means for comparing a bit pattern of a flag sequence of data from the decoding means with a predetermined bit pattern to determine whether they match or not; and the determining means data means for receiving data from the decoding means in response to input of a coincidence signal from the decoding means; bit inverting means for inverting each bit of data from the decoding means; and a counting means for counting the number of times of determination by the determination means. And when the number of judgments of the counting means reaches the set value,
A path switching means for inputting data from the decoding means to the determining means via the bit inverting means is arranged in a membrane-like manner.

〔作 用〕[For production]

この発明においては、フラグシーケンスを認識できなか
った場合、ビットパターンを反転させて再度フラグシー
ケンス有無のチエツクがなされる。このため、極性を逆
にした配線ミスが検知され、かつ修正され、配線をやり
直すことなくデータを正常に伝送することが可能となる
In this invention, if the flag sequence cannot be recognized, the bit pattern is inverted and the presence or absence of the flag sequence is checked again. Therefore, a wiring error in which the polarity is reversed is detected and corrected, and data can be transmitted normally without rewiring.

〔実施例〕〔Example〕

第1図は、この発明に係る伝送制御装置の一実施例を示
す全体構成図である。この実施例は、第1図からも明ら
かなように、伝送ブロックの先端および後端にフラグシ
ーケンスをそれぞれ付加したデータを出力するデータ送
信制御手段(21)と、上記データを電圧信号に変換す
るエンコード手段(22)と、エンコード手段(22)
からの電圧信号を元のデータに戻すデコード手段(23
)とをそれぞれ設け、判定手段(24)において、デコ
ード手段(23)からのデータのフラグシーケンスのビ
ットパターンと予め定められているビットパターンとを
比較して一致、不一致を判定するとともに、データ受信
手段(25)において、判定手段(24)から一致信号
が入力された場合に、上記デコード手段(23)からの
データを受信するように構成され、さらに上記デコード
手段(23)からのデータの各ビットデータを反転させ
るビット反転手段(26)、および上記判定手段(24
)による判定回数をカウントするカウント手段(27)
をそれぞれ設け、カウント手段(27)の判定回数が設
定値に達した際に、経路切換手段(28)により、上記
デコード手段(23)からのデータを、上記ビット反転
手段(26)を介して判定手段(24)に入力するよう
に構成されている。すなわち、デコード手段(23)か
らのデータは、通常は直接判定手段(24)に入力され
るが、フラグシーケンスを認識できなかった場合には、
ビット反転手段(26)を介し判定手段(24)に入力
されるように構成されている。
FIG. 1 is an overall configuration diagram showing an embodiment of a transmission control device according to the present invention. As is clear from FIG. 1, this embodiment includes a data transmission control means (21) that outputs data with a flag sequence added to the leading and trailing ends of a transmission block, and converts the data into a voltage signal. Encoding means (22) and encoding means (22)
Decoding means (23
), and the determining means (24) compares the bit pattern of the flag sequence of the data from the decoding means (23) with a predetermined bit pattern to determine whether they match or not. The means (25) is configured to receive data from the decoding means (23) when a coincidence signal is input from the determining means (24), and furthermore, each of the data from the decoding means (23) is bit inverting means (26) for inverting bit data; and the determining means (24).
) counting means (27) for counting the number of judgments made by
are respectively provided, and when the number of determinations by the counting means (27) reaches a set value, the path switching means (28) transfers the data from the decoding means (23) to the bit inverting means (26). The information is configured to be input to the determining means (24). That is, data from the decoding means (23) is normally input directly to the determining means (24), but if the flag sequence cannot be recognized,
The signal is configured to be input to the determining means (24) via the bit inverting means (26).

第2図は、第1図の実施例に使用される伝送制御装置を
示すハードウェア構成図であり、図中、第4図と同一符
号は同−又は相当部分を示す。
FIG. 2 is a hardware configuration diagram showing the transmission control device used in the embodiment of FIG. 1, and in the figure, the same reference numerals as in FIG. 4 indicate the same or corresponding parts.

(5)は通常の経路とビット反転の経路とを切換えるた
めのデータ経路切換スイッチ部、(6)はビットデータ
を反転させるビット反転操作部である。
(5) is a data path changeover switch section for switching between a normal path and a bit inversion path, and (6) is a bit inversion operation section for inverting bit data.

次に、上記実施例の動作を第2図および第3図を参照し
ながら説明する。第3図は、データ受信の手順を示すフ
ローチャートである。
Next, the operation of the above embodiment will be explained with reference to FIGS. 2 and 3. FIG. 3 is a flowchart showing the procedure of data reception.

配線が正常に接続されている場合には、第2図の下半部
に示すように、データ経路切換スイッチ部(5)は直接
にデータ受信制御部(2)に接続され、データ受信制御
部(2)は従来と同じ動作をする。
When the wiring is connected normally, the data path changeover switch section (5) is directly connected to the data reception control section (2), as shown in the lower half of Figure 2, and the data reception control section (2) operates in the same way as before.

一方、第2図の上手部に示すように、トランシーバ(3
)とレシーバ(4)とが極性を逆にして配線されている
場合には、データ送信制御部(1)から送信されたビッ
トデータは、レシーバ(4)から反転して出力されてし
まう。すなわち、データ送信制御部(1)から送信され
るビットデータ“1”は、データ受信制御部(2)では
ビットデータ“0“として受信され、またビットデータ
“0”はビットデータ゛°1°゛として受信されてしま
う。
On the other hand, as shown in the upper part of Fig. 2, the transceiver (3
) and the receiver (4) are wired with opposite polarities, the bit data transmitted from the data transmission control section (1) will be inverted and output from the receiver (4). That is, bit data “1” transmitted from the data transmission control unit (1) is received as bit data “0” by the data reception control unit (2), and bit data “0” is received as bit data “°1°”. It will be received.

そこでこの場合には、データ受信制御部(2)は、デー
タ経路切換スイッチ部(5)をビット反転操作部(6)
側に切換えてデータ受信ができるように動作する。
Therefore, in this case, the data reception control section (2) switches the data path changeover switch section (5) to the bit inversion operation section (6).
It operates so that data can be received by switching to the side.

すなわち、まず第3図に示すステップ(31)において
、レシーバ(4)から得られるデータのビットパターン
を、フラグシーケンス(10)のビットパターンと比較
する。そして、ステップ(32)において、両ビットパ
ターンが合致しているか否かを判別する。もし、合致し
ていれば、通常通りステップ(36)でデータ受信を行
なうが、極性を逆に配線して両ビットパターンが合致し
ない場合には、ステップ(33)において、フラグシー
ケンスチエツクが失敗した回数をカウントするとともに
、ステップ(34)において、このカウント数が設定値
nを超えたか否かを判別する。そして、設定値nを超え
るまで、フラグシーケンスチエツクを繰返す。
That is, first, in step (31) shown in FIG. 3, the bit pattern of the data obtained from the receiver (4) is compared with the bit pattern of the flag sequence (10). Then, in step (32), it is determined whether both bit patterns match. If they match, the data is received in step (36) as usual, but if the polarity is reversed and both bit patterns do not match, then in step (33) it is determined that the flag sequence check has failed. The number of times is counted, and in step (34) it is determined whether this count exceeds a set value n. Then, the flag sequence check is repeated until the set value n is exceeded.

フラグシーケンスのチエツク回数が設定値nを超えた場
合には、ステップ(35)において、データ経路切換ス
イッチ部(5)に対し経路変更の指示を出し、レシーバ
(4)からのデータが、ビット反転操作部(6)を経由
してデータ受信制御部(2)に入力されるようにする。
If the number of times the flag sequence is checked exceeds the set value n, in step (35), an instruction to change the route is issued to the data route changeover switch unit (5), and the data from the receiver (4) is bit-inverted. The data is input to the data reception control section (2) via the operation section (6).

これにより、レシーバ(4)で反転されたデータの各ビ
ットデータは、ビット反転操作部(6)で再び反転され
て正常なビットデータとなり、その後データ受信制御部
(2)に伝送される。
As a result, each bit data of the data inverted by the receiver (4) is again inverted by the bit inversion operation section (6) to become normal bit data, and then transmitted to the data reception control section (2).

次いで、再びステップ(31)に戻ってフラグシーケン
スのチエツクがなされ、ステップ(32)で合致するこ
とにより、データ受信(ステップ(36))がなされる
Next, the process returns to step (31) again to check the flag sequence, and when a match is found in step (32), data reception is performed (step (36)).

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

この発明は以上説明したとおり、フラグシーケンスを所
定回数チエツクしても認識できない場合には、受信ビッ
トパターンを反転させるようにしているので、極性を逆
にした配線のミスであっても、配線をし直すことなくデ
ータを正常に伝送することができる等の効果がある。
As explained above, in this invention, if the flag sequence cannot be recognized even after checking the predetermined number of times, the received bit pattern is inverted. This has the advantage that data can be transmitted normally without having to be re-transmitted.

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

第1図はこの発明の一実施例を示す伝送制御装置の全体
構成図、第2図はそのハードウェア構成図、第3図はデ
ータ受信の手順を示すフローチャート、第4図は従来の
伝送制御装置を示す第2図相当図、第5図(A) 、 
(B)はフラグ同期の伝送方式におけるフレームフォー
マットおよびフラグシーケンスを示す説明図である。 (21)・・・データ送信制御手段、(22)・・・エ
ンコード手段、(23)・・・デコード手段、(24)
・・・判定手段、(25)・・・データ受信手段、(2
6)・・・ビット反転手段、(27)・・・カウント手
段、(28)・・・経路切換手段。 なお、各図中同一符号は同−又は相当部分を示すものと
する。
Fig. 1 is an overall configuration diagram of a transmission control device showing an embodiment of the present invention, Fig. 2 is a hardware configuration diagram thereof, Fig. 3 is a flowchart showing the data reception procedure, and Fig. 4 is a conventional transmission control device. A diagram equivalent to Figure 2 showing the device, Figure 5 (A),
(B) is an explanatory diagram showing a frame format and a flag sequence in a flag synchronization transmission method. (21)...Data transmission control means, (22)...Encoding means, (23)...Decoding means, (24)
...determination means, (25) ...data reception means, (2
6)...Bit inversion means, (27)...Counting means, (28)...Route switching means. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 伝送ブロックの先端および後端に、フラグシーケンスを
それぞれ付加したデータを出力するデータ送信制御手段
と、上記データを電圧信号に変換するエンコード手段と
、該エンコード手段からの電圧信号を元のデータに戻す
デコード手段と、該デコード手段からのデータのフラグ
シーケンスのビットパターンと予め定められているビッ
トパターンとを比較して一致、不一致を判定する判定手
段と、該判定手段からの一致信号の入力により、上記デ
コード手段からのデータを受信するデータ受信手段と、
上記デコード手段からのデータの各ビットデータを反転
させるビット反転手段と、上記判定手段による判定回数
をカウントするカウント手段と、該カウント手段の判定
回数が設定値に達した際に、上記デコード手段からのデ
ータを、上記ビット反転手段を介して判定手段に入力す
る経路切換手段とを具備することを特徴とする伝送制御
装置。
Data transmission control means for outputting data with a flag sequence added to the leading and trailing ends of the transmission block, encoding means for converting the data into a voltage signal, and returning the voltage signal from the encoding means to the original data. A decoding means, a determining means for comparing a bit pattern of a flag sequence of data from the decoding means with a predetermined bit pattern to determine whether they match or do not match, and inputting a match signal from the determining means, data receiving means for receiving data from the decoding means;
bit inverting means for inverting each bit data of the data from the decoding means; a counting means for counting the number of times of determination by the determining means; A transmission control device comprising path switching means for inputting the data to the determination means via the bit inversion means.
JP63253074A 1988-10-07 1988-10-07 Transmission control equipment Pending JPH02100549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63253074A JPH02100549A (en) 1988-10-07 1988-10-07 Transmission control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63253074A JPH02100549A (en) 1988-10-07 1988-10-07 Transmission control equipment

Publications (1)

Publication Number Publication Date
JPH02100549A true JPH02100549A (en) 1990-04-12

Family

ID=17246130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63253074A Pending JPH02100549A (en) 1988-10-07 1988-10-07 Transmission control equipment

Country Status (1)

Country Link
JP (1) JPH02100549A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0887650A1 (en) * 1997-06-24 1998-12-30 Landis & Gyr Utilities Services, Inc. Robust electrical utility meter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0887650A1 (en) * 1997-06-24 1998-12-30 Landis & Gyr Utilities Services, Inc. Robust electrical utility meter

Similar Documents

Publication Publication Date Title
US4447903A (en) Forward error correction using coding and redundant transmission
DE3163529D1 (en) Method of maintaining the functioning aptitude of a digital information transmission arrangement, and its application
JPH02100549A (en) Transmission control equipment
JPH02132934A (en) Discrimination signal sending device
JPH01166632A (en) Method and circuit for digital signal decoding
JPH04364320A (en) Step-out detecting circuit
JPS62109441A (en) Data transmission system
JPH1131084A (en) Parity check circuit
JPH03112240A (en) Line fault detecting method
JP2555582B2 (en) CMI code error detection circuit
JPH0633727Y2 (en) Error monitoring circuit
JPS5926683Y2 (en) Short circuit detection circuit
JPH0637738A (en) Data transmission error control system
JPS6014527A (en) Nonbreak high-speed signal processing circuit
JPS60236532A (en) Error detection system
JPS59189744A (en) Transmission method of remote supervisory signal
JPS63226754A (en) Bus data error detecting system
JPS58100550A (en) Data transmission system
JPS5810222A (en) Data transferring system
JPS62231341A (en) Information processor
JPH01187657A (en) Common bus system
JPS6356043A (en) Optical repeater
JPH01264017A (en) Code converter
JPS5989053A (en) Synchronism error detector
JPS6361336A (en) Data error detecting system