JPH0354497B2 - - Google Patents

Info

Publication number
JPH0354497B2
JPH0354497B2 JP57103444A JP10344482A JPH0354497B2 JP H0354497 B2 JPH0354497 B2 JP H0354497B2 JP 57103444 A JP57103444 A JP 57103444A JP 10344482 A JP10344482 A JP 10344482A JP H0354497 B2 JPH0354497 B2 JP H0354497B2
Authority
JP
Japan
Prior art keywords
data
communication
memory
unit
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57103444A
Other languages
Japanese (ja)
Other versions
JPS58219856A (en
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 filed Critical
Priority to JP57103444A priority Critical patent/JPS58219856A/en
Publication of JPS58219856A publication Critical patent/JPS58219856A/en
Publication of JPH0354497B2 publication Critical patent/JPH0354497B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/14Arrangements for detecting or preventing errors in the information received by using return channel in which the signals are sent back to the transmitter to be checked ; echo systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

【発明の詳細な説明】 この発明はデータ端末装置間のデータ授受を行
なうデータ通信方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data communication system for exchanging data between data terminal devices.

従来より、専用回線を用いずに簡便・安価にデ
ータ通信を行なう方法として電源配電線を通信回
線に用いる方法がある。しかし電源配電線を通信
回線に用いる方法は、回線にノイズが多く含まれ
るために多少データエラーが発生しても問題とな
らないようなシステムに適用される程度であつて
コンピユータ間通信のように、高速で、高信頼性
が要求されるデータ通信に採用することは困難で
あつた。
2. Description of the Related Art Conventionally, there has been a method of using a power distribution line as a communication line as a simple and inexpensive method of data communication without using a dedicated line. However, the method of using power supply distribution lines as communication lines is only applicable to systems where there is no problem even if some data errors occur because the line contains a lot of noise, such as communication between computers. It has been difficult to apply it to data communications that require high speed and high reliability.

この発明の目的は、電源回線を使用しても、数
10キロ・ビツト/秒程度以上の高速通信を可能と
するとともに、ビツトエラー率が10-3以上の高品
質な通信が可能なデータ通信方式を提供するにあ
る。
The purpose of this invention is to reduce the number of
The object of the present invention is to provide a data communication method that enables high-speed communication of about 10 kilobits per second or more and high-quality communication with a bit error rate of 10 -3 or more.

上記目的を達成するためにこの発明のデータ通
信方式は、各データ端末装置と回線間に、通信制
御部とCPUとメモリとを含み、データ端末装置
間で行うデータ通信の希望通信速度のN倍の通信
速度で通信を行なう通信装置を設け、送信側の前
記通信装置はデータ端末装置よりの送信すべきデ
ータを前記メモリに格納しつつ、このメモリのア
ドレスと数キヤラクタのデータと誤り制御コード
と同期キヤラクタを1単位とするデータを順次送
信し、受信側の通信装置は前記送信された単位デ
ータを受信し、誤りがない場合にのみ自装置のメ
モリの受信データのアドレスに対応するアドレス
位置に前記数キヤラクタデータを格納するととも
に、そのアドレスと正常受信を示す承認コード
と、誤り制御コードと、同期キヤラクタを1単位
とするデータを送信側に送信し、誤りがある場合
にはそのアドレスと不承認コードと誤り制御コー
ドと、同期キヤラクタを1単位とするデータを送
信側に返送し、前記送信側の通信装置では、返送
された単位データを正常に受信した場合のメモリ
アドレスを管理し、送信したデータがすべて正常
に受信されたという確認が得られるまで再送信を
繰り返すようにしている。
In order to achieve the above object, the data communication system of the present invention includes a communication control unit, a CPU, and a memory between each data terminal device and a line, and N times the desired communication speed of data communication between the data terminal devices. A communication device is provided which performs communication at a communication speed of Data with a synchronization character as one unit is transmitted sequentially, and the receiving side communication device receives the transmitted unit data, and only if there is no error, moves the data to the address position corresponding to the address of the received data in its own memory. In addition to storing the above-mentioned several character data, the address, an acknowledgment code indicating normal reception, an error control code, and data in which the synchronization character is one unit are transmitted to the sending side, and if there is an error, the address and The data including the disapproval code, error control code, and synchronization character as one unit are returned to the sending side, and the communication device on the sending side manages a memory address when the returned unit data is normally received, and then sends the data. The retransmission process is repeated until confirmation that all the received data has been successfully received.

以下図面に示す実施例によりこの発明を詳細に
説明する。
The present invention will be explained in detail below with reference to embodiments shown in the drawings.

第1図はこの発明が実施される屋内配電線利用
の通信システムのブロツク図である。同図におい
て各データ端末装置DT1,DT2…,DTnと通
信回線としての屋内配電網Lとの間には通信装置
T1,T2,…,Tnがそれぞれ設けられ、通信
装置T1,T2…,Tnはそれぞれ結合器C1,
C2,…,Cnを介して屋内配電網Lに接続され
ている。
FIG. 1 is a block diagram of a communication system using indoor power distribution lines in which the present invention is implemented. In the figure, communication devices T1, T2, ..., Tn are provided between each data terminal device DT1, DT2..., DTn and an indoor power distribution network L as a communication line, and the communication devices T1, T2..., Tn are provided respectively. coupler C1, respectively;
It is connected to the indoor power distribution network L via C2, . . . , Cn.

第2図は第1図に示す通信装置T1,T2…
Tnの一例を示すブロツク図である。ここに示す
通信装置Tは2個のCPU1,2、2個の通信制
御部3,4及び2ポートメモリ5を備えており、
通信制御部3はバスB1によりCPU1と2ポー
トメモリ5に接続され、通信制御部4はバスB2
によりCPU2と2ポートメモリ5に接続されて
いる。また通信制御部3はデータ端末装置DT
に、通信制御部4はモデム6に接続されている。
さらにCPU1及び2は割込信号線IT1,IT2に
より互いに割込可能なように構成されている。2
個のCPU1,2は通信制御部3,4の制御を行
ないながら、その過程で発生するデータの転送を
2ポートメモリ5を介して行なうようになつてい
る。
FIG. 2 shows communication devices T1, T2, . . . shown in FIG. 1.
FIG. 3 is a block diagram showing an example of Tn. The communication device T shown here includes two CPUs 1 and 2, two communication control units 3 and 4, and a 2-port memory 5.
The communication control unit 3 is connected to the CPU 1 and the 2-port memory 5 by bus B1, and the communication control unit 4 is connected to bus B2.
is connected to the CPU 2 and the 2-port memory 5. In addition, the communication control unit 3 is a data terminal device DT.
The communication control section 4 is connected to a modem 6.
Further, the CPUs 1 and 2 are configured to be able to interrupt each other via interrupt signal lines IT1 and IT2. 2
The CPUs 1 and 2 are designed to control the communication control units 3 and 4 while transferring data generated in the process via the two-port memory 5.

第2図には1個の通信装置のみを示している
が、データ端末装置間でデータ転送を行なう場合
には、他の相手方のデータ端末装置にも設けられ
る通信装置との間で送受信動作が行なわれる。こ
の通信装置間の送受信は全2重で、しかも希望通
信速度の3倍(N倍)の速度で通信を行うように
している。
Although only one communication device is shown in FIG. 2, when data is transferred between data terminal devices, transmission and reception operations are performed with communication devices installed in other data terminal devices. It is done. Transmission and reception between the communication devices is full-duplex, and communication is performed at a speed three times (N times) the desired communication speed.

次に第3図に示すタイムチヤートを参照して2
つのデータ端末装置間の送受信動作について説明
する。
Next, refer to the time chart shown in Figure 3.
Transmission and reception operations between two data terminal devices will be explained.

第3図においてaDTE→P1は端末装置DTか
らCPU1へ送信ブロツク1が直列データで伝え
られる状態を示している。CPU1はこの送信ブ
ロツク1を並列データに変換して2ポートメモリ
5に書き込んでゆく。その状態を第3図g2PM書
込で示している。またCPU1は2ポートメモリ
5に書き込みを開始したことをCPU2に通知す
るために送信開始割込をCPU2に発生する〔第
3図e参照〕。この割込を受けたCPU2は2ポー
トメモリ5から記憶されている送信ブロツク1デ
ータを取り出し、通信内容の変換を行ない、直列
データとしてモデム6を経て相手方データ端末装
置に送信する〔第3図c参照〕。送信ブロツク1
の送信(再送を含む)がすべて終了するとCPU
2はCPU1に対し送信終了割込を発生する〔第
3図f参照〕。
In FIG. 3, aDTE→P1 shows a state in which transmission block 1 is transmitted from the terminal device DT to the CPU 1 in the form of serial data. The CPU 1 converts this transmission block 1 into parallel data and writes it into the 2-port memory 5. This state is shown in Figure 3, written in g2PM. Further, the CPU 1 generates a transmission start interrupt to the CPU 2 to notify the CPU 2 that writing to the 2-port memory 5 has started [see FIG. 3e]. Upon receiving this interrupt, the CPU 2 retrieves the stored transmission block 1 data from the 2-port memory 5, converts the communication content, and transmits it as serial data to the other party's data terminal device via the modem 6 (Fig. 3c). reference〕. Transmission block 1
When all transmissions (including retransmissions) are completed, the CPU
2 generates a transmission end interrupt to the CPU 1 [see Figure 3 f].

次に自データ端末装置DTは応答として受信ブ
ロツク1の受信を期待することになる。CPU2
は相手の通信装置より、受信ブロツク1の受信を
開始すると〔第3図d参照〕、そのデータを並列
データに変換し、順次2ポートメモリ5に書き込
んでゆく〔第3図g参照〕。そしてCPU2はCPU
1に対し受信開始割込を発生する〔第3図f参
照〕。この割込を受けるとCPU1は2ポートメモ
リ5から本来のデータキヤラクタの並び順に順次
データを読み出し〔第3図h参照〕、通信内容の
変換を行ない直列データとして自データ端末装置
DTに伝える〔第3図b参照〕。受信ブロツク1
の受信が終了するとCPU1はCPU2に対して受
信終了割込を発生する〔第3図e参照〕。
Next, the own data terminal device DT expects to receive reception block 1 as a response. CPU2
When it starts receiving the reception block 1 from the other party's communication device (see Figure 3 d), it converts the data into parallel data and sequentially writes it into the 2-port memory 5 (see Figure 3 g). And CPU2 is CPU
1, a reception start interrupt is generated (see Figure 3 f). Upon receiving this interrupt, the CPU 1 sequentially reads the data from the 2-port memory 5 in the original order of data characters (see Figure 3 h), converts the communication content, and converts the data into serial data to the own data terminal.
Inform the DT [see Figure 3b]. Reception block 1
When the reception of the data is completed, the CPU 1 generates a reception end interrupt to the CPU 2 [see FIG. 3e].

2つのデータ端末装置間でデータ伝送を行なう
場合には先ずデータリンクの確立、すなわちデー
タ通信の開始の確認を行なう必要がある。
When transmitting data between two data terminal devices, it is first necessary to establish a data link, that is, confirm the start of data communication.

第4図はデータリンクの確立を行なう場合のタ
イムチヤートを示している。
FIG. 4 shows a time chart when establishing a data link.

次に第4図を参照してデータリンクを確立する
場合の動作について説明する。なお第4図におい
てSは同期キヤラクタSYZ、Eはデータリンク
確立要求ENQ、Bは誤り制御用キヤラクタBCC、
Aはデータ通信承認キヤラクタACKをそれぞれ
示している。
Next, the operation when establishing a data link will be explained with reference to FIG. In FIG. 4, S is a synchronization character SYZ, E is a data link establishment request ENQ, B is an error control character BCC,
A indicates the data communication acknowledgment character ACK.

先ず自データ端末装置DTから、同期キヤラク
タSYN、自データ端末装置番号F1、相手データ
端末装置番号F2、及びデータリンク確立要求
ENQの各コードを希望通信速度でCPU1に送出
し、2ポートメモリ5に記憶する〔第4図a参
照〕。CPU1はSYN、F1、F2、ENQのコード信
号を受けると、CPU2に割込をかけ2ポートメ
モリ5内のデータを電源配電網L上に送出するよ
うに指示する〔第4図b参照〕。この割込を受け
てCPU2は2ポートメモリ5からデータを取り
出し、3倍の通信速度に変換して第4図aのデー
タに誤り制御用キヤラクタBCCを付加して、相
手方に送出する。
First, the own data terminal device DT sends the synchronization character SYN, the own data terminal device number F1, the other party's data terminal device number F2, and a data link establishment request.
Each ENQ code is sent to the CPU 1 at the desired communication speed and stored in the 2-port memory 5 [see Figure 4a]. When the CPU 1 receives the code signals SYN, F1, F2, and ENQ, it interrupts the CPU 2 and instructs it to send the data in the two-port memory 5 onto the power distribution network L (see FIG. 4b). In response to this interrupt, the CPU 2 takes out the data from the two-port memory 5, converts it to three times the communication speed, adds an error control character BCC to the data shown in FIG. 4a, and sends it to the other party.

相手のデータ端末装置は通信装置を経て第3図
cのコードを受信し、データ通信を開始すること
を送信側に応答するために同期キヤラクタSYN、
自データ端末装置番号F2、相手データ端末装置
番号F1、データ通信承認キヤラクタACK、誤り
制御用キヤラクタBCCを送信してくる〔第4図
d参照〕ので、CPU2はこれを受信する。第4
図cと第4図dのデータ端末装置番号F1とF2の
順序が逆になつているがこれは送受信データ端末
装置が逆になつているためである。また上記にお
いてデータフオーマツト中にデータ端末装置番号
F1、F2を含ませているのは、第1図に示すよう
に複数のデータ端末装置が設置されている場合
に、互いに通信の相手を明確に特定するためであ
る。
The data terminal device of the other party receives the code shown in FIG. 3c via the communication device, and sends a synchronization character SYN,
The CPU 2 receives the own data terminal device number F2, the other party's data terminal device number F1, the data communication acknowledgment character ACK, and the error control character BCC (see FIG. 4d). Fourth
The order of the data terminal equipment numbers F1 and F2 in Figures c and 4d is reversed because the transmitting and receiving data terminal equipment is reversed. In addition, in the above, the data terminal device number is
The reason why F1 and F2 are included is to clearly identify the communication partner when a plurality of data terminal devices are installed as shown in FIG.

上記の通信過定でエラーが生じていれば第4図
cとdを繰り返す。CPU2で正常に第4図dの
内容を確認すると、CPU2はCPU1に対して割
込を発生する〔第4図e参照〕。CPU1は2ポー
トメモリ5からSYN、F2、F1、ACKを取り出
し、自データ端末装置DTに伝え〔第4図f参
照〕、これによりデータリンクが確立する。
If an error occurs due to the above communication overshoot, repeat steps c and d in FIG. When the contents of FIG. 4 d are normally confirmed by CPU 2, CPU 2 generates an interrupt to CPU 1 [see FIG. 4 e]. The CPU 1 retrieves SYN, F2, F1, and ACK from the two-port memory 5 and transmits them to its own data terminal device DT (see FIG. 4 f), thereby establishing a data link.

データリンクが確立すると、データの送信に移
る。第5図にデータ送信及びエラー時再送のタイ
ムチヤートを示している。
Once the data link is established, data transmission begins. FIG. 5 shows a time chart of data transmission and retransmission in case of error.

第5図aはCPU2から相手データ授受装置へ
の送信内容のフオーマツトを示しており、同期キ
ヤラクタSYNと、メモリアドレス、2個のデー
タキヤラクタ及び誤り制御キヤラクタBCCが1
単位データとして送出される。図示例では先ず2
個のデータキヤラクタDn,Dn+1と、この2個
のデータキヤラクタの記憶アドレスを代表するメ
モリアドレスMnが送信され、次の単位として2
個のデータキヤラクタDn+2,Dn+3とこの2
個のデータキヤラクタの記憶アドレスを代表する
メモリアドレスMn+2が送信され、そしてこの
データ送信に対して相手方の通信装置より承認信
号ACKを含む応答が続く限り、CPU2からは代
表メモリアドレスMn,Mn+2,Mn+4,Mn
+6…を含むデータが送出されることになる。
Figure 5a shows the format of the transmission contents from the CPU 2 to the other party's data exchange device, in which the synchronization character SYN, memory address, two data characters, and error control character BCC are 1.
Sent as unit data. In the illustrated example, first 2
data characters Dn, Dn+1 and a memory address Mn representing the memory addresses of these two data characters are transmitted, and the next unit is 2 data characters Dn, Dn+1.
data characters Dn+2, Dn+3 and these two
As long as the memory address Mn+2 representing the memory address of the data character is transmitted, and as long as the communication device of the other party continues to respond to this data transmission with the acknowledgment signal ACK, the CPU 2 will transmit the representative memory address Mn, Mn+2, Mn+2, Mn+4, Mn
Data including +6... will be sent.

しかしながら第5図bに示すようにCPU2で
Mn不承認に応答を受信した場合すなわち同期キ
ヤラクタSYN、メモリアドレスMn、不承認応答
NACK、誤り制御キヤラクタBCCを1単位とす
るデータを受信した場合は、Mn送信中にエラー
が生じているとしてCPU2は第5図aに示すよ
うにMn+2送信に続いてSYN、Mn、Dn,Dn
+1、BCCを再送する。第5図bではMnがエラ
ー、Mn+2が承認、その後再送によりMnが承
認になつており合計4個のデータキヤラクタDn,
Dn+1+Dn+2,Dn+3の正常な送信が行われ
たことをメモリアドレスMn及びMn+2で確認
している。このようにして全代表メモリアドレス
について確認がとれると所定のデータの送信が終
了することになる。
However, as shown in Figure 5b, CPU2
If a response is received to Mn disapproval i.e. synchronization character SYN, memory address Mn, disapproval response
When receiving data with NACK and error control character BCC as one unit, CPU 2 assumes that an error has occurred during Mn transmission and sends SYN, Mn, Dn, Dn following Mn+2 transmission as shown in Figure 5a.
+1, resend BCC. In Figure 5b, Mn is an error, Mn+2 is approved, and then Mn is approved by retransmission, so there are a total of 4 data characters Dn,
It is confirmed by memory addresses Mn and Mn+2 that Dn+1+Dn+2 and Dn+3 have been transmitted normally. In this way, when all representative memory addresses are confirmed, the transmission of the predetermined data ends.

なお第5図に示すデータ送受信は自装置の通信
装置と相手の通信装置間で行なわれるものであり
相手の通信装置も当然第5図に示す送信及び再送
を行なうようになつている。
Note that the data transmission and reception shown in FIG. 5 is performed between the own communication device and the other party's communication device, and the other party's communication device also naturally performs the transmission and retransmission shown in FIG.

また上記のように、通信装置間の通信は希望通
信速度の3倍の速度で行なうようにしており、希
望通信速度との時間差を誤り制御、すなわち再送
に使用している。さらに、通信装置内のCPU間
では同期通信方式により2ポートメモリ5のアド
レスを管理することでデータ内容とは無関係に通
信内容の変換を行うようにしている。さらに再送
処理においてもメモリアドレスの管理のみで通信
を行うようにしている。
Further, as described above, communication between communication devices is performed at a speed three times the desired communication speed, and the time difference from the desired communication speed is used for error control, that is, retransmission. Furthermore, the address of the two-port memory 5 is managed by a synchronous communication method between the CPUs in the communication device, so that the communication content is converted regardless of the data content. Furthermore, even in retransmission processing, communication is performed only by managing memory addresses.

さらにまた、CPU−2受信内容にBCCエラー
が含まれることも当然あり得るが、この場合、自
データ端末装置DTで正常に受信したメモリアド
レスMnのならび順をチエツクし、空になつてい
るメモリアドレスのデータを優先して送出すれば
よい。
Furthermore, it is of course possible that the content received by the CPU-2 contains a BCC error, but in this case, check the order of the memory addresses Mn that were normally received by the own data terminal device DT, and check if the memory is empty. Address data should be sent with priority.

第6図は上記実施例における各動作状態の2ポ
ートメモリ5のメモリマツプを示している。第6
図aは初期クリア状態すなわち送信または受信開
始割込時のメモリ内容を示しておりすべてのエリ
アに同期キヤラクタSYNが書き込まれている。
第6図bはデータ端末装置からCPU1に対して
送信データD1,D2…Dnが加えられ、メモリ
の記憶エリアM1,M2…Mnに書き込れた場
合、あるいは相手のデータ端末装置から送信され
たデータ内容D1,D2…Dnがメモリの記憶エ
リアM1,M2…Mnに書き込れた場合を示して
いる。第6図cはデータリンク確立時のメモリ内
容を示しており、ここでは自データ端末装置番号
F1、相手データ端末装置F2、要求コードENQが
記憶されている。第6図dは他のデータ端末装置
からデータリンク確立の要求があり、自データ端
末装置がそれに対する応答を行う場合のメモリ内
容を示している。第6図cの場合に比して相手デ
ータ端末装置番号F2と自データ端末装置番号F1
が逆になつており、さらに承認コードACKが含
まれている。
FIG. 6 shows a memory map of the two-port memory 5 in each operating state in the above embodiment. 6th
Figure a shows the memory contents in the initial clear state, that is, at the time of transmission or reception start interrupt, and the synchronization character SYN is written in all areas.
Figure 6b shows the case where transmission data D1, D2...Dn are added to the CPU 1 from the data terminal device and written to the memory storage areas M1, M2...Mn, or transmitted from the other party's data terminal device. A case is shown in which data contents D1, D2...Dn are written to storage areas M1, M2...Mn of the memory. Figure 6c shows the memory contents when the data link is established, and here the own data terminal device number is shown.
F1, partner data terminal device F2, and request code ENQ are stored. FIG. 6d shows the memory contents when there is a request to establish a data link from another data terminal device and the own data terminal device responds to the request. Compared to the case of FIG. 6c, the other party's data terminal device number F2 and own data terminal device number F1
is reversed and also includes the acknowledgment code ACK.

なお上記実施例において、通信装置Tは第2図
に示すように2個のCPU1,2と通信制御部3,
4及び2ポートメモリ5からなり、この通信装置
により通信内容を変換する場合について説明した
が、第7図に示すように1個のCPU11で2個
の通信制御部13,14を制御し、異つた通信手
順及び速度でデータ通信を行ないメモリ15を介
して、データ転送を行なうものであつてもよい。
In the above embodiment, the communication device T includes two CPUs 1 and 2 and a communication control section 3, as shown in FIG.
Although we have explained the case where communication contents are converted using this communication device, as shown in FIG. Alternatively, the data may be transferred via the memory 15 by performing data communication using the same communication procedure and speed.

また第2図の通信装置に代えて、第8図に示す
ように2個のCPU21,22で通信制御部23,
24を制御し、共有メモリ25、ゲート26,2
7を介してデータ転送を行なう通信装置を用いて
もよい。もつとも、転送時間の遅れが小さい点で
第2図に示す通信装置が最もすぐれている。
Also, instead of the communication device shown in FIG. 2, as shown in FIG.
24, shared memory 25, gates 26, 2
A communication device that transfers data via 7 may also be used. However, the communication device shown in FIG. 2 is the most superior in that the delay in transfer time is small.

この発明のデータ通信方式によれば、送信デー
タを数キヤラクタとメモリアドレスを1単位デー
タに含ませて送出し、送信側の通信装置は返送さ
れてくる単位データを正常に受信した場合のメモ
リアドレスを管理し、送信したデータがすべて正
常に受信されたという確認が得られるまで再送信
を繰り返すものであるから、送信時のいずれかに
エラーが生じても再送により確実にデータの送受
を行うことができる。また通信装置間のデータの
授受はデータ端末装置間の希望通信速度のN倍の
通信速度で行うものであるから高速通信が可能で
ある。したがつてこの発明のデータ通信方式を電
源回線による通信に適用するとたとえ電源回線の
ノイズによりデータエラーが生じても、高速・高
品質の通信を行うことができる。
According to the data communication method of the present invention, transmission data is sent by including several characters and a memory address in one unit of data, and the communication device on the transmission side uses the memory address when the unit of data that is returned is normally received. The system manages the data and repeats retransmission until confirmation that all transmitted data has been received correctly, so even if an error occurs during transmission, retransmission ensures that data can be sent and received. I can do it. Furthermore, high-speed communication is possible because data is exchanged between communication devices at a communication speed N times the desired communication speed between data terminal devices. Therefore, when the data communication system of the present invention is applied to communication using a power line, high-speed, high-quality communication can be performed even if data errors occur due to noise in the power line.

N倍の通信速度では電源回線の場合インパルス
の発生確率を一定と仮定した場合、希望通信速度
にくらべて通信時間が同じであれば、インパルス
の幅があるため一般にはエラーが増加する。しか
しこの発明のようにデータを細分化して送ること
によりメモリアドレスを含む単位データ毎に発生
するエラーの確率はかえつて減少し、今までは不
向きとされていた電源配電回線を用いてデータ通
信を有効に行うことができる。
If it is assumed that the probability of impulse occurrence is constant in the case of a power supply line at N times the communication speed, and the communication time is the same compared to the desired communication speed, errors will generally increase due to the width of the impulse. However, by segmenting data and sending it as in this invention, the probability of errors occurring for each unit of data including memory addresses is reduced, and data communication can now be performed using power supply distribution lines, which were previously considered unsuitable. It can be done effectively.

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

第1図はこの発明が実施される屋内配電利用の
通信システムのブロツク図、第2図は第1図に示
す通信装置の一例を示すブロツク図、第3図は第
1図に示すデータ端末装置間の送受信動作を説明
するためのタイミングチヤート、第4図は同デー
タリンク確立を行なう場合のデータフオーマツト
を含むタイムチヤート、第5図は同データ送信及
びエラー時再送のデータフオーマツトを含むタイ
ムチヤート、第6図は第1図、第2図に示す実施
例における各動作状態のメモリマツプを示す図、
第7図、第8図は第1図に示す通信装置の他の例
を示すブロツク図である。 DT(DT1,DT2…,DTn):データ端末装
置、T(T1,T2…Tn):通信装置、C1,C
2……Cn:結合器、L:電源配電網、1,2,
11,21,22:CPU、3,4,13,14,
23,24:通信制御部、5:2ポートメモリ、
15:メモリ、25:共有メモリ、26,27:
ゲート。
Fig. 1 is a block diagram of a communication system using indoor power distribution in which the present invention is implemented, Fig. 2 is a block diagram showing an example of the communication device shown in Fig. 1, and Fig. 3 is a data terminal device shown in Fig. 1. Figure 4 is a timing chart for explaining the transmission and reception operations during the same period, Figure 4 is a time chart including the data format when establishing the same data link, Figure 5 is the time chart including the data format for the same data transmission and retransmission in case of an error. 6 is a diagram showing a memory map of each operating state in the embodiment shown in FIGS. 1 and 2,
FIGS. 7 and 8 are block diagrams showing other examples of the communication device shown in FIG. 1. DT (DT1, DT2..., DTn): Data terminal device, T (T1, T2...Tn): Communication device, C1, C
2...Cn: coupler, L: power distribution network, 1, 2,
11, 21, 22: CPU, 3, 4, 13, 14,
23, 24: Communication control unit, 5: 2 port memory,
15: Memory, 25: Shared memory, 26, 27:
Gate.

Claims (1)

【特許請求の範囲】[Claims] 1 回線を介してデータ端末装置間でデータ授受
を行なうデータ通信方式であつて、各データ端末
装置と回線間に、通信制御部と、CPUとメモリ
とを含み、データ端末装置間で行うデータ通信を
行う希望通信速度のN倍の通信速度で通信を行な
う通信装置を設け、送信側の前記通信装置はデー
タ端末装置よりの送信すべきデータを前記メモリ
に格納しつつ、このメモリのアドレスと数キヤラ
クタのデータと誤り制御コードと同期キヤラクタ
を1単位とするデータを順次送信し、受信側の通
信装置は前記送信された単位データを受信し、誤
りがない場合にのみ自装置のメモリの受信データ
のアドレスに対応するアドレス位置に前記数キヤ
ラクタデータを格納するとともに、そのアドレス
と正常受信を示す承認コードと、誤り制御コード
と、同期キヤラクタを1単位とするデータを送信
側に返送し、誤りがある場合にはそのアドレスと
不承認コードと、誤り制御コードと、同期キヤラ
クタを1単位とするデータを送信側に返送し、前
記送信側の通信装置では、返送された単位データ
を正常に受信した場合のメモリアドレスを管理
し、送信したデータがすべて正常に受信されたと
いう確認が得られるまで再送信を繰り返すことを
特徴とするデータ通信方式。
1 A data communication method that exchanges data between data terminal devices via a line, and includes a communication control unit, a CPU, and a memory between each data terminal device and the line. A communication device that performs communication at a communication speed N times the desired communication speed is provided, and the communication device on the sending side stores the data to be transmitted from the data terminal device in the memory, and also stores the address and number of this memory. Character data, an error control code, and a synchronization character are sequentially transmitted as one unit, and the receiving communication device receives the transmitted unit data and stores the received data in its own memory only if there is no error. The several character data is stored in the address position corresponding to the address of , and the address, an acknowledgment code indicating normal reception, an error control code, and data in which the synchronization character is one unit are returned to the sending side, and the error is detected. If there is, the data containing the address, rejection code, error control code, and synchronization character as one unit is returned to the sending side, and the sending side communication device normally receives the returned unit data. A data communication method that is characterized by managing the memory addresses of the data and repeating retransmissions until confirmation that all transmitted data has been successfully received.
JP57103444A 1982-06-15 1982-06-15 Data communication system Granted JPS58219856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57103444A JPS58219856A (en) 1982-06-15 1982-06-15 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57103444A JPS58219856A (en) 1982-06-15 1982-06-15 Data communication system

Publications (2)

Publication Number Publication Date
JPS58219856A JPS58219856A (en) 1983-12-21
JPH0354497B2 true JPH0354497B2 (en) 1991-08-20

Family

ID=14354197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57103444A Granted JPS58219856A (en) 1982-06-15 1982-06-15 Data communication system

Country Status (1)

Country Link
JP (1) JPS58219856A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2533228B2 (en) * 1990-08-23 1996-09-11 三田工業株式会社 Operation unit control device

Also Published As

Publication number Publication date
JPS58219856A (en) 1983-12-21

Similar Documents

Publication Publication Date Title
CA1155521A (en) Method and system for retransmitting incorrectly received numbered frames in a data transmission system
US4750165A (en) Method of duplex data transmission using a send-and-wait protocol
WO1992014210A1 (en) Network interface circuit apparatus and method
JPS5992651A (en) Polling system
JPH0354497B2 (en)
JPH0552106B2 (en)
JPH02100538A (en) Data communication method for local area network
US6711179B1 (en) Signal processing apparatus with three layer processing sections, and signal processing system with said two signal processing apparatuses
JPS63246055A (en) Packet transmitter-receiver
JPH0746289A (en) Communication control system
JPH04263545A (en) Data communication equipment
KR930004100B1 (en) Method for embodying full duplex communication protocol
JPH02226828A (en) Data packet transmission system
CN117149678A (en) RS485 bus arbitration system and method with multiple masters and multiple slaves
JPS60254943A (en) Data transmission system of bus type lan system
JPS63272240A (en) Polling system
JP2000244530A (en) Data communication equipment
JPH0720110B2 (en) Broadcast communication method
JPH0157538B2 (en)
JP2560758B2 (en) Communication control device
JPS60157354A (en) Communication controller
JP2615982B2 (en) Communication error recovery method and device
JP2851676B2 (en) Message notification confirmation method in ISDN
JPH0257747B2 (en)
JPH063925B2 (en) Shared channel access control circuit