JPH0346840A - Frame synchronizing signal detector - Google Patents

Frame synchronizing signal detector

Info

Publication number
JPH0346840A
JPH0346840A JP1183131A JP18313189A JPH0346840A JP H0346840 A JPH0346840 A JP H0346840A JP 1183131 A JP1183131 A JP 1183131A JP 18313189 A JP18313189 A JP 18313189A JP H0346840 A JPH0346840 A JP H0346840A
Authority
JP
Japan
Prior art keywords
data
frame synchronization
synchronization signal
frame synchronizing
synchronizing signal
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
JP1183131A
Other languages
Japanese (ja)
Inventor
Yoshimi Kozai
香西 好美
Shozo Majima
摩島 省三
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP1183131A priority Critical patent/JPH0346840A/en
Publication of JPH0346840A publication Critical patent/JPH0346840A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and programmably set the number of bits of a frame synchronizing signal and a frame synchronizing condition, etc., by performing the processing of serial data synchronously with the frame synchronizing signal after detecting the frame synchronizing signal from serial data. CONSTITUTION:A sub-CPU 7 which receives demodulated data at every bit retrieves a frame synchronizing signal having preliminarily determined bit length and bit pattern from this data. At this time, the bit length and the bit pattern of the pertinent frame synchronizing signal can be arbitrarily set and programmed. In the case of receiving the instruction of reception start, a serial I/O 3 starts the reception of data from an MSK MODEM 9 and transfers received data to a main CPU 1 at every 8 bits. The main CPU 1 analyzes the received data to perform the data processing such as the storage of required data to a memory.

Description

【発明の詳細な説明】 (fL業上の利用分野) 本発明はフレーム同期信号検出装置に関し、特にディジ
タル変復調方式を用いたシリアルデータ伝送におけるデ
ータ受信の際のフレーム同期信号を検出するフレーム同
期信号検出装置に関する。
Detailed Description of the Invention (Field of application in fL industry) The present invention relates to a frame synchronization signal detection device, and particularly to a frame synchronization signal detection device for detecting a frame synchronization signal during data reception in serial data transmission using a digital modulation/demodulation method. Regarding a detection device.

(従来の技術) 従来のフレーム同期信号の検出方式について説明する。(Conventional technology) A conventional frame synchronization signal detection method will be explained.

