JPH0832573A - Frame synchronization protection circuit - Google Patents

Frame synchronization protection circuit

Info

Publication number
JPH0832573A
JPH0832573A JP6185277A JP18527794A JPH0832573A JP H0832573 A JPH0832573 A JP H0832573A JP 6185277 A JP6185277 A JP 6185277A JP 18527794 A JP18527794 A JP 18527794A JP H0832573 A JPH0832573 A JP H0832573A
Authority
JP
Japan
Prior art keywords
frame
match
frame sync
circuit
comparison result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6185277A
Other languages
Japanese (ja)
Other versions
JP2697622B2 (en
Inventor
Kenji Fukuhara
健志 福原
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 JP6185277A priority Critical patent/JP2697622B2/en
Publication of JPH0832573A publication Critical patent/JPH0832573A/en
Application granted granted Critical
Publication of JP2697622B2 publication Critical patent/JP2697622B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain the frame synchronization protection circuit protecting frame synchronization without absence of an external input. CONSTITUTION:A clock counter 3 receives a clock synchronously with a bit stream signal and counts number of clocks. A frame length storage circuit 5 stores number of clocks from the first coincidence between frame synchronizing signals till the 2nd frame length and a reference frame coincidence as a tentative one frame length and a reference frame length. A frame length comparator circuit 6 compares the count value and the reference frame length as to whether or not they match and provides a frame length matching pulse when the both match and provides an output of a frame synchronizing signal comparison result valid flag when the count reaches a value estimated to be a length of a succeeding frame synchronizing signal. A forward/backward protection circuit 7 protects frame synchronization by regarding only the output comparison result of a frame synchronizing signal comparator circuit 1 receiving the frame synchronizing signal comparison result valid flag.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はフレーム同期保護回路に
係り、特に伝送内容をフレームに構成し、複数種類のデ
ータを多重して伝送するディジタル放送若しくは通信に
用いる受信装置のフレーム同期保護回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization protection circuit, and more particularly to a frame synchronization protection circuit of a receiver used for digital broadcasting or communication in which transmission contents are framed and multiple types of data are multiplexed and transmitted. .

【0002】[0002]

【従来の技術】従来より、ディジタル放送やディジタル
通信においては、伝送内容をフレーム同期信号(フレー
ムシンク)などと多重したフレームに構成し、このフレ
ーム単位で伝送するようにしているため、受信装置では
伝送されてきたフレームから伝送内容を正確に受信復調
するため、このフレーム同期信号を検出してフレーム位
置を判定する必要がある。このため、受信装置内にはフ
レーム同期保護回路が必要とされる。
2. Description of the Related Art Conventionally, in digital broadcasting and digital communication, the contents of transmission are formed into a frame that is multiplexed with a frame synchronization signal (frame sync), and the frame is transmitted in units of this frame. In order to accurately receive and demodulate the transmission content from the transmitted frame, it is necessary to detect this frame synchronization signal and determine the frame position. For this reason, a frame synchronization protection circuit is required in the receiving device.

【0003】一方、複数種類のフレームを伝送するディ
ジタル放送若しくはディジタル通信においては、例えば
データ圧縮された映像信号と音声信号とを一つのフレー
ムに構成して伝送する際、圧縮モードの違いによりフレ
ーム長が異なるフレームを伝送する。
On the other hand, in digital broadcasting or digital communication for transmitting a plurality of types of frames, for example, when a data-compressed video signal and audio signal are formed into one frame and transmitted, the frame length varies depending on the compression mode. Transmit different frames.

【0004】例えば、第一の伝送モードでは、図6
(A)に示すように、データ圧縮された映像信号62及
び音声信号63とデータ64とからなる多重信号の先頭
に、フレームシンク61を時分割多重した構成の200
0バイトのフレームを、このフレーム単位で図6(B)
に示すように伝送する。
For example, in the first transmission mode, as shown in FIG.
As shown in (A), a frame sync 61 is time-division-multiplexed at the head of a multiplexed signal composed of a data signal 64, a video signal 62, an audio signal 63, and data 64.
A 0-byte frame is shown in this frame unit as shown in FIG.
Transmit as shown in.

【0005】また、第二の伝送モードでは、図6(C)
に示すように、上記とは異なる圧縮モードでデータ圧縮
された映像信号66及び音声信号67とデータ68とか
らなる多重信号の先頭に、フレームシンク65を時分割
多重した構成の3000バイトのフレームを、このフレ
ーム単位で図6(D)に示すように伝送する。なお、フ
レームシンク65と61は、それぞれ同一の固定パター
ンである。
Further, in the second transmission mode, FIG.
As shown in, a 3000-byte frame having a structure in which a frame sync 65 is time-division-multiplexed at the head of a multiplexed signal composed of a video signal 66 and an audio signal 67 and data 68 compressed in a compression mode different from the above. , The frame unit is transmitted as shown in FIG. The frame syncs 65 and 61 have the same fixed pattern.

【0006】このように、複数種類のフレームを伝送す
るディジタル放送若しくはディジタル通信に適用される
受信装置内に用いられるフレーム同期保護回路は、従来
はフレーム長に対応してフレーム長を決定できるパラメ
ータを外部より設定するようにしている。
As described above, the frame synchronization protection circuit used in the receiver applied to digital broadcasting or digital communication for transmitting a plurality of types of frames has conventionally used a parameter for determining the frame length corresponding to the frame length. It is set from the outside.

【0007】[0007]

【発明が解決しようとする課題】しかるに、従来のフレ
ーム同期保護回路では、上記のように受信信号のフレー
ム長が異なる毎にフレーム長を決定するためのパラメー
タを外部より入力しなければならないため、例えばディ
ジタル放送受信中にチャンネルを切り換えた時にそれま
で視聴していたチャンネルの伝送モードと異なる伝送モ
ードを受信することとなるときには、外部からフレーム
長を決定するためのパラメータを変更設定する操作が必
要となり、極めて操作が煩雑であるという問題がある。
However, in the conventional frame synchronization protection circuit, a parameter for determining the frame length must be input from the outside every time the frame length of the received signal is different as described above. For example, if a transmission mode different from the transmission mode of the channel being watched until then is received when the channel is switched while receiving digital broadcasting, it is necessary to change and set the parameter for externally determining the frame length. Therefore, there is a problem that the operation is extremely complicated.

【0008】本発明は、上記の点に鑑みなされたもの
で、外部入力無しにフレーム同期保護を行い得るフレー
ム同期保護回路を提供することを目的とする。
The present invention has been made in view of the above points, and an object thereof is to provide a frame synchronization protection circuit capable of performing frame synchronization protection without external input.

【0009】[0009]

【課題を解決するための手段】本発明は、上記の目的を
達成するため、受信したビットストリーム信号とフレー
ムシンクパターンとを比較し、フレームシンク比較結果
を出力するフレームシンク比較回路と、フレームシンク
比較結果とビットストリーム信号と同期したクロックと
を入力信号として受け、フレームシンク比較回路から出
力される一致を示すフレームシンク比較結果のうち、リ
セット後最初と2番目のフレームシンク比較結果の入力
時間間隔を基準フレーム長として検出し記憶する検出・
記憶回路と、フレーム長比較回路及び前方・後方保護回
路とより構成したものである。
In order to achieve the above object, the present invention compares a received bit stream signal with a frame sync pattern and outputs a frame sync comparison result, and a frame sync comparison circuit. The input time interval of the first and second frame sync comparison results after resetting among the frame sync comparison results indicating the coincidence output from the frame sync comparison circuit, which receives the comparison result and the clock synchronized with the bit stream signal as an input signal. Is detected as the reference frame length and stored.
It comprises a memory circuit, a frame length comparison circuit, and a front / rear protection circuit.

【0010】ここで、フレーム長比較回路は検出・記憶
回路から入力されるクロックのカウンタ値と、基準フレ
ーム長とをそれぞれ比較してフレーム長一致パルスを出
力すると共に、カウンタ値が基準フレーム長に基づいて
次にフレームシンクが入力されると予測される値に達す
る毎にフレームシンク比較結果有効フラグを出力する。
また、前方・後方保護回路は、フレームシンク比較結果
有効フラグとフレームシンク比較結果とを入力信号とし
て受け、フレームシンク比較結果有効フラグが立ってい
る時のフレームシンク比較結果のみ有効であるとしてフ
レーム同期の前方・後方保護動作を行い、フレーム同期
信号を出力する。
Here, the frame length comparison circuit compares the counter value of the clock input from the detection / storage circuit with the reference frame length and outputs a frame length matching pulse, and the counter value becomes the reference frame length. Based on this, the frame sync comparison result valid flag is output each time the value expected to be input next time is reached.
In addition, the front / rear protection circuit receives the frame sync comparison result valid flag and the frame sync comparison result as input signals, and determines that only the frame sync comparison result when the frame sync comparison result valid flag is set is valid. The front and rear protection operations are performed and the frame synchronization signal is output.

【0011】更に、前記検出・記憶回路は、リセット後
最初に一致を示すフレームシンク比較結果が入力された
時に初回一致フラグを出力する初回一致確認回路と、初
回一致フラグが入力されている状態で最初に一致を示す
フレームシンク比較結果が入力された時に二回目一致フ
ラグを出力する二回目一致確認回路と、ビットストリー
ム信号に同期したクロックをカウントすると共に、フレ
ーム長一致パルスにより又は初回一致フラグ及び二回目
一致フラグがそれぞれ出力された直後にそれぞれリセッ
トされるカウンタと、二回目一致フラグが入力された時
のカウンタのカウント値を基準フレーム長として記憶す
るフレーム長記憶回路とより構成される。
Further, the detection / storage circuit is provided with an initial match confirmation circuit which outputs an initial match flag when a frame sync comparison result indicating a match is first input after resetting, and a state where the initial match flag is input. The second match confirmation circuit that outputs the second match flag when the frame sync comparison result indicating the first match is input, and the clock synchronized with the bitstream signal is counted, and the frame length match pulse or the first match flag and The counter is reset immediately after the second match flag is output, and the frame length storage circuit that stores the count value of the counter when the second match flag is input as the reference frame length.

【0012】[0012]

【作用】本発明では、検出・記憶回路により、リセット
後最初と2番目のフレームシンク比較結果の入力時間間
隔を検出し、それを基準フレーム長として記憶し、この
記憶基準フレーム長に基づいてフレーム長比較回路にお
いて次にフレームシンクが入力されるであろうと予測さ
れるタイミングを示すカウンタ値がカウンタより入力さ
れた時に、フレームシンク比較結果有効フラグを出力
し、この時のフレームシンク比較回路よりのフレームシ
ンク比較結果のみを有効として、前方・後方保護回路で
フレーム保護動作をさせるようにしたため、フレームシ
ンクが同一である限り、フレーム長が異なる伝送信号を
受信したとしてもフレームシンクを自動的に検出し、保
護することができる。
According to the present invention, the detecting / storing circuit detects the input time intervals of the first and second frame sync comparison results after reset, and stores them as the reference frame length. When the counter value indicating the timing at which the frame sync is expected to be input next in the length comparison circuit is input from the counter, the frame sync comparison result valid flag is output, and the frame sync comparison circuit Since only the frame sync comparison result is valid and the frame protection operation is performed by the front and rear protection circuits, as long as the frame sync is the same, the frame sync is automatically detected even if a transmission signal with a different frame length is received. And can be protected.

【0013】[0013]

【実施例】次に、本発明の実施例について図1乃至図5
と共に説明する。図1は本発明の一実施例のブロック図
を示す。同図に示すように、本実施例は、フレームシン
ク比較回路1、初回一致確認回路2、クロックカウンタ
3、二回目一致確認回路4、フレーム長記憶回路5、フ
レーム長比較回路6及び前方・後方保護回路7より構成
されている。このうち、初回一致確認回路2、クロック
カウンタ3、二回目一致確認回路4及びフレーム長記憶
回路5は、前記検出・記憶回路を構成している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described with reference to FIGS.
Will be explained together. FIG. 1 shows a block diagram of an embodiment of the present invention. As shown in the figure, in this embodiment, a frame sync comparison circuit 1, a first-time match confirmation circuit 2, a clock counter 3, a second-time match confirmation circuit 4, a frame length storage circuit 5, a frame length comparison circuit 6, and a front / rear direction. It is composed of a protection circuit 7. Of these, the initial match confirmation circuit 2, the clock counter 3, the second match confirmation circuit 4, and the frame length storage circuit 5 constitute the detection / storage circuit.

【0014】フレームシンク比較回路1は受信されたビ
ットストリーム信号(受信信号)とフレームシンクの既
知の固定パターン(フレームシンクパターン)とが一致
するか否か比較し、その比較結果(フレームシンク比較
結果)を出力する。初期一致確認回路2はこの比較結果
を入力として受け、パワーオンリセット後や同期保護エ
ラー時リセット後に比較結果が一致したことを確認する
と、それ以後初回一致フラグをセットする。
The frame sync comparison circuit 1 compares the received bit stream signal (received signal) with a known fixed pattern of the frame sync (frame sync pattern), and compares the result (the frame sync comparison result). ) Is output. The initial coincidence confirmation circuit 2 receives this comparison result as an input, and when it confirms that the comparison result coincides after the power-on reset or after the synchronization protection error reset, it sets the initial coincidence flag thereafter.

