JP3402451B2 - Frame synchronization correction method and apparatus - Google Patents

Frame synchronization correction method and apparatus

Info

Publication number
JP3402451B2
JP3402451B2 JP26227998A JP26227998A JP3402451B2 JP 3402451 B2 JP3402451 B2 JP 3402451B2 JP 26227998 A JP26227998 A JP 26227998A JP 26227998 A JP26227998 A JP 26227998A JP 3402451 B2 JP3402451 B2 JP 3402451B2
Authority
JP
Japan
Prior art keywords
frame
timing difference
correction
value
correction value
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.)
Expired - Fee Related
Application number
JP26227998A
Other languages
Japanese (ja)
Other versions
JP2000078123A (en
Inventor
和夫 信太
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 Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP26227998A priority Critical patent/JP3402451B2/en
Publication of JP2000078123A publication Critical patent/JP2000078123A/en
Application granted granted Critical
Publication of JP3402451B2 publication Critical patent/JP3402451B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

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 correction device, and more particularly to a frame synchronization correction device in a communication device such as a mobile phone.

【0002】[0002]

【従来の技術】従来のフレーム同期補正装置について、
図11のブロック図と図12のタイミングチャートを用
いて動作を説明する。従来のフレーム同期補正装置で
は、固定フレーム周期で受信可能な制御信号等の受信信
号(101)の既知パタン(通常、同期ワードまたはユニ
ークワードと呼ばれる。以降、UWパタン:ユニークワ
ードパタンと記す。)を検出し、UWパタン検出パルス
(105)で基準クロック(102)により動作する基準タイ
マ(104)の値をラッチする。この値(108)によりUW
パタンが受信された時刻を算出する。そして、時刻(t
−1)での値と時刻(t)での値の差分をとり、UWパ
タン受信時刻のヒストグラムをUWパタン検出毎に算出
(109)し、送信装置の基準フレーム信号と受信装置の
基準フレーム信号の積算されたタイミング差を出力(11
0)する。
2. Description of the Related Art Regarding a conventional frame synchronization correction device,
The operation will be described with reference to the block diagram of FIG. 11 and the timing chart of FIG. In a conventional frame synchronization correction device, a known pattern of a received signal (101) such as a control signal that can be received at a fixed frame period (usually called a sync word or a unique word, hereinafter referred to as UW pattern: unique word pattern). Is detected and the value of the reference timer (104) operated by the reference clock (102) is latched by the UW pattern detection pulse (105). UW by this value (108)
Calculate the time when the pattern was received. Then, the time (t
The difference between the value at -1) and the value at time (t) is calculated, and a histogram of the UW pattern reception time is calculated (109) for each UW pattern detection, and the reference frame signal of the transmitter and the reference frame signal of the receiver are calculated. Output the accumulated timing difference of (11
0) Yes.

【0003】このヒストグラムの値に対して、タイミン
グ差許容値(しきい値)(113)を設定することによ
り、タイミング補正値検出部(111)において、マイナ
スのタイミング許容値を下回ったとき(受信装置の基準
フレーム信号が送信装置の基準フレーム信号よりも後方
にずれた場合)は、受信装置の基準フレーム信号を前方
に補正(112)し、プラスのタイミング許容値を上回っ
たとき(受信装置の基準フレーム信号が送信装置の基準
フレーム信号よりも前方にずれた場合)は、受信装置の
基準フレーム信号を後方に補正(112)する。実際に
は、前方に補正する場合は基準タイマの初期値を+1
し、後方に補正する場合は基準タイマの初期値を−1す
るようにし、基準タイマのカウント値(受信装置のフレ
ーム長)を増減させて、受信装置のフレーム信号(11
5)を送信装置のフレーム信号に同期させる。
By setting a timing difference allowable value (threshold value) (113) with respect to the value of this histogram, when the timing correction value detecting section (111) is below a negative timing allowable value (reception When the reference frame signal of the device is shifted rearward of the reference frame signal of the transmitting device), the reference frame signal of the receiving device is corrected forward (112), and when the positive timing allowable value is exceeded (the receiving device If the reference frame signal is shifted forward of the reference frame signal of the transmitter), the reference frame signal of the receiver is corrected backward (112). Actually, when correcting forward, the initial value of the reference timer is +1
However, when correcting backward, the initial value of the reference timer is decremented by -1, the count value of the reference timer (frame length of the receiving device) is increased or decreased, and the frame signal (11
5) is synchronized with the frame signal of the transmitter.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のフレーム同期補正装置では、タイミング差を
示すヒストグラムが、タイミング差許容値(しきい値)
を越えた時点で補正処理を行なうため、送信装置のフレ
ーム信号に対する受信装置のフレーム信号のタイミング
ジッタが非常に大きくなってしまう。つまり、送信装置
のフレーム信号に対する受信装置のフレーム信号の追従
性が低下する。
However, in such a conventional frame synchronization correcting apparatus, the histogram showing the timing difference is determined by the timing difference allowable value (threshold value).
Since the correction processing is performed at a time when the value exceeds the above, the timing jitter of the frame signal of the receiving device with respect to the frame signal of the transmitting device becomes very large. That is, the followability of the frame signal of the receiving device to the frame signal of the transmitting device decreases.

【0005】また、常にUWパタンを受信することによ
って、送信装置のフレーム信号と受信装置のフレーム信
号のタイミング差を検出して、受信装置のフレーム信号
を補正しているので、回線断等のように長時間にわたり
UWパタンが受信できないときは、送信装置のフレーム
信号と受信装置のフレーム信号との同期を保持するのが
困難である。
Further, by constantly receiving the UW pattern, the timing difference between the frame signal of the transmitting device and the frame signal of the receiving device is detected and the frame signal of the receiving device is corrected, so that the line is disconnected. When the UW pattern cannot be received for a long time, it is difficult to maintain the synchronization between the frame signal of the transmitter and the frame signal of the receiver.

【0006】本発明は、上記の問題を解決し、送信装置
のフレーム信号に対する受信装置のフレーム信号の追従
性を高め、送信装置のフレーム信号と受信装置のフレー
ム信号との同期を保持することを目的とする。
The present invention solves the above problems, enhances the followability of the frame signal of the receiving device to the frame signal of the transmitting device, and maintains the synchronization between the frame signal of the transmitting device and the frame signal of the receiving device. To aim.

【0007】[0007]

【課題を解決するための手段】上記の課題を解決するた
めに、本発明では、受信信号から既知の送信パタンを検
出するための既知パタン検出部と、基準クロックにより
動作する基準タイマと、既知パタン検出部からの検出パ
ルスにより基準タイマの値を保持するラッチ部と、時刻
(t−1)でラッチしたタイマ値を保持するフリップフ
ロップと、時刻(t−1)と時刻(t)との間の差分を
とり固定フレーム数あたりのタイミング差を算出する加
算器を備えたタイミング差算出部と、算出されたタイミ
ング差から1フレームあたりの補正値を算出する補正値
算出部と、補正値の設定によりフレーム信号を補正し同
期を保持するフレーム信号補正部とを備えた構成とし
た。
In order to solve the above-mentioned problems, according to the present invention, a known pattern detecting section for detecting a known transmission pattern from a received signal, a reference timer operating with a reference clock, and a known A latch unit that holds the value of the reference timer by the detection pulse from the pattern detection unit, a flip-flop that holds the timer value latched at time (t-1), and a time (t-1) and a time (t). A timing difference calculation unit including an adder that calculates a difference between fixed frames and a timing difference per fixed frame number; a correction value calculation unit that calculates a correction value per frame from the calculated timing difference; A frame signal correction unit that corrects the frame signal by setting and holds the synchronization is provided.

【0008】このように構成したことにより、1フレー
ムあたりの補正値を算出して送受信間のフレーム同期を
補正することができる。
With this configuration, it is possible to calculate the correction value per frame and correct the frame synchronization between transmission and reception.

【0009】また、受信信号から既知の送信パタンを検
出するための既知パタン検出部と、基準クロックにより
動作する基準タイマと、既知パタン検出部からの検出パ
ルスにより基準タイマの値を保持するラッチ部と、時刻
(t−1)でのラッチしたタイマ値を保持するフリップ
フロップ、時刻(t−1)と時刻(t)との間の差分を
とり固定フレーム数あるいは設定フレームあたりのタイ
ミング差を算出する加算器を備えたタイミング差算出部
と、固定フレーム数あるいは設定フレーム数あたりのタ
イミング差を一時記憶するメモリ部と、既知パタン検出
部からの既知パタン検出有無信号により、タイミング差
算出部から出力されるタイミング差もしくはメモリ部に
一時記憶したタイミング差のどちらか一方のデータを選
択するセレクタ部と、算出されたタイミング差から1フ
レームあたりの補正値を算出する補正値算出部と、補正
値の設定によりフレーム信号を補正し同期を保持するフ
レーム信号補正部とを備えた構成とした。
Further, a known pattern detection section for detecting a known transmission pattern from a received signal, a reference timer operated by a reference clock, and a latch section for holding the value of the reference timer by a detection pulse from the known pattern detection section. And a flip-flop that holds the latched timer value at time (t-1) and the difference between time (t-1) and time (t) is calculated to calculate the fixed frame number or the timing difference per set frame. Output from the timing difference calculation unit by the timing difference calculation unit equipped with an adder, the memory unit that temporarily stores the timing difference per fixed number of frames or the set number of frames, and the known pattern detection presence / absence signal from the known pattern detection unit. Selector unit for selecting either the data of the stored timing difference or the timing difference temporarily stored in the memory unit A correction value calculation unit for calculating a correction value per frame from the calculated timing difference and a structure in which a frame signal correcting section for holding the synchronization to correct the frame signal by setting the correction value.

【0010】このように構成したことにより、通信回線
断などで既知パタン検出無のときに一時記憶したタイミ
ング差を読み出して、1フレームあたりの補正値を算出
して、送信装置と受信装置の同期保持ができる。
With this configuration, the timing difference temporarily stored when the known pattern is not detected due to the disconnection of the communication line, the correction value per frame is calculated, and the synchronization between the transmission device and the reception device is calculated. Can hold.

【0011】[0011]

【発明の実施の形態】本発明の請求項1に記載の発明
は、固定複数フレーム周期で伝送され同期タイミングが
検出可能な制御信号に基づいて、送信装置のフレームタ
イミングと受信装置のフレームタイミングのタイミング
差を算出する過程と、前記タイミング差の直接値と積算
値のいずれかを動作モードに応じて選択する過程と、前
記タイミング差の直接値または積算値を用いて1フレー
ム毎の補正値を算出する過程と、前記1フレーム毎の補
正値を用いてフレームタイミング信号の補正を行うフレ
ーム同期補正方法であり、補正処理を1フレーム単位で
実施して、送信装置のフレーム信号に対する受信装置の
フレーム信号のタイミングジッタを最小に抑えるという
作用を有する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is based on a control signal transmitted in a fixed multiple frame period and capable of detecting synchronous timing. A process of calculating the timing difference, a process of selecting either the direct value or the integrated value of the timing difference according to the operation mode, and a correction value for each frame using the direct value or the integrated value of the timing difference. A process of calculating and a frame synchronization correction method for correcting the frame timing signal using the correction value for each frame, wherein the correction process is performed in units of one frame, and the frame of the receiving device with respect to the frame signal of the transmitting device. It has the effect of minimizing the timing jitter of the signal.

【0012】本発明の請求項2に記載の発明は、請求項
1に記載のフレーム同期補正方法において、前記1フレ
ーム毎の補正値を算出する過程において、前記タイミン
グ差の有無を判定する過程と、前記タイミング差の正負
を判定する過程と、前記固定フレーム周期あたりのタイ
ミング差から均等に補正するための1フレームあたりの
補正値を算出する補正値算出過程とを備えるフレーム同
期補正方法であり、補正処理を1フレーム単位で実施し
て、送信装置のフレーム信号に対する受信装置のフレー
ム信号のタイミングジッタを最小に抑えるという作用を
有する。
[0012] The invention according to claim 2 of the present invention, claim
In the frame synchronization correction method described in 1,
In the process of calculating the correction value for each
The process of determining whether there is a difference and whether the timing difference is positive or negative.
Of the fixed frame period
Per frame to compensate evenly from the ming difference
A frame having a correction value calculation process for calculating a correction value.
This is a period correction method , and has an effect of minimizing the timing jitter of the frame signal of the receiving device with respect to the frame signal of the transmitting device by performing the correction process in units of one frame.

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】[0025]

【0026】[0026]

【0027】以下、本発明の実施の形態について、図1
〜図10を参照しながら詳細に説明する。
FIG. 1 shows an embodiment of the present invention.
~ It will be described in detail with reference to FIG.

【0028】(第1の実施の形態)本発明の第1の実施
の形態は、固定フレーム周期で受信可能な制御信号に挿
入されている既知パタンの検出で生成される既知パタン
検出信号により、基準クロックで動作する基準タイマの
タイマ値をラッチし、時刻(t−1)においてラッチさ
れたタイマ値と、固定フレーム周期後の時刻(t)にお
いてラッチされたタイマ値とから、固定フレーム数あた
りのタイマ値差分を算出し、タイマ値差分を送信側フレ
ーム信号と受信側フレーム信号の時刻(t−1)と時刻
(t)との間の固定フレーム数あたりのタイミング差と
し、タイミング差から1フレームあたりの補正値を算出
し、補正値により送受信間のフレーム同期を1フレーム
毎に補正し保持するフレーム同期補正装置である。
(First Embodiment) In the first embodiment of the present invention, a known pattern detection signal generated by detecting a known pattern inserted in a control signal receivable in a fixed frame period is used. From the timer value latched at the time (t-1) and the timer value latched at the time (t) after the fixed frame period, the fixed timer number per fixed frame is latched. Of the fixed frame number between the time (t-1) and the time (t) between the transmission side frame signal and the reception side frame signal, and the timer value difference is calculated as 1 from the timing difference. A frame synchronization correction device that calculates a correction value per frame, corrects and holds the frame synchronization between transmission and reception for each frame based on the correction value.

【0029】図1は、本発明の第1の実施の形態のフレ
ーム同期補正装置のブロック図である。図1において、
301は受信信号である。302は基準クロックである。303
はUWパタン検出部であり、受信信号(301)からUW
パタンが検出されたときに、305のUW検出パルスを発
生させる。304は基準タイマであり、基準クロック(30
2)によりカウントされ、306のタイマ値を出力する。30
7はラッチ部であり、UW検出パルス(305)により基準
タイマ(304)のタイマ値(306)を取り込む。311はタ
イミング差算出部であり、308のラッチされたタイマ値
と309のフリップフロップによりNフレーム分遅延させ
たタイマ値(310)から受信装置と送信装置とのタイミ
ング差(312)を算出する。
FIG. 1 is a block diagram of a frame synchronization correction apparatus according to the first embodiment of the present invention. In FIG.
301 is a received signal. 302 is a reference clock. 303
Is a UW pattern detector, which detects UW from the received signal (301).
When a pattern is detected, a 305 UW detection pulse is generated. 304 is a reference timer, and a reference clock (30
It is counted by 2) and outputs the timer value of 306. 30
Reference numeral 7 denotes a latch unit, which takes in the timer value (306) of the reference timer (304) by the UW detection pulse (305). A timing difference calculation unit 311 calculates the timing difference (312) between the receiving device and the transmitting device from the latched timer value of 308 and the timer value (310) delayed by N frames by the flip-flop of 309.

【0030】314はセレクタであり、313の動作モードに
より、312のタイミング差を出力aもしくは出力bに切
り替える。出力aのときのタイミング差をタイミング差
初期値(315)とし、出力bのときのタイミング差は、
タイミング差(312)と318のフリップフロップにより、
Nフレーム分遅延させたタイミング差(317)を加算す
ることにより、Nフレームあたりの全タイミング差(31
6)とする。319は補正値算出部であり、Nフレームあた
りのタイミング差初期値(315)もしくは全タイミング
差(316)から1フレームあたりの補正値(320)を算出
する。321はフレーム信号補正部であり、基準クロック
(302)と補正値(320)の設定によりフレーム信号の生
成および補正動作を行なう。
A selector 314 switches the timing difference of 312 to output a or output b depending on the operation mode of 313. The timing difference at the time of output a is set to the initial timing difference value (315), and the timing difference at the time of output b is
With the timing difference (312) and 318 flip-flops,
By adding the timing difference (317) delayed by N frames, the total timing difference per N frame (31
6) A correction value calculation unit 319 calculates a correction value (320) per frame from the timing difference initial value (315) per N frames or the total timing difference (316). Reference numeral 321 denotes a frame signal correction unit, which generates a frame signal and performs a correction operation by setting a reference clock (302) and a correction value (320).

【0031】上記のように構成された本発明の第1の実
施の形態のフレーム同期補正装置の動作を、図2のタイ
ミングチャートおよび図3のフロー図を用いて説明す
る。まず、送信装置に対して受信装置が初期フレーム同
期引き込みを行なうための動作モード(313)(連続受
信動作)において、受信信号を2回受信する。時刻
(t)において、1回目にUWパタンを受信したときの
タイマ値をy(t)とし、時刻(t+1)において、2回
目にUWパタンを受信したときのタイマ値をy(t+1)と
し、UWパタンの受信周期であるNフレーム周期におけ
る送受信装置間のタイミング差(312)を、タイミング
差初期値(315) y(t0)=y(t+1)−y(t) として算出する。このとき動作モード(313)により、
セレクタ(314)は出力aを選択するものとする。そし
て、Nフレームあたりのタイミング差初期値(315)y
(t0)を用いることにより、補正値算出部(319)におい
て1フレーム毎の補正値(320)を算出する。
The operation of the frame synchronization correction apparatus according to the first embodiment of the present invention configured as described above will be described with reference to the timing chart of FIG. 2 and the flow chart of FIG. First, in the operation mode (313) (continuous reception operation) for the receiving device to perform initial frame synchronization pull-in with respect to the transmitting device, the received signal is received twice. At time (t), the timer value when the first UW pattern is received is y (t), and at time (t + 1), the timer value when the second UW pattern is received is y (t + 1). Then, the timing difference (312) between the transmitting and receiving devices in the N frame cycle which is the reception cycle of the UW pattern is calculated as the timing difference initial value (315) y (t 0 ) = y (t + 1) −y (t). To do. At this time, depending on the operation mode (313),
The selector (314) is assumed to select the output a. Then, the timing difference initial value (315) y per N frames
By using (t 0 ), the correction value calculation unit (319) calculates the correction value (320) for each frame.

【0032】補正値算出処理のフローを、図3に沿って
説明する。最初に、実際にタイミング差が存在するか否
かの判断をする。ここでタイミング差無しのときは、補
正値テーブル作成2の処理を行なう。これにより、1フ
レーム毎の補正値(320)T(n)がNフレーム分すべて0
(つまリフレーム信号補正無し)となる。一方、タイミ
ング差有りのときは、タイミング差÷Nフレームの整数
部を計算し、切り上げ無し分補正値J1を算出し、タイ
ミング差の正負判定をする。次に、切り上げ分補正値J
2と、切り上げ分補正値補正回数C2を算出する。タイミ
ング差が正の時は、 J2=J1+1、 C2=タイミング差−(J1×Nフレーム) とし、タイミング差が負の時は J2=J1−1、 C2=−(タイミング差一(J1×Nフレーム)) とする。
The flow of the correction value calculation processing will be described with reference to FIG. First, it is judged whether or not a timing difference actually exists. If there is no timing difference, the correction value table creation 2 is performed. As a result, the correction value (320) T (n) for each frame is 0 for all N frames.
(No reframe signal correction). On the other hand, if there is a timing difference, the timing difference / integer part of N frames is calculated, the correction value J 1 without rounding up is calculated, and the positive / negative of the timing difference is determined. Next, the round-up correction value J
2 and the round-up correction value correction count C 2 are calculated. When the timing difference is positive, J 2 = J 1 +1 and C 2 = timing difference − (J 1 × N frame), and when the timing difference is negative, J 2 = J 1 −1, C 2 = − ( Timing difference 1 (J 1 × N frame)).

【0033】切り上げ分補正値の補正回数C2が決定し
たのち、切り上げ無し分補正値の補正回数 C1=Nフレーム−C2 として算出する。そして、切り上げ無し分補正値と切り
上げ分補正値をNフレーム内に交互に設定する回数C0
を算出するため、C1>C2による大小比較をし、小さい
方の回数を2倍する。このとき補正回数の大きい方の補
正値をJ0に代入する。こうして補正値J1、J2と補正
回数C1、C2が求められた時点で補正値テーブル作成1
の処理を行なう。
After the correction number C 2 of the round-up correction value is determined, the correction number C 1 of the non -round-up correction value is calculated as N frame−C 2 . Then, the number C 0 of times when the correction value without rounding up and the correction value with rounding up are alternately set in N frames.
In order to calculate, the magnitude comparison by C 1 > C 2 is performed, and the smaller number is doubled. At this time, the larger correction value is substituted for J 0 . In this way, when the correction values J 1 and J 2 and the correction numbers C 1 and C 2 are obtained, the correction value table is created 1
Is processed.

【0034】まず、切り上げ無し分補正値J1と、切り
上げ分補正値J2を交互繰り返し回数C0だけT(n)に代
入し、その後、残りのフレーム数分だけJ0を代入す
る。こうしてNフレーム分の補正値テーブルが完成し、
1フレーム毎に補正値テーブルから補正値(320)T(n)
を読み出し、フレーム信号補正部に設定することによ
り、受信装置のフレーム信号が補正され、同期保持され
る。
First, the correction value J 1 without rounding up and the correction value J 2 with rounding up are substituted into T (n) for the number of alternating repetitions C 0 , and then J 0 is substituted for the remaining number of frames. In this way, the correction value table for N frames is completed,
Correction value (320) T (n) from the correction value table for each frame
Is read out and set in the frame signal correction section, the frame signal of the receiving device is corrected and held in synchronization.

【0035】次に、動作モード(313)を通常送受信動
作に切り替えた後の動作について説明する。動作モード
(313)切り替え後、時刻(t+2)、(t+3)……
におけるUWパタンを受信したときのタイマ値をそれぞ
れy(t+2)、y(t+3)……とする。タイマ値y(t+2)をラ
ッチ後、Nフレーム周期における送受信装置間のタイミ
ング差(312)をy(t+2)−y(t+1)として算出する。こ
のとき動作モード(313)によりセレクタ(314)は出力
bを選択するものとする。ここで、フリップフロップ
(318)に保持されている全タイミング差(317)y(t0)
とタイミング差(312)y(t+2)−y(t+1)を加算するこ
とにより、現時点での全タイミング差(316)y(t1)を
算出する。そして、Nフレームあたりの全タイミング差
(314)y(t1)を用いることにより、補正値算出部(31
9)において1フレーム毎の補正値(320)を算出する。
タイマ値y(t十3)をラッチ後、Nフレーム周期における
送受信装置間のタイミング差(312)をy(t+3)−y(t+
2)として算出する。
Next, the operation after switching the operation mode (313) to the normal transmission / reception operation will be described. After switching the operation mode (313), time (t + 2), (t + 3) ...
The timer values when the UW pattern is received are y (t + 2), y (t + 3). After latching the timer value y (t + 2), the timing difference (312) between the transmitting and receiving devices in the N frame period is calculated as y (t + 2) −y (t + 1). At this time, the selector (314) selects the output b according to the operation mode (313). Here, the total timing difference (317) y (t 0 ) held in the flip-flop (318)
And the timing difference (312) y (t + 2) −y (t + 1) are added to calculate the total timing difference (316) y (t 1 ) at the present time. Then, by using the total timing difference (314) y (t1) per N frames, the correction value calculation unit (31
In step 9), the correction value (320) is calculated for each frame.
After latching the timer value y (t + 3), the timing difference (312) between the transmitting and receiving devices in N frame cycles is set to y (t + 3) -y (t +
Calculate as 2).

【0036】ここで、フリップフロップ(318)に保持
されている全タイミング差(317)y(t1)とタイミング
差(312)y(t+3)−y(t+2)を加算することにより、現
時点での全タイミング差(316)y(t2)を算出する。そし
て、Nフレームあたりの全タイミング差(314)y(t2)
を用いることにより補正値算出部(319)において1フ
レーム毎の補正値(320)を算出する。以後、タイマ値
y(t+4)、y(t+5)、y(t+6)……となったときにも同様
な動作を行なう。補正値算出処理の動作は前述と同様で
ある。
Here, the total timing difference (317) y (t 1 ) held in the flip-flop (318) and the timing difference (312) y (t + 3) −y (t + 2) are added. Then, the total timing difference (316) y (t 2 ) at the present time is calculated. Then, the total timing difference per N frames (314) y (t 2 )
The correction value calculation unit (319) calculates the correction value (320) for each frame by using. After that, the same operation is performed when the timer values y (t + 4), y (t + 5), y (t + 6) ... The operation of the correction value calculation process is the same as described above.

【0037】補正値算出処理のフローに実際に数値を当
てはめて例を述べる。全タイミング差(316)が13(単
位はタイマ値の最小分解能:例えば、Bシンボル、Bク
ロック等)で(N=24)フレーム周期でUWパタンの受
信を行なうものとする。よってJ1=0、C1=11、J2
=1、C2=13、J0=J2=1となり、補正値テーブル
が010101010101010101010111(補正値テーブル作成1の
フロー斜線部を使用のとき)または、10101010101010
1010101011(補正値テーブル作成1のフロー斜線部を
使用のとき)のように作成される。
An example will be described by actually applying numerical values to the flow of correction value calculation processing. It is assumed that the total timing difference (316) is 13 (the unit is the minimum resolution of the timer value: for example, B symbol, B clock, etc.) (N = 24) and the UW pattern is received in the frame cycle. Therefore, J 1 = 0, C 1 = 11, J 2
= 1, C 2 = 13, J 0 = J 2 = 1 and the correction value table is 010101010101010101010111 (when the shaded area in the correction value table creation 1 is used) or 10101010101010
It is created as in 1010101011 (when the shaded area of the correction value table creation 1 is used).

【0038】この補正値を用いて補正処理をした場合の
タイミングジッタの状態を図4に示す。図4の場合、24
フレーム周期の補正量13に対して、次の24フレーム周期
にはタイミング差14が発生した場合の例である。この場
合、次次の24フレームにおいてタイミング差(13+差分
1)を補正し以後同様な処理を実施する。図4からわか
るように本発明では、従来装置と比較してタイミングジ
ッタを極めて小さく抑えることが可能である。
FIG. 4 shows the state of timing jitter when a correction process is performed using this correction value. In the case of FIG. 4, 24
This is an example of the case where a timing difference 14 occurs in the next 24 frame cycles with respect to the frame cycle correction amount 13. In this case, the timing difference (13 + difference 1) is corrected in the next 24 frames and the same processing is performed thereafter. As can be seen from FIG. 4, according to the present invention, it is possible to suppress the timing jitter to be extremely small as compared with the conventional device.

【0039】上記のように、本発明の第1の実施の形態
では、フレーム同期補正装置を、固定フレーム周期で受
信可能な制御信号に挿入されている既知パタンの検出で
生成される既知パタン検出信号により、基準クロックで
動作する基準タイマのタイマ値をラッチし、時刻(t−
1)におけるラッチされたタイマ値と、固定フレーム周
期後の時刻(t)におけるラッチされたタイマ値との差
分により、固定フレーム数あたりのタイマ値の差分を算
出し、算出された差分を送信側フレーム信号と受信側フ
レーム信号の時刻(t−1)と時刻(t)との間の固定
フレーム数あたりのタイミング差とし、このタイミング
差を1フレーム毎に補正するべく、1フレームあたりの
補正値を算出し送受信間のフレーム同期を補正し保持す
る構成としたので、補正処理を1フレーム単位で実施し
て、送信装置のフレーム信号に対する受信装置のフレー
ム信号のタイミングジッタを最小に抑えることができ
る。
As described above, in the first embodiment of the present invention, the frame synchronization correction apparatus detects the known pattern generated by detecting the known pattern inserted in the control signal receivable at the fixed frame period. The signal latches the timer value of the reference timer that operates with the reference clock, and
From the difference between the latched timer value in 1) and the latched timer value at time (t) after the fixed frame period, the difference in the timer value per fixed frame number is calculated, and the calculated difference is transmitted. A timing difference per fixed number of frames between the time (t-1) and the time (t) of the frame signal and the frame signal on the receiving side, and a correction value per frame to correct this timing difference for each frame. Is calculated and the frame synchronization between transmission and reception is corrected and held. Therefore, the correction process can be performed in units of one frame to minimize the timing jitter of the frame signal of the reception device with respect to the frame signal of the transmission device. .