まず第一の方式として5メインCP IJの他にサブC
P[Jとしてブリプロセッサを用いるものがある。この
場合、まずサブCPUを用いてフレーム同期信号を検出
し、このフレーム同期信号に従って受信されるデータを
サブCPUで復調する。この復調されたデータを、イン
ターフェースデバイスを介してメインCPLIに送出す
るようにしている。
First of all, in addition to the 5 main CP IJ, the sub-C
Some use a briprocessor as P[J. In this case, first, a frame synchronization signal is detected using the sub CPU, and data received according to this frame synchronization signal is demodulated by the sub CPU. This demodulated data is sent to the main CPLI via an interface device.

第二の方式として、メインCPUのみでデータ受信を行
うものがある。この場合、メインCPUでピット毎にシ
リアルデータを割り込みで受信し、当該メインCPυで
フレーム同期信号をも検出するようにしている。
As a second method, there is a method in which data is received only by the main CPU. In this case, the main CPU receives serial data for each pit by interrupt, and the main CPU υ also detects a frame synchronization signal.

第三の方式として、シリアルインタフェース用ICを用
いるものがある。この場合、シリアルインタフェース用
ICの機能を利用してフレーム同期信号を検出するよう
にしている。
A third method uses a serial interface IC. In this case, the frame synchronization signal is detected using the function of the serial interface IC.

第四の方式として、フレーム同期検出機能をハードウェ
アで構成するものがある。この場合、ハードウェアでフ
レーム同期信号を検出し、該フレーム同期信号を検出し
た後にはインターフェースデバイスを介してメインCP
Uがデータの受信を行うようにしている。
A fourth method is to configure the frame synchronization detection function with hardware. In this case, the frame synchronization signal is detected by hardware, and after detecting the frame synchronization signal, the main CPU
U receives data.

しかしながら、上述した従来の方式では、それぞれ次に
述べるような欠点があった。
However, each of the conventional methods described above has the following drawbacks.

まず、第一の方式にはサブCPtJとメインCPUの通
信のためのインタフェースデバイスとしての1例えばシ
リアルデータ等のハードウェアが必要になる。また、サ
ブCPUは一旦全てのデータを受信した後に、この受信
したデータをメインCPUに送る機能が要求されるため
大規模で高価なものが必要となる。さらに、サブCPU
とメインCPUとの間における通信ソフトも大規模にな
るため、当該ソフトウェアの開発工程が繁雑になり、こ
れに伴いデバッグ作業の必要性等も増大するため開発効
率の低下を招来するところとなり、信頼性の面からも好
ましくない。
First, the first method requires hardware such as serial data as an interface device for communication between the sub CPtJ and the main CPU. Further, since the sub CPU is required to have a function of transmitting the received data to the main CPU after once receiving all the data, it is required to be large-scale and expensive. In addition, sub CPU
As the communication software between the computer and the main CPU becomes large-scale, the development process for the software becomes complicated, and the need for debugging increases, resulting in a decrease in development efficiency and reliability. It is also undesirable from a sexual standpoint.

第二の方式の場合には1通常メインCPUは、例えば各
種スイッチの設定状態の読み込み、或いは表示装置にお
ける表示状態の制御等の他の通信全般に係る処理を行っ
ているので、さらに受信されるシリアルデータの処理を
行うためにビット毎に割り込み処理を行うことは当該メ
インCPUにとって負担が大きくなり、場合によっては
シリアルデータの受信或いは上記的の処理が間に合わな
くなる虞れも生じる。
In the case of the second method, the main CPU (1) usually performs processing related to other communications in general, such as reading the setting states of various switches or controlling the display state of the display device, so that the main CPU is further received. Performing interrupt processing for each bit in order to process serial data places a heavy burden on the main CPU, and in some cases, there is a risk that serial data reception or the above processing may not be completed in time.

WEの方式の場合には、まずシリアルインタフェース用
1Gのフレーム同期信号を検出するためのアルゴリズム
等、通常多くの制約がある。例えば1通常のシリアルイ
ンタフェース用1cが扱うデータビット長は6.8.1
2.16ピツトのうちのいずれかであり、またフレーム
同期信号を検出する際にはフレーム同期信号の全ビット
が一致したときにフレーム同期が確立したものとするよ
うにしている。そのため、フレーム同期確立の条件がデ
ータビット長15ビツトのうち14ビツトが一致すれば
同期確立とするような場合には、該シリアルインターフ
ェースtCを用いることはできない。
In the case of the WE system, there are usually many restrictions, such as the algorithm for detecting the 1G frame synchronization signal for the serial interface. For example, the data bit length handled by 1c for normal serial interface is 6.8.1
When detecting a frame synchronization signal, frame synchronization is determined to be established when all bits of the frame synchronization signal match. Therefore, if the condition for establishing frame synchronization is that synchronization is established when 14 bits out of 15 bits of data bit length match, the serial interface tC cannot be used.

第四の方式の場合には1例えば前述のフレーム同期信号
のデータビット長15ビツトのうち14ビツトが一致し
たときに同期確立とするようなフレーム同期信号のピッ
ト数及びフレーム同期確立条件等を八−ドウエアで構成
することは汎用性が低く、またプログラマブルに構成す
ることには困難を伴うものであった。すなわち、ハード
ウェアでプログラマフルに構成するためには、さらに多
くの回路の付加が必要とされるため1回路基板等の占め
るスペースを軽視することができず、また小型化するた
めにゲートアレイによって構成しようとするとこれら回
路設計などに多大な労力と経費が必要とされ採算性など
の点で聞漏があった。
In the case of the fourth method, for example, the number of pits of the frame synchronization signal and the conditions for establishing frame synchronization are set such that synchronization is established when 14 bits of the 15 data bit length of the frame synchronization signal mentioned above match. - Configuring the system using software has low versatility, and it is difficult to configure it programmably. In other words, in order to configure a full programmer with hardware, it is necessary to add more circuits, so the space occupied by a single circuit board cannot be minimized. If such a system were to be constructed, a great deal of effort and expense would be required to design these circuits, and there would be some oversight in terms of profitability.

[発明の目的] 本発明は上記に鑑みてなされたものであり、フレーム同
期信号のピット数及びフレーム同期確立条件等を容易に
プログラマフルに構成することのできるフレーム同期信
号検出方式を提供することを目的としている。
[Object of the Invention] The present invention has been made in view of the above, and it is an object of the present invention to provide a frame synchronization signal detection method in which the number of pits of a frame synchronization signal, frame synchronization establishment conditions, etc. can be easily configured by a programmer. It is an object.

[発明の概要] 上記目的を達成するために1本発明のフレーム同期信号
検出装置は、受信されるシリアルデータからフレーム同
期信号を検出して、このフレーム同期信号に同期して、
該フレーム同期信号に続くデータの処理を行うようにし
たフレーム同期信号検出装置において、前記シリアルデ
ータからフレーム同期信号の検出を行う第一のデータ処
理手段と、この第一・のデータ処理手段で検出され、同
期が確立された後入力するデータの処理を行う第二のデ
ータ処理手段とを具備して構成した。
[Summary of the Invention] In order to achieve the above object, a frame synchronization signal detection device of the present invention detects a frame synchronization signal from received serial data, and in synchronization with the frame synchronization signal,
A frame synchronization signal detection device configured to process data subsequent to the frame synchronization signal, comprising: a first data processing means for detecting a frame synchronization signal from the serial data; and a frame synchronization signal detected by the first data processing means. and second data processing means for processing input data after synchronization is established.

本発明におけるフレーム同期信号検出装置においては、
第一のデータ処理手段で受信されるシリアルデータから
フレーム同期信号を検出した後、このフレーム同期信号
に同期して、第二のデータ処理手段が該フレーム同期信
号にシリアルデータの処理を行うようにしている。
In the frame synchronization signal detection device according to the present invention,
After detecting the frame synchronization signal from the serial data received by the first data processing means, the second data processing means processes the serial data on the frame synchronization signal in synchronization with the frame synchronization signal. ing.

[実施例] 以下1図示した実施例に基づいて本発明を詳細に説明す
る。
[Example] The present invention will be described in detail below based on an example shown in one figure.

第1図は本発明の一実施例を示すブロック図であって、
ディジタル変復調方式、詳しくはMSK(Minimu
m  Phase  5hift  Key i ng
)方式を用いたシリアルデータ伝送におけるデータの受
信側を示すものである。
FIG. 1 is a block diagram showing an embodiment of the present invention,
Digital modulation and demodulation system, for details MSK (Minimu
m Phase 5hift Key ing
) shows the data receiving side in serial data transmission using the method.

同図において、メインCPU 1はシリアルデータの送
受信に係る制御のほか、スイッチ、表示等の制御及びデ
ータの演算を行う。
In the figure, a main CPU 1 not only controls transmission and reception of serial data, but also controls switches, displays, etc., and performs data calculations.

シリアル■103はシリアルインタフェース用デバイス
であって前記メインCPU lとバスを介して接続され
ており、シリアルデータの送受信を行う。
A serial number 103 is a serial interface device, which is connected to the main CPU 1 via a bus, and transmits and receives serial data.

パラレルl105は、パラレルインタフェース用デバイ
スであって、vI記メインCPUIとバスを介して接続
されており、後述するサブCPU7どの間で信号の授受
を行う。
The parallel 1105 is a parallel interface device, and is connected to the main CPU described in vI via a bus, and sends and receives signals between the sub CPUs 7, which will be described later.

サブCPU7は、受信したシリアルデータのフレーム同
期信号を検出して前記シリアルデータ■103にデータ
の受信開始を指示する。
The sub CPU 7 detects a frame synchronization signal of the received serial data and instructs the serial data 103 to start receiving data.

MSKモデム9は入力するMSK信号を復調してT’T
L (Transistor  Tranststor
  Logic)レベルのデータとクロックを再生する
The MSK modem 9 demodulates the input MSK signal and converts it to T'T.
L (Transistor
(Logic) level data and clock are regenerated.

次に本実施例の作用をデータ受信の手順に従って説明す
る。
Next, the operation of this embodiment will be explained according to the data reception procedure.

まず、送られてくるM S K信号をMSKモデム9に
おいて復調し、TTLレベルのデータとクロックを再生
ずる0次に、この復調されたデータをビット毎に受信し
たサブCPU7は、該データの中からtめ決められたビ
ット長、ビットパターンのフレーム同期信号を検索する
。この時、当該フレーム同期信号のビット長及びビット
パターンは任意のものを設定しプログラムすることがで
きる。従って1例えば設定したビット長のうち!ビット
までのビット誤りを許容する、或いはビット長とビット
パターンによって設定されるフレーム同期信号の種類を
複数組用意して、この複数組の中からメインCPUの指
示等で任意のフレーム同期信号を選択する1等の複雑な
条件設定ができる。
First, the MSK modem 9 demodulates the incoming MSK signal and regenerates the TTL level data and clock.Next, the sub CPU 7, which receives this demodulated data bit by bit, reads the data in the data. A frame synchronization signal having a bit length and bit pattern determined from t is searched. At this time, the bit length and bit pattern of the frame synchronization signal can be arbitrarily set and programmed. Therefore 1 out of the set bit length for example! Prepare multiple sets of frame synchronization signal types that allow bit errors up to 1 bit, or are set according to bit length and bit pattern, and select any frame synchronization signal from these multiple sets based on instructions from the main CPU, etc. You can set complex conditions such as 1st place.

サブCPU7は、前記再生されたデータの中からフレー
ム同期信号を検出すると、シリアル■103に対し受信
開始を指示すると共に、パラレル■105を介して、メ
インCPU lに対しフレーム同期の確立を通知する。
When the sub CPU 7 detects a frame synchronization signal from the reproduced data, it instructs the serial number 103 to start receiving, and also notifies the main CPU 1 of the establishment of frame synchronization via the parallel number 105. .

シリアル[103は受信開始の指示を受けると、MSK
モデム9からのデータの受信を開始し、8ピツト毎にメ
インCPU Iに受信したデータを引き渡す。
When the serial [103 receives an instruction to start receiving, MSK
It starts receiving data from the modem 9 and delivers the received data to the main CPU I every 8 pits.

メインCPU 1は、当該受信データを解析して、必要
なデータのメモリへのストア等のデータ処理を行う、ま
た、このとき受信するデータが不必要であることが判別
されたときには、サブCPUとシリアル!103に対し
、受信を中1して待機状態に入ることを指示する。
The main CPU 1 analyzes the received data and performs data processing such as storing necessary data in memory, and when it is determined that the received data is unnecessary, the main CPU 1 performs data processing such as storing the necessary data in memory. serial! 103 to suspend reception and enter a standby state.

さらに、メインcpu tは必要なデータの受信を全て
終了すると、サブCPUとシリアルl103に対し、受
信を中止して待機状態に入ることを指示する。
Further, when the main CPU t has finished receiving all the necessary data, it instructs the sub CPU and the serial 1103 to stop receiving data and enter a standby state.

以上本実施例によれば、フレーム同期信号のビット長、
ビットパターンは全く任意のものをプログラムすること
ができ、また該ビット長のうち、1ビツトの誤りを許容
するなどの複雑な条件を設定することもできる。
As described above, according to this embodiment, the bit length of the frame synchronization signal,
A completely arbitrary bit pattern can be programmed, and complex conditions such as allowing a 1-bit error among the bit lengths can be set.

また、フレーム同期信号の種類を複数用意しておき、メ
インCPUからの指示などで任意のものを選択するなど
といった複雑なシステム構成に容易に対応することがで
きる。
Furthermore, it is possible to easily accommodate complex system configurations such as preparing a plurality of types of frame synchronization signals and selecting an arbitrary one based on instructions from the main CPU.

サブCPUは、小規模のシングルfツブマイクロコンピ
ュータを使用することができ、また該サブCPUのソフ
トウェアはファームウェア化できるので開発効率に優れ
、小型かつ安価な構成とすることができる。
The sub-CPU can use a small-scale single F-tube microcomputer, and the software of the sub-CPU can be converted into firmware, so development efficiency is excellent and the configuration can be small and inexpensive.

さらに、サブCPUとメインCPLIの間の通信は、ハ
ードウェアおよびソフトウェアと共に簡易なもので良い
などの効果を奏するものである。
Furthermore, the communication between the sub CPU and the main CPLI can be carried out using simple hardware and software.

その他、本発明は本願の要旨を変えない範囲で種々変形
実施が可能なことは勿論である。
In addition, it goes without saying that the present invention can be modified in various ways without departing from the gist of the present application.

〔発明の効果] 以上説明したように、本発明によればフレーム同期信号
の検出を第一のデータ処理手段において行い、この第一
のデータ処理手段で検出されたフレーム同期信号に従っ
て第二のデータ処理手段で、入力するデータの処理を行
うようにしたので。
[Effects of the Invention] As explained above, according to the present invention, the frame synchronization signal is detected in the first data processing means, and the second data is detected in accordance with the frame synchronization signal detected by the first data processing means. The processing means processes the input data.

フレーム同期信号のピット数及びフレーム同期確立条件
等を容易にプログラマブルに構成することのできるなど
の効果を奏するものである。
This has the advantage that the number of pits of a frame synchronization signal, conditions for establishing frame synchronization, etc. can be easily configured in a programmable manner.

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

第1図は本発明の詳細な説明するブロック図である。 1・・・メインCPU 3・・・シリアルl10 5・・・パラレルl10 7・・・サブCPU FIG. 1 is a block diagram illustrating the invention in detail. 1...Main CPU 3...Serial l10 5...Parallel l10 7...Sub CPU

Claims (1)

【特許請求の範囲】 受信されるシリアルデータからフレーム同期信号を検出
し、このフレーム同期信号に同期して該フレーム同期信
号に続くデータの処理を行うようにしたフレーム同期信
号検出装置において、前記シリアルデータからフレーム
同期信号の検出を行う第一のデータ処理手段と、 この第一のデータ処理手段で検出され、同期が確立され
た後入力するデータの処理を行う第二のデータ処理手段
とを具備することを特徴とするフレーム同期信号検出装
置。
[Scope of Claims] A frame synchronization signal detection device that detects a frame synchronization signal from received serial data, and processes data following the frame synchronization signal in synchronization with the frame synchronization signal. The device includes a first data processing means that detects a frame synchronization signal from data, and a second data processing means that processes data detected by the first data processing means and input after synchronization is established. A frame synchronization signal detection device characterized by:
JP1183131A 1989-07-15 1989-07-15 Frame synchronizing signal detector Pending JPH0346840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1183131A JPH0346840A (en) 1989-07-15 1989-07-15 Frame synchronizing signal detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1183131A JPH0346840A (en) 1989-07-15 1989-07-15 Frame synchronizing signal detector

Publications (1)

Publication Number Publication Date
JPH0346840A true JPH0346840A (en) 1991-02-28

Family

ID=16130343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1183131A Pending JPH0346840A (en) 1989-07-15 1989-07-15 Frame synchronizing signal detector

Country Status (1)

Country Link
JP (1) JPH0346840A (en)

Similar Documents

Publication Publication Date Title
EP0262429B1 (en) Data processor having a high speed data transfer function
JPH05211540A (en) Multiplex mechanism for modem control signal
US20040203364A1 (en) Method and apparatus for dynamically resolving radio frequency interference problems in a system
JPS6253097A (en) Control data transmission system
JPH0346840A (en) Frame synchronizing signal detector
JP3361107B2 (en) How to download
JP2578773B2 (en) Serial data transfer device
JP3496501B2 (en) Serial data transmission system
US20030196130A1 (en) Prompt resynchronization for a serial interface
JP3266034B2 (en) Communication control device
JP2743780B2 (en) Distributed processing equipment
JP3867911B2 (en) State transition type communication processing apparatus and processing method
JP2776785B2 (en) Serial data transfer device
JPH0630506B2 (en) Serial communication device
JP2002507341A (en) Circuit and method for receiving data
JP3408046B2 (en) Data communication system and data communication method
JPH0477940B2 (en)
JP2003124947A (en) Daisy chain data input/output system by serial communication system
JP2006058980A (en) Maintenance system, maintenance terminal device, and maintenance and monitoring software start method for use therein
JPS61174851A (en) Bus control system
JPH02260731A (en) Synchronizing system for electronic computer with terminal equipment
JPH01243743A (en) Interface
JPS6367945A (en) Communication control equipment
JPH098863A (en) Communication protocol controller
JPH0546515A (en) Data transfer system