JPH11154943A - Serial interface circuit - Google Patents

Serial interface circuit

Info

Publication number
JPH11154943A
JPH11154943A JP9321170A JP32117097A JPH11154943A JP H11154943 A JPH11154943 A JP H11154943A JP 9321170 A JP9321170 A JP 9321170A JP 32117097 A JP32117097 A JP 32117097A JP H11154943 A JPH11154943 A JP H11154943A
Authority
JP
Japan
Prior art keywords
data
clock
clock signal
interface circuit
pattern
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
JP9321170A
Other languages
Japanese (ja)
Inventor
Masato Kimura
正人 木村
Hajime Kawachi
河内  肇
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP9321170A priority Critical patent/JPH11154943A/en
Publication of JPH11154943A publication Critical patent/JPH11154943A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a circuit which can be applied to data transmission at high speed by detecting a timing of collating a synchronizing pattern by detection at the time of change from a second logical level to a first logical level. SOLUTION: When serial data is not transmitted from a data signal line, a logical level is fixed to the first logical level to fix the second logical level to the leading bit of a synchronizing pattern and to fix the first logical data to the next bit. In this circuit, a collation part 8 collates the three-bit pattern of a part suitable for detecting a synchronizing pattern among 20 bits latched by a received data shift register 5 with a synchronizing pattern 010 stored in a synchronizing pattern storing part 7 with a timing detected by a count value from a counter 9, and when they are matched with each other, a coincidence signal is given to a clock frequency dividing circuit 10.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、伝送されてきたシ
リアルデータに対するインタフェース処理を行うシリア
ルインタフェース回路に関し、例えば、ディジタル伝送
装置やディジタル交換装置などの監視制御盤とデータ入
出力盤との間のシリアルデータ伝送に適用し得るもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial interface circuit for performing an interface process on transmitted serial data. For example, the present invention relates to a serial interface circuit between a monitoring control panel such as a digital transmission device or a digital switching device and a data input / output panel. It can be applied to serial data transmission.

【0002】[0002]

【従来の技術】例えば、ディジタル伝送装置は、図示は
省略するが、通信チャネルのデータ伝送処理に供する複
数からなるデータ入出力盤と、各データ入出力盤の状態
を監視したり制御したりする監視制御盤とを有する。
2. Description of the Related Art For example, a digital transmission apparatus, though not shown, monitors a plurality of data input / output boards for data transmission processing of a communication channel and monitors and controls the state of each data input / output board. And a monitoring control panel.

【0003】従来においては、監視制御盤と各データ入
出力盤との間はそれぞれ、クロック信号、授受データ及
びスキャン信号用の3本の信号線によって接続されてお
り、いわゆる3線インタフェース方式によって監視制御
データのシリアルデータ伝送を行っていたが、多数のデ
ータ入出力盤と接続する場合には配線数が多くなり、配
線数の削減が求められていた。
Conventionally, the monitoring control panel and each data input / output panel are connected by three signal lines for a clock signal, transmission / reception data and a scan signal, respectively, and are monitored by a so-called three-wire interface system. Although serial data transmission of control data has been performed, the number of wires has been increased when connecting to a large number of data input / output boards, and a reduction in the number of wires has been required.

【0004】このような配線数の削減に応じられる従来
のシリアルインタフェース回路としては、特願平9−1
36531号明細書及び図面に示したものがあり、監視
制御盤と各データ入出力盤との間はそれぞれ、データ信
号線のみで接続されて監視制御データの授受を実現する
ものである。
A conventional serial interface circuit capable of responding to such a reduction in the number of wirings is disclosed in Japanese Patent Application No. Hei 9-1 / 1991.
No. 36531 is shown in the specification and the drawings, and the monitoring control panel and each data input / output panel are respectively connected only by data signal lines to realize transmission and reception of monitoring control data.

【0005】すなわち、データ信号線のみで接続されて
いるため、監視制御盤より送出する監視制御データをデ
ータ入出力盤では送出クロックの8倍の周波数のクロッ
クで受信し、あらかじめ設定された同期パターンのビッ
ト数に対して8倍のビット数を照合することにより再生
クロックを生成し、以後はその再生クロックに基づいて
監視制御データの授受を行うというものである。
That is, since the data input / output panel is connected only by the data signal line, the data input / output panel receives the supervisory control data transmitted from the supervisory control panel with a clock having a frequency eight times as high as the transmission clock, and sets a predetermined synchronization pattern. The reproduction clock is generated by collating the bit number eight times as large as the number of bits, and thereafter, the monitor control data is transmitted and received based on the reproduction clock.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
シリアルインタフェース回路では、あらかじめ決められ
た同期パターンに対して8倍のビット数を常時照合しな
ければならなかったため、この照合処理に時間がかか
り、高速なデータ伝送に適用できないという課題があっ
た。
However, in the conventional serial interface circuit, it is necessary to always collate eight times the number of bits with respect to a predetermined synchronization pattern. There is a problem that it cannot be applied to high-speed data transmission.

【0007】そのため、高速なデータ伝送にも適用でき
るシリアルインタフェース回路が求められていた。この
ような要求は、ディジタル伝送装置だけでなく、シリア
ルデータ伝送を採用している多くの装置についても求め
られている。
Therefore, there has been a demand for a serial interface circuit applicable to high-speed data transmission. Such demands are being made not only for digital transmission equipment but also for many equipment employing serial data transmission.

【0008】[0008]

【課題を解決するための手段】かかる課題を解決するた
め、第1の本発明は、対向するシリアルインタフェース
回路とデータ信号線で接続されており、1回の通信期間
の開始側に複数ビットでなる同期パターンが付加されて
いるシリアルデータが対向するシリアルインタフェース
回路から与えられるシリアルインタフェース回路におい
て、(1)上記データ信号線は、対向するシリアルイン
タフェース回路からシリアルデータが送信されていない
ときは第1の論理レベルに固定されており、(2)上記
同期パターンの先頭2ビットはそれぞれ、上記第1の論
理レベルとは異なる第2の論理レベル、上記第1の論理
レベルに定められていると共に、(3)対向するシリア
ルインタフェース回路がデータ送信時に同期送信動作さ
せるためのクロック信号の周波数のN倍の周波数を有す
る高速クロック信号を発振するクロック発振手段と、
(4)このクロック発振手段が発振した高速クロック信
号に基づいて、データ信号線からのシリアルデータをラ
ッチするシフトレジスタ手段と、(5)このシフトレジ
スタ手段にラッチされたラッチデータパターンから、上
記第2の論理レベルから上記第1の論理レベルへの変化
エッジを検出するエッジ検出手段と、(6)このエッジ
検出手段による検出時に基づいて照合タイミングを定
め、上記シフトレジスタ手段にラッチされているラッチ
データパターンが、上記同期パターンに合致しているか
否かを照合する照合手段と、(7)この照合手段が両パ
ターンの合致を検出した時点に基づいて、分周後のクロ
ック信号が入力されたシリアルデータにほぼ同期するよ
うに、上記クロック発振手段からの高速クロック信号を
1/N分周するクロック分周手段と、(8)このクロッ
ク分周手段からの分周クロック信号に基づいて、上記デ
ータ信号線を介したシリアルデータの授受を行うデータ
通信手段とを有することを特徴とする。
In order to solve the above-mentioned problems, a first aspect of the present invention is connected to an opposing serial interface circuit by a data signal line, and a plurality of bits are provided at the start of one communication period. In the serial interface circuit to which serial data to which a synchronous pattern is added is given from the opposing serial interface circuit, (1) the data signal line is the first signal when serial data is not transmitted from the opposing serial interface circuit. (2) The first two bits of the synchronization pattern are respectively set to a second logic level different from the first logic level and the first logic level, and (3) A clock for allowing the opposing serial interface circuit to perform a synchronous transmission operation during data transmission. A clock oscillation unit for oscillating a high-speed clock signal having a frequency N times the frequency of the signal,
(4) shift register means for latching serial data from a data signal line based on the high-speed clock signal oscillated by the clock oscillating means; and (5) a latch data pattern latched by the shift register means, Edge detection means for detecting a transition edge from the second logic level to the first logic level; and (6) a latch timing determined based on a time detected by the edge detection means, and latched by the shift register means. (7) a clock signal after frequency division is input based on a time when the data pattern matches the synchronization pattern, and (7) a time when the matching means detects a match between the two patterns. A clock that divides the high-speed clock signal from the clock oscillating means by 1 / N so as to be substantially synchronized with the serial data. And click dividing unit, (8) based on the divided clock signal from the clock divider means, and having a data communication means for transmitting and receiving serial data through the data signal line.