【0040】(第2の実施の形態)本発明の第2の実施
の形態は、固定フレーム周期で受信可能な制御信号に挿
入されている既知パタンの検出で生成される既知パタン
検出信号により、基準クロックで動作する基準タイマの
タイマ値をラッチし、タイマ値とタイミング基準値(送
信側フレーム信号と受信側フレーム信号に差分がない状
態でのタイマ値)とから、固定フレーム数あたりのタイ
マ値差分を算出し、タイマ値差分を送信側フレーム信号
と受信側フレーム信号の固定フレーム数あたりのタイミ
ング差とし、タイミング差から1フレームあたりの補正
値を算出し、補正値により送受信間のフレーム同期を1
フレーム毎に補正し保持するフレーム同期補正装置であ
る。
(Second Embodiment) The second embodiment of the present invention uses a known pattern detection signal generated by detection of a known pattern inserted in a control signal receivable at a fixed frame period. Latch the timer value of the reference timer that operates on the reference clock, and use the timer value and the timing reference value (the timer value when there is no difference between the sending frame signal and the receiving frame signal) to determine the timer value per fixed number of frames. The difference is calculated, the timer value difference is used as the timing difference per fixed number of frames of the transmission side frame signal and the reception side frame signal, the correction value per frame is calculated from the timing difference, and the frame synchronization between transmission and reception is calculated by the correction value. 1
A frame synchronization correction device that corrects and holds each frame.

