JPS63227144A - Synchronization detecting system - Google Patents

Synchronization detecting system

Info

Publication number
JPS63227144A
JPS63227144A JP62061743A JP6174387A JPS63227144A JP S63227144 A JPS63227144 A JP S63227144A JP 62061743 A JP62061743 A JP 62061743A JP 6174387 A JP6174387 A JP 6174387A JP S63227144 A JPS63227144 A JP S63227144A
Authority
JP
Japan
Prior art keywords
bit
data
bits
received
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
JP62061743A
Other languages
Japanese (ja)
Inventor
Kazuhito Adachi
安達 和仁
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP62061743A priority Critical patent/JPS63227144A/en
Publication of JPS63227144A publication Critical patent/JPS63227144A/en
Pending legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To suppress a bit shift in a central arithmetic unit to the minimum by providing a circuit comparing a received data with a data value '0' between a serial/parallel converting circuit and a central processor. CONSTITUTION:A data received from a transmission line 1 is converted to a bit train by a demodulating circuit 2, and also, converted to the data of 8 bits by a serial/parallel converting circuit 3. A comparator 7 compares the received data of 8 bits with the value of an 8-bit register 8 storing '0' in all of each bit, and when they coincide, it becomes a fact that 8 pieces of bits '0' are received continuously, and a synchronization detecting counter 6 is added with 8. A central arithmetic unit 4 processes the received data in accordance with the comparing output.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信回線を介してサイクリックディジタル情報
伝送方式によって信号の伝送を行うテレメータ/テレコ
ントロールシステムに関し、特にサイクリックディジタ
ル情報の同期検出方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a telemeter/telecontrol system that transmits signals via a communication line using a cyclic digital information transmission method, and particularly relates to a synchronous detection method for cyclic digital information. Regarding.

〔従来の技術〕[Conventional technology]

従来の技術を第3図を用いて説明する。伝送路1から復
調回路2を介して得られた電気学会通信専門委員会績の
サイクリックディジタル情報伝送装置仕様基準による伝
送フォーマットのデータ(以下電気学会方式のサイクリ
ックディジタル伝送フォーマットとする)は、シリアル
−パラレル変換回路3によっであるビット数(通常8ビ
ット−1バイト)毎に中央処理装置4へ渡される。中央
処理装置4は受信データの編集及び同期ワードの検出の
ためにランダムアクセスメモリにて構成されるシフトレ
ジスタ5に渡されたデータを一旦退避する。
The conventional technique will be explained using FIG. The transmission format data (hereinafter referred to as the cyclic digital transmission format of the Institute of Electrical Engineers of Japan method) based on the cyclic digital information transmission equipment specification standards published by the Institute of Electrical Engineers of Japan Communication Expert Committee obtained from the transmission line 1 through the demodulation circuit 2 is as follows: The serial-parallel conversion circuit 3 passes the data to the central processing unit 4 in units of a certain number of bits (usually 8 bits - 1 byte). The central processing unit 4 temporarily saves the data passed to the shift register 5 constituted by a random access memory in order to edit the received data and detect a synchronization word.

同期ワードは第4図に示す構成で、連続するビット0を
カウントすることにより検出するが、従来は第5図に示
゛すフローによって1ビツトづつ′1”か0”かを判定
しくステップ301゜302) “O”だったら同期検
出カウンタ6を+1しくステップ303,304)  
“°1パだったら同期検出カウンタ6の値と同期ワード
の連続するビット数0の数、すなわち、ワードあたりの
ビット数−2とを比較しくスラップ305)一致した時
に同期検出としくステップ306) 、同期検出カウン
タ6をクリアしていた(ステップ307)。
The synchronization word has the configuration shown in FIG. 4, and is detected by counting successive bits of 0. Conventionally, the flow shown in FIG.゜302) If it is “O”, increase the synchronization detection counter 6 by 1 Steps 303, 304)
If it is 1, compare the value of the synchronization detection counter 6 with the number of consecutive 0 bits of the synchronization word, that is, the number of bits per word - 2.Slap 305) When they match, detect synchronization Step 306) , the synchronization detection counter 6 was cleared (step 307).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の技術では、もともとあまり頻繁には伝送
されない同期ワードのなめに常に1ビツトづつ受信デー
タをチェックしなくてはならず、中央演算装置にとって
大きな負荷となっていた。
In the above-mentioned conventional technology, the received data must always be checked bit by bit to check for synchronization words, which are not transmitted very often, which places a heavy load on the central processing unit.

特に中央処理装置の能力が低い場合や伝送速度が大きい
場合には中央演算装置の負荷のほとんどがこの同期検出
によるものとなってしまうという欠点があった。
Particularly when the central processing unit has low capability or the transmission speed is high, most of the load on the central processing unit is due to this synchronization detection.

〔問題点を解決するための手段〕[Means for solving problems]