【0009】第2の本発明は、対向するシリアルインタ
フェース回路とデータ信号線で接続されており、1回の
通信期間の開始側に複数ビットでなる同期パターンが付
加されているシリアルデータが対向するシリアルインタ
フェース回路から与えられるシリアルインタフェース回
路において、(1)対向するシリアルインタフェース回
路がデータ送信時に同期送信動作させるためのクロック
信号の周波数のN倍の周波数を有する高速クロック信号
を発振するクロック発振手段と、(2)このクロック発
振手段が発振した高速クロック信号に基づいて、データ
信号線からのシリアルデータをラッチするシフトレジス
タ手段と、(3)このシフトレジスタ手段にラッチされ
たラッチデータパターンから、上記同期パターンの先頭
側の所定ビット数部分を検出し、この検出に基づいて同
期タイミングを定める同期検出手段と、(4)この同期
検出手段が同期タイミングを定めた時点に基づいて、分
周後のクロック信号が入力されたシリアルデータにほぼ
同期するように、上記クロック発振手段からの高速クロ
ック信号を1/N分周するクロック分周手段と、(5)
このクロック分周手段からの分周クロック信号に基づい
て上記データ信号線を介したシリアルデータの授受を行
うものであって、この授受データの初期パターンが上記
同期検出手段の検出処理に供しない部分の上記同期パタ
ーンに合致しているか否かも照合するデータ通信手段と
を有することを特徴とする。
According to a second aspect of the present invention, serial data is connected to an opposing serial interface circuit via a data signal line, and serial data to which a synchronization pattern of a plurality of bits is added at the start of one communication period. In a serial interface circuit provided from the serial interface circuit, (1) clock oscillation means for oscillating a high-speed clock signal having a frequency which is N times higher than a frequency of a clock signal for causing the opposing serial interface circuit to perform a synchronous transmission operation at the time of data transmission; (2) shift register means for latching serial data from a data signal line based on a high-speed clock signal oscillated by the clock oscillation means; and (3) a latch data pattern latched by the shift register means, Predetermined number of bits at the beginning of the synchronization pattern A synchronization detecting means for detecting a minute and determining a synchronization timing based on the detection; and (4) a clock signal after frequency division is added to the input serial data based on the time when the synchronization detection means determines the synchronization timing. Clock dividing means for dividing the high-speed clock signal from the clock oscillating means by 1 / N so as to be substantially synchronized; (5)
The serial data is transmitted / received via the data signal line based on the frequency-divided clock signal from the clock frequency dividing means, and an initial pattern of the transmitted / received data is not used for the detection processing of the synchronization detecting means. And a data communication unit for checking whether or not the synchronization pattern is matched.

【0010】以上のように、第1の本発明によれば、デ
ータ信号線からシリアルデータが送信されていないとき
は第1の論理レベルに固定され、同期パターンの先頭ビ
ットには第2の論理レベル、次のビットには第1の論理
レベルが定められていることにより、第2の論理レベル
から第1の論理レベルへの変化時の検出によって同期パ
ターンを照合するタイミングが検出できるため、常時照
合する必要がなくなり、また、照合するラッチデータパ
ターン数も少なくとも同期パターン数にすることができ
る。
As described above, according to the first aspect of the present invention, when serial data is not transmitted from the data signal line, the first logical level is fixed, and the first bit of the synchronization pattern is the second logical level. Since the first logic level is defined for the level and the next bit, the timing for comparing the synchronization pattern can be detected by detecting the change from the second logic level to the first logic level. It is not necessary to perform collation, and the number of latch data patterns to be collated can be at least the number of synchronization patterns.

【0011】また、第2の本発明によれば、同期パター
ンの先頭部分に同期捕捉用パターン部分を有することに
より、ラッチデータパターンからその同期捕捉用パター
ン部分のみを検出することによって同期タイミングを定
めて分周クロック信号を生成し、その分周クロック信号
に基づいてデータ信号線から与えられたデータが残りの
同期パターンであることをデータ通信手段において確認
するため、照合するラッチデータパターンを同期捕捉用
パターンに対する部分のみにすることができる。
Further, according to the second aspect of the present invention, since the synchronization pattern is provided at the head of the synchronization pattern, only the synchronization pattern is detected from the latch data pattern to determine the synchronization timing. In order to confirm in the data communication means that the data given from the data signal line is the remaining synchronization pattern based on the divided clock signal, the latched data pattern to be compared is synchronously captured. Only the portion corresponding to the application pattern.

【0012】[0012]

【発明の実施の形態】(A)第1の実施形態 以下、本発明のシリアルインタフェース回路を、ディジ
タル伝送装置に適用した第1の実施形態を、図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (A) First Embodiment A first embodiment in which a serial interface circuit of the present invention is applied to a digital transmission device will be described below with reference to the drawings.

【0013】図2は、この第1の実施形態のディジタル
伝送装置の構成を示すブロック図である。図2に示すよ
うに、この第1の実施形態のディジタル伝送装置は、1
本のデータ信号線100によって互いに接続された監視
制御盤200とデータ入出力盤300とを有する。ま
た、データ信号線100は監視制御盤200及びデータ
入出力盤300内において抵抗400及び抵抗500を
介してVCCに接続されプルアップされている。ここ
で、データ伝送の開始は必ず監視制御盤200からであ
り、監視制御盤200とデータ入出力盤300との関係
はマスタ−スレーブの関係である。
FIG. 2 is a block diagram showing the configuration of the digital transmission apparatus according to the first embodiment. As shown in FIG. 2, the digital transmission device of the first embodiment
It has a monitoring control panel 200 and a data input / output panel 300 connected to each other by the data signal lines 100. The data signal line 100 is connected to VCC via the resistors 400 and 500 in the monitoring control panel 200 and the data input / output panel 300 and is pulled up. Here, the start of data transmission is always from the monitoring control panel 200, and the relationship between the monitoring control panel 200 and the data input / output panel 300 is a master-slave relationship.

【0014】また、例えば、図3は監視制御盤200と
データ入出力盤300との間で送受信される監視制御デ
ータのフォーマットを示すイメージ図である。上段が監
視制御盤から送信される監視制御データのフォーマット
であり、下段がその送信された監視制御データがリード
用(データ入出力盤300から制御データを要求するも
の)であれば、そのデータに基づいてデータ入出力盤3
00から送信される監視制御データのフォーマットであ
る。また中段は上記送受信される監視制御データの間
に、方向切換制御等のための待機時間を示すものであ
る。上段に示すように、監視制御盤から送信される監視
制御データは先頭ビットにリード/ライトデータが、続
く3ビットに同期パターンである”010”が格納され
ており、さらに28ビットの制御アドレスデータと奇数
及び偶数パリティビットから構成されている。また8ビ
ットの待機後、データ入出力盤300から送信される監
視制御データには32ビットの制御データと奇数及び偶
数パリティビットから構成されている。
FIG. 3 is an image diagram showing the format of monitoring control data transmitted and received between the monitoring control panel 200 and the data input / output panel 300. The upper part shows the format of the monitoring control data transmitted from the monitoring control panel, and the lower part shows the format of the monitoring control data if the transmitted monitoring control data is for reading (a request for control data from the data input / output panel 300). Data input / output panel 3 based on
This is the format of the monitoring control data transmitted from 00. The middle row shows a standby time for the direction switching control or the like between the transmitted and received monitoring control data. As shown in the upper row, the monitoring control data transmitted from the monitoring control panel has read / write data stored in the first bit, “010” which is a synchronization pattern in the next three bits, and 28 bits of control address data. And odd and even parity bits. After the 8-bit standby, the monitoring control data transmitted from the data input / output panel 300 is composed of 32-bit control data and odd and even parity bits.