【0041】図5は、本発明の第2の実施の形態のフレ
ーム同期補正装置のブロック図である。図5において、
701は受信信号である。702は基準クロックである。703
はUWパタン検出部であり、受信信号(701)からUW
パタンが検出されたときに705のUW検出パルスを発生
させる。704は基準タイマであり、基準クロック(702)
によリカウントされ706のタイマ値を出力する。707はラ
ッチ部であり、UW検出パルス(705)により基準タイ
マ(704)のタイマ値(706)を取り込む。711はタイミ
ング差算出部であり、708のラッチされたタイマ値と723
のタイミング基準値から受信装置と送信装置とのタイミ
ング差(712)を算出する。724はフリップフロップでタ
イミング差(716)をNフレーム周期分遅延させ、正の
タイミング差(725)および負のタイミング差(726)と
して出力する。
FIG. 5 is a block diagram of a frame synchronization correction apparatus according to the second embodiment of the present invention. In FIG.
Reference numeral 701 is a received signal. 702 is a reference clock. 703
Is a UW pattern detector, which detects UW from the received signal (701).
When a pattern is detected, a 705 UW detection pulse is generated. 704 is a reference timer, reference clock (702)
And the timer value of 706 is output. Reference numeral 707 denotes a latch unit which takes in the timer value (706) of the reference timer (704) by the UW detection pulse (705). Reference numeral 711 denotes a timing difference calculation unit, which stores the latched timer value of 708 and 723
The timing difference (712) between the receiving device and the transmitting device is calculated from the timing reference value of. A flip-flop 724 delays the timing difference (716) by N frame periods and outputs it as a positive timing difference (725) and a negative timing difference (726).