【0015】二回目一致確認回路4は、フレームシンク
比較結果と初回一致フラグを入力として受け、フレーム
シンク比較結果が初回一致した後、次に一致すると二回
目一致フラグを出力する。クロックカウンタ3は、ビッ
トストリーム信号に同期したクロックを受けて、そのク
ロック数をカウントし、カウント値を出力する。なお、
クロックカウンタ3は、初回一致パルス、二回目一致パ
ルス及びフレーム長一致パルスによりリセットされる。
The second match confirmation circuit 4 receives the frame sync comparison result and the first match flag as inputs, and outputs the second match flag when the frame sync comparison result matches the first time and then the next match. The clock counter 3 receives a clock synchronized with the bit stream signal, counts the number of clocks, and outputs a count value. In addition,
The clock counter 3 is reset by the first match pulse, the second match pulse, and the frame length match pulse.

【0016】フレーム長記憶回路5は、クロックカウン
タ3のカウント値と二回目一致パルスを受けて、フレー
ムシンク比較の初回一致から二回目一致までのクロック
数(すなわち、リセット後最初と2番目のフレームシン
ク比較結果の入力時間間隔)を仮の1フレームの長さと
し、基準フレーム長として記憶する。
The frame length storage circuit 5 receives the count value of the clock counter 3 and the second match pulse, and receives the number of clocks from the first match to the second match of the frame sync comparison (that is, the first and second frames after reset). The input time interval of the sync comparison result) is set as a temporary length of one frame and stored as a reference frame length.