【0015】以上のように、本発明のシリアルインタフ
ェース回路は、データ信号線100をプルアップして、
さらに、監視制御データに同期パターン”010”を設
けることにより、監視制御盤200とデータ入出力盤3
00とのデータ伝送を高速で行うことを可能にするもの
であり、図1にその構成を示す。
As described above, the serial interface circuit of the present invention pulls up the data signal line 100,
Further, by providing the monitoring control data with the synchronization pattern “010”, the monitoring control panel 200 and the data input / output panel 3
This makes it possible to perform data transmission at a high speed with 00, and its configuration is shown in FIG.

【0016】図1に示すように、このシリアルインタフ
ェース回路は、プルアップしたデータ信号線100と、
ドライバ2と、レシーバ3と、クロック発振回路4と、
受信データシフトレジスタ5と、エッジ検出部6と、同
期パターン記憶部7と、照合部8と、カウンタ9と、ク
ロック分周回路10と、データ送受信部11とを有す
る。
As shown in FIG. 1, the serial interface circuit includes a data signal line 100 pulled up,
A driver 2, a receiver 3, a clock oscillation circuit 4,
It includes a reception data shift register 5, an edge detection unit 6, a synchronization pattern storage unit 7, a collation unit 8, a counter 9, a clock frequency dividing circuit 10, and a data transmission / reception unit 11.

【0017】レシーバ3は、データ信号線100からの
到来データを内部に取り込んで受信データシフトレジス
タ5及びデータ送受信部11に与えるものであり、ドラ
イバ2は、データ送受信部11から出力されたデータの
送信時にデータ信号線100を駆動するものである。こ
れらレシーバ3及びドライバ2は、データ送受信部11
からの伝送方向制御信号により、択一的に動作するもの
であり、送受信を実行していない待機状態では、レシー
バ3が動作できるようになされている。
The receiver 3 fetches incoming data from the data signal line 100 and supplies the received data to the received data shift register 5 and the data transmitting / receiving unit 11. The driver 2 receives the data output from the data transmitting / receiving unit 11. It drives the data signal line 100 during transmission. The receiver 3 and the driver 2 include a data transmitting / receiving unit 11
The receiver 3 operates alternatively in response to a transmission direction control signal from the receiver 3, and the receiver 3 can operate in a standby state in which transmission and reception are not performed.

【0018】クロック発振回路4は、監視制御盤200
におけるクロック信号の周波数の8倍の周波数を有する
8倍クロック信号を発振するものであり、生成した8倍
クロック信号を受信データシフトレジスタ5と、エッジ
検出部6と、照合部8と、カウンタ9と、クロック分周
回路10とに与えるものである。このクロック発振回路
4によって生成される8倍クロック信号は、当然に、監
視制御盤200におけるクロック信号と非同期なもので
ある。
The clock oscillation circuit 4 includes a monitoring control panel 200
Oscillates an eight-fold clock signal having a frequency eight times the frequency of the clock signal in the received data shift register 5, edge detection unit 6, matching unit 8, counter 9 And the clock frequency dividing circuit 10. The eight-fold clock signal generated by the clock oscillation circuit 4 is naturally asynchronous with the clock signal in the monitoring control panel 200.

【0019】受信データシフトレジスタ5は、レシーバ
3から与えられたデータを、クロック発振回路4によっ
て生成された8倍クロック信号に基づいて、内部に取り
込んでラッチしシフト動作するものである。この受信デ
ータシフトレジスタ5の段数は、20段に選定されてい
る。
The received data shift register 5 takes in the data supplied from the receiver 3 based on the eight-times clock signal generated by the clock oscillation circuit 4, latches the data therein, and performs a shift operation. The number of stages of the reception data shift register 5 is selected to be 20 stages.

【0020】エッジ検出部6は、受信データシフトレジ
スタ5にラッチされた20ビットのうち先頭の4ビット
を部分的に参照して、レシーバ3からのデータのレベル
の立ち上がり変化点である立ち上がりエッジを検出する
ものである。すなわち、同期パターンとして設定されて
いる”010”における”0”から”1”への変化点を
検出するものものである。また、エッジ検出部6は、そ
の立ち上がりエッジを検出すると、立ち上がりエッジ検
出信号をカウンタ9に与える。
The edge detector 6 partially refers to the first 4 bits of the 20 bits latched in the received data shift register 5 to determine a rising edge which is a rising change point of the level of data from the receiver 3. It is to detect. That is, a change point from "0" to "1" in "010" set as the synchronization pattern is detected. When detecting the rising edge, the edge detecting section 6 supplies a rising edge detection signal to the counter 9.

【0021】同期パターン記憶部7は、監視制御盤20
0からの監視制御データに設定される同期パターン”0
10”をパラレルにしかも常時照合部8に与えるもので
ある。
The synchronous pattern storage unit 7 stores a monitoring control panel 20
Synchronization pattern “0” set in monitoring control data from “0”
10 "is given to the collating unit 8 in parallel and constantly.

【0022】カウンタ9は、エッジ検出部6からの立ち
上がりエッジ検出信号が与えられると、クロック発振回
路4からの8倍クロック信号に基づいてカウントを開始
するものである。このカウント値は照合部8に与えら
れ、照合部8において丁度同期パターンを照合して一致
判定を行うのに適当なタイミングを検出するために用い
られるものである。
The counter 9 starts counting based on an eight-fold clock signal from the clock oscillation circuit 4 when a rising edge detection signal from the edge detection unit 6 is given. The count value is provided to the matching unit 8 and is used for detecting a timing suitable for matching the synchronization pattern by the matching unit 8 to determine the coincidence.

【0023】照合部8は、カウンタ9からのカウント値
によって検出したタイミングで、受信データシフトレジ
スタ5にラッチされている20ビットのうち、同期パタ
ーンを検出するのに適当な部分の3ビットのパターン
を、同期パターン記憶部7に記憶されている同期パター
ン”010”と照合し、一致しているときには一致信号
をクロック分周回路10に与える。なお、照合部8は一
致信号を与えると、データ送受信部11から通信期間の
終了が指示されるまでは、一致信号の有意論理レベルを
保持するものである。
At the timing detected by the count value from the counter 9, the collating unit 8 detects a 3-bit pattern of a portion appropriate for detecting a synchronization pattern among the 20 bits latched in the received data shift register 5. Is compared with the synchronization pattern “010” stored in the synchronization pattern storage unit 7, and when they match, a match signal is given to the clock frequency dividing circuit 10. When the matching signal is given, the matching unit 8 holds the significant logic level of the matching signal until the end of the communication period is instructed by the data transmitting / receiving unit 11.