【0042】727はセレクタで713の動作モードにより入
力aの正のタイミング差(725)および入力bの負のタ
イミング差(726)出力aを選択して出力する。716は全
タイミング差であり、717のNフレーム周期遅延したタ
イミング差と現時点のタイミング差の和により決定す
る。719は補正値算出部であり、Nフレームあたりの全
タイミング差(716)から1フレームあたりの補正値(7
20)を算出する。721はフレーム信号補正部であり、基
準クロック(702)と補正値(720)の設定によりフレー
ム信号の生成および補正動作を行なう。
A selector 727 selects and outputs a positive timing difference (725) of the input a and a negative timing difference (726) of the input b according to the operation mode of 713. 716 is the total timing difference, which is determined by the sum of the timing difference delayed by N frame periods of 717 and the current timing difference. Reference numeral 719 denotes a correction value calculation unit that calculates the correction value per frame (7) from the total timing difference (716) per N frames.
20) is calculated. A frame signal correction unit 721 generates a frame signal and performs a correction operation by setting a reference clock (702) and a correction value (720).

【0043】上記のように構成した本発明の第2の実施
の形態におけるフレーム同期補正装置の動作を、図6の
タイミングチャートを用いて説明する。まず、送信装置
に対して受信装置が初期フレーム同期引き込みを行なう
ための動作モード(713)(連続受信動作)において受
信信号を2回受信する。このとき、セレクタ(727)は
入力bを選択しているものとする。時刻(t)におい
て、1回目にUWパタンを受信したときのタイマ値をy
(t)とし、タイミング差算出部(711)にてタイミング基
準値(723)とタイマ値y(t)との差分をとる。時刻(t
+1)において、2回目にUWパタンを受信したときの
タイマ値をy(t+1)とし、タイミング差算出部(711)に
てタイミング基準値(723)とタイマ値y(t+1)との差分
をとる。
The operation of the frame synchronization correction apparatus according to the second embodiment of the present invention configured as above will be described with reference to the timing chart of FIG. First, the reception signal is received twice in the operation mode (713) (continuous reception operation) for the reception device to perform initial frame synchronization pull-in with respect to the transmission device. At this time, it is assumed that the selector (727) is selecting the input b. At time (t), y is the timer value when the first UW pattern is received.
(t), and the difference between the timing reference value (723) and the timer value y (t) is calculated by the timing difference calculation unit (711). Time (t
In (+1), the timer value when the UW pattern is received for the second time is set to y (t + 1), and the timing difference calculation unit (711) sets the timing reference value (723) and the timer value y (t + 1). Take the difference.

【0044】そして、現時刻(t+1)におけるNフレ
ーム周期前の負のタイミング差(726)(−y(t)−y(b
ase))と現時刻(t+1)のタイミング差(712)(y
(t+1)−y(base))を加算することによりNフレーム周
期あたりの全タイミング差(716)y(t0)を算出する。
そして、Nフレームあたりの全タイミング差(715)y
(t0)を用いることにより補正値算出部(719)において
1フレーム毎の補正値(720)を算出する。補正値算出
処理のフローは、図3に示した第1の実施の形態と同様
であるので説明を省略する。
Then, the negative timing difference (726) (-y (t) -y (b
ase)) and the current time (t + 1) timing difference (712) (y
The total timing difference (716) y (t 0 ) per N frame period is calculated by adding (t + 1) −y (base)).
And the total timing difference per N frames (715) y
The correction value calculation unit (719) calculates the correction value (720) for each frame by using (t 0 ). The flow of the correction value calculation process is the same as that of the first embodiment shown in FIG. 3, and therefore its explanation is omitted.

【0045】次に、動作モード(713)を通常送受信動
作に切り替え後の動作について説明する。動作モード
(313)切り替え後、時刻(t+2)、(t+3)……
におけるUWパタンを受信したときのタイマ値をそれぞ
れy(t+2)、y(t+3)……とする。このとき動作モード
(713)によリセレクタ(727)は入力aを選択するもの
とする。タイマ値y(t+2)をラッチ後、Nフレーム周期
における送受信装置間のタイミング差(712)をy(t+2)
−y(base)として算出する。ここで、フリップフロップ
(724)に保持されているNフレーム周期前の全タイミ
ング差(725)y(t0)とタイミング差(712)y(t+2)−
y(base)を加算することにより現時点での全タイミング
差(716)y(t1)を算出する。
Next, the operation after switching the operation mode (713) to the normal transmission / reception operation will be described. After switching the operation mode (313), time (t + 2), (t + 3) ...
The timer values when the UW pattern is received are y (t + 2), y (t + 3). At this time, the reselector (727) selects the input a according to the operation mode (713). After latching the timer value y (t + 2), set the timing difference (712) between the transmitter and receiver in N frame cycles to y (t + 2).
Calculate as -y (base). Here, the total timing difference (725) y (t 0 ) and the timing difference (712) y (t + 2) − N frame periods before held in the flip-flop (724)
The total timing difference (716) y (t 1 ) at the present time is calculated by adding y (base).

【0046】そして、Nフレームあたりの全夕イミング
差(714)y(t1)を用いることにより補正値算出部(719)
において1フレーム毎の補正値(720)を算出する。タ
イマ値y(t+3)をラッチ後、Nフレーム周期における送
受信装置間のタイミング差(712)をy(t+3)−y(base)
として算出する。ここで、フリップフロップ(724)に保
持されているNフレーム周期前の全タイミング差(725)
y(t1)とタイミング差(712)y(t+3)−y(base)を加算す
ることにより現時点での全タイミング差(716)y(t2)
を算出する。そして、Nフレームあたりの全タイミング
差(714)y(t1)を用いることにより補正値算出部(71
9)において1フレーム毎の補正値(720)を算出する。
以後、タイマ値y(t+4)、y(t+5)、y(t+6)……となっ
たときにも同様な動作を行なう。補正値算出処理の動作
は、図3に示した第1の実施の形態と同様であるので説
明を省略する。
Then, the correction value calculating unit (719) is used by using the total evening difference (714) y (t 1 ) per N frames.
At, the correction value (720) is calculated for each frame. After latching the timer value y (t + 3), the timing difference (712) between the transmitting and receiving devices in N frame cycles is set to y (t + 3) −y (base).
Calculate as Here, the total timing difference (725) before N frame cycles held in the flip-flop (724)
By adding y (t 1 ) and timing difference (712) y (t + 3) −y (base), the total timing difference at the present time (716) y (t 2 )
To calculate. Then, by using the total timing difference (714) y (t 1 ) per N frames, the correction value calculation unit (71
In step 9), the correction value (720) for each frame is calculated.
After that, the same operation is performed when the timer values y (t + 4), y (t + 5), y (t + 6) ... The operation of the correction value calculation process is the same as that of the first embodiment shown in FIG.

【0047】上記のように、本発明の第2の実施の形態
では、フレーム同期補正装置を、固定フレーム周期で受
信可能な制御信号に挿入されている既知パタンの検出で
生成される既知パタン検出信号により、基準クロックで
動作する基準タイマのタイマ値をラッチし、ラッチされ
たタイマ値とタイミング基準値(送信側フレーム信号と
受信側フレーム信号に差分がない状態でのタイマ値)と
の差分により、固定フレーム数あたりのタイマ値の差分
を算出し、算出された差分を送信側フレーム信号と受信
側フレーム信号の固定フレーム数あたりのタイミング差
とし、このタイミング差を1フレーム毎に補正するべ
く、1フレームあたりの補正値を算出し送受信間のフレ
ーム同期を補正し保持する構成としたので、補正処理を
1フレーム単位で実施して、送信装置のフレーム信号に
対する受信装置のフレーム信号のタイミングジッタを最
小に抑えることができる。
As described above, in the second embodiment of the present invention, the frame synchronization correction apparatus detects the known pattern generated by detecting the known pattern inserted in the control signal receivable at the fixed frame period. The signal is used to latch the timer value of the reference timer that operates with the reference clock, and the difference between the latched timer value and the timing reference value (the timer value when there is no difference between the transmission-side frame signal and the reception-side frame signal) , A difference between timer values per fixed frame number is calculated, and the calculated difference is used as a timing difference per fixed frame number between the transmission side frame signal and the reception side frame signal, and the timing difference is corrected for each frame. Since the configuration is such that the correction value for each frame is calculated and the frame synchronization between transmission and reception is corrected and held, the correction process is performed on a frame-by-frame basis. , It is possible to suppress the timing jitter of the frame signal of the receiving device with respect to the frame signal of the transmission apparatus to a minimum.

【0048】(第3の実施の形態)本発明の第3の実施
の形態は、固定フレーム周期で受信可能な制御信号に対
して、外部から任意にフレーム数を可変設定することに
より、制御信号の受信間隔を設定フレーム周期とするこ
とを可能としたフレーム同期補正装置である。
(Third Embodiment) In the third embodiment of the present invention, a control signal can be arbitrarily variably set from the outside with respect to a control signal receivable in a fixed frame period. Is a frame synchronization correction device that makes it possible to set the reception interval of to the set frame period.

【0049】図7は、本発明の第3の実施の形態のフレ
ーム同期補正装置のブロック図である。図7において、
901は受信信号である。902は基準クロックである。903
はUWパタン検出部であり、受信信号(901)からUW
パタンが検出されたときに905のUW検出パルスを発生
させる。904は基準タイマであり、基準クロック(902)
によリカウントされ906のタイマ値を出力する。907はラ
ッチ部であり、UW検出パルス(905)により基準タイ
マ(904)のタイマ値(906)を取り込む。911はタイミ
ング差算出部であり、908のラッチされたタイマ値と909
のフリップフロップにより(N×k)フレーム分遅延さ
せたタイマ値(910)から受信装置と送信装置とのタイ
ミング差(912)を算出する。
FIG. 7 is a block diagram of a frame synchronization correction apparatus according to the third embodiment of the present invention. In FIG.
901 is a received signal. 902 is a reference clock. 903
Is a UW pattern detector, which detects UW from the received signal (901).
When a pattern is detected, a 905 UW detection pulse is generated. 904 is a reference timer, reference clock (902)
And the timer value of 906 is output. Reference numeral 907 denotes a latch unit which fetches the timer value (906) of the reference timer (904) by the UW detection pulse (905). Reference numeral 911 is a timing difference calculation unit, which uses the latched timer value of 908 and 909
The timing difference (912) between the receiving device and the transmitting device is calculated from the timer value (910) delayed by (N × k) frames by the flip-flop of.

【0050】914はセレクタで913の動作モードにより91
2のタイミング差を出力aもしくは出力bに切り替え
る。出力aのときのタイミング差をタイミング差初期値
(915)とし、出力bのときのタイミング差はタイミン
グ差(912)と918のフリップフロップにより(N×k)
フレーム分遅延させたタイミング差(917)を加算する
ことにより(N×k)フレームあたりの全タイミング差
(916)とする。919は補正値算出部であり、(N×k)
フレームあたりのタイミング差初期値(915)もしくは
全タイミング差(916)から1フレームあたりの補正値
(920)を算出する。921はフレーム信号補正部であり、
基準クロック(902)と補正値(920)の設定によりフレ
ーム信号の生成および補正動作を行なう。
Reference numeral 914 is a selector, which is 91 depending on the operation mode of 913.
The timing difference of 2 is switched to output a or output b. The timing difference at the time of output a is set as the timing difference initial value (915), and the timing difference at the time of output b is (N × k) by the timing difference (912) and the flip-flop of 918.
The timing difference (917) delayed by the number of frames is added to obtain the total timing difference (916) per frame (N × k). Reference numeral 919 is a correction value calculation unit, which is (N × k)
A correction value (920) per frame is calculated from the initial timing difference value (915) per frame or the total timing difference (916). 921 is a frame signal correction unit,
A frame signal is generated and a correction operation is performed by setting the reference clock (902) and the correction value (920).

【0051】本発明の第3の実施の形態は、第1の実施
の形態で示した構成を基本としており、特徴としては、
フレーム数可変レジスタ(929)とフレームカウンタ(9
31)を設けることにより、外部から任意にフレームパラ
メータ(928)により受信信号のフレーム周期を制御す
ることができる。
The third embodiment of the present invention is basically based on the configuration shown in the first embodiment, and has a characteristic feature.
Variable frame number register (929) and frame counter (9
By providing 31), the frame period of the received signal can be arbitrarily controlled from the outside by the frame parameter (928).

【0052】上記のように構成された本発明の第3の実
施の形態のフレーム同期補正装置の動作を、図8のタイ
ミングチャートを用いて説明する。まず、あらかじめ、
フレームパラメータ(928)により受信信号の受信フレ
ーム周期を設定しておく。これにより、フレーム数可変
レジスタ(929)にデータがセットされ、フレーム信号
(922)により動作するフレームカウンタ(931)が(N
×k)フレーム周期で動作を開始する。以降は第1の実
施の形態に示した動作説明と基本的動作は同様である。
The operation of the frame synchronization correction apparatus of the third embodiment of the present invention configured as above will be described with reference to the timing chart of FIG. First of all,
The reception frame cycle of the reception signal is set by the frame parameter (928). As a result, data is set in the variable frame number register (929) and the frame counter (931) operated by the frame signal (922) is set to (N
× k) Start the operation at the frame cycle. After that, the basic operation is the same as the operation description shown in the first embodiment.

【0053】ここではフレームパラメータ2について説
明する。送信装置に対して受信装置が初期フレーム同期
引き込みを行なうための動作モード(913)(連続受信
動作)において受信信号を2回受信する。時刻(t)に
おいて、1回目にUWパタンを受信したときのタイマ値
をy(t)とし、時刻(t+1)においては、受信信号の
フレーム周期を2Nに設定しているので補正処理は実施
しない。時刻(t+2)において、2回目にUWパタン
を受信したときのタイマ値をy(t+2)とし、UWパタン
の受信周期である2Nフレーム周期における送受信装置
間のタイミング差(912)をタイミング差初期値(915) y(t0)=y(t+2)−y(t) として算出する。このとき動作モード(913)によりセ
レクタ(914)は出力aを選択するものとする。そし
て、2Nフレームあたりのタイミング差初期値(915)
y(t0)を用いることにより、補正値算出部(919)にお
いて1フレーム毎の補正値(920)を算出する。
The frame parameter 2 will be described here. The reception signal is received twice in the operation mode (913) (continuous reception operation) for the reception device to perform initial frame synchronization pull-in with respect to the transmission device. At time (t), the timer value when the first UW pattern is received is set to y (t), and at time (t + 1), the frame period of the received signal is set to 2N, so no correction processing is performed. . At time (t + 2), the timer value when the UW pattern is received for the second time is set to y (t + 2), and the timing difference (912) between the transmitter and the receiver in the 2N frame cycle which is the UW pattern reception cycle is set as the timing difference. An initial value (915) y (t 0 ) = y (t + 2) −y (t) is calculated. At this time, the selector (914) selects the output a according to the operation mode (913). And the initial value of the timing difference per 2N frame (915)
The correction value calculation unit (919) calculates the correction value (920) for each frame by using y (t 0 ).

【0054】補正値算出処理のフローは、図3に示した
Nフレームを2Nフレームとすることで、以降は同様な
処理となる。最初に、実際にタイミング差が存在するか
否かの判断をする。ここでタイミング差無しのときは、
補正値テーブル作成2の処理を行なう。これにより、1
フレーム毎の補正値(920)T(n)が2Nフレーム分すべ
て0(つまりフレーム信号補正無し)となる。−方、タ
イミング差有りのときは、タイミング差÷2Nフレーム
の整数部を計算し切り上げ無し分補正値J1を算出し、
タイミング差の正負判定をする。次に、切り上げ分補正
値J2と切り上げ分補正値補正回数C2を算出する。
The flow of the correction value calculation processing is the same processing thereafter by setting the N frame shown in FIG. 3 to 2N frames. First, it is judged whether or not a timing difference actually exists. Here, when there is no timing difference,
The correction value table creation process 2 is performed. This gives 1
The correction value (920) T (n) for each frame becomes 0 (that is, no frame signal correction) for 2N frames. On the other hand, when there is a timing difference, the timing difference ÷ the integer part of 2N frames is calculated to calculate the correction value J 1 without rounding up,
Whether the timing difference is positive or negative is determined. Next, the round-up correction value J 2 and the round-up correction value correction count C 2 are calculated.

【0055】タイミング差が正の時は J2=J1+1、 C2=タイミング差−(J1×2Nフレーム) とし、タイミング差が負の時は J2=J1−1、 C2=−(タイミング差−(J1×2Nフレーム)) とする。When the timing difference is positive, J 2 = J 1 +1 and C 2 = timing difference − (J 1 × 2N frame), and when the timing difference is negative, J 2 = J 1 −1, C 2 = -(Timing difference- (J 1 × 2N frame)).

【0056】切り上げ分補正値の補正回数C2が決定し
たのち切り上げ無し分補正値の補正回数 C1=2Nフレーム−C2 として算出する。そして、切り上げ無し分補正値と切り
上げ分補正値を2Nフレーム内に交互に設定する回数C
0を算出するためC1>C2による大小比較をし、小さい
方の回数を2倍する。このとき補正回数の大きい方の補
正値をJ0に代入する。こうして補正値J1、J2と補正
回数C1、C2が求められた時点で補正値テーブル作成1
の処理を行なう。
After the correction number C 2 of the round-up correction value is determined, the correction number C 1 of the non -round-up correction value is calculated as C 2 = 2N frame-C 2 . Then, the number C of times when the correction value without rounding up and the correction value with rounding up are alternately set within the 2N frame
In order to calculate 0 , the magnitude comparison by C 1 > C 2 is performed, and the smaller number is doubled. At this time, the larger correction value is substituted for J 0 . In this way, when the correction values J 1 and J 2 and the correction numbers C 1 and C 2 are obtained, the correction value table is created 1
Is processed.

【0057】まず、切り上げ無し分補正値J1と切り上
げ分補正値J2を交互繰り返し回数C0だけT(n)に代入
し、その後、残りのフレーム数分だけJ0を代入する。
こうして2Nフレ−ム分の補正値テーブルが完成し1フ
レーム毎に補正値テーブルから補正値(920)T(n)を読
み出しフレーム信号補正部に設定することにより受信装
置のフレーム信号が補正され同期保持される。
First, the correction value J 1 without rounding up and the correction value J 2 with rounding up are substituted into T (n) for the number of alternating repetitions C 0 , and then J 0 is substituted for the remaining number of frames.
In this way, the correction value table for 2N frames is completed, and the correction value (920) T (n) is read from the correction value table for each frame and set in the frame signal correction unit, so that the frame signal of the receiving device is corrected and synchronized. Retained.

【0058】次に、動作モード(913)を通常送受信動
作に切り替え後の動作について説明する。動作モード
(913)切り替え後も同様に2Nフレーム周期で受信信
号を受信し、時刻(t+4)、(t+6)……における
UWパタンを受信したときのタイマ値をそれぞれy(t+
4)、y(t+6)……とする。タイマ値y(t+4)をラッチ後、
2Nフレーム周期における送受信装置間のタイミング差
(912)をy(t+4)−y(t+2)として算出する。このとき
動作モード(913)によりセレクタ(914)は出力bを選
択するものとする。
Next, the operation after switching the operation mode (913) to the normal transmission / reception operation will be described. Even after switching the operation mode (913), similarly, the received signal is received at the 2N frame cycle, and the timer value when the UW pattern at the time (t + 4), (t + 6) ... Is received is y (t +).
4), y (t + 6) ... After latching the timer value y (t + 4),
The timing difference (912) between the transmitting and receiving devices in the 2N frame period is calculated as y (t + 4) −y (t + 2). At this time, the selector (914) selects the output b according to the operation mode (913).