本発明では、新たにシリアル−パラレル変換回路と中央
処理装置との間に受信データをデータ値0と比較する比
較回路を挿入し、中央演算装置におけるビットシフトを
最小限におさえる機能を有する。
The present invention has a function of minimizing bit shifts in the central processing unit by newly inserting a comparison circuit that compares received data with a data value of 0 between the serial-parallel conversion circuit and the central processing unit.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、44ビツト/1ワードの電気学会方式のサイ
クリックディジタル伝送フォーマットのデータを受信し
、8ビット単位でシリアル−パラレル変換する装置に本
発明方式を適用した実施例を示すブロック図である。4
4ビツト/1ワードの場合、同期ワードは第4図に示す
とおり42個の連続したビット0を含んで構成される。
FIG. 1 is a block diagram showing an embodiment in which the method of the present invention is applied to a device that receives data in the 44-bit/1-word cyclic digital transmission format of the Institute of Electrical Engineers of Japan method and converts it from serial to parallel in 8-bit units. be. 4
In the case of 4 bits/word, the synchronization word consists of 42 consecutive zero bits as shown in FIG.

伝送路1を通じて受信したデータは復調回路2によりビ
ット列に変換され、さらにシリアル−パラレル変換回路
3により8ビツトのデータに変換される。
Data received through the transmission path 1 is converted into a bit string by a demodulation circuit 2, and further converted into 8-bit data by a serial-parallel conversion circuit 3.

比較回路7はシリアル−パラレル変換された8ビツトの
受信データと各ビット全てに0°′が格納された8ビツ
トのレジスタ8の値とを比較するもので、一致すれば連
続して8個のビット0を受信したことになるので、同期
検出カウンタ6を+8とする。中央演算装置4は、上記
の比較回路7の出力を受は第2図のフローによって受信
データを処理する。ステップ201において、第1図の
比較回路7でOOを検出し°たかを判定し、検出してい
ないと判定された場合1.ステップ202において受信
した8ビツトのデータが同期ワードの最後のビット1を
含んでいるかを第1図の同期検出カウンタ6の現在値に
よ−って判定する。すなわち、受信データに最大7ビツ
トのビット0が含まれている可能性があることから、同
期検出カウンタ6の値が“35”以上であればこのデー
タにより同期ワードの終了を検出する場合があると考え
られる。ステップ205において、シフトレジスタ5を
用いて、今受信したデータのビット0を上位からビット
シフトによってビット1が出現するまでカウントし、ス
テップ206においてその結果を同期検出カウンタ6に
加算する。さらにステップ207で更新後の同期検出カ
ウンタ6の値と値“42”を比較して等しければ同期ワ
ードを検出したことになる。(ステップ208)。また
同期検出カウンタ6の値が43”以上であれば不正なデ
ータを受信したものとしてステップ209のエラー処理
を行う。ステップ202において、同期検出カウンタ6
の値が“35”未満と判定された場合、またはステップ
207において同期検出カウンタ6の値がパ42”に満
たない場合は、同期ワード以外のデータであるかまたは
同期ワードの最初のビット1を含むデータと考えられ、
また同期検出した(ステップ208)場合は次の同期ワ
ード検出をおこなうために、シフトレジスタ5によって
受信データの下位ビットからビット0をカランとしくス
テップ203) 、そのカウント値を同期検出カウンタ
6に設定しなおして(ステップ204)、8ビツトデー
タの処理を終了する。
Comparison circuit 7 compares the serial-parallel converted 8-bit received data with the value of 8-bit register 8 in which 0°' is stored in all bits, and if they match, 8 consecutive data are Since bit 0 has been received, the synchronization detection counter 6 is set to +8. The central processing unit 4 receives the output of the comparison circuit 7 and processes the received data according to the flow shown in FIG. In step 201, it is determined whether OO is detected by the comparison circuit 7 of FIG. 1, and if it is determined that OO is not detected, 1. In step 202, it is determined whether the 8-bit data received includes the last bit 1 of the synchronization word based on the current value of the synchronization detection counter 6 in FIG. In other words, since the received data may contain up to 7 bits of bit 0, if the value of the synchronization detection counter 6 is "35" or more, this data may be used to detect the end of the synchronization word. it is conceivable that. In step 205, the shift register 5 is used to count bit 0 of the data just received by bit shifting from the upper order until bit 1 appears, and in step 206, the result is added to the synchronization detection counter 6. Further, in step 207, the updated value of the synchronization detection counter 6 is compared with the value "42", and if they are equal, it means that a synchronization word has been detected. (Step 208). Further, if the value of the synchronization detection counter 6 is 43" or more, it is assumed that invalid data has been received, and error processing in step 209 is performed. In step 202, the synchronization detection counter 6 is
If it is determined that the value of the synchronization detection counter 6 is less than "35", or if the value of the synchronization detection counter 6 is less than "42" in step 207, the data is other than the synchronization word or the first bit 1 of the synchronization word is It is considered to be data containing,
If synchronization is detected (step 208), in order to detect the next synchronization word, the shift register 5 sets bit 0 from the lower bit of the received data as a clock (step 203), and sets the count value in the synchronization detection counter 6. The process is repeated (step 204), and the processing of the 8-bit data is completed.

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