【0024】クロック分周回路10は、照合部8からの
一致信号が与えられたタイミング(一致信号の有意論理
レベルへの変化エッジ)を位相基準として、クロック発
振回路4から与えられた8倍クロック信号を1/8分周
し、分周によって得られたクロック信号をデータ送受信
部11に与える。
The clock frequency dividing circuit 10 uses the timing at which the coincidence signal from the collating unit 8 is supplied (the edge at which the coincidence signal changes to a significant logical level) as a phase reference, and uses the 8-times clock supplied from the clock oscillation circuit 4 as a phase reference. The signal is frequency-divided by 8, and the clock signal obtained by frequency division is supplied to the data transmitting / receiving unit 11.

【0025】クロック分周回路10から出力されたクロ
ック信号は、監視制御盤200におけるクロック信号と
は同期していないが、周波数は同じである。仮に、監視
制御盤200からクロック信号が伝送されてきたとした
場合において、その受信クロック信号と、クロック分周
回路10から出力されたクロック信号との位相差は1/
8クロック周期程度である。
The clock signal output from the clock frequency dividing circuit 10 is not synchronized with the clock signal in the monitoring and control panel 200, but has the same frequency. If a clock signal is transmitted from the monitoring control panel 200, the phase difference between the received clock signal and the clock signal output from the clock frequency dividing circuit 10 is 1 /
It is about eight clock cycles.

【0026】すなわち、データ送受信部11は、一致信
号の有意論理レベルへの変化によって通信開始を認識し
てクロック分周回路10から出力されたクロック信号に
同期して、その後の監視制御データの送受信を行うもの
である。
That is, the data transmission / reception unit 11 recognizes the start of communication based on the change of the coincidence signal to a significant logic level, and synchronizes with the clock signal output from the clock frequency dividing circuit 10 to transmit and receive the subsequent monitoring control data. Is what you do.

【0027】次に、この第1の実施形態の動作につい
て、図1〜図4を参照しながら説明する。
Next, the operation of the first embodiment will be described with reference to FIGS.

【0028】監視制御盤200からデータ信号線100
を介して到来したデータは、レシーバ3によって受信さ
れて受信データシフトレジスタ5及びデータ送受信部1
1に与えられる。
Data signal line 100 from monitoring control panel 200
Is received by the receiver 3 and the received data shift register 5 and the data transmitting / receiving unit 1
Given to one.

【0029】ここで、図4はこの第1の実施形態の動作
を示すタイミング図である。波形Aは監視制御装置から
送信される監視制御データを、波形Bはクロック発信回
路4から発振される8倍クロック信号を、波形Cは20
段に選定された受信データシフトレジスタ5の20ビッ
ト(C0〜C20)値を、波形Dはカウンタ9における
カウントタイミングを、波形Eは照合部8から与えられ
る一致信号を、波形Fは分周クロック生成部10から与
えられるクロック信号を示したものである。
FIG. 4 is a timing chart showing the operation of the first embodiment. The waveform A is the monitor control data transmitted from the monitor and control device, the waveform B is the eight-fold clock signal oscillated from the clock transmission circuit 4, and the waveform C is 20.
The 20-bit (C0 to C20) value of the reception data shift register 5 selected in the stage, the waveform D indicates the count timing in the counter 9, the waveform E indicates the coincidence signal given from the matching unit 8, and the waveform F indicates the divided clock. 2 shows a clock signal provided from the generation unit 10.

【0030】まず、監視制御盤200及びデータ入出力
盤300が双方ともドライブしていない状態では、デー
タ信号線100はVCCにプルアップされているため、
波形Aに示すように受信データは”1”となる。
First, when the monitoring control panel 200 and the data input / output panel 300 are not driven, the data signal line 100 is pulled up to VCC.
As shown in the waveform A, the received data becomes “1”.

【0031】受信データシフトレジスタ5では、波形B
に示す8倍クロック信号の立ち上がりで波形Aに示すそ
の時の受信データがまずC0に取り込まれ()、次の
立ち上がりでC0に取り込まれた受信データがC1にシ
フトされると同時にその時の受信データがC0に取り込
まれる()。さらに次の立ち上がりにはC0及びC1
に取り込まれた受信データがそれぞれ、C1及びC2に
シフトされると同時にその時の受信データがC0に取り
込まれ()、さらにまた次の立ち上がりにはC0、C
1及びC2に取り込まれた受信データがそれぞれ、C
1、C2及びC3にシフトされると同時にその時の受信
データがC0取り込まれ()、以後この処理が繰り返
される。
In the reception data shift register 5, the waveform B
At the rising edge of the eight-time clock signal shown in (1), the received data at that time shown in waveform A is first captured in C0 (), and at the next rising edge, the received data captured in C0 is shifted to C1 and at the same time, It is taken into C0 (). In the next rise, C0 and C1
At the same time, the received data is shifted to C1 and C2, respectively, and at the same time, the received data at that time is taken into C0 ().
1 and C2 are received data respectively.
At the same time as shifting to 1, C2 and C3, the received data at that time is taken in C0 (), and thereafter this process is repeated.

【0032】エッジ検出部6では、受信データシフトレ
ジスタ5にラッチされた20ビットのうち先頭の4ビッ
ト(C0〜C3)が参照されて、レシーバ3からの受信
データのレベルの立ち上がりエッジを検出するものであ
る。すなわち、波形Bに示す8倍クロック信号の立ち上
がりで、C3及びC2が”0”、C1及びC0が”1”
であるときには、立ち上がりエッジが検出されると共に
立ち上がりエッジ検出信号がカウンタ9へ与えられる
()。
The edge detector 6 refers to the first 4 bits (C0 to C3) of the 20 bits latched in the received data shift register 5 and detects the rising edge of the level of the data received from the receiver 3. Things. That is, at the rise of the eight-times clock signal shown in the waveform B, C3 and C2 are "0" and C1 and C0 are "1".
When, the rising edge is detected and a rising edge detection signal is supplied to the counter 9 ().

【0033】カウンタ9では、エッジ検出部6から立ち
上がりエッジ検出信号が与えられると、波形Dに示すよ
うに8倍クロック信号に基づいてカウントが開始され
る。
In the counter 9, when a rising edge detection signal is given from the edge detection unit 6, counting is started based on an eight-fold clock signal as shown in a waveform D.

【0034】照合部8では、カウンタ9のカウント値が
同期パターンを照合して一致判定を行うのに適当な値の
時、すなわち、立ち上がりエッジを2ビット検出後14
カウントした時がつまり丁度受信データと同期するタイ
ミングであり、その時受信データシフトレジスタ5にラ
ッチされているC19、C11及びC3の受信データパ
ターンが、同期パターン記憶部7に記憶されている3ビ
ットの同期パターンすなわち”010”と照合され、一
致しているときには一致信号がクロック分周回路10に
与えられる()。
When the count value of the counter 9 is an appropriate value for performing the matching judgment by comparing the synchronization pattern, that is, when the rising edge is detected by 2 bits,
The time when counting is performed, that is, the timing at which the received data is just synchronized with the received data, and the received data patterns of C19, C11, and C3 latched in the received data shift register 5 at that time are the 3-bit data stored in the synchronization pattern storage unit 7. It is compared with the synchronization pattern, ie, “010”, and when they match, a match signal is given to the clock frequency dividing circuit 10 ().

【0035】クロック分周回路10では、照合部8から
の一致信号が与えられた時点から8倍クロック信号の4
クロック後を位相基準として、波形Bに示す8倍クロッ
ク信号が1/8分周され、分周によって得られた波形F
に示すクロック信号がデータ送受信部11に与えられ
()、データ送受信部11では、そのクロック信号に
同期して、その後のデータの送受信が行われる。なお、
データ送受信部11では、一連した監視制御データの送
受信が終了すると、照合部8に通信期間の終了が指示さ
れる。
In the clock frequency dividing circuit 10, the time of the coincidence signal from the collating unit 8 is given,
The 8-fold clock signal shown in the waveform B is divided by 1/8 with the phase after the clock as the phase reference, and the waveform F obtained by the frequency division is obtained.
Is given to the data transmission / reception unit 11 (), and the data transmission / reception unit 11 performs subsequent data transmission / reception in synchronization with the clock signal. In addition,
In the data transmission / reception unit 11, when a series of transmission / reception of the monitoring control data ends, the collation unit 8 is instructed to end the communication period.