【0017】フレーム長比較回路6は、クロックカウン
タ3のカウント値とフレーム長記憶回路5で記憶された
基準フレーム長を受けて、カウント値と基準フレーム長
が一致するか否か比較し、両者が一致するとフレーム長
一致パルスを出力する。また、フレーム長比較回路6
は、クロックカウンタ3からの入力カウント値が次にフ
レームシンクが来ると予想される値になると、フレーム
シンク比較結果有効フラグを出力する。
The frame length comparison circuit 6 receives the count value of the clock counter 3 and the reference frame length stored in the frame length storage circuit 5, and compares the count value with the reference frame length to determine whether they match. When they match, a frame length matching pulse is output. In addition, the frame length comparison circuit 6
Outputs the frame sync comparison result valid flag when the input count value from the clock counter 3 reaches a value at which the frame sync is expected to come next.

【0018】前方・後方保護回路7は、フレームシンク
比較回路1からのフレームシンク比較結果とフレーム長
比較回路6からのフレームシンク比較結果有効フラグと
を入力信号として受け、フレーム同期の前方・後方保護
を行い、フレーム同期信号を出力するか、又はフレーム
同期保護エラーが生じた際には保護エラー時リセット信
号を出力し、初回一致確認回路2及び二回目一致確認回
路4をリセットする。
The front / rear protection circuit 7 receives the frame sync comparison result from the frame sync comparison circuit 1 and the frame sync comparison result valid flag from the frame length comparison circuit 6 as input signals, and protects the frame sync front / rear. Then, a frame synchronization signal is output, or when a frame synchronization protection error occurs, a protection error reset signal is output to reset the first match confirmation circuit 2 and the second match confirmation circuit 4.

