JPH07231316A - Duplex communication equipment - Google Patents

Duplex communication equipment

Info

Publication number
JPH07231316A
JPH07231316A JP6020570A JP2057094A JPH07231316A JP H07231316 A JPH07231316 A JP H07231316A JP 6020570 A JP6020570 A JP 6020570A JP 2057094 A JP2057094 A JP 2057094A JP H07231316 A JPH07231316 A JP H07231316A
Authority
JP
Japan
Prior art keywords
communication device
signal
bit
synchronization
frame synchronization
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
JP6020570A
Other languages
Japanese (ja)
Inventor
Hideaki Takechi
秀明 武知
Susumu Morikura
晋 森倉
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6020570A priority Critical patent/JPH07231316A/en
Publication of JPH07231316A publication Critical patent/JPH07231316A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a duplex communication equipment which is suitable for phase locked loop (PLL) clock reproducing technique and can surely establish synchronism at high speed while reducing circuit scale. CONSTITUTION:A master communication equipment 101 transmits a bit synchronizing signal to a slave communication equipment, and while using that signal, the slave communication equipment establishes bit synchronism corresponding to the successively, the bit synchronizing signal is transmitted to the master communication equipment 101, and while using that signal the master communication equipment 101 establishes bit synchronism corresponding to a PLL 110. Then, a frame synchronizing signal is transmitted to the slave communication equipment, and while using that signal, the slave communication equipment establishes frame synchronism. Afterwards, the frame synchronizing signal is transmitted to the master communication equipment 101, and while using that signal, the master communication equipment 101 establishes the frame synchronism.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ビット同期とフレーム
同期を確立して、パラレルデータをシリアルデータに変
換して伝送する双方向通信装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-way communication device which establishes bit synchronization and frame synchronization, converts parallel data into serial data and transmits the serial data.

【0002】[0002]

【従来の技術】近年、同期式通信技術はIC化技術の進
展により、幹線系に代表される大規模アプリケーション
から、LANに代表される小規模アプリケーションへと
応用の範囲を広げている。これに伴い、同期式通信装置
の汎用性を一段と向上させることが求められている。
2. Description of the Related Art In recent years, due to the progress of IC technology, synchronous communication technology has been expanding its application range from large-scale applications typified by trunk lines to small-scale applications typified by LAN. Along with this, it is required to further improve the versatility of the synchronous communication device.

【0003】この様な同期式通信装置に於いては、電源
投入後等において送受信機間でビット同期、フレーム同
期がとれていない時、ある手順にしたがって同期を確立
する必要があり、システム毎に予め送信機、受信機の従
うべき同期確立の為の手順が定められているが、上述し
た様な汎用化への要請から、これらの送受信機間の同期
確立手順を制御する装置に対しても、様々な要求が挙げ
らている。
In such a synchronous communication device, when bit synchronization and frame synchronization are not established between the transmitter and the receiver after the power is turned on, it is necessary to establish the synchronization according to a certain procedure, and it is necessary to establish the synchronization for each system. The procedure for establishing synchronization that the transmitter and receiver should follow is defined in advance, but due to the request for generalization as described above, even for devices that control the procedure for establishing synchronization between these transmitters and receivers. , Various requests are mentioned.

【0004】まず、頻繁に電源の断続が行なわれること
に対応し、電源投入後、高速、かつ確実にビット同期、
フレーム同期をとり、速やかに通信を確立する事が要求
される。
First, in response to frequent power interruptions, after the power is turned on, bit synchronization is ensured at high speed and reliably.
It is required to establish frame synchronization and establish communication promptly.

【0005】また、低価格化のためには部品の共用化も
重要であり、1品種の送受信機を用いて、用途に応じ、
送信クロックの周波数や周波数精度が異なる通信システ
ムを構築することが出来ねばならない。位相同期ループ
(以下PLLと記述)によるクロック再生技術はこうし
た柔軟性の要求を満たし、かつ、IC化による小型、低
価格、省電力化が可能であるため極めて重要であり、P
LLによるクロック再生技術に適した同期確立技術が必
要とされている。
In order to reduce the price, it is also important to share parts, and one type of transceiver is used to
It must be possible to construct a communication system in which the transmission clock frequency and frequency accuracy are different. A clock recovery technology using a phase-locked loop (hereinafter referred to as PLL) satisfies such requirements of flexibility, and is extremely important because it can be downsized, low cost, and power can be saved by using an IC.
There is a need for a synchronization establishment technique suitable for the clock recovery technique by LL.

【0006】また、従来より双方向通信装置には、送受
信のビットクロックが互いに独立な装置と、互いに同期
している装置の2種類が存在する。送受信のクロックが
互いに同期していない場合には、様々な付加装置が必要
とされ、例えば受信したデータを折り返すためにはスタ
ッフビットの付加等を行なう付帯装置を要し、単一のク
ロックで動作する端末等の機器とインターフェイスを行
なう場合にも特別な付加回路を要する。それに対して、
送受信で互いに同期したビットクロックを使用する通信
機では、これらの付加回路を要せず、通信機の回路を簡
素化できる。そのため、送受信で互いに同期したビット
クロックを使用する通信機技術は重要であり、この技術
に適合した同期確立技術が必要とされている。
Conventionally, there are two types of bidirectional communication devices: a device in which transmission / reception bit clocks are independent of each other and a device in which transmission / reception bit clocks are synchronized with each other. If the transmission and reception clocks are not synchronized with each other, various additional devices are required. For example, in order to loop back the received data, an additional device that adds stuff bits is required, and operates with a single clock. A special additional circuit is required when interfacing with a device such as a mobile terminal. On the other hand,
A communication device that uses a bit clock synchronized with each other for transmission and reception does not need these additional circuits, and the circuit of the communication device can be simplified. Therefore, a communication device technology using bit clocks synchronized with each other for transmission and reception is important, and a synchronization establishment technology adapted to this technology is required.

【0007】一方、従来よりビット同期が取れていない
状態から同期確立を行なう手順を実装したシステムとし
ては、 1)データ伝送線と別に独立した手順制御専用線を設け、
それにより送受信機間で手順を制御するシステム。
On the other hand, as a system in which a procedure for establishing synchronization from a state where bit synchronization has not been established conventionally has been implemented, 1) an independent procedure control dedicated line is provided separately from the data transmission line,
The system that controls the procedure between the transmitter and the receiver.

【0008】2)送受信機間では特に制御信号をやり取り
せず、送信側がビット同期信号やフレーム同期信号を含
む信号を所定の期間送信し、受信側ではこれらが受信さ
れる期間内に同期を取るシステム。
2) No control signal is exchanged between the transmitter and the receiver, the transmitting side transmits a signal including a bit synchronizing signal and a frame synchronizing signal for a predetermined period, and the receiving side synchronizes within a period during which these are received. system.

【0009】3)双方向伝送装置に於て、予め定められた
ユニークなビットパターンを互いに伝送し、制御情報を
やり取りするシステム。等が存在した。
3) A system for transmitting control information by mutually transmitting a predetermined unique bit pattern in a bidirectional transmission device. And so on.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、前述し
た様な小規模アプリーケーションを考慮した場合、上述
の例の1)の様に、データ伝送線の他に制御のための専用
制御線を設けることは、コストと容積の点で許容しがた
いものとなる。
However, when considering the small-scale application as described above, a dedicated control line for control is provided in addition to the data transmission line as in 1) of the above example. Is unacceptable in terms of cost and volume.

【0011】また、受信機側でPLLによるクロック抽
出を用いた場合、受信機側PLLの状態に依存し、時と
して長い同期引き込み時間を生ずる場合がある。そのた
め、上述の例の2)の様な、特に制御情報をやり取りしな
い方式において確実に同期をとるためには、予め相当長
い同期用期間を設ける必要があり、このため、通信確立
までの所要時間が増加する。
When clock extraction by the PLL is used on the receiver side, depending on the state of the PLL on the receiver side, sometimes a long synchronization pull-in time may occur. Therefore, in order to ensure reliable synchronization, especially in a method in which control information is not exchanged, such as 2) in the above example, it is necessary to provide a considerably long synchronization period in advance. Will increase.