【0036】以上のように、この第1の実施形態によれ
ば、データ信号線をプルアップして、監視制御データに
同期パターン”010”を設けることにより、立ち上が
りエッジの検出によって同期パターンを照合するタイミ
ングが検出できるため、常時照合する必要がなくなり、
また、照合するビットパターン数も少なくとも同期パタ
ーン数にすることができ、したがって、従来よりも照合
処理時間が少なくなり、高速なデータ伝送にも適用でき
るようになる。
As described above, according to the first embodiment, by pulling up the data signal line and providing the synchronization pattern "010" in the monitoring control data, the synchronization pattern is collated by detecting the rising edge. Can be detected, eliminating the need for constant verification.
Also, the number of bit patterns to be matched can be at least the number of synchronous patterns, and therefore the matching processing time is shorter than in the prior art, and it can be applied to high-speed data transmission.

【0037】(B)第2の実施形態 以下、本発明のシリアルインタフェース回路を、ディジ
タル伝送装置に適用した第2の実施形態を、図面を参照
しながら説明する。
(B) Second Embodiment Hereinafter, a second embodiment in which the serial interface circuit of the present invention is applied to a digital transmission device will be described with reference to the drawings.

【0038】この第2の実施形態のディジタル伝送装置
も、上記第1の実施形態と同様に、1本のデータ信号線
によって互いに接続された監視制御盤とデータ入出力盤
とを有し、データ信号線は監視制御盤及びデータ入出力
盤内においてプルアップされており(図2を参考)、ま
た、監視制御盤とデータ入出力盤との関係はマスタ−ス
レーブの関係である。
The digital transmission apparatus according to the second embodiment also has a monitoring control panel and a data input / output panel connected to each other by one data signal line, as in the first embodiment. The signal lines are pulled up in the monitoring control panel and the data input / output panel (see FIG. 2), and the relationship between the monitoring control panel and the data input / output panel is a master-slave relationship.

【0039】また、この第2の実施形態のディジタル伝
送装置においても、監視制御盤とデータ入出力盤との間
で送受信される監視制御データのフォーマットも同様で
ある(図3を参考)。
Also, in the digital transmission device of the second embodiment, the format of the monitoring control data transmitted and received between the monitoring control panel and the data input / output panel is the same (see FIG. 3).

【0040】以上のように、本発明のシリアルインタフ
ェース回路も、上記第1の実施形態と同様に、データ信
号線をプルアップして、さらに、監視制御データに同期
パターン”010”を設けることにより、監視制御盤と
データ入出力盤とのデータ伝送を高速で行うことを可能
にするものであり、図5にその構成を示す。
As described above, also in the serial interface circuit of the present invention, as in the first embodiment, the data signal line is pulled up, and furthermore, the synchronization pattern "010" is provided in the monitoring control data. 5 enables high-speed data transmission between the monitoring control panel and the data input / output panel. FIG.

【0041】図5に示すように、このシリアルインタフ
ェース回路は、プルアップしたデータ信号線100と、
ドライバ2と、レシーバ3と、クロック発振回路4と、
受信データシフトレジスタ5と、同期パターン記憶部7
と、クロック分周回路10と、データ送受信部11と、
位相検出及び同期検出部12とを有する。ここで、図5
において、上記第1の実施形態の構成を示した図1との
同一・対応部分は同一符号で示している。
As shown in FIG. 5, the serial interface circuit includes a pull-up data signal line 100,
A driver 2, a receiver 3, a clock oscillation circuit 4,
Receive data shift register 5 and synchronization pattern storage 7
, A clock frequency dividing circuit 10, a data transmitting / receiving unit 11,
And a phase detection and synchronization detection unit 12. Here, FIG.
In the figure, the same or corresponding parts as those in FIG. 1 showing the configuration of the first embodiment are denoted by the same reference numerals.

【0042】レシーバ3は、データ信号線100からの
到来データを内部に取り込んで受信データシフトレジス
タ5及びデータ送受信部11に与えるものであり、ドラ
イバ2は、データ送受信部11から出力されたデータの
送信時にデータ信号線100を駆動するものである。こ
れらレシーバ3及びドライバ2は、データ送受信部11
からの伝送方向制御信号により、択一的に動作するもの
であり、送受信を実行していない待機状態では、レシー
バ3が動作できるようになされている。
The receiver 3 fetches incoming data from the data signal line 100 and supplies it to the received data shift register 5 and the data transmitting / receiving unit 11. The driver 2 receives the data output from the data transmitting / receiving unit 11. It drives the data signal line 100 during transmission. The receiver 3 and the driver 2 include a data transmitting / receiving unit 11
The receiver 3 operates alternatively in response to a transmission direction control signal from the receiver 3, and the receiver 3 can operate in a standby state in which transmission and reception are not performed.

【0043】クロック発振回路4は、監視制御盤200
におけるクロック信号の周波数の8倍の周波数を有する
8倍クロック信号を発振するものであり、生成した8倍
クロック信号を受信データシフトレジスタ5と、位相検
出及び同期検出部12と、クロック分周回路10とに与
えるものである。このクロック発振回路4によって生成
される8倍クロック信号は、当然に、監視制御盤200
におけるクロック信号と非同期なものである。
The clock oscillation circuit 4 includes a monitoring control panel 200
Oscillates an eight-fold clock signal having a frequency that is eight times the frequency of the clock signal in the received data shift register 5, a phase detection and synchronization detection unit 12, a clock division circuit, and the like. 10. The eight-fold clock signal generated by the clock oscillation circuit 4 is, of course,
Is asynchronous with the clock signal at

【0044】受信データシフトレジスタ5は、レシーバ
3から与えられたデータを、クロック発振回路4によっ
て生成された8倍クロック信号に基づいて、内部に取り
込んでラッチしシフト動作するものである。この受信デ
ータシフトレジスタ5の段数は、20段に選定されてい
る。
The received data shift register 5 takes in the data supplied from the receiver 3 based on the eight-times clock signal generated by the clock oscillation circuit 4, latches the data, and performs a shift operation. The number of stages of the reception data shift register 5 is selected to be 20 stages.

【0045】この第2の実施形態の同期パターン記憶部
7は、監視制御盤からの監視制御データに設定される同
期パターン”010”のうちのはじめの”0”と”1”
とをそれぞれ、6ビットのパラレルにしかも常時位相検
出及び同期検出部12に与えるものである。
The synchronization pattern storage section 7 of the second embodiment stores the first "0" and "1" of the synchronization pattern "010" set in the monitoring control data from the monitoring control panel.
And are always given to the phase detection and synchronization detection unit 12 in parallel with 6 bits.

【0046】この第2の実施形態の位相検出及び同期検
出部12は、受信データシフトレジスタ5にラッチされ
た20ビットのうち、同期パターン”010”のはじめ
の”0”と”1”とを検出するためにそれぞれ、適当な
部分の連続した6ビットを常時照合し、一致していると
きには一致信号をクロック分周回路10に与える。な
お、位相検出及び同期検出部12は一致信号を与える
と、データ送受信部11から通信期間の終了が指示され
るまでは、一致信号の有意論理レベルを保持するもので
ある。
The phase detection and synchronization detection unit 12 of the second embodiment determines the first “0” and “1” of the synchronization pattern “010” among the 20 bits latched in the reception data shift register 5. In order to detect each of them, continuous 6 bits of an appropriate portion are always collated, and when they are coincident, a coincidence signal is given to the clock frequency dividing circuit 10. When the phase detection and synchronization detection unit 12 supplies the coincidence signal, the phase detection and synchronization detection unit 12 holds the significant logical level of the coincidence signal until the data transmission / reception unit 11 instructs the end of the communication period.

