JPH0370229A - Data comparison synchronizing system serial communication system - Google Patents

Data comparison synchronizing system serial communication system

Info

Publication number
JPH0370229A
JPH0370229A JP20723489A JP20723489A JPH0370229A JP H0370229 A JPH0370229 A JP H0370229A JP 20723489 A JP20723489 A JP 20723489A JP 20723489 A JP20723489 A JP 20723489A JP H0370229 A JPH0370229 A JP H0370229A
Authority
JP
Japan
Prior art keywords
line
data
transmission
reception
receiving
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.)
Granted
Application number
JP20723489A
Other languages
Japanese (ja)
Other versions
JPH0817367B2 (en
Inventor
Kazuhiko Takatani
和彦 高谷
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP20723489A priority Critical patent/JPH0817367B2/en
Publication of JPH0370229A publication Critical patent/JPH0370229A/en
Publication of JPH0817367B2 publication Critical patent/JPH0817367B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To confirm a fault of a communication line or receiving operation at a receiver side by sending back a received data to a reception line not required at the sender side via a transmission line not required at the receiver side synchronously with a clock signal, and allowing the sender side to compare the transmission data and the reception data. CONSTITUTION:Shift registers 1, 1' send a parallel data 2 from a transmission line 6 at the time of transmitting and receives a serial data from a reception line 11 at the time of receiving, and outputs the data as a parallel data 12. The sender side transmission line 6 and the receiver side reception line 11, the receiver side transmission line 10 and the sender side reception line 7, and a sender side clock line 8 and a receiver side clock line 9 are coupled by a communication line 13. Then the transmission data is inputted to a comparator 5, and simultaneously inputted to the other input of the comparator via the sender side transmission line 6, the receiver side reception line 11, the receiver side transmission line 10 and the sender side reception line 7 and outputted as a comparison output 3. Thus, the communication data is checked at the same time of transmission.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、クロック同期半二重シリアル通信方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a clock synchronous half-duplex serial communication system.

〔発明の概要〕[Summary of the invention]

この発明は、クロック同期半二重シリアル通信方式にお
いて送信側で不要な受信線に受信側で不要な送信線を介
し受信データをクロック信号に同期して送り返し、送信
側で送信データと受信データを比較することにより、通
信回線の異状または受信側の受信動作確認を行うように
したものである。
In a clock-synchronized half-duplex serial communication system, the present invention transmits received data back in synchronization with a clock signal to an unnecessary receiving line on the transmitting side via an unnecessary transmitting line on the receiving side. By comparing the signals, it is possible to check for abnormalities in the communication line or the receiving operation on the receiving side.

〔従来の技術〕[Conventional technology]

従来、通信データのチェ7クはパリティピントを付加す
る方法または、ソフトウェアにより送信したデータを返
信して比較するという方法などにより行われていた。
Conventionally, communication data has been checked using a method of adding parity focus or a method of returning data sent by software and comparing the data.

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

しかし、従来の技術のクロック同期半二重シリアル通信
方式では、パリティビットチエツクのハードウェア、ソ
フトウェアの負担が大きいうえ、通信速度も通信データ
チエツクの為、犠牲になっていたという欠点があった。
However, the conventional clock-synchronized half-duplex serial communication system has disadvantages in that the parity bit check requires a heavy burden on hardware and software, and the communication speed is sacrificed due to the communication data check.

そこで、この発明は従来のこのような欠点を解決するた
めに、わずかなハードウェアにより送信と同時に通信デ
ータのチエツクをすることを目的としている。
SUMMARY OF THE INVENTION In order to solve these conventional drawbacks, the present invention aims to check communication data simultaneously with transmission using a small amount of hardware.

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

上記課題を解決するために、この発明は送信時に不要な
受信線に受信側へ送ったデータを受信側で不要な送信線
を介し返信し、送信側で送信データと返信データを比較
器により比較することにより送信と同時に通信データの
チエツクをするようにした。
In order to solve the above problems, this invention sends back the data sent to the receiving side via an unnecessary receiving line at the time of transmission, and the sending side compares the transmitted data and the returned data using a comparator. By doing this, the communication data is checked at the same time as sending.

〔作用〕[Effect]

クロック線によりシフトされたデータが送信側の送信線
から送出され受信側は受信線により受信する。受信デー
タは受信側シフトレジスタにより受信され、一方、その
まま受信側の送信線から返信される。送信側で送信デー
タと受信データを比較器により比較することにより通信
回線のチエツクが行われる。
The data shifted by the clock line is sent out from the transmission line on the sending side, and is received by the receiving side on the receiving side. The received data is received by the shift register on the receiving side, while being sent back as is from the transmission line on the receiving side. The communication line is checked by comparing transmitted data and received data using a comparator on the transmitting side.

〔実施例〕〔Example〕

以下に、この発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第1図においてシフトレジスフ1.1′は送信時にパラ
レルデータ2を送信線6から送出し、受信時には受信線
Uよりシリアルデータを入力しパラレルデータ12より
出力する。送信側送信線6と受信側受信線11.受信側
送信線10と送信側受信線7、送信側クロック線8と受
信側クロック線9は通信回線13により結合される。送
信データは比較器5へ入力されると同時に送信側送信線
6、受信側受信線11、受信側送信線10、送信側受信
線7を経由して比較器5の他の入力へ入力され比較され
、比較出力3として出力される。クロック信号はボーレ
ートと等しい周波数でありシフトレジスタ1,1′へ入
力されると同時に比較器5の比較タイミングを知らせる
為入力される。
In FIG. 1, the shift register 1.1' sends out parallel data 2 from the transmission line 6 during transmission, and inputs serial data from the reception line U and outputs it from the parallel data 12 during reception. A transmitting side transmission line 6 and a receiving side receiving line 11. The receiving side transmission line 10 and the sending side receiving line 7 and the sending side clock line 8 and the receiving side clock line 9 are coupled by a communication line 13. The transmission data is input to the comparator 5, and at the same time, it is input to other inputs of the comparator 5 via the transmission line 6 on the transmission side, the reception line 11 on the reception side, the transmission line 10 on the reception side, and the reception line 7 on the transmission side, and is compared. and output as comparison output 3. The clock signal has a frequency equal to the baud rate, and is input to the shift registers 1 and 1' at the same time as being input to inform the comparison timing of the comparator 5.

第2図はシフトレジスタを1ビツト追加したものである
。ここにおいてシフトレジスタ1,1′は送信時にパラ
レルデータ2を送(816から送出し、受信時には受信
vAllよりシリアルデータを入力しパラレルデータ1
2より出力する。送信側送信vA6と受信側受信vAl
l、受信側送信vAloと送信側受信線7、送信側クロ
ック線8と受信側クロック線9は通信回線13により結
合される。送信データはシフトレジスタlの後の1ビツ
トシフトレジスタにより1ピント分データがシフトされ
比較器5へ入力されると同時に、前記1ビツトシフトレ
ジスタに入る前のデータが送信側送信線6、受信側受信
線11を経由し、シフトレジスタ1′により1ビット分
データがシフトされ、受信側送信vAlo、送信側受信
線7を経由して比較器5の他の入力へ入力され比較され
、比較出力3として出力される。
In FIG. 2, one bit is added to the shift register. Here, shift registers 1 and 1' send parallel data 2 (sent from 816) during transmission, and input serial data from reception vAll during reception, and input parallel data 1 from reception vAll.
Output from 2. Sending side sending vA6 and receiving side receiving vAl
1. The receiving side transmission vAlo and the sending side receiving line 7 and the sending side clock line 8 and the receiving side clock line 9 are coupled by a communication line 13. The transmission data is shifted by 1 pin by the 1-bit shift register after the shift register 1 and inputted to the comparator 5, and at the same time, the data before entering the 1-bit shift register is transferred to the transmission line 6 on the transmitting side and the data on the receiving side. The data is shifted by 1 bit by the shift register 1' via the reception line 11, and is input to the other input of the comparator 5 via the reception side transmission vAlo and the transmission side reception line 7, and is compared, and the comparison output 3 is output as

クロック信号は、ボーレートと等しい周波数であり、シ
フトレジスタ1.1′へ入力されると同時に比較器5の
比較タイミングを知らせる為入力される。
The clock signal has a frequency equal to the baud rate, and is input to the shift register 1.1' at the same time as being input to inform the comparison timing of the comparator 5.

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

以上説明したように、この発明はわずかなノ)−ドウエ
アにより通信データのチエツクを行え、従来のものと同
一ボーレートを使用しても通信データ量を増やすことが
できるため、通信データの品質を向上する効果がある。
As explained above, this invention can check communication data with a small amount of hardware, and can increase the amount of communication data even if the same baud rate as the conventional one is used, thereby improving the quality of communication data. It has the effect of

また、従来の通信方法とも整合させることも比較出力を
無視すれば可能である。
Furthermore, it is also possible to match it with conventional communication methods by ignoring the comparison output.

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

第1図はこの発明のブロック図である。第2図は上記発
明にシフトレジスタlビット追加したもののブロック図
である。 シフトレジスタ (送信) シフトレジスタ(受信) パラレル送信データ 比較出力 クロック信号 比較器 送信側送信線 送信側受信線 送信側クロック線 受信側クロソク線 ・受信側送信線 ・受信側受信線 ・パラレル受信データ ・通信回線
FIG. 1 is a block diagram of the invention. FIG. 2 is a block diagram of the above invention in which 1 bit of shift register is added. Shift register (transmission) Shift register (reception) Parallel transmission data comparison output Clock signal comparator Transmission side transmission line Transmission side reception line Transmission side clock line Receiving side cross line, Receiving side transmission line, Receiving side receiving line, Parallel receiving data communication line

Claims (2)

【特許請求の範囲】[Claims] (1)シフトレジスタ、比較器から成り送信線、受信線
、クロック線を有する同期式シリアル通信において、送
信データを受信側からクロックに同期して送り返し送信
側でこのデータを送信データを比較することにより通信
回線が正常であることが検知できることを特徴とする同
期式シリアル通信方式。
(1) In synchronous serial communication, which consists of a shift register and a comparator, and has a transmitting line, a receiving line, and a clock line, transmitting data is sent back from the receiving side in synchronization with the clock, and the transmitting side compares this data with the transmitted data. A synchronous serial communication method that is characterized by being able to detect whether the communication line is normal.
(2)上記方式に更に1ビット以上のシフトレジスタを
追加することにより送信側から受信側がデータをシフト
レジスタに正常に取込んだことを検知できることを特徴
とする請求項1記載の同期式シリアル通信方式。
(2) Synchronous serial communication according to claim 1, characterized in that by adding a shift register of one or more bits to the above method, it is possible to detect from the transmitting side that the receiving side has successfully taken in data into the shift register. method.
JP20723489A 1989-08-09 1989-08-09 Data comparison synchronous serial communication system Expired - Lifetime JPH0817367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20723489A JPH0817367B2 (en) 1989-08-09 1989-08-09 Data comparison synchronous serial communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20723489A JPH0817367B2 (en) 1989-08-09 1989-08-09 Data comparison synchronous serial communication system

Publications (2)

Publication Number Publication Date
JPH0370229A true JPH0370229A (en) 1991-03-26
JPH0817367B2 JPH0817367B2 (en) 1996-02-21

Family

ID=16536451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20723489A Expired - Lifetime JPH0817367B2 (en) 1989-08-09 1989-08-09 Data comparison synchronous serial communication system

Country Status (1)

Country Link
JP (1) JPH0817367B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263513B1 (en) 1999-05-25 2001-07-24 O.G.K. Hanbai Co., Ltd. Helmet with a ventilating function and ventilating shutter device
JP2014086992A (en) * 2012-10-26 2014-05-12 Citizen Holdings Co Ltd Serial communication system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102295403B (en) * 2010-06-25 2013-06-05 信义汽车玻璃(深圳)有限公司 Secondary hot forming method of automobile glass

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263513B1 (en) 1999-05-25 2001-07-24 O.G.K. Hanbai Co., Ltd. Helmet with a ventilating function and ventilating shutter device
JP2014086992A (en) * 2012-10-26 2014-05-12 Citizen Holdings Co Ltd Serial communication system

Also Published As

Publication number Publication date
JPH0817367B2 (en) 1996-02-21

Similar Documents

Publication Publication Date Title
US5862141A (en) Variable bitrate radio modem system to enhance data transmission and reduce error rates
JPH0370229A (en) Data comparison synchronizing system serial communication system
JPH11177540A (en) Data transfer system and its method
JPS58201440A (en) Loop mode transmission system
JP2767990B2 (en) Microprocessor control method
JPH0637738A (en) Data transmission error control system
JP3440982B2 (en) Digital signal transmission equipment
JPS58182342A (en) Controlling and processing device of loop line
JPS6361356A (en) Serial data transfer device
JPS61237544A (en) Asynchronous serial transmission method
KR970002947B1 (en) Signal transmission drive device and control method
JPS59135561A (en) Detecting and transmitting circuit of circuit control signal
JPH0256132A (en) Data transmission system
JPS58200653A (en) Communication system of start-stop synchronous method
JPH0370230A (en) Reception state detection synchronizing type serial communication system
JPS61100050A (en) Data transfer equipment
JPS6365741A (en) Regeneration circuit
JPH02174328A (en) Line control processor
JPS6213142A (en) Reception control system
JPS5935223B2 (en) Polarity reversal control method for communication control equipment
JPS61225941A (en) Word synchronizing system
JPS60237740A (en) Code transmission system
JPH0445638A (en) Data transmission system
JPS604344A (en) Extended control system of transmission line
JPS6020205A (en) Remote input/output device

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 14