【0012】3)の、ビットパターンにより制御情報をや
りとりする例では、ビット同期確立前後において、ビッ
ト同期ずれによる誤った制御情報の識別、フレーム同期
の疑似引き込み等の問題があり、これらの対策のため、
厳重な誤り訂正や、長い保護期間が必要で、この事によ
り回路規模の増大や、通信確立までの所要時間の増加を
引き起こす。また、厳重な誤り訂正のために伝送容量を
多く必要とするため、制御情報を伝送している時に送受
信できるデータ量は少なく、伝送容量に無駄を生ずる。
In the example of 3) in which control information is exchanged by a bit pattern, there are problems such as incorrect control information identification due to bit synchronization deviation and pseudo synchronization of frame synchronization before and after establishment of bit synchronization. For,
Strict error correction and a long protection period are required, which causes an increase in circuit scale and an increase in the time required to establish communication. Further, since a large transmission capacity is required for strict error correction, the amount of data that can be transmitted / received during transmission of control information is small, and the transmission capacity is wasted.

【0013】また、送受信で互いに同期したビットクロ
ックを使用する通信機に於いては、適切な制御を行なわ
ないと、誤った受信信号のため、誤った位相や周波数の
ビットクロックを用いて発生したビット同期信号やフレ
ーム同期信号を送信する可能性があり、この様な事態を
回避して同期を確立を行わなければならない。等の課題
があり、これらの観点から、同期式通信装置に於ける、
高速で、回路規模が小さく、かつ確実で、PLLクロッ
ク再生技術と、送受信で同期したクロックを用いる通信
機に適合した同期確立手段が求められている。
Further, in a communication device which uses bit clocks synchronized with each other for transmission and reception, unless proper control is performed, an erroneous received signal is generated, and therefore a bit clock having an erroneous phase or frequency is used. There is a possibility that a bit synchronization signal or a frame synchronization signal may be transmitted, and such a situation must be avoided to establish synchronization. From these viewpoints, in the synchronous communication device,
There is a demand for a high-speed, small-scale, and reliable circuit for PLL clock reproduction and means for establishing synchronization suitable for a communication device using a clock synchronized for transmission and reception.

【0014】本発明は、従来の双方向通信装置のこのよ
うな課題を考慮し、回路規模が小さく、PLLクロック
再生技術に適合し、高速で確実に同期が確立できる双方
向通信装置を提供することを目的とするものである。
In consideration of such problems of the conventional bidirectional communication device, the present invention provides a bidirectional communication device which has a small circuit size, is suitable for a PLL clock recovery technique, and can establish synchronization at high speed and reliably. That is the purpose.

【0015】[0015]

【課題を解決するための手段】請求項1の本発明は、ビ
ット同期を確立するための第1の位相同期ループ及びフ
レーム同期を確立するための第1のフレーム同期回路を
有する第1の通信機と、ビット同期を確立するための第
2の位相同期ループ及びフレーム同期を確立するための
第2のフレーム同期回路を有する第2の通信機とを備え
た双方向通信装置であって、第1の通信機は、第2の通
信機から受信したビット同期信号が多重された信号に基
づいて、第1の位相同期ループによってビット同期を確
立し、第2の通信機は、第1の通信機から受信したビッ
ト同期信号が多重された信号に基づいて、第2の位相同
期ループによってビット同期を確立し、第1の通信機及
び第2の通信機の両者でビット同期が確立された後、第
1の通信機は、第2の通信機から受信したフレーム同期
信号が多重された信号に基づいて、第1のフレーム同期
回路によってフレーム同期を確立し、第2の通信機は、
第1の通信機から受信したフレーム同期信号が多重され
た信号に基づいて、第2のフレーム同期回路によってフ
レーム同期を確立する双方向通信装置である。
SUMMARY OF THE INVENTION The invention of claim 1 is a first communication having a first phase-locked loop for establishing bit synchronization and a first frame synchronization circuit for establishing frame synchronization. And a second communicator having a second phase-locked loop for establishing bit synchronization and a second frame synchronization circuit for establishing frame synchronization. The first communication device establishes bit synchronization by the first phase-locked loop based on the signal obtained by multiplexing the bit synchronization signal received from the second communication device, and the second communication device determines the first communication. After establishing bit synchronization by the second phase-locked loop based on the signal obtained by multiplexing the bit synchronization signal received from the device, and after the bit synchronization is established by both the first communication device and the second communication device. , The first communication device is On the basis of a signal frame synchronizing signal received is multiplexed from communication apparatus, the first frame synchronization circuit to establish the frame synchronization, the second communication device is
A two-way communication device that establishes frame synchronization by a second frame synchronization circuit based on a signal obtained by multiplexing a frame synchronization signal received from a first communication device.

【0016】請求項2の本発明は、ビット同期を確立す
るための第1の位相同期ループ及びフレーム同期を確立
するための第1のフレーム同期回路を有する第1の通信
機と、ビット同期を確立するための第2の位相同期ルー
プ及びフレーム同期を確立するための第2のフレーム同
期回路を有する第2の通信機とを備えた双方向通信装置
であって、第1の通信機は、ビット同期信号が多重され
た信号Aを第2の通信機へ送信し、第2の通信機は、そ
の信号Aに基づいて、第2の位相同期ループによりビッ
ト同期を確立した場合は、ビット同期信号が多重された
信号Bを第1の通信機へ送信し、第1の通信機は、その
信号Bに基づいて、第1の位相同期ループによりビット
同期を確立した場合は、フレーム同期信号が多重された
信号Cを第2の通信機へ送信し、第2の通信機は、その
信号Cに基づいて、第2のフレーム同期回路によりフレ
ーム同期を確立した場合は、フレーム同期信号が多重さ
れた信号Dを第1の通信機へ送信し、第1の通信機は、
その信号Dに基づいて、第1のフレーム同期回路により
フレーム同期を確立することにより、第1の通信機及び
第2の通信機間の同期を確立する双方向通信装置であ
る。
According to the second aspect of the present invention, a first communication device having a first phase locked loop for establishing bit synchronization and a first frame synchronization circuit for establishing frame synchronization, and bit synchronization are provided. A two-way communication device comprising a second phase-locked loop for establishing and a second communication device having a second frame synchronization circuit for establishing frame synchronization, the first communication device comprising: When the signal A in which the bit synchronization signal is multiplexed is transmitted to the second communication device, and the second communication device establishes the bit synchronization by the second phase-locked loop based on the signal A, the bit synchronization is performed. When a signal B in which the signals are multiplexed is transmitted to the first communication device, and the first communication device establishes bit synchronization by the first phase-locked loop based on the signal B, the frame synchronization signal is The multiplexed signal C The second communication device transmits the signal D to which the frame synchronization signal is multiplexed to the first communication device when the second frame synchronization circuit establishes the frame synchronization based on the signal C. And the first communicator
A two-way communication device that establishes synchronization between the first communication device and the second communication device by establishing frame synchronization by the first frame synchronization circuit based on the signal D.

【0017】[0017]

【作用】本発明は、それぞれ、受信したビット同期信号
が多重された信号に基づいて、第1の通信機が、第1の
位相同期ループによってビット同期を確立し、第2の通
信機が、第2の位相同期ループによってビット同期を確
立した後、それぞれ、受信したフレーム同期信号が多重
された信号に基づいて、第1の通信機が、第1のフレー
ム同期回路によってフレーム同期を確立し、第2の通信
機が、第2のフレーム同期回路によってフレーム同期を
確立する。
According to the present invention, the first communication device establishes the bit synchronization by the first phase-locked loop based on the received signal in which the bit synchronization signal is multiplexed, and the second communication device operates. After establishing the bit synchronization by the second phase-locked loop, the first communication device establishes the frame synchronization by the first frame synchronization circuit based on the received signal in which the frame synchronization signal is multiplexed, The second communication device establishes frame synchronization by the second frame synchronization circuit.

【0018】また、本発明は、第1の通信機が、ビット
同期信号が多重された信号Aを第2の通信機へ送信し、
第2の通信機が、その信号Aに基づいて、第2の位相同
期ループによりビット同期を確立した後、ビット同期信
号が多重された信号Bを第1の通信機へ送信し、第1の
通信機は、その信号Bに基づいて、第1の位相同期ルー
プによりビット同期を確立した後、フレーム同期信号が
多重された信号Cを第2の通信機へ送信し、第2の通信
機は、その信号Cに基づいて、第2のフレーム同期回路
によりフレーム同期を確立した後、フレーム同期信号が
多重された信号Dを第1の通信機へ送信し、第1の通信
機が、その信号Dに基づいて、第1のフレーム同期回路
によりフレーム同期を確立して、第1の通信機及び第2
の通信機間の同期を確立する。
According to the present invention, the first communication device transmits the signal A in which the bit synchronization signal is multiplexed to the second communication device,
Based on the signal A, the second communication device establishes bit synchronization by the second phase-locked loop, and then transmits the signal B multiplexed with the bit synchronization signal to the first communication device, Based on the signal B, the communication device establishes bit synchronization by the first phase-locked loop and then transmits a signal C in which a frame synchronization signal is multiplexed to the second communication device, and the second communication device , The frame synchronization is established by the second frame synchronization circuit based on the signal C, and then the signal D multiplexed with the frame synchronization signal is transmitted to the first communication device, and the first communication device transmits the signal. Based on D, the frame synchronization is established by the first frame synchronization circuit, and the first communication device and the second communication device are connected.
Establish synchronization between the communicators.