【0047】クロック分周回路10は、位相検出及び同
期検出部12からの一致信号が与えられたタイミング
(一致信号の有意論理レベルへの変化エッジ)を位相基
準として、クロック発振回路4から与えられた8倍クロ
ック信号を1/8分周し、分周によって得られたクロッ
ク信号をデータ送受信部11に与える。
The clock dividing circuit 10 is supplied from the clock oscillating circuit 4 with the timing at which the coincidence signal from the phase detection and synchronization detection section 12 is supplied (change edge of the coincidence signal to a significant logical level) as a phase reference. The octupled clock signal is frequency-divided by 1 /, and the clock signal obtained by frequency division is supplied to the data transmitting / receiving unit 11.

【0048】クロック分周回路10から出力されたクロ
ック信号は、監視制御盤200におけるクロック信号と
は同期していないが、周波数は同じである。仮に、監視
制御盤200からクロック信号が伝送されてきたとした
場合において、その受信クロック信号と、クロック分周
回路10から出力されたクロック信号との位相差は1/
8クロック周期程度である。
The clock signal output from the clock frequency dividing circuit 10 is not synchronized with the clock signal in the monitoring control panel 200, but has the same frequency. If a clock signal is transmitted from the monitoring control panel 200, the phase difference between the received clock signal and the clock signal output from the clock frequency dividing circuit 10 is 1 /
It is about eight clock cycles.

【0049】すなわち、データ送受信部11は、一致信
号の有意論理レベルへの変化によって通信開始を認識し
てクロック分周回路10から出力されたクロック信号に
同期して、その後の監視制御データの送受信を行うもの
である。
That is, the data transmission / reception unit 11 recognizes the start of communication based on the change of the coincidence signal to the significant logic level, and synchronizes with the clock signal output from the clock frequency dividing circuit 10 to transmit and receive the subsequent monitoring control data. Is what you do.

【0050】次に、この第2の実施形態の動作につい
て、図5及び図6を参照しながら説明する。
Next, the operation of the second embodiment will be described with reference to FIGS.

【0051】データ信号線100から到来したデータ
は、レシーバ3によって受信されて受信データシフトレ
ジスタ5及びデータ送受信部11に与えられる。
Data arriving from the data signal line 100 is received by the receiver 3 and supplied to the reception data shift register 5 and the data transmission / reception unit 11.

【0052】ここで、図6はこの第2の実施形態の動作
を示すタイミング図である。波形Aは監視制御装置から
送信される監視制御データを、波形Bはクロック発信回
路4から発振される8倍クロック信号を、波形Cは20
段に選定された受信データシフトレジスタ5の20ビッ
ト(C0〜C20)値を、波形Eは位相検出及び同期検
出部12から与えられる一致信号を、波形Fは分周クロ
ック生成部10から与えられるクロック信号を示したも
のである。
FIG. 6 is a timing chart showing the operation of the second embodiment. The waveform A is the monitor control data transmitted from the monitor and control device, the waveform B is the eight-fold clock signal oscillated from the clock transmission circuit 4, and the waveform C is 20.
The 20-bit (C0 to C20) value of the reception data shift register 5 selected for the stage, the waveform E is a coincidence signal supplied from the phase detection and synchronization detection unit 12, and the waveform F is supplied from the divided clock generation unit 10. It shows a clock signal.

【0053】まず、監視制御盤及びデータ入出力盤が双
方ともドライブしていない状態では、データ信号線10
0はVCCにプルアップされているため、波形Aに示す
ように受信データは”1”となる。
First, when the monitoring control panel and the data input / output panel are not driven, the data signal line 10
Since 0 is pulled up to VCC, the received data becomes “1” as shown in the waveform A.

【0054】受信データシフトレジスタ5では、波形B
に示す8倍クロック信号の立ち上がりで波形Aに示すそ
の時の受信データがまずC0に取り込まれ、次の立ち上
がりでC0に取り込まれた受信データがC1にシフトさ
れると同時にその時の受信データがC0に取り込まれ
る。さらに次の立ち上がりにはC0及びC1に取り込ま
れた受信データがそれぞれ、C1及びC2にシフトされ
ると同時にその時の受信データがC0に取り込まれ、さ
らにまた次の立ち上がりにはC0、C1及びC2に取り
込まれた受信データがそれぞれ、C1、C2及びC3に
シフトされると同時にその時の受信データがC0取り込
まれ、以後この処理が繰り返される。
In the reception data shift register 5, the waveform B
At the rising edge of the 8 × clock signal shown in FIG. 7, the received data at that time shown in waveform A is first taken into C0, and at the next rising edge, the received data taken into C0 is shifted to C1 and at the same time, the received data at that time becomes C0. It is captured. At the next rising edge, the received data captured by C0 and C1 are shifted to C1 and C2, respectively, and at the same time, the received data at that time is captured by C0. At the next rising edge, the data is further transferred to C0, C1 and C2. The fetched received data is shifted to C1, C2 and C3 respectively, and at the same time the received data at that time is fetched into C0, and thereafter this process is repeated.

【0055】位相検出及び同期検出部12では、受信デ
ータシフトレジスタ5にラッチされた20ビットのう
ち、同期パターン”010”のはじめの”0”と”1”
とを検出するためにそれぞれ、適当な部分の連続した6
ビットを、すなわち、はじめの”0”に対してはC14
〜C9、次の”1”に対してはC6〜C1を常時照合
し、ここでC14〜C9が全て”0”でさらにC6〜C
1が全て”1”である場合には、波形Eに示す一致信号
がクロック分周回路10に与えられる。
In the phase detection and synchronization detection section 12, the first "0" and "1" of the synchronization pattern "010" of the 20 bits latched in the reception data shift register 5 are used.
And 6 in each of the appropriate portions to detect
Bit, ie, C14 for the first "0"
C1 to C9, C6 to C1 are always collated for the next "1", where C14 to C9 are all "0" and C6 to C1
When all 1s are “1”, the coincidence signal shown by the waveform E is supplied to the clock frequency dividing circuit 10.

【0056】クロック分周回路10では、照合部8から
の一致信号が与えられた時点から8倍クロック信号の4
クロック後を位相基準として、波形Bに示す8倍クロッ
ク信号が1/8分周され、分周によって得られた波形F
に示すクロック信号がデータ送受信部11に与えられ
る。
In the clock frequency dividing circuit 10, four times of the eight-times clock signal from the time when the coincidence signal is
The 8-fold clock signal shown in the waveform B is divided by 1/8 with the phase after the clock as the phase reference, and the waveform F obtained by the frequency division is obtained.
Is supplied to the data transmission / reception unit 11.

【0057】データ送受信部11では、クロック分周回
路10からのクロック信号に同期して、その後のデータ
の送受信が行われる。ここで、この第2の実施形態で
は、クロック分周回路10からの最初のクロック信号に
よって受信したデータが同期パターンの最後の”0”で
あることを確認してから、その後のデータの送受信が行
われる。なお、同期パターンの最後の”0”が受信され
ないとき、または、一連した監視制御データの送受信が
終了したときは、位相検出及び同期検出部12に通信期
間の終了が指示される。
In the data transmission / reception section 11, subsequent data transmission / reception is performed in synchronization with the clock signal from the clock frequency dividing circuit 10. Here, in the second embodiment, after confirming that the data received by the first clock signal from the clock frequency dividing circuit 10 is the last “0” of the synchronization pattern, the subsequent data transmission / reception is performed. Done. When the last “0” of the synchronization pattern is not received, or when a series of transmission and reception of the monitoring control data is completed, the phase detection and synchronization detection unit 12 is instructed to end the communication period.

【0058】以上のように、この第2の実施形態によれ
ば、データ信号線をプルアップして、監視制御データに
同期パターン”010”を設けることにより、受信デー
タシフトレジスタの最初の16ビットパターンから、同
期パターンの初めの”0”と”1”とのみを検出するこ
とによってクロック信号を再生し、そのクロック信号に
基づいて受信したデータが残りの同期パターンであるこ
とをデータ送受信部において確認できるため、照合する
ビットパターンを少なくすることができ、したがって、
従来よりも照合処理時間が少なくなり、高速なデータ伝
送にも適用できるようになる。
As described above, according to the second embodiment, by pulling up the data signal line and providing the synchronization pattern "010" in the monitoring control data, the first 16 bits of the reception data shift register can be obtained. The clock signal is reproduced by detecting only the first "0" and "1" of the synchronization pattern from the pattern, and the data transmission / reception unit determines that the data received based on the clock signal is the remaining synchronization pattern. Because it can be confirmed, the number of bit patterns to be matched can be reduced, and therefore,
The collation processing time is shorter than in the past, and it can be applied to high-speed data transmission.

【0059】(C)他の実施形態 上記各実施形態では、データ入出力盤が1の場合につい
て説明したが、データ入出力盤が複数有り、監視制御盤
との接続は、監視制御盤を中心とした1対Nのスター状
結線になっている場合であっても良い。
(C) Other Embodiments In the above embodiments, the case where the number of data input / output panels is 1 has been described. However, there are a plurality of data input / output panels, and connection with the monitoring control panel is mainly performed by the monitoring control panel. 1 to N star-shaped connection.

【0060】また、上記各実施形態では、データ伝送が
必ず監視制御盤から開始される場合について説明した
が、データ入出力盤から開始される場合であっても良
い。
In each of the above embodiments, the case where data transmission is always started from the monitoring and control panel has been described. However, the case where data transmission is started from the data input / output panel may be used.

【0061】さらに、上記各実施形態では、データ信号
線をVCCでプルアップして同期パターンに”010”
を設定する場合について説明したが、データ信号線を抵
抗を介してグランドに接続してプルダウンし、同期パタ
ーンに”101”を設定する場合であっても同様に適用
できる。
Further, in each of the above embodiments, the data signal line is pulled up by VCC and the synchronization pattern is set to "010".
Has been described, but the same can be applied to the case where the data signal line is connected to the ground via a resistor, pulled down, and "101" is set in the synchronization pattern.

【0062】さらにまた、上記各実施形態では、監視制
御盤からの送信クロックの8倍の周波数のクロックを用
いた場合について説明したが、再生クロック信号のズレ
が許容範囲内を確保できるならば、他の周波数のクロッ
クを用いて、適当な連続したビット数を検出する場合で
あっても良い。
Further, in each of the above embodiments, the case where a clock having a frequency eight times the frequency of the transmission clock from the monitoring control panel is used has been described. However, if the deviation of the reproduced clock signal can be kept within an allowable range, A case where an appropriate number of consecutive bits is detected using a clock of another frequency may be used.

【0063】上記第2の実施形態では、データ信号線を
VCCでプルアップして同期パターンに”010”を設
定する場合について説明したが、データ信号線は関係な
く、同期パターンの先頭部分に同期捕捉用パターンを設
け、その同期捕捉用パターンのみを照合して再生クロッ
クを生成する場合についても同様に適用できる。
In the second embodiment, the case where the data signal line is pulled up by VCC and "010" is set in the synchronization pattern has been described. However, regardless of the data signal line, the data signal line is synchronized with the head of the synchronization pattern. The same applies to the case where a capture pattern is provided and only the synchronization capture pattern is collated to generate a reproduced clock.

【0064】[0064]

【発明の効果】以上のように、第1の本発明によれば、
データ信号線からシリアルデータが送信されていないと
きは第1の論理レベルに固定され、同期パターンの先頭
ビットには第2の論理レベル、次のビットには第1の論
理レベルが定められていることにより、第2の論理レベ
ルから第1の論理レベルへの変化時の検出によって同期
パターンを照合するタイミングが検出できるため、常時
照合する必要がなくなり、また、照合するラッチデータ
パターン数も少なくとも同期パターン数にすることがで
き、したがって、従来よりも照合処理時間が少なくな
り、高速なデータ伝送にも適用できるようになる。
As described above, according to the first aspect of the present invention,
When the serial data is not transmitted from the data signal line, it is fixed to the first logical level, the first bit of the synchronization pattern is set to the second logical level, and the next bit is set to the first logical level. This makes it possible to detect the timing at which the synchronization pattern is compared by detecting a change from the second logic level to the first logic level, so that there is no need to always perform the matching, and the number of latch data patterns to be compared is at least synchronized. The number of patterns can be reduced, so that the collation processing time is shorter than in the past, and the present invention can be applied to high-speed data transmission.

【0065】また、第2の本発明によれば、同期パター
ンの先頭部分に同期捕捉用パターン部分を有することに
より、ラッチデータパターンからその同期捕捉用パター
ン部分のみを検出することによって同期タイミングを定
めて分周クロック信号を生成し、その分周クロック信号
に基づいてデータ信号線から与えられたデータが残りの
同期パターンであることをデータ通信手段において確認
するため、照合するラッチデータパターンを同期捕捉用
パターンに対する部分のみにすることができ、したがっ
て、従来よりも照合処理時間が少なくなり、高速なデー
タ伝送にも適用できるようになる。
According to the second aspect of the present invention, since the synchronization pattern is provided at the head of the synchronization pattern, only the synchronization pattern is detected from the latch data pattern to determine the synchronization timing. In order to confirm in the data communication means that the data given from the data signal line is the remaining synchronization pattern based on the divided clock signal, the latched data pattern to be compared is synchronously captured. Only the portion corresponding to the data pattern can be used, so that the collation processing time is shorter than in the past, and the present invention can be applied to high-speed data transmission.

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

【図1】第1の実施形態のシリアルインタフェース回路
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a serial interface circuit according to a first embodiment.

【図2】第1の実施形態のディジタル伝送装置の構成を
示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of the digital transmission device according to the first embodiment.

【図3】監視制御データのフォーマットを示すイメージ
図である。
FIG. 3 is an image diagram showing a format of monitoring control data.

【図4】第1の実施形態の動作を示すタイミング図であ
る。
FIG. 4 is a timing chart showing the operation of the first embodiment.

【図5】第2の実施形態のシリアルインタフェース回路
の構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a serial interface circuit according to a second embodiment.

【図6】第2の実施形態の動作を示すタイミング図であ
る。
FIG. 6 is a timing chart showing the operation of the second embodiment.

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