【0059】ここで、フリップフロップ(918)に保持
されている全タイミング差(917)y(t0)とタイミング
差(912)y(t+4)−y(t+2)を加算することにより現時
点での全タイミング差(916)y(t1)を算出する。そし
て、2Nフレ−ムあたりの全タイミング差(914)y
(t1)を用いることにより補正値算出部(919)において
1フレーム毎の補正値(920)を算出する。タイマ値y
(t+6)をラッチ後、2Nフレーム周期における送受信装
置間のタイミング差(912)をy(t+6)−y(t+4)として
算出する。ここで、フリップフロップ(918)に保持さ
れている全タイミング差(917)y(t1)とタイミング差
(912)y(t+6)−y(t+4)を加算することにより、現時
点での全タイミング差(916)y(t2)を算出する。
Here, the total timing difference (917) y (t 0 ) held in the flip-flop (918) and the timing difference (912) y (t + 4) −y (t + 2) are added. The total timing difference (916) y (t 1 ) at the present time is calculated by. And the total timing difference per 2N frame (914) y
The correction value calculation unit (919) calculates the correction value (920) for each frame by using (t 1 ). Timer value y
After latching (t + 6), the timing difference (912) between the transmitting and receiving devices in the 2N frame period is calculated as y (t + 6) −y (t + 4). Here, by adding the total timing difference (917) y (t 1 ) held in the flip-flop (918) and the timing difference (912) y (t + 6) −y (t + 4), Calculate the total timing difference (916) y (t 2 ) in.