【0019】[0019]

【実施例】以下に、本発明をその実施例を示す図面に基
づいて説明する。 (実施例1)図1及び図2は、本発明にかかる第1の実
施例の双方向通信装置のブロック図である(特許請求範
囲の請求項1に記載の同期確立手順を行なう通信システ
ムの例を示している)。すなわち、双方向通信装置は、
図1に示す第1の通信機である親通信機101及び図2
に示す第2の通信機である子通信機102により構成さ
れ、それら親通信機101と子通信機102とは伝送路
111,112により接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing its embodiments. (Embodiment 1) FIG. 1 and FIG. 2 are block diagrams of a bidirectional communication apparatus according to a first embodiment of the present invention (of a communication system for performing a synchronization establishing procedure according to claim 1 of the claims). An example is shown). That is, the two-way communication device is
The parent communication device 101, which is the first communication device shown in FIG. 1, and FIG.
The slave communication device 102, which is the second communication device shown in FIG. 3, is connected to the master communication device 101 and the slave communication device 102 by transmission lines 111 and 112.

【0020】親通信機101は、4ビットパラレルデー
タ(本実施例では、伝送データは4ビットで1フレーム
を構成する)をシリアルデータに変換するパラレルシリ
アル変換器103、送信するデータを切り換えるマルチ
プレクサ113、そのマルチプレクサ113を同期状態
に応じて制御するコントローラ115、受信したシリア
ルデータをパラレルデータに変換するシリアルパラレル
変換器106、ビット同期を確立するためのPLL(位
相同期ループ)110、フレーム同期パターンと受信デ
ータとを比較する4ビット比較器119等により構成さ
れている。又、子通信機102も親通信機101と同様
に、パラレルシリアル変換器104、マルチプレクサ1
14、コントローラ116、シリアルパラレル変換器1
05、PLL109、4ビット比較器120等により構
成されている。前述のシリアルパラレル変換器106の
一部及び4ビット比較器119等が第1のフレーム同期
回路を構成し、シリアルパラレル変換器105の一部及
び4ビット比較器120等が第2のフレーム同期回路を
構成している。
The master communicator 101 is a parallel-serial converter 103 for converting 4-bit parallel data (in this embodiment, transmission data composes one frame of 4 bits) into serial data, and a multiplexer 113 for switching data to be transmitted. A controller 115 for controlling the multiplexer 113 according to the synchronization state, a serial / parallel converter 106 for converting the received serial data into parallel data, a PLL (phase locked loop) 110 for establishing bit synchronization, a frame synchronization pattern, and It is configured by a 4-bit comparator 119 or the like that compares the received data. In addition, the slave communication device 102, like the master communication device 101, has a parallel-serial converter 104 and a multiplexer 1.
14, controller 116, serial-parallel converter 1
05, PLL 109, 4-bit comparator 120 and the like. A part of the serial / parallel converter 106 and the 4-bit comparator 119 and the like constitute a first frame synchronization circuit, and a part of the serial / parallel converter 105 and the 4-bit comparator 120 and the like are a second frame synchronization circuit. Are configured.

【0021】親通信機101のマルチプレクサ113
は、出力をデータ121、ビットパターン125、12
6のうち何れかに切り替え、子通信機102のマルチプ
レクサ114は、出力をデータ122、ビットパターン
125、126、127のうちの何れかに切り換える。
The multiplexer 113 of the master communication device 101
Outputs data 121, bit patterns 125, 12
6, the multiplexer 114 of the slave communication device 102 switches the output to one of the data 122 and the bit patterns 125, 126, 127.

【0022】親通信機101は、コントローラ115が
マルチプレクサ113を同期状態に応じて制御し、4ビ
ットパラレルのデータ121、及びビットパターン12
5、126のいずれかを選択してパラレルシリアル変換
器103に入力し、これをクロック発生器107からの
クロックに従ってシリアルビット列に変換して伝送路1
11へ送出する。
In the master communication device 101, the controller 115 controls the multiplexer 113 according to the synchronization state, and the 4-bit parallel data 121 and the bit pattern 12 are used.
5 or 126 is selected and input to the parallel-serial converter 103, which is converted into a serial bit string in accordance with the clock from the clock generator 107, and the transmission line 1
11 is sent.

【0023】同様に子通信機102は、コントローラ1
16がマルチプレクサ114を制御し、4ビットパラレ
ルのデータ122、及びビットパターン122、12
5、126、127のいずれかを選択してパラレルシリ
アル変換器104に入力し、これをクロック発生器10
8からのクロックに従ってシリアルビット列に変換して
伝送路112へ送出する。
Similarly, the slave communication device 102 is the controller 1
16 controls the multiplexer 114, and the 4-bit parallel data 122 and the bit patterns 122, 12
5, 126, 127 is selected and input to the parallel-to-serial converter 104, and this is input to the clock generator 10.
It is converted into a serial bit string according to the clock from 8 and sent to the transmission line 112.

【0024】次に、上記第1の実施例の双方向通信装置
の動作について説明する。
Next, the operation of the bidirectional communication device of the first embodiment will be described.

【0025】以下では、親子両通信機101,102
が、電源投入後の初期状態であり、各々のビット同期信
号再生用のPLL110,109は受信信号に対しビッ
ト同期を確立しておらず、同様にフレーム同期も確立さ
れていないとして、ビット同期、フレーム同期を順次行
なっていく手順を述べる。
In the following, both parent and child communication devices 101 and 102 will be described.
However, in the initial state after the power is turned on, it is assumed that the PLLs 110 and 109 for reproducing the bit synchronization signals have not established the bit synchronization with respect to the received signal, and similarly, that the frame synchronization has not been established. The procedure for sequentially performing frame synchronization will be described.

【0026】まず、初期状態で、子通信機102では0
連続のアイドリングパターン127が選択され送信され
る。一方、親通信機101からは[0101]パターン
125が送信される。このようにビット同期を行なう段
階では、[0101]パターン125のような特にビッ
ト同期信号を多く含み、フレーム情報を含まない信号が
伝送される。
First, in the initial state, the slave communication device 102 is set to 0.
A continuous idling pattern 127 is selected and transmitted. On the other hand, the parent communication device 101 transmits the [0101] pattern 125. In this way, at the stage of performing bit synchronization, a signal such as the [0101] pattern 125, which particularly contains many bit synchronization signals and does not include frame information, is transmitted.

【0027】次に、子通信機102は[0101]パタ
ーンを受信し、その受信した信号に対してPLL109
でビット同期を確立する。PLL109によるビット同
期引き込み時間は、一般に、受信した信号がビット同期
信号を多く含むほど短くなるが、この[0101]パタ
ーンは純粋にビット同期信号のみよりなるため、PLL
109による引き込み時間を最短にすることが出来、特
に受信機側でのビット同期確立時間短縮に寄与するとい
う利点がある。子通信機102ではコントローラ116
がPLL109を監視し、ビット同期の確立を検出する
とマルチプレクサ114を制御して[0101]パター
ン125の送信を開始する。そうすると、親通信機10
1はこの信号を受信し、PLL110によりビット同期
信号を抽出してビット同期を確立する。この段階で両通
信機101,102間のビット同期が確立される。
Next, the slave communicator 102 receives the [0101] pattern, and the PLL 109 for the received signal.
To establish bit synchronization. The bit synchronization pull-in time by the PLL 109 generally becomes shorter as the received signal contains more bit synchronization signals, but since this [0101] pattern consists of only the bit synchronization signals, the PLL.
There is an advantage that the pull-in time by 109 can be minimized, and in particular, it contributes to shortening the bit synchronization establishment time on the receiver side. In the slave communication device 102, the controller 116
Monitors the PLL 109, and upon detecting the establishment of bit synchronization, controls the multiplexer 114 to start transmitting the [0101] pattern 125. Then, the parent communication device 10
1 receives this signal, and the PLL 110 extracts the bit synchronization signal to establish the bit synchronization. At this stage, bit synchronization between both communication devices 101 and 102 is established.