2…ドライバ、3…レシーバ、4…クロック発振回路、
5…受信データシフトレジスタ、6…エッジ検出部、7
…同期パターン記憶部、8…照合部、9…カウンタ、1
0…クロック分周回路、11…データ送受信部、100
…データ信号線。
2 ... Driver, 3 ... Receiver, 4 ... Clock oscillation circuit,
5: Received data shift register, 6: Edge detector, 7
... Synchronization pattern storage unit, 8 ... Collation unit, 9 ... Counter, 1
0: clock divider circuit, 11: data transmission / reception unit, 100
... Data signal lines.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 対向するシリアルインタフェース回路と
データ信号線で接続されており、1回の通信期間の開始
側に複数ビットでなる同期パターンが付加されているシ
リアルデータが対向するシリアルインタフェース回路か
ら与えられるシリアルインタフェース回路において、 上記データ信号線は、対向するシリアルインタフェース
回路からシリアルデータが送信されていないときは第1
の論理レベルに固定されており、 上記同期パターンの先頭2ビットはそれぞれ、上記第1
の論理レベルとは異なる第2の論理レベル、上記第1の
論理レベルに定められていると共に、 対向するシリアルインタフェース回路がデータ送信時に
同期送信動作させるためのクロック信号の周波数のN倍
の周波数を有する高速クロック信号を発振するクロック
発振手段と、 このクロック発振手段が発振した高速クロック信号に基
づいて、データ信号線からのシリアルデータをラッチす
るシフトレジスタ手段と、 このシフトレジスタ手段にラッチされたラッチデータパ
ターンから、上記第2の論理レベルから上記第1の論理
レベルへの変化エッジを検出するエッジ検出手段と、 このエッジ検出手段による検出時に基づいて照合タイミ
ングを定め、上記シフトレジスタ手段にラッチされてい
るラッチデータパターンが、上記同期パターンに合致し
ているか否かを照合する照合手段と、 この照合手段が両パターンの合致を検出した時点に基づ
いて、分周後のクロック信号が入力されたシリアルデー
タにほぼ同期するように、上記クロック発振手段からの
高速クロック信号を1/N分周するクロック分周手段
と、 このクロック分周手段からの分周クロック信号に基づい
て、上記データ信号線を介したシリアルデータの授受を
行うデータ通信手段とを有することを特徴とするシリア
ルインタフェース回路。
A serial data which is connected to an opposing serial interface circuit by a data signal line and to which a synchronization pattern of a plurality of bits is added at the start of one communication period is supplied from the opposing serial interface circuit. In the serial interface circuit, the data signal line is connected to the first line when serial data is not transmitted from the opposing serial interface circuit.
The first two bits of the synchronization pattern are respectively set to the first level.
A second logic level different from the first logic level, which is different from the first logic level, is set to N times the frequency of the clock signal for causing the opposing serial interface circuit to perform the synchronous transmission operation at the time of data transmission. Clock oscillating means for oscillating a high-speed clock signal, shift register means for latching serial data from a data signal line based on the high-speed clock signal oscillated by the clock oscillating means, and latch latched by the shift register means Edge detection means for detecting a change edge from the second logic level to the first logic level from the data pattern; and a collation timing determined based on the detection time by the edge detection means, and latched by the shift register means. Latch data pattern matches the above synchronization pattern. Checking means for checking whether or not the clock signal is synchronized, based on a point in time when the checking means detects a match between the two patterns, such that the clock oscillation is performed so that the frequency-divided clock signal is substantially synchronized with the input serial data. Clock dividing means for dividing a high-speed clock signal from the means by 1 / N, and data communication means for transmitting and receiving serial data via the data signal line based on the divided clock signal from the clock dividing means And a serial interface circuit.
【請求項2】 対向するシリアルインタフェース回路と
データ信号線で接続されており、1回の通信期間の開始
側に複数ビットでなる同期パターンが付加されているシ
リアルデータが対向するシリアルインタフェース回路か
ら与えられるシリアルインタフェース回路において、 対向するシリアルインタフェース回路がデータ送信時に
同期送信動作させるためのクロック信号の周波数のN倍
の周波数を有する高速クロック信号を発振するクロック
発振手段と、 このクロック発振手段が発振した高速クロック信号に基
づいて、データ信号線からのシリアルデータをラッチす
るシフトレジスタ手段と、 このシフトレジスタ手段にラッチされたラッチデータパ
ターンから、上記同期パターンの先頭側の所定ビット数
部分を検出し、この検出に基づいて同期タイミングを定
める同期検出手段と、 この同期検出手段が同期タイミングを定めた時点に基づ
いて、分周後のクロック信号が入力されたシリアルデー
タにほぼ同期するように、上記クロック発振手段からの
高速クロック信号を1/N分周するクロック分周手段
と、 このクロック分周手段からの分周クロック信号に基づい
て上記データ信号線を介したシリアルデータの授受を行
うものであって、この授受データの初期パターンが上記
同期検出手段の検出処理に供しない部分の上記同期パタ
ーンに合致しているか否かも照合するデータ通信手段と
を有することを特徴とするシリアルインタフェース回
路。
2. Serial data which is connected to an opposing serial interface circuit by a data signal line and to which a synchronization pattern of a plurality of bits is added at the start of one communication period is supplied from the opposing serial interface circuit. Clock oscillating means for oscillating a high-speed clock signal having a frequency which is N times higher than the frequency of a clock signal for synchronous transmission operation at the time of data transmission by the opposing serial interface circuit; Shift register means for latching serial data from the data signal line based on the high-speed clock signal; and detecting a predetermined number of bits on the head side of the synchronization pattern from the latch data pattern latched by the shift register means, Based on this detection A synchronous detecting means for determining a synchronous timing; and a high-speed signal from the clock oscillating means based on a point in time at which the synchronous detecting means determines the synchronous timing, so that the frequency-divided clock signal is substantially synchronized with the input serial data. A clock dividing means for dividing the clock signal by 1 / N; and transmitting and receiving serial data via the data signal line based on the divided clock signal from the clock dividing means. And a data communication unit for checking whether or not the initial pattern of the data does not match the synchronization pattern in a portion not subjected to the detection processing of the synchronization detection unit.
JP9321170A 1997-11-21 1997-11-21 Serial interface circuit Pending JPH11154943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9321170A JPH11154943A (en) 1997-11-21 1997-11-21 Serial interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9321170A JPH11154943A (en) 1997-11-21 1997-11-21 Serial interface circuit

Publications (1)

Publication Number Publication Date
JPH11154943A true JPH11154943A (en) 1999-06-08

Family

ID=18129585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9321170A Pending JPH11154943A (en) 1997-11-21 1997-11-21 Serial interface circuit

Country Status (1)

Country Link
JP (1) JPH11154943A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110320406A (en) * 2018-03-30 2019-10-11 和硕联合科技股份有限公司 Frequency measuring system and its measurement method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110320406A (en) * 2018-03-30 2019-10-11 和硕联合科技股份有限公司 Frequency measuring system and its measurement method

Similar Documents

Publication Publication Date Title
KR19990063894A (en) Operation and management of redundant clock distribution network
JPH03191633A (en) Data transfer system
JP2948837B2 (en) Communication link interface initialization and synchronization method and communication link receiver
JPH0612905B2 (en) Communication interface
JP3537290B2 (en) Serial interface circuit
JPH11154943A (en) Serial interface circuit
US20030112827A1 (en) Method and apparatus for deskewing parallel serial data channels using asynchronous elastic buffers
US7408958B2 (en) Device for transmitting asynchronous data having clock deviation control
JP4335101B2 (en) Serial signal transmitting device, serial signal receiving device, serial transmission device, serial transmission method
US20040202269A1 (en) Reception data synchronizing apparatus and method, and recording medium with recorded reception data synchronizing program
JP3050153B2 (en) Printing equipment
US20210242969A1 (en) Signal transceiving system and method
JP3063291B2 (en) Line monitoring circuit
JPH05252227A (en) Serial communication equipment
JP2698287B2 (en) Receiver circuit for asynchronous communication
JP2712304B2 (en) Data transmission method, data transmission device, data reception method, and data reception device
JP2513799B2 (en) Pattern detection circuit
JPH11205396A (en) Serial communication equipment
SU1562922A2 (en) Device for damping information to telegraph apparatus
JP2990094B2 (en) Frame synchronization circuit
JPH1141224A (en) Serial data transmission circuit
JP2001144741A (en) Device and method for synchronizing received data and recording medium with received data synchronizing program recorded thereon
JPH08102732A (en) Frame synchronization circuit
JPH05114897A (en) Phase-locked circuit
JP2002300141A (en) Device and method for controlling data capturing timing