【0019】次に、本実施例の動作について図2乃至図
6を用いて説明する。図2は本実施例におけるリセット
後からフレームシンク比較初回一致までの動作説明用フ
ローチャート、図3は本実施例における初回一致から二
回目一致までの動作説明用フローチャート、図4は本実
施例における二回目一致からフレーム同期保護及びフレ
ームシンク出力までの動作説明用フローチャートであ
る。
Next, the operation of this embodiment will be described with reference to FIGS. 2 is a flowchart for explaining the operation from resetting to frame sync comparison initial matching in this embodiment, FIG. 3 is a flowchart for explaining the operation from initial matching to second matching in this embodiment, and FIG. 9 is a flowchart for explaining the operation from the second matching to frame synchronization protection and frame sync output.

【0020】また、図5は本実施例におけるリセットか
ら三回目一致までのタイミングチャートである。図6は
フレーム構成と伝送信号の各例を示す図である。なお、
本明細書において、「リセット」とは、パワーオンリセ
ットと保護同期エラー時リセットを指すものとする。
FIG. 5 is a timing chart from the reset to the third match in this embodiment. FIG. 6 is a diagram showing each example of a frame structure and a transmission signal. In addition,
In this specification, “reset” refers to a power-on reset and a reset upon protection synchronization error.

【0021】まず、受信機の電源を図5の時刻でオン
することによりパワーオンリセットがかかる(図2のス
テップ21)。このパワーオンリセットにより、フレー
ムシンク比較回路1が1クロック毎に受信信号とフレー
ムシンクパターンとを比較し(図2のステップ22)、
両者が一致するとハイレベル(Hレベル)のパルスをフ
レームシンク比較結果として出力する。
First, a power-on reset is activated by turning on the power of the receiver at the time shown in FIG. 5 (step 21 in FIG. 2). By this power-on reset, the frame sync comparison circuit 1 compares the received signal with the frame sync pattern every one clock (step 22 in FIG. 2),
When they match, a high level (H level) pulse is output as the frame sync comparison result.

【0022】従って、上記のパワーオンリセット後に図
5(A)に示す如く受信信号中のフレームシンクが入力
されるものとすると、このパワーオンリセット後、最初
に受信されるフレームシンクa1が入力された時点でフ
レームシンク比較回路1から図5(B)に示すHレベル
のパルス(フレームシンク比較結果)b1が出力され
る。
Therefore, if the frame sync in the received signal is input as shown in FIG. 5A after the power-on reset, the frame sync a1 which is first received after the power-on reset is input. At that time, the frame sync comparison circuit 1 outputs an H level pulse (frame sync comparison result) b1 shown in FIG. 5B.

【0023】初回一致確認回路2はこのパルスb1を受
けると、初回一致と判断して図5(C)に示す如く初回
一致フラグをハイレベルにして出力する(図2及び図3
のステップ23、図5の時刻)。また、この時クロッ
クカウンタ3は初回一致確認回路2から出力される初回
一致パルスによりリセットされる。
Upon receipt of this pulse b1, the initial match confirmation circuit 2 judges that it is the initial match and outputs the initial match flag at a high level as shown in FIG. 5C (FIGS. 2 and 3).
Step 23, time in FIG. 5). At this time, the clock counter 3 is reset by the first match pulse output from the first match confirmation circuit 2.

【0024】初回一致フラグがハイレベルになった後
も、フレームシンク比較回路1は受信信号とフレームシ
ンクパターンとの比較動作を継続しており(図3のステ
ップ31)、パワーオンリセット後図5(A)にa2で
示す2番目のフレームシンクが入力されると、同図
(B)にb2で示す如く時刻でHレベルのパルスを出
力する。
Even after the initial match flag goes high, the frame sync comparison circuit 1 continues the operation of comparing the received signal with the frame sync pattern (step 31 in FIG. 3), and after the power-on reset, FIG. When the second frame sync indicated by a2 is input to (A), an H level pulse is output at a time as indicated by b2 in FIG.

【0025】二回目一致確認回路4は上記のHレベルの
初回一致フラグが初回一致確認回路2から入力されてい
る状態において、フレームシンク比較回路1から最初に
Hレベルのパルスb2を受けた時点で、図5(D)に
示す如く二回目一致フラグをHレベルにしてフレーム長
記憶回路5へ出力する(図3及び図4のステップ3
2)。
The second match confirmation circuit 4 receives the H-level pulse b2 from the frame sync comparison circuit 1 in the state where the H-level first match flag is input from the first match confirmation circuit 2. As shown in FIG. 5D, the second match flag is set to H level and output to the frame length storage circuit 5 (step 3 in FIGS. 3 and 4).
2).

【0026】フレーム長記憶回路5はこのHレベルの二
回目一致フラグが入力された時点でのクロックカウン
タ3のカウント値を基準フレーム長として記憶する(図
4のステップ41)。この時のクロックカウンタ3のカ
ウント値は、図5(E)にeで示す如く、時刻で初回
一致パルスによりリセット後時刻までのクロックのカ
ウント数であり、時刻からまでの時間に対応した値
を示している。このカウント値eは前方・後方保護回路
7で同期保護を行うための基準フレーム長となる。
The frame length storage circuit 5 stores the count value of the clock counter 3 at the time when the second H-level match flag is input as the reference frame length (step 41 in FIG. 4). The count value of the clock counter 3 at this time is, as indicated by e in FIG. 5 (E), the count number of the clock until the time after the reset by the first coincidence pulse at the time, and the value corresponding to the time from the time to Shows. This count value e becomes the reference frame length for the front / rear protection circuit 7 to perform the synchronization protection.

【0027】なお、クロックカウンタ3は上記の二回目
一致フラグがハイレベルになった直後に二回目一致確認
回路4から出力されるHレベルの二回目一致パルスによ
りリセットされる。
The clock counter 3 is reset by the H-level second coincidence pulse output from the second coincidence confirmation circuit 4 immediately after the second coincidence flag becomes high level.

【0028】ここで、受信信号は従来と同様に、複数種
類のフレーム長のうちのいずれかであり、例えば図6
(A)のフレーム構成の信号が同図(B)に示す如くに
正常に受信されている時には、上記の基準フレーム長は
2000バイトとなり、同図(C)のフレーム構成の信
号が同図(D)に示す如くに正常に受信されている時に
は、上記の基準フレーム長は3000バイトとなる。
Here, the received signal is one of a plurality of types of frame lengths as in the conventional case, and is, for example, as shown in FIG.
When the signal having the frame structure shown in (A) is normally received as shown in (B), the reference frame length becomes 2000 bytes, and the signal having the frame structure shown in (C) in FIG. When the data is normally received as shown in D), the reference frame length is 3000 bytes.