【0028】このとき、親通信機101のシリアルパラ
レル変換器106は、PLL110からの再生クロック
に従って伝送路112より受信した伝送路信号をシリア
ルパラレル変換して受信データ123とする。一方、子
通信機102のシリアルパラレル変換器105はPLL
109からの再生クロックに従って伝送路111より受
信した伝送路信号をシリアルパラレル変換して受信デー
タ124とする。
At this time, the serial / parallel converter 106 of the master communication device 101 serial-parallel converts the transmission path signal received from the transmission path 112 according to the reproduction clock from the PLL 110 to obtain reception data 123. On the other hand, the serial / parallel converter 105 of the slave communication device 102 is a PLL
The transmission line signal received from the transmission line 111 is serial-parallel converted into reception data 124 according to the reproduction clock from 109.

【0029】次に、親通信機101の4ビット比較器1
19は、受信されたパラレルデータ123とフレーム同
期パターン126を比較し、一致しない場合はハント信
号130を発生する。同様に子通信機102の4ビット
比較器120は、受信されたパラレルデータ124とフ
レーム同期パターン126を比較し、一致しない場合は
ハント信号131を発生する。
Next, the 4-bit comparator 1 of the master communication device 101
19 compares the received parallel data 123 with the frame synchronization pattern 126, and generates a hunt signal 130 if they do not match. Similarly, the 4-bit comparator 120 of the slave communication device 102 compares the received parallel data 124 with the frame synchronization pattern 126, and generates a hunt signal 131 when they do not match.

【0030】ここで、ビット同期確立までは、フレーム
同期信号が受信されることはありえないので、誤ったフ
レーム同期確立を避けるため、親通信機101ではコン
トローラ115がゲート128を閉じ、ハント信号13
0は無視され、子通信機102ではコントローラ116
がゲート129を閉じ、ハント信号131は無視され
る。両通信機101,102は受信した伝送路信号への
ビット同期確立を確認すると同時にこれらのゲート12
8,129を開いてハンチングモードにはいるが、この
直後はクロック信号しか受信されず、フレーム同期情報
を持つ信号の受信までハンチングを繰り返しつつ待機す
る。このように本実施例に於いてはハンチングモードに
入った時は既にビット同期が確立されているうえ、送信
側が制御信号としてフレーム同期信号をデータに多重し
て送信してくるまで、受信信号にはフレーム同期信号が
全く含まれていないため、誤ってフレーム同期をする確
率はきわめて低く、結果としてフレーム同期後方保護の
段数が少なく出来、同期過程が高速に出来る等、本発明
の効果は大きい。
Here, since the frame synchronization signal cannot be received until the bit synchronization is established, the controller 115 closes the gate 128 and the hunt signal 13 in the parent communication device 101 to avoid erroneous frame synchronization establishment.
0 is ignored, and the controller 116 in the slave communication device 102.
Closes gate 129 and hunt signal 131 is ignored. Both the communication devices 101 and 102 confirm the establishment of bit synchronization to the received transmission path signal and at the same time, these gates 12
Although 8 and 129 are opened to enter the hunting mode, immediately after this, only the clock signal is received, and the hunting is repeated and waits until the reception of the signal having the frame synchronization information. As described above, in the present embodiment, when the hunting mode is entered, bit synchronization has already been established, and the reception signal remains until the transmission side multiplexes the frame synchronization signal as the control signal and transmits the data. Since the frame synchronization signal is not included at all, the probability of accidentally performing frame synchronization is extremely low, and as a result, the number of stages of frame synchronization backward protection can be reduced and the synchronization process can be speeded up.

【0031】次に、親通信機101のコントローラ11
5は、PLL110でのビット同期確立を検出すると、
フレーム同期信号とビット同期信号を含んだデータとし
て[0001]パターン126を選択し、これをシリア
ルビット列に変換して送信を開始する。この[000
1]パターンを受信した子通信機102は、これを用い
てハンチング動作を行いフレーム同期を確立する。ハン
チングによりフレーム同期が確立されると、後方保護カ
ウンタ118は、ハンチング信号が発生しなくなった
後、所定時間をおいてコントローラ116に同期確立を
通知する。そうすると、コントローラ116は[000
1]パターン126を選択し、送信を開始する。
Next, the controller 11 of the master communication device 101
5 detects the establishment of bit synchronization in the PLL 110,
The [0001] pattern 126 is selected as the data including the frame synchronization signal and the bit synchronization signal, converted into a serial bit string, and transmission is started. This [000
1] The slave communication device 102, which has received the pattern, performs a hunting operation using this to establish frame synchronization. When the frame synchronization is established by the hunting, the rear protection counter 118 notifies the controller 116 of the establishment of the synchronization after a predetermined time elapses after the hunting signal is not generated. Then, the controller 116 sets [000
1] Select the pattern 126 to start transmission.

【0032】最後に親通信機101が、子通信機102
と同様にフレーム同期を確立し、後方保護カウンタ11
7がコントローラ115に同期確立を通知すると、双方
向通信装置で同期が確立したと判断され、親通信機10
1では送信データ121が選択されて送信が開始され、
子通信機102では受信データ124が受信される。あ
るいは又、子通信機102では送信データ122が選択
されて送信が開始され、親通信機101では受信データ
123が受信される。
Finally, the parent communication device 101 and the child communication device 102
The frame synchronization is established in the same manner as described above, and the backward protection counter 11
When 7 notifies the controller 115 of the establishment of synchronization, it is determined that the two-way communication device has established synchronization, and the master communication device 10
In 1, the transmission data 121 is selected and transmission is started,
The reception data 124 is received by the slave communication device 102. Alternatively, the slave communication device 102 selects the transmission data 122 to start transmission, and the master communication device 101 receives the reception data 123.

【0033】このように、本発明で実施される手順は高
速でかつ信頼性が高く、また、これを行なうための装置
は、従来例での専用制御線や、誤り保護のための誤り訂
正回路等を要せず、簡単な回路で構成できる。 (実施例2)図3及び図4は、本発明にかかる第2の実
施例の双方向通信装置のブロック図である(請求項3に
記載の同期確立手順を行なう通信システムの例を示して
いる)。すなわち、双方向通信装置は、図3に示す第1
の通信機である親通信機201及び図4に示す第2の通
信機である子通信機202により構成され、それら親通
信機201と子通信機202とは伝送路228,229
により接続されている。
As described above, the procedure implemented in the present invention is fast and highly reliable, and the device for performing this is a dedicated control line in the conventional example and an error correction circuit for error protection. It can be configured with a simple circuit without requiring the above. (Embodiment 2) FIGS. 3 and 4 are block diagrams of a two-way communication apparatus according to a second embodiment of the present invention (showing an example of a communication system for performing the synchronization establishing procedure according to claim 3). Exist). That is, the two-way communication device is the first communication device shown in FIG.
4 and a slave communication device 202 which is a second communication device shown in FIG. 4, and the master communication device 201 and the slave communication device 202 are connected by transmission lines 228 and 229.
Connected by.

【0034】親通信機201は、4ビットパラレルデー
タ(本実施例では、伝送データは4ビットで1フレーム
を構成する)をシリアルデータに変換するパラレルシリ
アル変換器203、その変換されたシリアルデータをC
MI符号化するCMI符号化器207、受信したデータ
を復号するCMI復号化器210、その復号されたシリ
アルデータをパラレルデータに変換するシリアルパラレ
ル変換器205、ビット同期を確立するためのPLL2
13、ビット同期を検出するビット同期検出器217、
フレーム信号を発生するフレーム信号発生器214等に
より構成されている。又、子通信機202は、4ビット
パラレルデータをシリアルデータに変換するパラレルシ
リアル変換器204、その変換されたシリアルデータを
CMI符号化するCMI符号化器208、受信したデー
タを復号するCMI復号化器209、その復号されたシ
リアルデータをパラレルデータに変換するシリアルパラ
レル変換器206、ビット同期を確立するためのPLL
212、ビット同期を検出するビット同期検出器218
等により構成されている。前述のCMI復号化器210
の一部等が第1のフレーム同期回路を構成し、CMI復
号化器209の一部等が第2のフレーム同期回路を構成
している。
The master communication device 201 is a parallel-to-serial converter 203 for converting 4-bit parallel data (in this embodiment, transmission data constitutes one frame of 4 bits) into serial data, and the converted serial data. C
CMI encoder 207 for MI encoding, CMI decoder 210 for decoding received data, serial / parallel converter 205 for converting the decoded serial data into parallel data, and PLL 2 for establishing bit synchronization.
13, a bit sync detector 217 for detecting bit sync,
The frame signal generator 214, which generates a frame signal, is configured. Further, the slave communication device 202 includes a parallel-serial converter 204 that converts 4-bit parallel data into serial data, a CMI encoder 208 that performs CMI encoding of the converted serial data, and a CMI decoding that decodes the received data. 209, serial / parallel converter 206 for converting the decoded serial data into parallel data, and PLL for establishing bit synchronization
212, bit sync detector 218 for detecting bit sync
Etc. The CMI decoder 210 described above
Of the CMI decoder 209 constitutes part of the first frame synchronization circuit, and part of the CMI decoder 209 constitutes part of the second frame synchronization circuit.

【0035】親通信機201において、クロック発生器
211が基準クロック230を発生し、フレーム信号発
生器214が4クロックに1回のフレーム信号236を
発生する。パラレルシリアル変換器203は、フレーム
信号236に従って4ビットパラレルデータである入力
信号224を読み込み、基準クロック230に従って1
ビットずつシリアルビット列に変換する。シリアルビッ
ト列はゲート219を通ってCMI符号化器207に入
力され、CMI符号の伝送路信号となり伝送路228に
送出される。また、CMI符号化器207にゲート22
1を通じてフレーム同期信号236が入力された場合、
CMI符号化器207はフレーム同期信号236に従っ
て、4ビットに1ビットのCRV(CMI符号則違反/
Coding Rule Violation)をデータに多重する。
In the master communication device 201, the clock generator 211 generates the reference clock 230, and the frame signal generator 214 generates the frame signal 236 once every four clocks. The parallel-serial converter 203 reads the input signal 224, which is 4-bit parallel data, according to the frame signal 236, and outputs 1 according to the reference clock 230.
Convert bit by bit into a serial bit string. The serial bit string is input to the CMI encoder 207 through the gate 219, becomes a CMI code transmission line signal, and is transmitted to the transmission line 228. In addition, the gate 22 is provided to the CMI encoder 207.
When the frame synchronization signal 236 is input through 1,
According to the frame synchronization signal 236, the CMI encoder 207 has a one-to-four-bit CRV (CMI coding rule violation /
Coding Rule Violation) is multiplexed on the data.

【0036】子通信機202において、PLL212が
親通信機201より受信した伝送路信号からビット同期
信号成分を抽出し、再生クロック231を発生する。ま
た、CMI復号化器209が親通信機201より受信し
た伝送路信号中のCRVを識別し、それに従って4クロ
ックに1回のフレーム同期信号233を発生する。パラ
レルシリアル変換器204は、ゲート222が開いてフ
レーム信号233の分配が許可されている場合、これに
従って、4ビットパラレルデータである入力信号225
を読み込み、再生クロック231に従って1ビットずつ
シリアルビット列に変換する。シリアルビット列はゲー
ト220を通ってCMI符号化器208に入力され、C
MI符号の伝送路信号となり、ゲート223を通じて伝
送路229に送出される。また、ゲート222が開いて
フレーム信号233の分配が許可されている場合、CM
I符号化器208はフレーム同期信号233に従って、
4ビットに1ビットのCRVをデータに多重する。
In the slave communication device 202, the PLL 212 extracts the bit synchronization signal component from the transmission path signal received from the master communication device 201 and generates the reproduction clock 231. Further, the CMI decoder 209 identifies the CRV in the transmission path signal received from the parent communication device 201, and accordingly generates the frame synchronization signal 233 once every four clocks. When the gate 222 is opened and the distribution of the frame signal 233 is permitted, the parallel-serial converter 204 follows the input signal 225, which is 4-bit parallel data, accordingly.
Is read and converted into a serial bit string bit by bit according to the reproduction clock 231. The serial bit string is input to the CMI encoder 208 through the gate 220 and C
It becomes a transmission path signal of MI code and is sent to the transmission path 229 through the gate 223. When the gate 222 is opened and the distribution of the frame signal 233 is permitted, CM
The I encoder 208 follows the frame sync signal 233
CRV of 1 bit is multiplexed with data of 4 bits.

【0037】次に、上記第2の実施例の双方向通信装置
の動作について説明する。
Next, the operation of the bidirectional communication device of the second embodiment will be described.

【0038】以下では、親子両通信機201,202
が、電源投入後の初期状態であり、各々のビット同期信
号再生用のPLL213,212は受信信号に対しビッ
ト同期を確立しておらず、同様にフレーム同期も確立さ
れていないとして、同期確立を行なっていく手順を述べ
る。
In the following, both the parent and child communication devices 201, 202
However, in the initial state after the power is turned on, it is assumed that the PLLs 213 and 212 for reproducing the bit synchronization signals have not established the bit synchronization with respect to the received signal and the frame synchronization has not been established. Describe the steps that take place.

【0039】まず、初期状態の子通信機202のPLL
212は、伝送路228からの受信信号に対し、ビット
同期を確立していない。ビット同期検出器218はPL
L212を監視し、ビット同期を確立していない場合
は、ゲート223により伝送路229への信号を0に固
定し、送出させないようにする。また、初期状態の後方
保護カウンタ216は、ゲート220を閉じてCMI符
号化器208への入力を0に固定し、ゲート222によ
り再生フレーム同期信号233の分配を禁止している。
First, the PLL of the slave communication device 202 in the initial state
212 does not establish bit synchronization with the received signal from the transmission path 228. The bit synchronization detector 218 is PL
When L212 is monitored and bit synchronization is not established, the signal to the transmission line 229 is fixed to 0 by the gate 223 so that it is not transmitted. The backward protection counter 216 in the initial state closes the gate 220 to fix the input to the CMI encoder 208 to 0, and the gate 222 prohibits the distribution of the reproduction frame synchronization signal 233.

【0040】初期状態の親通信機201のCMI復号化
器210には、伝送路229より0しか入力されず、ビ
ット同期信号が全く入力されないため、やはりビット同
期が確立していない。ビット同期検出器217はPLL
213を監視し、ビット同期が確立されていない場合
は、ゲート221により、フレーム信号236をデータ
に多重することを禁止する。また、初期状態の後方保護
カウンタ215は、CMI符号化器207への入力をゲ
ート219により0に固定する。このため、CMI符号
化器207は[0000]パターンをCMI符号化した
[01010101]パターンを伝送路228へ送信す
る。
In the CMI decoder 210 of the parent communication device 201 in the initial state, only 0 is input from the transmission line 229, and no bit synchronization signal is input, so that bit synchronization is not yet established. The bit sync detector 217 is a PLL
213 is monitored, and when the bit synchronization is not established, the gate 221 prohibits multiplexing the frame signal 236 with the data. The backward protection counter 215 in the initial state fixes the input to the CMI encoder 207 to 0 by the gate 219. Therefore, the CMI encoder 207 transmits the [01010101] pattern obtained by CMI-encoding the [0000] pattern to the transmission line 228.

【0041】次に、子通信機202は、この[0101
0101]パターンを受信し、それに対してPLL21
2でビット同期を確立する。このパターンが完全なクロ
ックである事から、(実施例1)と同様、ビット同期確
立時間を短縮出来る。この様にPLLによるビット同期
引き込み時に、ビット同期引き込み特性を劣化させるC
RVが多重されないことが保証されるため、良好な引き
込み特性を得ることができるという利点を得る。PLL
212がビット同期を確立すると、ビット同期検出器2
18はゲート223を解放し、信号送信を許可する。こ
の時、まだゲート220は閉じており、CMI符号化器
208には0しか入力されないため、CMI符号化器2
08は再生クロック231に従って、[0000]パタ
ーンをCMI符号化した[01010101]パターン
の伝送路229への送信を開始する。
Next, the slave communication device 202 receives this [0101
0101] receives the pattern and responds to the PLL 21
2 establishes bit synchronization. Since this pattern is a perfect clock, the bit synchronization establishment time can be shortened as in the case of the first embodiment. In this way, when the bit synchronization pull-in by the PLL is performed, C which deteriorates the bit synchronization pull-in characteristic
Since it is guaranteed that the RVs are not multiplexed, there is an advantage that a good pull-in characteristic can be obtained. PLL
When 212 establishes bit sync, bit sync detector 2
18 releases gate 223, allowing signal transmission. At this time, since the gate 220 is still closed and only 0 is input to the CMI encoder 208, the CMI encoder 2
In accordance with the reproduction clock 231, 08 starts transmission of the [01010101] pattern obtained by CMI-coding the [0000] pattern to the transmission path 229.