【0060】そして、2Nフレームあたりの全タイミン
グ差(914)y(t2)を用いることにより補正値算出部(9
19)において1フレーム毎の補正値(920)を算出す
る。以後、タイマ値y(t+8)、y(t+10)、y(t+12)……
となったときにも同様な動作を行なう。補正値算出処理
の動作は前述と同様である。
Then, by using the total timing difference (914) y (t 2 ) per 2N frame, the correction value calculation unit (9
In step 19), the correction value (920) for each frame is calculated. After that, timer values y (t + 8), y (t + 10), y (t + 12) ...
The same operation is performed when The operation of the correction value calculation process is the same as described above.

【0061】上記のように、本発明の第3の実施の形態
では、フレーム同期補正装置を、固定フレーム周期で受
信可能な制御信号に対して、外部から任意にフレーム数
を可変設定することにより、制御信号の受信間隔を設定
フレーム周期とする構成としたので、フレーム数を任意
に設定し制御信号の受信間隔を可変として、補正処理動
作を最小限に抑えて、装置の低消費電力化が実現でき
る。
As described above, according to the third embodiment of the present invention, the frame synchronization correction apparatus is capable of variably setting the number of frames from the outside with respect to the control signal receivable in the fixed frame period. Since the control signal reception interval is set as the set frame period, the number of frames is arbitrarily set and the control signal reception interval is variable to minimize the correction processing operation and reduce the power consumption of the device. realizable.