【0029】なお、図6(A)及び(C)のフレーム長
は、伝送内容などにより異なっているが、両者が混在し
て入力されることはなく、どちらか一方が連続して入力
されることは従来と同様である。また、フレームシンク
61及び65はそれぞれ同一の固定パターンで、フレー
ムシンク比較回路1に入力されるフレームシンクパター
ンと同一である。
The frame lengths shown in FIGS. 6A and 6C are different depending on the transmission content, but the two are not mixed and inputted, but either one is continuously inputted. This is the same as the conventional one. The frame syncs 61 and 65 have the same fixed pattern, which is the same as the frame sync pattern input to the frame sync comparison circuit 1.

【0030】二回目一致後は図4のフローチャートに従
って処理が行われる。すなわち、フレーム長比較回路6
は、フレーム長記憶回路5から入力される上記の基準フ
レーム長に基づき、次のフレームシンクが来ると予測さ
れる値を求め、この予測値とクロックカウンタ3でカウ
ントされているカウント値とを比較し(ステップ4
2)、両者が一致するとHレベルのパルスをフレームシ
ンク比較結果有効フラグを出力する(ステップ43)。
After the second match, processing is performed according to the flowchart of FIG. That is, the frame length comparison circuit 6
Is a value that is predicted to arrive at the next frame sync based on the reference frame length input from the frame length storage circuit 5, and compares the predicted value with the count value counted by the clock counter 3. (Step 4
2) If they match, the H level pulse is output as a frame sync comparison result valid flag (step 43).

【0031】図5の例では、3番目のフレームシンクa
3の入力によりフレームシンク比較回路1から3回目の
一致パルスb3が出力される時点に対応した時刻で、
図5(F)に示す如く上記のフレームシンク比較結果有
効フラグが出力される。このフレームシンク比較結果有
効フラグは前方・後方保護回路7へ供給されると共に、
これに対応したフレーム長一致パルスがフレーム長比較
回路6からクロックカウンタ3へ供給されて、これをリ
セットする。
In the example of FIG. 5, the third frame sync a
At the time corresponding to the time when the third sync pulse b3 is output from the frame sync comparison circuit 1 by the input of 3,
As shown in FIG. 5F, the frame sync comparison result valid flag is output. This frame sync comparison result valid flag is supplied to the front / rear protection circuit 7 and
A frame length matching pulse corresponding thereto is supplied from the frame length comparison circuit 6 to the clock counter 3 to reset it.

【0032】前方・後方保護回路7は、フレームシンク
比較回路1からのフレームシンク比較結果(図4にステ
ップ22で示す)と、フレーム長比較回路6からのフレ
ームシンク比較結果有効フラグとを受け、フレームシン
ク比較結果有効フラグがHレベルである時のフレームシ
ンク比較結果のみ有効であるとしてフレーム同期保護動
作を行う(図4のステップ44)。
The front / rear protection circuit 7 receives the frame sync comparison result from the frame sync comparison circuit 1 (indicated by step 22 in FIG. 4) and the frame sync comparison result valid flag from the frame length comparison circuit 6, The frame sync protection operation is performed assuming that only the frame sync comparison result when the frame sync comparison result valid flag is H level is valid (step 44 in FIG. 4).

【0033】すなわち、前方・後方保護回路7は、有効
としたフレームシンク比較結果が設定された後方保護回
数を満足した場合に同期状態に入り、以後保護を行った
フレーム同期信号を、入力されるフレームシンク比較結
果とフレームシンク比較結果有効フラグに同期して出力
する。
That is, the front / rear protection circuit 7 enters the synchronization state when the valid frame sync comparison result satisfies the set number of rear protections, and receives the frame synchronization signal which is protected thereafter. Output in synchronization with the frame sync comparison result and the frame sync comparison result valid flag.

【0034】また、前方・後方保護回路7は、入力され
るフレームシンク比較結果とフレームシンク比較結果有
効フラグとが、設定された前方保護回数だけ不一致であ
ると検出した時に同期外れとみなし、保護エラー時リセ
ット信号を出力する。この保護エラー時リセット信号を
受けた初回一致確認回路2と二回目一致確認回路4は、
データがリセットされ、再び確認動作を開始する。
Further, the front / back protection circuit 7 regards the input frame sync comparison result and the frame sync comparison result valid flag as being out of synchronization when it detects that they do not match the set front protection number of times, and protects them. Outputs a reset signal when an error occurs. The first match confirmation circuit 2 and the second match confirmation circuit 4 which have received the reset signal at the time of the protection error,
The data is reset and the confirmation operation is started again.

【0035】このように、本実施例によれば、受信信号
のフレーム長を示す基準フレーム長を生成し、これを基
準として前方・後方保護回路7においてフレームシンク
比較結果と比較するようにしているため、受信信号のフ
レーム長に関するパラメータを外部から入力しなくとも
フレームシンクを容易に検出し、保護することができ、
従ってパラメータ入力操作を不要にできる。
As described above, according to the present embodiment, the reference frame length indicating the frame length of the received signal is generated and compared with the frame sync comparison result in the front / rear protection circuit 7 using this as a reference. Therefore, it is possible to easily detect and protect the frame sync without inputting the parameter related to the frame length of the received signal from the outside.
Therefore, the parameter input operation can be omitted.

【0036】[0036]

【発明の効果】以上説明したように、本発明によれば、
フレーム長が異なる伝送信号を受信したとしてもフレー
ムシンクを自動的に検出し、保護することができるた
め、フレーム長が複数種類存在する信号を伝送するディ
ジタル放送又はディジタル通信に適用した場合、フレー
ム長変更のためのパラメータを外部から設定しなくとも
1台の受信機でフレーム同期保護動作ができ、よって、
受信途中にフレーム長が変化した場合でも、外部からの
フレーム長変更のためのパラメータ設定操作を不要にで
き、操作性を従来に比し大幅に向上することができる。
As described above, according to the present invention,
Even if a transmission signal with a different frame length is received, the frame sync can be automatically detected and protected, so when applied to digital broadcasting or digital communication that transmits a signal with multiple frame lengths, the frame length One receiver can perform frame synchronization protection operation without externally setting parameters for change.
Even if the frame length changes during reception, it is possible to eliminate the need for an external parameter setting operation for changing the frame length, and the operability can be greatly improved compared to the conventional case.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1のリセット後からフレームシンク比較初回
一致までのフローチャートである。
FIG. 2 is a flowchart from the reset of FIG. 1 to the frame sync comparison first match.

【図3】図1の初回一致後から二回目一致までのフロー
チャートである。
FIG. 3 is a flowchart from the first match to the second match in FIG.

【図4】図1の二回目一致からフレーム同期保護及びフ
レームシンク出力までのフローチャートである。
FIG. 4 is a flowchart from the second matching of FIG. 1 to frame synchronization protection and frame sync output.

【図5】図1のリセットから三回目一致までの各部のタ
イミングチャートである。
5 is a timing chart of each part from the reset of FIG. 1 to the third matching.

【図6】フレーム構成と伝送信号の構成の各例を示す図
である。
FIG. 6 is a diagram showing each example of a frame structure and a structure of a transmission signal.

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

1 フレームシンク比較回路 2 初回一致確認回路 3 クロックカウンタ 4 二回目一致確認回路 5 フレーム長記憶回路 6 フレーム長比較回路 7 前方・後方保護回路 1 Frame Sync Comparison Circuit 2 First Match Confirmation Circuit 3 Clock Counter 4 Second Match Confirmation Circuit 5 Frame Length Storage Circuit 6 Frame Length Comparison Circuit 7 Front / Back Protection Circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 受信したビットストリーム信号とフレー
ムシンクパターンとを比較し、フレームシンク比較結果
を出力するフレームシンク比較回路と、 該フレームシンク比較結果と前記ビットストリーム信号
と同期したクロックとを入力信号として受け、該フレー
ムシンク比較回路から出力される一致を示すフレームシ
ンク比較結果のうち、リセット後最初と2番目のフレー
ムシンク比較結果の入力時間間隔を基準フレーム長とし
て検出し記憶する検出・記憶回路と、 該検出・記憶回路から入力される前記クロックのカウン
タ値と、該基準フレーム長とをそれぞれ比較してフレー
ム長一致パルスを出力すると共に、該カウンタ値が該基
準フレーム長に基づいて次にフレームシンクが入力され
ると予測される値に達する毎にフレームシンク比較結果
有効フラグを出力するフレーム長比較回路と、 該フレームシンク比較結果有効フラグと前記フレームシ
ンク比較結果とを入力信号として受け、フレームシンク
比較結果有効フラグが立っている時のフレームシンク比
較結果のみ有効であるとしてフレーム同期の前方・後方
保護動作を行い、フレーム同期信号を出力する前方・後
方保護回路とを有することを特徴とするフレーム同期保
護回路。
1. A frame sync comparison circuit for comparing a received bit stream signal and a frame sync pattern and outputting a frame sync comparison result, and an input signal for the frame sync comparison result and a clock synchronized with the bit stream signal. Of the frame sync comparison results indicating the coincidence output from the frame sync comparison circuit, the detection and storage circuit that detects and stores the input time intervals of the first and second frame sync comparison results after reset as the reference frame length. And comparing the counter value of the clock input from the detection / storage circuit with the reference frame length to output a frame length coincidence pulse, and the counter value is based on the reference frame length. Frame sync comparison each time the frame sync reaches the expected value A frame length comparison circuit that outputs a result valid flag, and the frame sync comparison result valid flag and the frame sync comparison result as input signals, and only the frame sync comparison result is valid when the frame sync comparison result valid flag is set. And a front / rear protection circuit for performing a frame synchronization front / rear protection operation and outputting a frame synchronization signal.
【請求項2】 前記検出・記憶回路は、リセット後最初
に前記一致を示すフレームシンク比較結果が入力された
時に初回一致フラグを出力する初回一致確認回路と、該
初回一致フラグが入力されている状態で最初に前記一致
を示すフレームシンク比較結果が入力された時に二回目
一致フラグを出力する二回目一致確認回路と、前記ビッ
トストリーム信号に同期したクロックをカウントすると
共に、前記フレーム長一致パルスにより又は前記初回一
致フラグ及び二回目一致フラグがそれぞれ出力された直
後にそれぞれリセットされるカウンタと、該二回目一致
フラグが入力された時の該カウンタのカウント値を前記
基準フレーム長として記憶するフレーム長記憶回路とよ
りなることを特徴とする請求項1記載のフレーム同期保
護回路。
2. A first match confirmation circuit that outputs a first match flag when a frame sync comparison result indicating the first match is input to the detection / storage circuit, and the first match flag is input. In the state, a second match confirmation circuit that outputs a second match flag when a frame sync comparison result indicating the first match is input, and a clock synchronized with the bitstream signal is counted, and the frame length match pulse is used. Alternatively, a counter that is reset immediately after the first match flag and the second match flag are respectively output, and a frame length that stores the count value of the counter when the second match flag is input as the reference frame length. The frame synchronization protection circuit according to claim 1, further comprising a storage circuit.
JP6185277A 1994-07-14 1994-07-14 Frame synchronization protection circuit Expired - Lifetime JP2697622B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6185277A JP2697622B2 (en) 1994-07-14 1994-07-14 Frame synchronization protection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6185277A JP2697622B2 (en) 1994-07-14 1994-07-14 Frame synchronization protection circuit

Publications (2)

Publication Number Publication Date
JPH0832573A true JPH0832573A (en) 1996-02-02
JP2697622B2 JP2697622B2 (en) 1998-01-14

Family

ID=16168021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6185277A Expired - Lifetime JP2697622B2 (en) 1994-07-14 1994-07-14 Frame synchronization protection circuit

Country Status (1)

Country Link
JP (1) JP2697622B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6516039B1 (en) * 1998-03-06 2003-02-04 Mitsubishi Denki Kabushiki Kaisha Digital audio broadcast receiver acquiring frame synchronization quickly in the presence of noise
US6546065B1 (en) 1999-01-28 2003-04-08 Oki Electric Industry Co., Ltd. Frame synchronous circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6516039B1 (en) * 1998-03-06 2003-02-04 Mitsubishi Denki Kabushiki Kaisha Digital audio broadcast receiver acquiring frame synchronization quickly in the presence of noise
US6546065B1 (en) 1999-01-28 2003-04-08 Oki Electric Industry Co., Ltd. Frame synchronous circuit

Also Published As

Publication number Publication date
JP2697622B2 (en) 1998-01-14

Similar Documents

Publication Publication Date Title
TW376651B (en) A digital signal system having a sync confidence counter
JPH10224338A (en) Sync detection circuit
JP4611967B2 (en) Method for cascading removable conditional access modules and a predetermined sequence insertion circuit and detection circuit for executing the method
JP2697622B2 (en) Frame synchronization protection circuit
EP0817503B1 (en) Decoding apparatus and decoding method
US6118819A (en) MPEG-2 transport stream data detection device and method
US6831702B1 (en) Method of and apparatus for identifying a signal transmitting source
US6188438B1 (en) Method of and apparatus for identifying a signal transmitting source
JP3322561B2 (en) FM teletext receiver
JP2525103B2 (en) FM multiplex broadcast receiver
CA2052811C (en) Framing bit sequence detection in digital data communication systems
JP2536443B2 (en) Frame sync detection protection circuit
EP0819352B1 (en) Vertical synchronisation signal detector
KR20010018378A (en) Apparatus for detecting sync of transport packet
JP2959520B2 (en) Synchronous protection device
EP0580287B1 (en) Method and apparatus for detecting a frame sync signal
JP2639277B2 (en) Digital data instantaneous interruption detection circuit
JPH0646048A (en) Synchronous detector and synchronous detection protecting method
JP2762855B2 (en) Frame synchronization protection circuit
JPH01319380A (en) Broadcasting facsimile receiver
JP2748912B2 (en) Frame synchronization circuit
GB2225519A (en) Teletext data encoding/decoding method
JP2987273B2 (en) Synchronous signal processing circuit
JP3110387B2 (en) Multi-frame synchronization detector
JPH0134489B2 (en)