【0042】そうすると、親通信機201は、この[0
1010101]パターンを受信し、それに対してPL
L213でビット同期を確立する。親通信機201に於
いても、ビット同期に関して子通信機202と同様に良
好な引き込み特性が保証される。PLL213がビット
同期を確立すると、ビット同期検出器217がゲート2
21を開き、フレーム信号236の多重を開始させる。
本実施例に於いては、CRVをデータの最初の1ビット
に多重するとすると、この時送信されるCMI符号化さ
れたパターンは[1001010101]となる。
Then, the master communicator 201 receives this [0
1010101] pattern is received and PL is received
Bit synchronization is established at L213. Even in the parent communication device 201, as with the child communication device 202, good pull-in characteristics are guaranteed with respect to bit synchronization. When the PLL 213 establishes bit synchronization, the bit synchronization detector 217 causes the gate 2
21 is opened, and the multiplexing of the frame signal 236 is started.
In this embodiment, if CRV is multiplexed on the first bit of data, the CMI-coded pattern transmitted at this time is [1001010101].

【0043】次に、子通信機202では、CMI復号化
器209がこの伝送路信号を受信し、CRVを識別して
フレーム信号233として再生する。後方保護カウンタ
216は、このフレーム信号233を検出し、所定の後
方保護期間をおいた後、ゲート222を開いてフレーム
信号233の分配を許可し、同時にCMI符号化器20
8へのビット列入力を許可する。この様にビット同期が
確立されるまで、フレーム同期に関する動作を行なわな
いうえ、送信側が制御信号としてフレーム同期信号をデ
ータに多重して送信してくるまで、受信する伝送路信号
にはフレーム同期信号が全く含まれていないため、誤っ
てフレーム同期をする確率はきわめて低く、結果として
フレーム同期後方保護の段数が少なく出来、同期過程が
高速に出来る等、本発明の効果は大きい。
Next, in the slave communication device 202, the CMI decoder 209 receives this transmission path signal, identifies the CRV, and reproduces it as the frame signal 233. The backward protection counter 216 detects this frame signal 233, and after a predetermined backward protection period, opens the gate 222 to permit the distribution of the frame signal 233, and at the same time, the CMI encoder 20.
Allow bit string input to 8. In this way, until the bit synchronization is established, the operation related to the frame synchronization is not performed, and the transmission line signal to be received is the frame synchronization signal until the transmitting side multiplexes the frame synchronization signal as data as the control signal and transmits it. Is not included at all, the probability of erroneous frame synchronization is extremely low, and as a result, the number of frame synchronization backward protection steps can be reduced and the synchronization process can be speeded up.

【0044】フレーム信号233の分配が許可される
と、シリアルパラレル変換器206、パラレルシリアル
変換器204が、このフレーム信号233に従って動作
を開始する。
When the distribution of the frame signal 233 is permitted, the serial / parallel converter 206 and the parallel / serial converter 204 start operating according to the frame signal 233.

【0045】パラレルシリアル変換器204が動作を開
始すると、送信信号225がシリアルビット列に変換さ
れ、ゲート220を通じてCMI符号化器208に入力
され、CMI符号化器208によりCMI符号化され、
またフレーム信号233に従って4ビットに1回のCR
V信号を多重され、ゲート223を通じて伝送路229
へ送信される。
When the parallel-serial converter 204 starts its operation, the transmission signal 225 is converted into a serial bit string, input to the CMI encoder 208 through the gate 220, and CMI encoded by the CMI encoder 208.
In addition, CR is performed once every 4 bits according to the frame signal 233.
The V signal is multiplexed, and the transmission line 229 is transmitted through the gate 223.
Sent to.

【0046】次に、親通信機201では、CMI復号化
器210がこの伝送路信号を受信し、CRVを識別して
フレーム信号234として再生する。シリアルパラレル
変換器205は、再生クロック232に従ってシリアル
ビット列を読み込み、フレーム信号234に従って、4
ビットパラレルに変換された受信データ227を送り出
す。この時点で、子通信機202側の送信データ225
は、親通信機側の受信データ227として受信でき、子
通信機202より親通信機201へ通信が確立する。
Next, in the parent communication device 201, the CMI decoder 210 receives this transmission path signal, identifies the CRV, and reproduces it as the frame signal 234. The serial-to-parallel converter 205 reads the serial bit string according to the reproduction clock 232, and according to the frame signal 234, 4
The received data 227 converted into bit parallel is sent out. At this point, the transmission data 225 on the slave communication device 202 side
Can be received as reception data 227 on the parent communication device side, and communication is established from the child communication device 202 to the parent communication device 201.

【0047】一方、後方保護カウンタ215はフレーム
信号234を検出すると、所定の後方保護期間をおいた
後、ゲート219を開いて、パラレルシリアル変換器2
03からCMI符号化器207へシリアルビット列を入
力することを許可し、これにより送信データ224の伝
送路228への伝送が開始される。
On the other hand, when the backward protection counter 215 detects the frame signal 234, the gate 219 is opened after a predetermined backward protection period to open the parallel-serial converter 2.
The input of the serial bit string from 03 to the CMI encoder 207 is permitted, and the transmission of the transmission data 224 to the transmission line 228 is thereby started.

【0048】そうすると、子通信機202のCMI復号
化器209が、この伝送路信号を受信し、シリアルパラ
レル変換器206は、再生クロック231に従ってシリ
アルビット列を読み込み、フレーム信号233に従っ
て、4ビットパラレルに変換された受信データ226を
送り出す。この時点で、親通信機201側の送信データ
224は、子通信機202側の受信データ226として
受信でき、親通信機201から子通信機202へ通信が
確立し、双方向のデータ通信が開始される。
Then, the CMI decoder 209 of the slave communication device 202 receives this transmission path signal, the serial-parallel converter 206 reads the serial bit string in accordance with the reproduction clock 231, and makes it 4-bit parallel in accordance with the frame signal 233. The converted reception data 226 is sent out. At this point, the transmission data 224 on the master communication device 201 side can be received as the reception data 226 on the slave communication device 202 side, communication is established from the master communication device 201 to the slave communication device 202, and bidirectional data communication is started. To be done.

【0049】このように、本発明で実施される手順は高
速でかつ信頼性が高く、また、これを行なうための装置
は、従来例のような専用制御線や、誤り保護のための誤
り訂正回路等を要しない。また、もともと比較的単純な
回路で構成できるCMI符号によるビット同期、CRV
よるフレーム同期を行なう通信装置に、単純な機能の後
方保護回路、ビット同期検出器、ゲートを付加するだけ
で、本発明の同期確立制御機能を備えた通信装置を実現
できるうえ、伝送容量の無駄を生じない等、優れた効果
を得る。
As described above, the procedure carried out by the present invention is fast and highly reliable, and the device for performing this has a dedicated control line as in the conventional example and an error correction for error protection. No circuit required. In addition, bit synchronization by the CMI code, which can be originally composed of a relatively simple circuit, and CRV
A communication device having a synchronization establishment control function of the present invention can be realized by simply adding a backward protection circuit having a simple function, a bit synchronization detector, and a gate to a communication device that performs frame synchronization according to the above, and transmission capacity is wasted. It produces an excellent effect such as not causing

【0050】以上のように、第1段階として親通信機か
ら始まるループ状の順序にしたがってビット同期が確立
される。この様に各々の通信機は、まず受信した信号に
対しビット同期を確立し、確立した後クロック伝送を開
始するため、伝送路信号を受信した側がその信号中にク
ロック成分を検出した時点で、その伝送路信号を送信し
た側の機器は正常に動作していることが保証されてお
り、誤った引き込みの心配なく直ちにPLLによるビッ
ト同期引き込みを開始できる。
As described above, as the first step, bit synchronization is established in a loop-like order starting from the master communication device. In this way, each communication device first establishes bit synchronization with respect to the received signal, and starts clock transmission after the establishment, so when the side receiving the transmission path signal detects the clock component in the signal, It is assured that the device on the side of transmitting the transmission path signal is operating normally, and the bit synchronization pull-in by the PLL can be immediately started without the fear of false pull-in.

【0051】第2段階として親通信機から始まるループ
状の制御の順序にしたがってフレーム同期が確立され
る。この様に、フレーム同期とビット同期を取る期間が
分離されており、誤った引き込みの心配がなく直ちにフ
レーム同期引き込みを開始できる。
As the second step, frame synchronization is established according to the loop-shaped control sequence starting from the master communication device. In this way, the periods for obtaining the frame synchronization and the bit synchronization are separated, and the frame synchronization pull-in can be started immediately without the fear of false pull-in.

【0052】この同期確立の際、ビット同期信号、また
はフレーム同期信号の有無自体が、送信側の通信機のビ
ット同期確立状態、またはフレーム同期確立状態を示す
制御信号であるため、これらの制御信号の多重によって
伝送容量に無駄が生じない利点がある。又、受信側が同
期確立を行なうことが適切でない段階では、ビット同期
信号やフレーム同期信号自体が伝送されないため、誤っ
た同期引き込みを起こす可能性が小さい。さらに、各々
の段階で、必要な同期を確立するとすぐに制御信号を送
信し、次の同期を取る動作を開始するため、高速な手順
となる。また、回路は非常に単純なもので良く、回路規
模が縮小できる。
When the synchronization is established, the presence or absence of the bit synchronization signal or the frame synchronization signal is a control signal indicating the bit synchronization establishment state or the frame synchronization establishment state of the transmitter communication device. There is an advantage that the transmission capacity is not wasted due to the multiplexing of. Further, at the stage where it is not appropriate for the receiving side to establish synchronization, the bit synchronization signal or the frame synchronization signal itself is not transmitted, so there is little possibility of erroneous synchronization pull-in. Furthermore, in each stage, a control signal is transmitted as soon as the required synchronization is established, and the operation for obtaining the next synchronization is started, which is a high-speed procedure. Moreover, the circuit can be very simple and the circuit scale can be reduced.

【0053】また、第2の実施例では、どの様なデータ
を符号化しても強いビット同期信号が多重されるという
CMI符号化の性質を利用し、CMI符号則に従うデー
タ符号化自身をビット同期信号の多重化手段とする。ま
た、CRVがデータ内容に関係なくデータ列中に多重出
来る利点を利用して、これをフレーム同期信号として利
用する。これらの方法により、ビット同期信号、フレー
ム同期信号を多重する事による伝送容量の無駄が防げる
とともに、回路を小規模化できる。
Further, in the second embodiment, the property of CMI coding that a strong bit synchronization signal is multiplexed no matter what data is coded, the data coding itself according to the CMI coding rule is bit-synchronized. It is used as a signal multiplexing means. Further, this is used as a frame synchronization signal by utilizing the advantage that the CRV can be multiplexed in the data string regardless of the data content. By these methods, it is possible to prevent the waste of the transmission capacity due to the multiplexing of the bit synchronization signal and the frame synchronization signal, and it is possible to downsize the circuit.

【0054】一方、CMI符号化ビット列にCRVを多
重する手段には、ビット同期信号の位相を乱すという欠
点が存在する。PLLのビット同期引き込みの際にCR
Vが多重されていると、引き込み特性を劣化させる等の
影響があるため、従来この対策のための付加装置等が用
いられた。そのような装置の例としては、特公平02-031
536等がある。これに対し本発明によると、クロック引
き込み時にはCRVが多重されないことが保証されてい
る為、この様な付加装置を要せずに良好な引き込み特性
を得る事が出来る利点がある。この様にCMI符号化に
よりビット同期信号を多重し、CRVをフレーム同期信
号として用いることは、特に本発明の構成に適合する。
On the other hand, the means for multiplexing the CRV in the CMI coded bit string has the drawback of disturbing the phase of the bit synchronization signal. CR when pulling in PLL bit synchronization
When V is multiplexed, it has an effect of deteriorating the pull-in characteristic, so that an additional device or the like has been conventionally used as a countermeasure against this. As an example of such a device, Japanese Patent Publication No. 02-031
There are 536 mag. On the other hand, according to the present invention, it is ensured that CRVs are not multiplexed at the time of pulling in the clock, so that there is an advantage that a good pull-in characteristic can be obtained without requiring such an additional device. The multiplexing of the bit synchronization signal by CMI coding and the use of CRV as the frame synchronization signal in this way is particularly suitable for the configuration of the present invention.

【0055】更に、子通信機において送受信で同期した
クロックを使用する。このため、子通信機においてビッ
ト同期信号、フレーム同期信号発生のための回路が簡略
化出来、外部とのインターフェースのタイミングが1本
化され、様々な付加回路も不要となる。また、本発明の
手順によると、このような通信機を子通信機として用い
ても、ビット同期、フレーム同期がそれぞれ確立されな
い限り、子通信機よりビット同期信号やフレーム同期信
号が送信される事が無いため、誤った信号を送出する事
なく、確実に同期が確立できる。また、送受信のビット
クロックが同期した形式の子通信機であっても、非同期
の形式の子通信機であっても、同期確立手順は同じであ
ることから、同一の親通信機を使用する通信系に於い
て、任意の形式の子通信機を選択して使用することが出
来、また1機種で両形式に対応できる子通信機を構成す
ることも容易であるため、通信系を構築するに際し、柔
軟性が増し機器の共用化が図れる。
Further, the slave communication device uses a clock synchronized for transmission and reception. Therefore, in the slave communication device, the circuit for generating the bit synchronization signal and the frame synchronization signal can be simplified, the timing of the interface with the outside is unified, and various additional circuits are not required. Further, according to the procedure of the present invention, even when such a communication device is used as a slave communication device, a bit synchronization signal or a frame synchronization signal is transmitted from the slave communication device unless bit synchronization and frame synchronization are respectively established. Therefore, synchronization can be reliably established without sending an erroneous signal. In addition, since the procedure for establishing synchronization is the same regardless of whether the slave communicator of which the transmission / reception bit clocks are synchronized or the slave communicator of the asynchronous format, the communication using the same master communicator is performed. In the system, you can select and use any type of slave communication device, and it is easy to configure a slave communication device that can support both types with one model. , Flexibility is increased and equipment can be shared.

【0056】なお、上記第1の実施例では、親通信機1
01へ送信するビット同期信号及びフレーム同期信号
を、子通信機102内で発生させる構成としたが、これ
に代えて、親通信機101より受信した伝送路信号から
再生したビット同期信号とフレーム同期信号を、親通信
機101へ送信するビット同期信号とフレーム同期信号
に再び用いる構成としてもよい。
In the first embodiment, the master communication device 1
The bit synchronization signal and the frame synchronization signal to be transmitted to 01 are generated in the slave communication device 102, but instead of this, the bit synchronization signal and the frame synchronization reproduced from the transmission path signal received from the master communication device 101. The signal may be used again for the bit synchronization signal and the frame synchronization signal transmitted to the master communication device 101.

【0057】また、上記実施例では、伝送データを4ビ
ットで1フレームを構成したが、1フレームを構成する
ビット数は、これに限定されるものではない。
Further, in the above-mentioned embodiment, one frame is composed of 4 bits of transmission data, but the number of bits composing one frame is not limited to this.

【0058】[0058]

【発明の効果】以上述べたところから明らかなように本
発明は、回路規模が小さく、PLLクロック再生技術に
適合し、高速で確実に同期が確立できるという長所を有
する。
As is apparent from the above description, the present invention has the advantages that the circuit scale is small, it is compatible with the PLL clock recovery technology, and that synchronization can be reliably established at high speed.

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

【図1】本発明にかかる第1の実施例の双方向通信装置
における第1の通信機を示すブロック図である。
FIG. 1 is a block diagram showing a first communication device in a bidirectional communication device according to a first exemplary embodiment of the present invention.

【図2】同第1の実施例の双方向通信装置における第2
の通信機を示すブロック図である。
FIG. 2 is a second part of the two-way communication device of the first embodiment.
3 is a block diagram showing the communication device of FIG.

【図3】本発明にかかる第2の実施例の双方向通信装置
における第1の通信機を示すブロック図である。
FIG. 3 is a block diagram showing a first communication device in a two-way communication device according to a second embodiment of the present invention.

【図4】同第2の実施例の双方向通信装置における第2
の通信機を示すブロック図である。
FIG. 4 is a second part of the two-way communication device of the second embodiment.
3 is a block diagram showing the communication device of FIG.

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

101、201 親通信機 102、202 子通信機 103、104、203、204 パラレルシリアル変
換器 105、106、205、206 シリアルパラレル変
換器 107、108、211 クロック発生器 109、110、212、213 PLL 113、114 マルチプレクサ 115、116 コントローラ 117、118、215、216 後方保護カウンタ 119、120 4ビット比較器 207、208 CMI符号化器 209、210 CMI復号化器 214 フレーム信号発生器 217、218 ビット同期検出器
101, 201 Parent communication device 102, 202 Slave communication device 103, 104, 203, 204 Parallel / serial converter 105, 106, 205, 206 Serial / parallel converter 107, 108, 211 Clock generator 109, 110, 212, 213 PLL 113, 114 Multiplexer 115, 116 Controller 117, 118, 215, 216 Backward protection counter 119, 120 4 bit comparator 207, 208 CMI encoder 209, 210 CMI decoder 214 Frame signal generator 217, 218 bit sync detection vessel

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 29/08 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location H04L 29/08

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ビット同期を確立するための第1の位相
同期ループ及びフレーム同期を確立するための第1のフ
レーム同期回路を有する第1の通信機と、ビット同期を
確立するための第2の位相同期ループ及びフレーム同期
を確立するための第2のフレーム同期回路を有する第2
の通信機とを備えた双方向通信装置であって、 前記第1の通信機は、前記第2の通信機から受信したビ
ット同期信号が多重された信号に基づいて、前記第1の
位相同期ループによってビット同期を確立し、前記第2
の通信機は、前記第1の通信機から受信したビット同期
信号が多重された信号に基づいて、前記第2の位相同期
ループによってビット同期を確立し、 前記第1の通信機及び前記第2の通信機の両者でビット
同期が確立された後、前記第1の通信機は、前記第2の
通信機から受信したフレーム同期信号が多重された信号
に基づいて、前記第1のフレーム同期回路によってフレ
ーム同期を確立し、前記第2の通信機は、前記第1の通
信機から受信したフレーム同期信号が多重された信号に
基づいて、前記第2のフレーム同期回路によってフレー
ム同期を確立することを特徴とする双方向通信装置。
1. A first communication device having a first phase-locked loop for establishing bit synchronization and a first frame synchronization circuit for establishing frame synchronization, and a second communication device for establishing bit synchronization. Second phase-locked loop for establishing a phase-locked loop and frame synchronization of the second
And a first communication device based on a signal multiplexed with a bit synchronization signal received from the second communication device. A bit synchronization is established by a loop, and the second
The second communication device establishes bit synchronization by the second phase-locked loop based on the signal obtained by multiplexing the bit synchronization signal received from the first communication device, and the first communication device and the second communication device. After the bit synchronization is established in both of the first communication device and the second communication device, the first communication device is configured to detect the first frame synchronization circuit based on a signal obtained by multiplexing the frame synchronization signal received from the second communication device. Frame synchronization is established by the second communication device, and the second communication device establishes frame synchronization by the second frame synchronization circuit based on a signal in which the frame synchronization signal received from the first communication device is multiplexed. Two-way communication device characterized by.
【請求項2】 ビット同期を確立するための第1の位相
同期ループ及びフレーム同期を確立するための第1のフ
レーム同期回路を有する第1の通信機と、ビット同期を
確立するための第2の位相同期ループ及びフレーム同期
を確立するための第2のフレーム同期回路を有する第2
の通信機とを備えた双方向通信装置であって、 前記第1の通信機は、ビット同期信号が多重された信号
Aを前記第2の通信機へ送信し、 前記第2の通信機は、その信号Aに基づいて、前記第2
の位相同期ループによりビット同期を確立した場合は、
ビット同期信号が多重された信号Bを前記第1の通信機
へ送信し、 前記第1の通信機は、その信号Bに基づいて、前記第1
の位相同期ループによりビット同期を確立した場合は、
フレーム同期信号が多重された信号Cを前記第2の通信
機へ送信し、 前記第2の通信機は、その信号Cに基づいて、前記第2
のフレーム同期回路によりフレーム同期を確立した場合
は、フレーム同期信号が多重された信号Dを第1の通信
機へ送信し、 前記第1の通信機は、その信号Dに基づいて、前記第1
のフレーム同期回路によりフレーム同期を確立すること
を特徴とする双方向通信装置。
2. A first communication device having a first phase-locked loop for establishing bit synchronization and a first frame synchronization circuit for establishing frame synchronization, and a second communication device for establishing bit synchronization. Second phase-locked loop for establishing a phase-locked loop and frame synchronization of the second
And a second communication device, wherein the first communication device transmits a signal A in which a bit synchronization signal is multiplexed to the second communication device, , Based on the signal A, the second
When bit synchronization is established by the phase locked loop of
A signal B in which a bit synchronization signal is multiplexed is transmitted to the first communication device, and the first communication device, based on the signal B, transmits the signal B to the first communication device.
When bit synchronization is established by the phase locked loop of
A signal C in which a frame synchronization signal is multiplexed is transmitted to the second communication device, and the second communication device, based on the signal C, transmits the second signal.
When frame synchronization is established by the frame synchronization circuit of, the signal D in which a frame synchronization signal is multiplexed is transmitted to the first communication device, and the first communication device is configured to transmit the signal D based on the signal D.
A two-way communication device, characterized in that frame synchronization is established by the frame synchronization circuit.
【請求項3】 第2の通信機から前記第1の通信機へ送
信するビット同期信号は、前記第1の通信機により送信
されたビット同期信号が多重された信号から再生した信
号であり、また前記第2の通信機から前記第1の通信機
へ送信するフレーム同期信号は、前記第1の通信機によ
り送信されたフレーム同期信号が多重された信号から再
生した信号であることを特徴とする請求項1、又は2記
載の双方向通信装置。
3. The bit synchronization signal transmitted from the second communication device to the first communication device is a signal reproduced from a signal obtained by multiplexing the bit synchronization signal transmitted by the first communication device, Further, the frame synchronization signal transmitted from the second communication device to the first communication device is a signal reproduced from a signal obtained by multiplexing the frame synchronization signal transmitted by the first communication device. The bidirectional communication device according to claim 1 or 2.
【請求項4】 ビット同期信号の多重手段がCMI符号
化であり、フレーム同期信号の多重手段がCMI符号則
違反であることを特徴とする請求項1、2、又は3記載
の双方向通信装置。
4. The two-way communication apparatus according to claim 1, 2 or 3, wherein the bit synchronization signal multiplexing means is CMI coding and the frame synchronization signal multiplexing means is a CMI coding rule violation. .
JP6020570A 1994-02-17 1994-02-17 Duplex communication equipment Pending JPH07231316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6020570A JPH07231316A (en) 1994-02-17 1994-02-17 Duplex communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6020570A JPH07231316A (en) 1994-02-17 1994-02-17 Duplex communication equipment

Publications (1)

Publication Number Publication Date
JPH07231316A true JPH07231316A (en) 1995-08-29

Family

ID=12030857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6020570A Pending JPH07231316A (en) 1994-02-17 1994-02-17 Duplex communication equipment

Country Status (1)

Country Link
JP (1) JPH07231316A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7664168B2 (en) 2004-11-09 2010-02-16 Canon Kabushiki Kaisha Data carrier device, data carrier driving device, data communication system using data carrier driving device and data communication method
US7734940B2 (en) 2006-04-18 2010-06-08 Canon Kabushiki Kaisha Data communication device has data signal generation circuit and transmission circuit on basis of reference voltage and received signal
JP2016072962A (en) * 2014-09-26 2016-05-09 ドクトル・ヨハネス・ハイデンハイン・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツングDr. Johannes Heidenhain Gesellschaft Mit Beschrankter Haftung Serial data transmission method and device via bidirectional data transmission channel

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7664168B2 (en) 2004-11-09 2010-02-16 Canon Kabushiki Kaisha Data carrier device, data carrier driving device, data communication system using data carrier driving device and data communication method
US7734940B2 (en) 2006-04-18 2010-06-08 Canon Kabushiki Kaisha Data communication device has data signal generation circuit and transmission circuit on basis of reference voltage and received signal
JP2016072962A (en) * 2014-09-26 2016-05-09 ドクトル・ヨハネス・ハイデンハイン・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツングDr. Johannes Heidenhain Gesellschaft Mit Beschrankter Haftung Serial data transmission method and device via bidirectional data transmission channel

Similar Documents

Publication Publication Date Title
JPH055710Y2 (en)
US5123014A (en) Data link with an imbedded channel
JP2564375B2 (en) Drop-and-drop multiplexer
JPH07231316A (en) Duplex communication equipment
JP2693758B2 (en) Frame pulse generation method
JP2000197111A (en) Synchronization control method for mobile communication system and controller for mobile communication
US6137810A (en) Telecommunication method and system
JP3070546B2 (en) Alarm transfer circuit
US5058140A (en) Self-correcting serial baud/bit alignment
JP2546970B2 (en) SDH wireless communication system and transceiver
JPS596647A (en) Method for synchronizing transmission of serial data
JPH098858A (en) Timing regenerating circuit
JPS60226249A (en) Data transmission system
JP2578758B2 (en) Output signal synchronizer for TDMA wireless communication system
JPS59190753A (en) Two-way communication system
JPH07202876A (en) Reception circuit
JP2693759B2 (en) Information communication system
JPH01260958A (en) Optical repeater
JPS5923502B2 (en) loop transmission system
JPS5848925B2 (en) Slot access data transfer method
JP2003188826A (en) Optical communication system and method, and optical transmitter-receiver
JPS5917749A (en) Transmission system of digital signal
JPS601952A (en) Frequency synchronizing system
JP2001186200A (en) Digital signal relay transmitting device
JPS62120138A (en) Clock extraction circuit