【0062】(第4の実施の形態)本発明の第4の実施
の形態は、固定フレーム数あるいは設定フレーム数あた
りのタイミング差を一時記憶し、既知パタンの検出有無
の情報を持つ既知パタン検出有無信号により、既知パタ
ン検出無のときに一時記憶したタイミング差を読み出す
ことを可能としたフレーム同期補正装置である。
(Fourth Embodiment) In the fourth embodiment of the present invention, the known pattern detection which temporarily stores the timing difference per fixed number of frames or the set number of frames and has the information on the presence / absence of detection of the known pattern. It is a frame synchronization correction device capable of reading the timing difference temporarily stored by the presence / absence signal when a known pattern is not detected.

【0063】図9は、本発明の第4の実施の形態のフレ
ーム同期補正装置のブロック図である。図9において、
1101は受信信号である。1102は基準クロックである。11
03はUWパタン検出部であり、受信信号(1101)からU
Wパタンが検出されたときに1105のUW検出パルスを発
生させる。1104は基準タイマであり、基準クロック(11
02)によりカウントされ1106のタイマ値を出力する。11
07はラッチ部であり、UW検出パルス(1105)により基
準タイマ(1104)のタイマ値(1106)を取り込む。1111
はタイミング差算出部であり、1108のラッチされたタイ
マ値と1123のタイミング基準値から受信装置と送信装置
とのタイミング差(1112)を算出する。
FIG. 9 is a block diagram of a frame synchronization correcting apparatus according to the fourth embodiment of the present invention. In FIG.
1101 is a received signal. 1102 is a reference clock. 11
03 is a UW pattern detection unit, which detects U from the received signal (1101)
When the W pattern is detected, the UW detection pulse 1105 is generated. Reference numeral 1104 is a reference timer, and a reference clock (11
It is counted by 02) and the timer value of 1106 is output. 11
Reference numeral 07 denotes a latch unit which takes in the timer value (1106) of the reference timer (1104) by the UW detection pulse (1105). 1111
Is a timing difference calculation unit, which calculates the timing difference (1112) between the receiving device and the transmitting device from the latched timer value of 1108 and the timing reference value of 1123.

【0064】1124はフリップフロップでタイミング差
(1116)をNフレーム周期分遅延させ、正のタイミング
差(1125)および負のタイミング差(1126)として出力
する。1127はセレクタで1113の動作モードにより入力a
の正のタイミング差(1125)および入力bの負のタイミ
ング差(1126)出力aを選択して出力する。1116は全タ
イミング差であり、1117のNフレーム周期遅延したタイ
ミング差と現時点のタイミング差の和により決定する。
1119は補正値算出部であり、Nフレームあたりの全タイ
ミング差(1116)から1フレームあたりの補正値(112
0)を算出する。1121はフレーム信号補正部であり、基
準クロック(1102)と補正値(1120)の設定によりフレ
ーム信号の生成および補正動作を行なう。
A flip-flop 1124 delays the timing difference (1116) by N frame cycles and outputs it as a positive timing difference (1125) and a negative timing difference (1126). 1127 is a selector for input a depending on the operation mode of 1113
The positive timing difference (1125) and the negative timing difference (1126) of the input b are selected and output. 1116 is the total timing difference, which is determined by the sum of the timing difference delayed by N frame periods of 1117 and the current timing difference.
Reference numeral 1119 denotes a correction value calculation unit, which calculates a correction value per frame (112
0) is calculated. Reference numeral 1121 denotes a frame signal correction unit, which generates and corrects a frame signal by setting a reference clock (1102) and a correction value (1120).

【0065】本発明の第4の実施の形態は、第2の実施
の形態で示した構成を基本としており、特徴としては、
Nフレームあたりの全タイミング差(1116)を格納する
ためのメモリ部(1133)を設けることにより、通信回線
断(UWパタン不検出時)が長時間継続したときにで
も、メモリから読み出したタイミング差から1フレーム
あたりの補正値が算出できる。
The fourth embodiment of the present invention is basically based on the configuration shown in the second embodiment, and has a characteristic feature.
By providing the memory unit (1133) for storing the total timing difference (1116) per N frames, the timing difference read from the memory even when the communication line disconnection (when the UW pattern is not detected) continues for a long time. From this, the correction value per frame can be calculated.

【0066】上記のように構成された本発明の第4の実
施の形態のフレーム同期補正装置の動作を、図10のタ
イミングチャートを用いて説明する。基本動作(UWパ
タンが検出可能な状態)では、第2の実施の形態で説明
したものと同様な動作である。本実施の形態では、UW
パタンが検出できている状態において、実際に算出され
たNフレームあたりのタイミング差(1116)を補正履歴
情報としてメモリに1個または複数個を格納している。
このことから、送受信間の回線が、異常状態になった場
合(UWパタンが不検出の時)、既知パタン検出部(11
03)から出力される既知パタン検出有無信号(1135)が
不検出状態を示し、セレクタ(1128)がメモリ側(入力
b)に切り替わる。これにより、補正履歴情報がメモリ
部から読み出され、UWパタンが不検出状態においても
実際のタイミングずれに対して極めて近い値で補正を行
なうことが可能となり、送受信装置間の同期状態を保持
することができる。回線状態が復旧後は、セレクタ(11
28)が入力aに切り替わり、回線正常状態で再びフレー
ム補正および同期処理を行なう。また、メモリ部の補正
履歴情報は順次更新し、補正履歴情報を最新のものにす
ることで回線異常状態に備える。
The operation of the frame synchronization correction apparatus of the fourth embodiment of the present invention configured as above will be described with reference to the timing chart of FIG. The basic operation (state in which the UW pattern can be detected) is the same operation as that described in the second embodiment. In the present embodiment, UW
In the state where the pattern is detected, one or a plurality of timing differences (1116) actually calculated per N frame are stored in the memory as correction history information.
Therefore, if the line between the transmitter and the receiver is in an abnormal state (when the UW pattern is not detected), the known pattern detector (11
The known pattern detection presence / absence signal (1135) output from 03) indicates a non-detection state, and the selector (1128) switches to the memory side (input b). As a result, the correction history information is read from the memory unit, and even when the UW pattern is not detected, correction can be performed with a value extremely close to the actual timing deviation, and the synchronization state between the transmitting and receiving devices is maintained. be able to. After the line status is restored, the selector (11
28) is switched to the input a, and the frame correction and the synchronization processing are performed again in the normal line state. In addition, the correction history information in the memory unit is sequentially updated, and the correction history information is updated to prepare for the line abnormality state.

【0067】上記のように、本発明の第4の実施の形態
では、フレーム同期補正装置を、固定フレーム数あるい
は設定フレーム数あたりのタイミング差を一時記憶し、
既知パタンの検出有無の情報を持つ既知パタン検出有無
信号により、既知パタン検出無のときに一時記憶したタ
イミング差を読み出す構成としたので、通信回線断(U
Wパタン不検出時)が長時間継続したときにでも、メモ
リから読み出したタイミング差から1フレームあたりの
補正値が算出でき、送信装置と受信装置の同期保持が実
現できる。
As described above, in the fourth embodiment of the present invention, the frame synchronization correction apparatus temporarily stores the timing difference per fixed frame number or set frame number,
Since the timing pattern temporarily stored when the known pattern is not detected is read by the known pattern detection presence / absence signal having the information on the presence / absence of the detection of the known pattern, the communication line disconnection (U
Even when the W pattern is not detected) continues for a long time, the correction value per frame can be calculated from the timing difference read from the memory, and synchronization between the transmitter and the receiver can be maintained.

【0068】[0068]

【発明の効果】以上のように、本発明では、補正処理を
1フレーム単位で実施するので、送信装置のフレーム信
号に対する受信装置のフレーム信号のタイミングジッタ
を最小に抑えることができるという効果が得られる。
As described above, according to the present invention, since the correction process is carried out on a frame-by-frame basis, the timing jitter of the frame signal of the receiving device with respect to the frame signal of the transmitting device can be minimized. To be

【0069】また、フレーム数を任意に設定し制御信号
の受信間隔を可変することにより、補正処理動作を最小
限に抑えられるので、装置の低消費電力化が実現できる
という効果が得られる。
Further, since the correction processing operation can be minimized by arbitrarily setting the number of frames and varying the reception interval of the control signal, there is an effect that the power consumption of the apparatus can be reduced.

【0070】また、通信回線断(UWパタン不検出時)
が長時間継続したときにでも、メモリから読み出したタ
イミング差から1フレームあたりの補正値が算出できる
ので、送信装置と受信装置の同期保持が実現できるとい
う効果が得られる。
Also, the communication line is disconnected (when no UW pattern is detected).
Since the correction value per one frame can be calculated from the timing difference read from the memory even when is continued for a long time, it is possible to achieve the effect that the transmitter and the receiver can be kept in synchronization.

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