以上説明したフローでは、伝送データの大部分の占める
情報ワード受信の場合、はとんど下位ビットからのビッ
ト0のカウントを行うことになるが、ビットOが続く可
能性は比較的低いことからビットシフトによるビット0
のカウントはかなり減少する。また同期ワード受信の場
合、4〜5バイト続くOOが比較回路でカウントされて
しまうために、その間、ビットシフトは不要になる。こ
れらのことから中央処理装置の負荷はかなり軽減される
という効果がある。
In the flow explained above, when receiving information words that make up most of the transmitted data, bit 0 is counted starting from the lower bit, but since the possibility of bit 0 continuing is relatively low, bit 0 by bit shift
count decreases considerably. Further, in the case of synchronous word reception, since OO that lasts 4 to 5 bytes is counted by the comparator circuit, bit shifting becomes unnecessary during that time. These advantages have the effect of significantly reducing the load on the central processing unit.

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

第1図は本発明方式を用いた44ビツト/1ワードの電
気学会方式のサイクリックディジタル伝送フォーマット
によるデータの受信を行う具体的な装置の一実施例を示
すブロック図、第2図は本発明方式による同期検出処理
のフローの一例を示すフローチャート、第3図は従来の
方式による同期検出方式の説明図、第4図は電気学会方
式のサイクリックディジタル伝送方式における同期ワー
ドの構成図、第5図は従来方式による同期検出処理フロ
ーの一例を示すフローチャートである。 1・・・伝送路、2・・・復調回路、3・・・シリアル
−パラレル変換回路、4・・・中央処理装置、5・・・
シフト第3図 第4図
FIG. 1 is a block diagram showing an embodiment of a specific device that receives data in accordance with the 44-bit/1-word cyclic digital transmission format of the Institute of Electrical Engineers of Japan system using the method of the present invention, and FIG. 2 is a block diagram showing an embodiment of the present invention. A flowchart showing an example of the flow of synchronization detection processing according to the method, FIG. 3 is an explanatory diagram of the synchronization detection method according to the conventional method, FIG. 4 is a configuration diagram of a synchronization word in the cyclic digital transmission method of the Institute of Electrical Engineers of Japan method, The figure is a flowchart showing an example of a synchronization detection processing flow according to a conventional method. DESCRIPTION OF SYMBOLS 1... Transmission line, 2... Demodulation circuit, 3... Serial-parallel conversion circuit, 4... Central processing unit, 5...
Shift Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 電気学会方式のサイクリックディジタル伝送方式におけ
る同期検出方式において、受信したシリアルデータを予
じめ定めたパラレルデータに変換した後、変換したパラ
レルビット数単位で全て0かどうかのチェックを行うこ
とにより、同期ワードに付随する連続したビット0の列
をカウントすることを特徴とする同期検出方式。
In the synchronization detection method of the cyclic digital transmission method of the Institute of Electrical Engineers of Japan method, after converting the received serial data to predetermined parallel data, by checking whether all the converted parallel bits are 0 or not. A synchronization detection method characterized by counting a string of consecutive bits 0 accompanying a synchronization word.
JP62061743A 1987-03-16 1987-03-16 Synchronization detecting system Pending JPS63227144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62061743A JPS63227144A (en) 1987-03-16 1987-03-16 Synchronization detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62061743A JPS63227144A (en) 1987-03-16 1987-03-16 Synchronization detecting system

Publications (1)

Publication Number Publication Date
JPS63227144A true JPS63227144A (en) 1988-09-21

Family

ID=13179962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62061743A Pending JPS63227144A (en) 1987-03-16 1987-03-16 Synchronization detecting system

Country Status (1)

Country Link
JP (1) JPS63227144A (en)

Similar Documents

Publication Publication Date Title
JPH04284753A (en) Crc arithmetic method and hec synchronization device in atm exchange system
CN114416626B (en) Asynchronous serial data recovery method based on 8B/10B coding
JPS592416B2 (en) digital correlation receiver
US5612979A (en) Synchronous circuit
JP2947074B2 (en) Frame synchronization detection circuit
JPS63227144A (en) Synchronization detecting system
US4977559A (en) Improper bit combination detection circuit
KR920002747B1 (en) Strip frame recognition apparatus
US5072448A (en) Quasi-random digital sequence detector
US20020184412A1 (en) System and method for locating and aligning to framing bits
JPS59502009A (en) Device that receives high-speed data in packet format
RU2188502C1 (en) Serial-binary-to-parallel code converter
JPH1198200A (en) Start-stop synchronization type serial data transmission and reception method, transmitter, receiver and transmitter-receiver
JP2576526B2 (en) I / O signal monitoring circuit
JPS61263326A (en) Method for detecting frame synchronization
JPS60160740A (en) Communication control equipment
JP3246044B2 (en) Fixed pattern error measuring device
JPS60219852A (en) Code processing system
JPH088544B2 (en) Frame sync signal detection circuit
CN108306702A (en) A kind of synchronous code detecting system
JPH0312815B2 (en)
JPS63197151A (en) Serial data transfer system
JPS6087551A (en) Multi-value transmission system
JPH0528930B2 (en)
JPH01243743A (en) Interface