【図1】本発明の第1の実施の形態のフレーム同期補正
装置の機能ブロック図、
FIG. 1 is a functional block diagram of a frame synchronization correction device according to a first embodiment of the present invention,

【図2】本発明の第1の実施の形態におけるタイミング
チャート、
FIG. 2 is a timing chart according to the first embodiment of the present invention,

【図3】本発明の第1の実施の形態におけるフローチャ
ート、
FIG. 3 is a flowchart according to the first embodiment of the present invention,

【図4】本発明の第1の実施の形態における補正処理に
よるタイミングジッタを示す図、
FIG. 4 is a diagram showing timing jitter due to a correction process according to the first embodiment of the present invention;

【図5】本発明の第2の実施の形態のフレーム同期補正
装置の機能ブロック図、
FIG. 5 is a functional block diagram of a frame synchronization correction device according to a second embodiment of the present invention,

【図6】本発明の第2の実施の形態におけるタイミング
チャート、
FIG. 6 is a timing chart according to the second embodiment of the present invention,

【図7】本発明の第3の実施の形態のフレーム同期補正
装置の機能ブロック図、
FIG. 7 is a functional block diagram of a frame synchronization correction device according to a third embodiment of the present invention,

【図8】本発明の第3の実施の形態におけるタイミング
チャート、
FIG. 8 is a timing chart according to a third embodiment of the present invention,

【図9】本発明の第4の実施の形態のフレーム同期補正
装置の機能ブロック図、
FIG. 9 is a functional block diagram of a frame synchronization correction device according to a fourth embodiment of the present invention,

【図10】本発明の第4の実施の形態におけるタイミン
グチャート、
FIG. 10 is a timing chart according to a fourth embodiment of the present invention,

【図11】従来のフレーム同期補正装置の機能ブロック
図、
FIG. 11 is a functional block diagram of a conventional frame synchronization correction device,

【図12】従来のフレーム同期補正装置におけるタイミ
ングチャートである。
FIG. 12 is a timing chart in a conventional frame synchronization correction device.

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

101,301,701,901,1101 受信信号 102,302,702,902,1102 基準クロック 103,303,703,903,1103 UW(既知)パタン検出部 104,304,704,904,1104 基準タイマ 105,305,705,905,1105 UW(既知)パタン検出パルス 106,306,706,906,1106 基準タイマのタイマ値 107,307,707,907,1107 ラッチ部 108,308,708,908,1108 ラッチした基準タイマのタイマ
値 109 UWパタン検出時刻のヒストグラム算出部 110 ヒストグラム算出結果 111 タイミング補正値検出部 112 補正値検出結果 113 タイミング許容値 114 フレーム信号生成部 115,322,722,922,1122 フレーム信号 311,711,911,1111 タイミング差算出部 312,712,912,1112 タイミング差 309,318,724,909,918,1124 フリップフロップ 316,716,916,1116,1134,1136 全タイミング差 314,727,914,1127,1128 セレクタ 310,317,717,725,726,910,917,1117,1125,1126 遅延し
たタイミング差 319,719,919,1119 補正値算出部 320,720,920,1120 補正値 321,721,921,1121 フレーム信号補正部 313,713,913,1113 動作モード 723,1123 タイミング基準値 315,915 タイミング差初期値 928 フレームパラメータ 929 フレーム数可変レジスタ 930 フレーム数可変レジスタ値 931 フレームカウンタ 932 フレームカウンタ値 1133 メモリ部 1135 既知パタン検出有無信号
101,301,701,901,1101 Received signal 102,302,702,902,1102 Reference clock 103,303,703,903,1103 UW (known) pattern detector 104,304,704,904,1104 Reference timer 105,305,705,905,1105 UW (known) pattern detection pulse 106,306,706,906,1106 Reference timer 107,907,907,107,907,107,907,107 1108 Latched reference timer timer value 109 UW pattern detection time histogram calculation unit 110 Histogram calculation result 111 Timing correction value detection unit 112 Correction value detection result 113 Timing allowable value 114 Frame signal generation unit 115,322,722,922,1122 Frame signal 311,711,911,1111 Timing Difference calculation unit 312,712,912,1112 Timing difference 309,318,724,909,918,1124 Flip-flop 316,716,916,1116,1134,1136 Total timing difference 314,727,914,1127,1128 Selector 310,317,717,725,726,910,917,1117,1125,1126 Delayed timing difference 319,719,920,1120,119,1320 Correction value 321,721,921,1121 Frey Signal correcting unit 313,713,913,1113 operation mode 723,1123 timing reference value 315,915 timing difference initial value 928 Frame Parameters 929 number of frames variable resistor 930 frame number variable register value 931 frame counter 932 frame counter value 1133 memory unit 1135 known pattern detecting presence signal

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 固定複数フレーム周期で伝送され同期タ
イミングが検出可能な制御信号に基づいて、送信装置の
フレームタイミングと受信装置のフレームタイミングの
タイミング差を算出する過程と、前記タイミング差の直
接値と積算値のいずれかを動作モードに応じて選択する
過程と、前記タイミング差の直接値または積算値を用い
て1フレーム毎の補正値を算出する過程と、前記1フレ
ーム毎の補正値を用いてフレームタイミング信号の補正
を行うことを特徴とするフレーム同期補正方法。
1. A process of calculating a timing difference between a frame timing of a transmitting device and a frame timing of a receiving device based on a control signal transmitted in a fixed multiple frame period and capable of detecting synchronous timing, and a direct value of the timing difference. And a cumulative value according to the operation mode, a step of calculating a correction value for each frame using the direct value of the timing difference or the cumulative value, and a step of using the correction value for each frame. A frame synchronization correction method, which comprises:
【請求項2】 前記1フレーム毎の補正値を算出する過
程において、前記タイミング差の有無を判定する過程
と、前記タイミング差の正負を判定する過程と、前記固
定フレーム周期あたりのタイミング差から均等に補正す
るための1フレームあたりの補正値を算出する補正値算
出過程とを備えることを特徴とする請求項1に記載のフ
レーム同期補正方法。
2. A method for calculating a correction value for each frame
The process of determining the presence or absence of the timing difference
And a step of determining whether the timing difference is positive or negative,
Corrects evenly from the timing difference per constant frame period
Correction value calculation to calculate the correction value per frame for
The process according to claim 1, further comprising a discharging process.
Lame synchronization correction method.
JP26227998A 1998-09-02 1998-09-02 Frame synchronization correction method and apparatus Expired - Fee Related JP3402451B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26227998A JP3402451B2 (en) 1998-09-02 1998-09-02 Frame synchronization correction method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26227998A JP3402451B2 (en) 1998-09-02 1998-09-02 Frame synchronization correction method and apparatus

Publications (2)

Publication Number Publication Date
JP2000078123A JP2000078123A (en) 2000-03-14
JP3402451B2 true JP3402451B2 (en) 2003-05-06

Family

ID=17373593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26227998A Expired - Fee Related JP3402451B2 (en) 1998-09-02 1998-09-02 Frame synchronization correction method and apparatus

Country Status (1)

Country Link
JP (1) JP3402451B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19944495C2 (en) * 1999-09-17 2002-01-03 Bosch Gmbh Robert Method for receiving radio signals over a radio channel
JP3673268B1 (en) * 2004-02-05 2005-07-20 シャープ株式会社 Jitter correction device
JP2012249040A (en) * 2011-05-27 2012-12-13 Hitachi Ulsi Systems Co Ltd Network connection reception side device and time synchronization system

Also Published As

Publication number Publication date
JP2000078123A (en) 2000-03-14

Similar Documents

Publication Publication Date Title
US5692015A (en) Coherent detector and a coherent detection method for a digital communication receiver
JP4128747B2 (en) Access method in channel hopping communication system
EP1598977A2 (en) Synchronization equipment
CA1279116C (en) Digital sequence polarity detection with adaptive synchronization
KR100591635B1 (en) Method and apparatus in a wireless communication system for facilitating detection of, and synchronization with, a predetermined synchronization signal
JP2666679B2 (en) Slot reception synchronization circuit
US7783311B2 (en) Wireless communications system, transmitting station, and receiving station
JP3402451B2 (en) Frame synchronization correction method and apparatus
US7016400B2 (en) Digital matched filter despreading received signal and mobile wireless terminal using digital matched filter
US6563886B1 (en) Bit timing synchronization device and a method for the same
EP2458756A2 (en) Node system and supervisory node
JP3923571B2 (en) Method and circuit for compensating an internal timing error of a mobile station
JP3421226B2 (en) Frame synchronization control device
US6956915B2 (en) Method of correcting frequency error
JP3308910B2 (en) Synchronous holding device
JP4826352B2 (en) Frame timing phase difference correction method and apparatus
JP3142205B2 (en) Frame synchronizer
JP3789276B2 (en) OFDM receiver
JP4489980B2 (en) Frame synchronization circuit
JP2550891B2 (en) Line switching device
US7424078B2 (en) Synchronous compensator adaptively defining an enable range for synchronous compensation
JP3751885B2 (en) Data transmission speed switching device
JP2546022B2 (en) Adaptive channel impulse response estimation method
JPH07203543A (en) Tdma frame synchronization method
JPH08256065A (en) Data communication equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees