JPS583342A - Flag synchronizing system - Google Patents

Flag synchronizing system

Info

Publication number
JPS583342A
JPS583342A JP56099665A JP9966581A JPS583342A JP S583342 A JPS583342 A JP S583342A JP 56099665 A JP56099665 A JP 56099665A JP 9966581 A JP9966581 A JP 9966581A JP S583342 A JPS583342 A JP S583342A
Authority
JP
Japan
Prior art keywords
flag
data
synchronization
signal
baseband signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP56099665A
Other languages
Japanese (ja)
Other versions
JPH0322739B2 (en
Inventor
Shigeo Shinada
品田 重男
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56099665A priority Critical patent/JPS583342A/en
Publication of JPS583342A publication Critical patent/JPS583342A/en
Publication of JPH0322739B2 publication Critical patent/JPH0322739B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To prevent the missing of data and to improve the reliability with a frequency drift of a base band signal, by discriminating the base band signal surely and performing flag synchronism. CONSTITUTION:The input of a base band signal BBS from an A/D conversion section 2 is discriminated with an internal input/output circuit IO1 of an input/ output processing section 3, data is obtained with a sampling pulse from a programmable timer module 5, demodulation is performed at each synchronizing signal clock from the module 5 and the result of discrimination is obtained. Next, the sum of the result of discrimination is obtained and a BBS signal value is inputted to a flag detecting section 4 with a synchronizing signal clock via a bus 7. If the synchronizing error is greater than a half period at the detecting section 4, the clock is split and the correcting operation corresponding to the BBS of the clock is performed, the sure flag synchornism is taken and the data missing due to frequency drift can be prevented for the BBS signal. A microcomputer is used for the processing section 3 and the detection section 4.

Description

【発明の詳細な説明】 本発明は、ディジタル信号処理形式による変復調装置に
おいて、ベースバンド信号値をサンプリングデータから
判定し、また、同期誤差を抽出して、フラグ同期を行う
丸めのフラグ同期方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a rounding flag synchronization method in which a baseband signal value is determined from sampling data, a synchronization error is extracted, and flag synchronization is performed in a modulation/demodulation device using a digital signal processing format. It is something.

例えば、P8K(周波数偏移変調)信号のディジタル信
号逃場による復調逃場を行う場合には、通常、その各復
調データについてm回(m〉2)のサンプリングを行い
、そのm回のテンブリングデータのうちの所定の1個の
サンプリング値を復調結果として採用する。
For example, when demodulating a P8K (frequency shift keying) signal by digital signal escape, each demodulated data is usually sampled m times (m>2), and the m times of tenbling is performed. One predetermined sampling value of the data is adopted as the demodulation result.

しかしながら、FSK信号を位相同期ループ回路(いわ
ゆる、PLL)等による復v48路で復調して得られた
ベースバンド信号は、その復調回路が一つジッタ等によ
って周波数ドリフトが生じ、これに伴なって復調結果に
データの欠落が生ずることがある。
However, the baseband signal obtained by demodulating the FSK signal using a demodulation path using a phase-locked loop circuit (so-called PLL), etc., suffers from a frequency drift due to jitter in one of the demodulation circuits. Data loss may occur in the demodulation result.

すなわち、ベースバンド信号の周波数ドリフトが規定値
よシ大きく、かつ、復調結果として採用されるべき所定
サンプリング位置がベースバンド信号の変化点に近い場
合には、特に1データの欠落が起とシ易い。
In other words, when the frequency drift of the baseband signal is larger than the specified value and the predetermined sampling position to be adopted as the demodulation result is close to the change point of the baseband signal, the loss of one data is particularly likely to occur. .

これを、Jl1図に示すベースバンド信号サングリング
の一例のタイムチf−)に従って説明する。
This will be explained according to the timing f-) of an example of baseband signal sampling shown in Fig. Jl1.

この例では、上述のm =x 4の場合を示し、ベース
バンド信号BB8(例えば、データト・・101・・・
#)の周期Tが規定よシ短く、かつ、ベースバンド信号
BB8の各データ値として採用すべきサンプリングパル
スSPPのデータ決定位置DPが、いずれも、データ“
0#の周期に含まれないので、サンプリングパルスSP
Pによるサンプリングデー、 タ8PDにおけるデータ
@O“の部分のデータが抽出されず、そのデータの欠落
が生ずることになる。
This example shows the case where m = x 4 as described above, and the baseband signal BB8 (for example, data...101...
The period T of #) is shorter than specified, and the data determination position DP of the sampling pulse SPP to be adopted as each data value of the baseband signal BB8 is the data "
Since it is not included in the period of 0#, the sampling pulse SP
The sampling data by P, the data of the data @O'' part in the data 8PD, are not extracted, resulting in the data being missing.

以上のことは、F8KI号の場合のみでなく、一般に、
周rIi数ドリフトを有するベースバンド信号について
常に起こプうるものである。
The above applies not only to the case of F8KI, but in general.
This is always the case for baseband signals that have a frequency rIi number drift.

し九がって、ベースバンド信号のサンプリングデータの
うち、ベースバンド信号の変化点に近いものは、周波数
ドリフトがある場合、上記Qような誤シが生じ易いので
、ベースバンド信号のデータ周期の中央付近のサンプリ
ング結果をベースバンド信号値として採用すべきものと
されている。
Therefore, if there is a frequency drift in the sampling data of the baseband signal that is close to the change point of the baseband signal, errors like the above Q are likely to occur, so the data period of the baseband signal is It is said that the sampling result near the center should be used as the baseband signal value.

一方、変復調at<いわゆる、モデムまえはDCE)は
、データ端末(いわゆる、DTE)に対し、得られ友復
謂結果とともに、これをDTEが読み取る丸めの同期信
号クロックを送出する必要があり、このクロックは、復
調結果によるベースバンド信号と同期していなければな
らず、DCEは、通常、これをエツジ同期方式ま九はフ
ラグ同期方式によって行うようにしている。
On the other hand, the modulator/demodulator AT (the so-called DCE before the modem) needs to send a rounded synchronization signal clock that is read by the DTE along with the obtained transmission result to the data terminal (so-called DTE). The clock must be synchronized with the baseband signal resulting from demodulation, and DCEs typically do this using edge synchronization or flag synchronization.

M2図は、従来のフラグ同期方式の一例においてデータ
欠落を生ずる場合のタイムチャートであって、普4i4
嫌にm=蚤の場合である。
Figure M2 is a time chart when data loss occurs in an example of the conventional flag synchronization method, and is
This is the case where m = flea.

ベースバンド信号BBS (例えば、データ“・・・1
011・・・”)は、サンプリングパルスS PPK、
よってサンプリングされ、そのサンプリングデータ8P
Dは、ベースバンド信号BB8の各データごとに、その
@11#に対してHlのパルスデータ11”、その10
”K対して5mのパルスデータ@IO#が得られている
Baseband signal BBS (for example, data "...1"
011...") is the sampling pulse S PPK,
Therefore, the sampling data 8P
D is for each data of baseband signal BB8, pulse data 11'' of Hl for @11#, and 10
``5m pulse data @IO# has been obtained for K.

クロックCLKは、ベースバンド信号BB8と同一周期
でTo′)て、そのパルス比が50%であり、パルス立
下ヤで復調結果DMDのデータ書替タインング声与える
とともに、そこから所定数後(第ム図では、3パルス目
、すなわち、1周期の中央位置)のサンプリングパルス
位置がデータ決定位置DPO,DPI、DP2.DP3
となるように設定されている。
The clock CLK has the same period as the baseband signal BB8 (To') and has a pulse ratio of 50%. At the falling edge of the pulse, the clock CLK gives the demodulation result DMD data rewriting signal, and after a predetermined number of seconds (To'), the pulse ratio is 50%. In the diagram, the sampling pulse position of the third pulse (that is, the center position of one cycle) is the data determination position DPO, DPI, DP2 . DP3
It is set so that

なお、同パルスの立上りは、DTEが復調結果DMDを
絖み取るときのタイミングを与えるものである。
Note that the rising edge of this pulse provides timing when the DTE compensates for the demodulation result DMD.

この場合、同期信号りaツクCLKには、ベースバンド
信号BB8に対して、同期誤差Tpがあシ、これを修正
しなければならない。
In this case, the synchronization signal CLK has a synchronization error Tp with respect to the baseband signal BB8, which must be corrected.

し九がって、ベースバンド信号BB8のデータ@0#が
、その前後のデータ“1#との関係において、変化点と
なっておシ、公知のごとく、ここでエツジ同期(フラグ
同期)が行われなければならない。
Therefore, the data @0# of the baseband signal BB8 becomes a changing point in relation to the data "1#" before and after it, and as is well known, edge synchronization (flag synchronization) occurs here. must be done.

すなわち、データ決定位置DPI、DP2で復調結果D
MDの最初の部分のデータ11”、10#を決定し先後
、同期信号クロックCLKの立上抄をA点からBatで
同期誤差Tpだけ遅らせなければならない。
That is, the demodulation result D at the data determination position DPI, DP2
After determining the data 11'' and 10# of the first part of the MD, the rise of the synchronization signal clock CLK must be delayed by the synchronization error Tp from point A to Bat.

この場合、同期誤差T?が1/2周期より大きいので、
ベースバンド信号BB8のデータ10”の次のデータ@
l#が欠落され、その次のデータ″″1′が復調結果D
MDのデータ11”となる。
In this case, the synchronization error T? Since is larger than 1/2 period,
Data following data 10” of baseband signal BB8 @
l# is dropped, and the next data ""1' is the demodulation result D
The MD data becomes 11''.

なお、同期信号クロックCLKが1回で同期I@−差T
p分だけ遅れるように修正されたため、復調結果DMD
のデータ@0#の継続時間は、本来の周期に上記同期誤
差TPを加え丸ものに延長されている二 このように、従来方式は、そのフラグ同期を行う丸めに
、データの欠落を生ぜざるを得ないことがらシ、受信デ
ータの信頼性上の問題となる。
Note that when the synchronization signal clock CLK is applied once, the synchronization I@-difference T
Since it was corrected to be delayed by p, the demodulation result DMD
The duration of the data @0# is extended to a full length by adding the above synchronization error TP to the original period.2 In this way, the conventional method does not cause data loss in the rounding that synchronizes the flag. If the data cannot be obtained, this will cause problems with the reliability of the received data.

本発明の目的は、上記した従来技術の欠点をなくシ、確
実にベースバンド信号値を判定してフラグ同期を行うこ
とができる72グ同期方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the drawbacks of the prior art described above and to provide a 72G synchronization method that can reliably determine baseband signal values and perform flag synchronization.

本発明の4I徽は、同期信号クロックの各周期でのすべ
てのサンプリング値から当該周期に対するベースバンド
信号値を決定するとともに、その同期誤差を抽出し、こ
れが当該半周期よシ大きいと龜は、その誤差を所定数の
後続周期に分割して同期をとることによシ、データ欠落
を生ぜしめないようにしてフラグによる同期を行いうる
ようにし九フラグ同期方式にある。
The 4I feature of the present invention is to determine the baseband signal value for each period of the synchronization signal clock from all the sampling values for that period, and extract the synchronization error, and if this is larger than the half period, the By dividing the error into a predetermined number of subsequent cycles and performing synchronization, the nine-flag synchronization method enables synchronization using flags without causing data loss.

なお、そのフラグ検出の原理について、第3図に示す本
発明に係るフラグ検出原塩のタイムチャートを参照して
以下に詳述する。
The principle of flag detection will be described in detail below with reference to the time chart of the flag detection raw salt according to the present invention shown in FIG.

まず、ベースバンド信号BB8の各周期についてm回の
サンプリングを行うものとし、ベースバンド信号の変調
速度をf−、サンプリングパルス8PPの速度をfly
とすれば、 fly−rnf@            ・・・(1
)となる。
First, it is assumed that sampling is performed m times for each period of the baseband signal BB8, the modulation rate of the baseband signal is f-, and the rate of the sampling pulse 8PP is fly.
Then, fly-rnf@...(1
).

また、同期信号クロックCLKの任意の時点を基準とし
て、そこからn個目の周期における各同期信号クロック
CLKごとについて、復調の判定結果を84(11)(
1−1〜m)とし、その周期におけるサンプリングデー
タ8PDの′″0”を歇をΔ(rl)とすれば、 Δ(n)xm−(8t(n)+−+8m(n))   
  ・・・(2)となり、これは、同期信号クロックC
LKの1周期内のどこにベースバンド1δ号BBSの復
調結果DMDのエッチ(立上シ、立下り)があるか示す
ものである。
Furthermore, with respect to an arbitrary point in time of the synchronization signal clock CLK as a reference, the demodulation determination result for each synchronization signal clock CLK in the n-th period from there is calculated using 84(11)(
1-1 to m), and if ``0'' of sampling data 8PD in that period is Δ(rl), then Δ(n)xm-(8t(n)+-+8m(n))
...(2), which is the synchronization signal clock C
This shows where within one cycle of LK there is an etch (rising edge, falling edge) of the demodulation result DMD of the baseband 1δ BBS.

良に、同期信号クロックCLKのn番目の周期に対する
ベースバンド信号値をd (n)とすれば、で定−され
るものとする。
Preferably, if the baseband signal value for the nth period of the synchronization signal clock CLK is d (n), then it is defined as -.

すなわち、各周期についてのm@のサンプリングデータ
SPDのうち、′″0”が大勢を占めているときは、そ
のベースバンド信号値de)として10#を採用し、@
1”が大勢を占めていると自は、そのベースバンド信号
値d (n)として11”を採用しようというものであ
る。
That is, when ``0'' occupies the majority of m@ sampling data SPD for each cycle, 10# is adopted as the baseband signal value de), and @
If 1" is the predominant value, I would like to adopt 11" as the baseband signal value d(n).

以下、フラグ検出方法についてa@するが、上記の式(
3a)〜(3C)の定義では、復調結果DMDにデータ
誤りが生ずるおそれがある。
The flag detection method will be explained below, but the above formula (
In the definitions 3a) to (3C), there is a possibility that a data error may occur in the demodulation result DMD.

すなわち、例えば、ベースバンド信号BB8が第3図中
(1)に示すごとくであって、それに対するサンプリン
グデータ8PDが同図に示すとおシでアルド、m=5o
場合、d (n −1) =1 、 j(n)=4から
dF)=0. ま九、Δ(n+1 )=5からd (n
+1 )=0がフラグ周期TFicついて重複して発生
する。
That is, for example, if the baseband signal BB8 is as shown in (1) in FIG. 3, and the sampling data 8PD for it is shown in the same figure, then
If d (n −1) = 1, j(n) = 4 to dF) = 0. From Δ(n+1)=5 to d(n
+1)=0 occurs repeatedly for each flag period TFic.

本発明においては、この点を考慮して確1iKフラグ検
出を行おうとするもので、次の条件を満足しているもの
とする。
The present invention attempts to perform accurate 1iK flag detection in consideration of this point, and assumes that the following conditions are satisfied.

b(1/ f s −1/(f m+Δfa ) )<
<Cm1a〕−x>・tap  、、、(4)すなわち jfs/fs<1/(b・m/((m/4 E −1)
−1) ・’(5)ここで、Δf−は、ベースバンド信
号BB8の最大周波数ドリフト幅、bは、フラグ信号の
ビット数、m≧8であるものとする。なお、〔〕は、ガ
クス記号で娶る。
b(1/fs-1/(fm+Δfa))<
<Cm1a]-x>・tap ,,, (4) That is, jfs/fs<1/(b・m/((m/4 E −1)
-1) (5) Here, Δf- is the maximum frequency drift width of the baseband signal BB8, b is the number of bits of the flag signal, and m≧8. In addition, [ ] means marriage with the gakusu symbol.

式(5)の意味するところは、1個のフラグに対して、
jIilrIL数ドリフトにニドリフトらぎ長がサンプ
リング周期1/flP o((m/4)−1>倍より小
さくなければならないということである。
Equation (5) means that for one flag,
This means that the drift length of the jIilrIL number drift must be smaller than the sampling period 1/flPo((m/4)-1> times).

この条件を満足すれば、次のようにしてフラグを′検出
することができる。すなわち、(1) d (n−1)
 =o 、 Δ(n)+m/z 、 d(n)−−・・
=d (1+5)=1で、カッ、O<j(n+5)くm
/2でおれば、フラグである。
If this condition is satisfied, the flag can be detected as follows. That is, (1) d (n-1)
=o, Δ(n)+m/z, d(n)---...
=d (1+5)=1, O<j(n+5)km
/2 is a flag.

(If)  d (n −1) −〇、 d(n)=−
・=d (n−1−5)=1.Δ(n−f−5) ”0
で、かつ、d(n+6)=0であれば、フックである。
(If) d (n −1) −〇, d(n)=−
・=d (n-1-5)=1. Δ(n-f-5) ”0
If d(n+6)=0, then it is a hook.

(iil)  Δ(”−1)場0.Δ(n)=−・・−
i (n + 41冨0で、かつ、Δ(fil5)≦[
:3ffl/4]であれば、フラグである。
(iii) Δ(”-1) field 0.Δ(n)=-...-
i (n + 41, 0, and Δ(fil5)≦[
:3ffl/4], it is a flag.

θV)上記(1)〜(fil)以外の場合は、フラグで
はない。
θV) Cases other than the above (1) to (fil) are not flags.

まず、フラグ検出について前記式(3C)に無関係の場
合が上記検出条件<1)、 (it)であって、その−
例として、ベースバンド信号BB8がHa図の波形(d
)、 (+りに示すごとき場合がある(これらに対する
サングリフグデータSPDの図示は省略しである。波形
(b)、 (C)についても同様。)。
First, regarding flag detection, the case that is unrelated to the above equation (3C) is the above detection condition <1), (it), and the -
As an example, the baseband signal BB8 has a waveform (d
), (+) There are cases as shown in (+) (The illustration of the Sangli puffer data SPD for these is omitted. The same applies to waveforms (b) and (C).)

すなわち、波形(d)の場合には、d(n−1)−o 
、 i (11−1)−s、 d(n)=−=d (n
+s )−1,Δ(11+5)−3であり、波形e)の
場合には、d(i−1)ツQ、Δ(n−1)==x8.
 Δ(n)=1 、 d(n)=、・=(i (n+5
 ) =1 、Δ(n+5)−0,d (1m+6)=
0.j (In+6)=σであって、上記検出条件(i
)、(II)を満足しておシ、フラグとして検出しても
よい。
That is, in the case of waveform (d), d(n-1)-o
, i (11-1)-s, d(n)=-=d (n
+s)-1, Δ(11+5)-3, and in the case of waveform e), d(i-1)〉Q, Δ(n-1)==x8.
Δ(n)=1, d(n)=,・=(i (n+5
) =1, Δ(n+5)−0,d(1m+6)=
0. j (In+6)=σ, and the above detection condition (i
), (II) may be satisfied and detected as a flag.

次に、前記式(3C)に関係する場合を考えると、この
場合には、前述のごとくデータmシの可能性があるが、
正規のフラグ、例えば、CCITT (国際電信電話諮
問委員会)の勧告T30に規定されている”01111
110”の8ビツトが送られてきた場合について説明す
る。
Next, considering the case related to the above formula (3C), in this case, there is a possibility that the data m is as described above, but
Regular flags, e.g. “01111” specified in CCITT (International Telegraph and Telephone Consultative Committee) Recommendation T30
A case will be explained in which 8 bits of 110'' are sent.

この場合、Δ(El−1)!qO,a(n)−Δ(1’
l+1 )−・・・=Δ(n+4 )=0が検出され、
前記式(3c)の関係があるものとする。
In this case, Δ(El-1)! qO,a(n)−Δ(1'
l+1)−...=Δ(n+4)=0 is detected,
It is assumed that the relationship expressed by the above formula (3c) exists.

この場合には、一般に次式の関係が成立する。In this case, the following relationship generally holds true.

b(t /l■−1/(fs+jf1号<k/fat 
     ・・・(6)であれば、J(fl)り0 、
 J (n+1 ) b@Qとして、1Δ(n)−4(
1+I)I≦k      、、、(7)ここで、$≦
b−2である。
b(t /l■-1/(fs+jf1<k/fat
...If (6), then J(fl)ri0,
J (n+1) b@Q, 1Δ(n)−4(
1+I) I≦k ,,, (7) Here, $≦
It is b-2.

すなわち、1Δ(El−1)−Δ(fi+5N≦[m/
4]−1、が成立することに注目して、d (It−z
)=o、 i (n−1)=m/l、 d(n−13−
1,Δ(1m) = ・=Δ(In+4>=Oが成立し
たとすると、 1Δ(rl−1)−Δ(n+5月≦(m/4)−xから
、 (m/4)+1≦j(11+5)≦(’In/4)−1
となp1フラグとして検出されることになる。
That is, 1Δ(El-1)−Δ(fi+5N≦[m/
4]-1, holds, and d (It-z
)=o, i (n-1)=m/l, d(n-13-
1, Δ(1m) = ・=Δ(In+4>=O, then 1Δ(rl-1)-Δ(n+May≦(m/4)-x, (m/4)+1≦j (11+5)≦('In/4)-1
This will be detected as the p1 flag.

を九、Δ(n−x)!qm/z、J(ロ)=・−・J 
(n+4)−0(D場合にも、j (n −1) >m
/2であッテ、d (n −1)−0,d(n)z・=
=d (n−)−4)=1であるとき、を丸線Δ(1m
+5)≦(3m/4〕のときも同様である。
9, Δ(n-x)! qm/z, J (b) =...J
(n + 4) - 0 (also in case of D, j (n - 1) > m
/2, d (n −1) −0, d(n)z・=
= d (n-)-4) = 1, then the round line Δ(1m
The same applies when +5)≦(3m/4).

更に、Δ(In+5)>[8m/4)の場合には、周波
数ドリフトによゐ纏み嘱が、 m/ 2− (ffl −C3m/4 )、)=(3m
/4 )−ffl/2≧(m/4)−1 によ!D、Cm/4)−1よシ大きくなるが、前記式(
4)tたは(5)の条件から、その最大縮み幅が〔m/
4)−1よシ小さくなって矛盾する。
Furthermore, when Δ(In+5)>[8m/4), the increase due to frequency drift is m/2-(ffl-C3m/4), )=(3m
/4)-ffl/2≧(m/4)-1! D, Cm/4)-1, but the formula (
4) From the condition of t or (5), the maximum shrinkage width is [m/
4) It becomes smaller than -1, which is contradictory.

し九がって、i (n−t )>m/zの場合も、正規
のフラグが送られてきていれば確実に検出される。
Therefore, even if i (nt)>m/z, it will be reliably detected if a regular flag is sent.

を九、Δ(n−1)<m/2の場合においても、d (
n−z)=o、 d (n−t )=1 、 d(n)
=・・・=d(In+4)−1となるので、J(In+
5)>(3m/4)でl、6ときは、d (n+5 )
 −0〇〈Δ(1+4)<m/2から前記検出条件(1
)によってフラグが検出され、Δ(In+5 )≦(3
m/4〕であるときは、前記検出条件(II)によって
フラグが検出される。
9, and even in the case of Δ(n-1)<m/2, d (
n-z)=o, d(nt)=1, d(n)
=...=d(In+4)-1, so J(In+
5)>(3m/4), l, 6, d (n+5)
-0〇〈Δ(1+4)<m/2, the above detection condition (1
), the flag is detected by Δ(In+5)≦(3
m/4], the flag is detected according to the detection condition (II).

−最後に、フラグ、でないものをフラグとして検出する
危険性がある場合も、前記式(3c)の条件を用いて判
定する場合であシ、以下、誤っ九7ツグ、例えば%  
”011111G”の7ピツトのものが送られてきたと
きには、Δ(1−1))0.Δ(n)=・・・=ノ(n
+4)=oであれば、前記式(4)ま九はω)によシ、 Δ(11+5)≧m−Cm/4)+1=(3m/4)+
1となシ、前記検出条件(lit)に適合せず、同(i
v)Kよって7ラグと判定されない。この岡としては、
第3図の波形(b)であシ、Δ(n −1)=8.j(
n+5 ) =7となっている。” また、娯つ九フラグとして、丙えば、”0011111
0 ”の8ビツトが送られてきた場合において、oくΔ
(n+5)<m/lとなる可能性がある例は、第3図の
波形(C)であ夛、この場合には、d(n−1)=0、
 ti(n)=−=d (n+s )−1であるが、j
 (n)=xx m/ 2であるので、前記検出条件(
1)に適合せf、fiiill (IV)によって7フ
グと判定されない。
-Finally, even if there is a risk of detecting something that is not a flag as a flag, the condition of formula (3c) above should be used for determination.
When "011111G" with 7 pits was sent, Δ(1-1))0. Δ(n)=...=ノ(n
If +4)=o, the equation (4) is based on ω), and Δ(11+5)≧m−Cm/4)+1=(3m/4)+
1, it does not meet the detection condition (lit) and the same (i
v) It is not determined to be 7 lags due to K. As this Oka,
Waveform (b) in FIG. 3 is used, Δ(n −1)=8. j(
n+5)=7. ” Also, as a fun nine flag, “0011111
When 8 bits of 0” are sent, o Δ
An example of the possibility that (n+5)<m/l is the waveform (C) in Figure 3. In this case, d(n-1)=0,
ti(n)=-=d(n+s)-1, but j
(n)=xx m/2, so the detection condition (
1) and is not determined to be 7 blowfish by f, fiiill (IV).

以下、本発明の実施例を図に基づいて説明する。Embodiments of the present invention will be described below with reference to the drawings.

第4図は、本発明に係るフラグ同期方式の一実施111
K>ける主要部のブロック図、第S図は、そのタイムチ
ャート、第6図線、同フローチャートである。
FIG. 4 shows an implementation 111 of the flag synchronization method according to the present invention.
Figure S is a block diagram of the main parts of the system, and Figure S is its time chart, Figure 6 line, and its flowchart.

ここで、1は、ベースバンド信号BB8をアナログ変調
信号に変換して回線LINEへ送出するディジタル/ア
ナログ変換部CD/A)、2は、回線LINICからア
ナログ変調波を受信して、ベースバンド信号BBSK変
換するアナログ/ディジタル変換部(A/D)、aは、
ベースバンド信号BBSのデータ(ベースバンド信号値
)を判定し、同期誤差を抽出し、ディジタル信号処理方
式によって所定の処理を行う入出力処理部、4は、同じ
くディジタル信号処理方式による7ラグ検定部であって
、この両者は、それぞれ、例えば、CPUI 、CPU
2 (中央処理回路)、ROMI。
Here, 1 is a digital/analog converter CD/A) that converts the baseband signal BB8 into an analog modulated signal and sends it to the line LINE, and 2 is a baseband signal that receives the analog modulated wave from the line LINIC. The analog/digital converter (A/D) that performs BBSK conversion, a, is
An input/output processing unit that determines the data (baseband signal value) of the baseband signal BBS, extracts synchronization errors, and performs predetermined processing using a digital signal processing method; 4 is a 7-lag verification unit that also uses a digital signal processing method; These two are, for example, CPUI and CPU, respectively.
2 (central processing circuit), ROMI.

ROM2 (リードオンリメモリ)、RAMI。ROM2 (read only memory), RAMI.

RAM2(ランダムアクセスメモリ)、IOI。RAM2 (random access memory), IOI.

+02 (内部入出力回路)等からなる1イクロコンピ
ユータを利用したもの、5は、各種タイインクパルスを
発生するPTM(プログラマプルタイマモジー−ル)、
6は、外−人出力部(10)、7は、データ、アドレス
用のパス、8は、DTgに対するインターフェースパス
である。
+02 (internal input/output circuit), etc. 1 uses a microcomputer, 5 is a PTM (programmable timer module) that generates various tie ink pulses,
6 is a foreign output unit (10), 7 is a path for data and address, and 8 is an interface path for the DTg.

まず、データ判定・同期誤差抽出の動作の説明をする。First, the operation of data judgment and synchronization error extraction will be explained.

入出力処理部3は、そのIOIヘアナログ/ディジタル
変換部2からベースバンド1号BBS(例えば、′・・
・101・・・”)が入力されたか否かを判断しく第6
図(a)のブロック10)、それが入力されていると、
PTM5から供給されるサンプリン#Pによってサンプ
リングデータ8PDを得て、これをPTM5から供給さ
れる同期信号クロックCLKごとに復調し、その判定結
果8i(n)を求める(同前ブロック11)。
The input/output processing section 3 converts the analog/digital conversion section 2 to the IOI from the baseband No. 1 BBS (for example, '...
・101...”) is inputted or not.
Block 10) in figure (a), if it is input,
Sampling data 8PD is obtained by sample #P supplied from PTM5, and demodulated for each synchronization signal clock CLK supplied from PTM5, and the determination result 8i(n) is obtained (block 11).

次いで、判定結果5t(11)の和を求め(同前ブロッ
ク12)、必要な所定個数m(ベースバンド信号の各周
期ごとのサンプリング数<、JIE s図では、Ifl
 :l+10 )だけの和をとシ終つ九かを判断する(
同前ブロック13)。
Next, the sum of the judgment results 5t(11) is calculated (block 12), and the required predetermined number m (the number of samplings for each period of the baseband signal <, in the JIE s diagram, Ifl
:l+10) and judge whether the sum is 9 or not (
Same as previous block 13).

これが科了すると、上記の和とm/2を北壁しく同前ブ
ロック14)、その結果に応じ、それぞれ、ベースバン
ド信号値d (n)を所定値にする(同前ブロック15
,16.17)。
When this is completed, the above sum and m/2 are added to the north wall (block 14), and the baseband signal value d (n) is set to a predetermined value (block 15).
, 16.17).

また、上記mからブロック13における和を減算し、こ
れをサンプリングデータ8PDの幽該周期の″0”の歇
Δ―)としく同前ブロック18)、ブロック15,16
.17で求め九d (n)とともにパス7を介してフラ
グ検定部4へ出力しく同前ブロック19)、以上の動作
を各周期ごとに繰返す。
Also, subtract the sum in block 13 from the above m, and use this as the interval of "0" of the sampling data 8PD, and block 18), blocks 15, 16
.. In step 17, the obtained value is output together with d(n) to the flag verification unit 4 via path 7 (block 19), and the above operation is repeated every cycle.

なお、同期信号クロックCLKは、第(図に示すごとく
、ベースバンド信号BB8に対して同期−差Tpを有す
るので、これも検出してフラグ検定部4へ送出しておく
Note that, as shown in the figure, the synchronization signal clock CLK has a synchronization difference Tp with respect to the baseband signal BB8, so this is also detected and sent to the flag verification section 4.

これに対して、フラグ検定部4は、半周期よシ大きい同
期誤差TPを修正するため、例えば、以後の同期信号ク
ロックCLKのパルスを順次に2回に分割してτ1.T
2だけ縮めるので、同期誤差TPが半周期より大きくて
も、ベースバンド信号BB8のデータ10#の次の@1
#が欠8.落されることなく、正常な復調結果DMDが
得られ、D’l’Eへ送出される。
On the other hand, in order to correct the synchronization error TP which is larger than half a cycle, the flag verification section 4 sequentially divides the subsequent pulses of the synchronization signal clock CLK into two pulses, τ1. T
Since it is reduced by 2, even if the synchronization error TP is larger than half a period, the next @1 of data 10# of baseband signal BB8
# is missing8. A normal demodulation result DMD is obtained without being dropped and sent to D'l'E.

なお、同期信号クロックCLK、データ決定位置DPO
〜pP3等の他の作用については、第2図で説明したも
のと全く同様である。
Note that the synchronization signal clock CLK, data determination position DPO
Other effects such as ~pP3 are exactly the same as those explained in FIG. 2.

次に、フラグ検定部4における同期動作、フラグ検出動
作について更に詳細に説明をする。
Next, the synchronization operation and flag detection operation in the flag verification section 4 will be explained in more detail.

誤差の修正動作の各過程に応じ、同期修正用のビット表
示、(表示1)、(表示2)、(表示3)を設けている
Bit displays for synchronization correction (display 1), (display 2), and (display 3) are provided according to each process of error correction operation.

すなわち、(表示1)は、上記同期誤差が半周期よシ大
きい場合において、例えば、これを2回に分割して修正
するとき、前周期で同期信号クロックCLKを〔Δ(r
l)/2)だけ縮めである、その次の周期であるか否か
を表示するもの、(表示2)は、前述の検出条件(1)
、(旧によってフラグ検出を行っであるか否かを表示す
るもの、(表示3)は、同検出条件(Iil)を満足し
ているか否かを表示するものである。
In other words, (display 1) shows that when the synchronization error is larger than half a period, for example, when the synchronization error is divided into two times and corrected, the synchronization signal clock CLK is changed to [Δ(r
(Display 2) indicates whether or not the next cycle is shortened by l)/2) under the above-mentioned detection condition (1).
, (displays whether or not flag detection has been performed by old) (Display 3) indicates whether or not the same detection condition (Iil) is satisfied.

以下、第3図のn番目の周期でデータd (n) 。Hereinafter, data d(n) is generated at the nth period in FIG.

Δ(n)が入力されてお!D、(1m+1)番目の周期
についてフラグ検出を行い、同期動作を行うものとして
説明する。
Δ(n) has been input! The following description assumes that flag detection is performed for the (1m+1)th cycle and a synchronous operation is performed.

まず、(表示1)が11#で娶るか否かを判定しく第6
図伽)のブロック2G)、”1”であれば、同期信号ク
ロックCLKをΔ(fi−1)−(Δ(n−1)/2)
だけ縮ませた後(同前ブロック21)、@1“でなけれ
ば直ちに、データd (n) 、Δ(n)を読み出し、
前述のフラグ検出条件(1)、(if)を満すときは、
(表示2)をセットする(同前ブロック22)。
First, (display 1) is 11# to judge whether or not to get married.
If block 2G) in Figure 3) is "1", the synchronization signal clock CLK is set to Δ(fi-1)-(Δ(n-1)/2).
(block 21), immediately read the data d (n) and Δ(n) if it is not @1",
When the flag detection conditions (1) and (if) described above are satisfied,
(Display 2) is set (block 22).

次に、(表示3)が11#であるか否かを判定(同前ブ
ロック23)、″1”であると場合において、更に、デ
ータがΔ(n)≦Cam/4)であるか否かを判定しく
同前°ブロック24)、そうでないときは、(表示3)
をクリアする。
Next, it is determined whether (display 3) is 11# (block 23), and if it is "1", it is further determined whether the data is Δ(n)≦Cam/4). If not, check (Display 3).
Clear.

これによシ、上記ブロック23の判定結果で(表示3)
がI″1”でない場合とともに、(表示2)が@1#で
あるか杏かを判定しく同前ブロック26)、’″1#で
あるとき、および上記ブロック24における判定結果が
否であるときには、デpW’(n)≧−/2であるか否
かを判定する(同前ブロック27)。
Accordingly, with the judgment result of block 23 above (display 3)
In addition to the case where is not I''1'', it is necessary to judge whether (display 2) is @1# or anzu (block 26), when it is '''1#, and the judgment result in block 24 is negative. Sometimes, it is determined whether or not the depth pW'(n)≧-/2 (block 27).

その判定条件が満足されていれば、同期信号クロックC
LKtm−Δ(n)だけ縮ませる(同前ブロック28)
If the judgment condition is satisfied, the synchronization signal clock C
Shrink by LKtm-Δ(n) (block 28 in the same way)
.

判定結果が否であるときには、同期信号クロックCLK
を〔Δm/2〕だけ縮ませた後(同前ブロック)、(表
示1)をセットする(同前ブロック30)。
When the determination result is negative, the synchronization signal clock CLK
After shrinking by [Δm/2] (previous block), (display 1) is set (previous block 30).

ま九、上記ブロック26の判定結果が否である場合にオ
イテ、Δ(n−5)’Ice、Δ(1−4)=・・・=
Δ(n)=0であるときには、(表示3)をセットする
(同前ブロック31)。
9. If the judgment result of block 26 is negative, then Δ(n-5)'Ice, Δ(1-4)=...=
When Δ(n)=0, (display 3) is set (block 31).

以上の各ブロック28,30.31の動作の終了によシ
、次の周期の動作準備としてデータd(n+1)、Δ(
1m+1)を入力し、この周期の動作を終了する(同前
ブロック32)。
Upon completion of the operations of the blocks 28, 30, and 31, data d(n+1), Δ(
1m+1), and the operation of this cycle is ended (block 32 in the same example).

このようKして、各周期ごとに7ラグ検出を行うととも
に、同期信号クロックCLKの同期修正を行う。
In this way, seven lags are detected every cycle, and the synchronization of the synchronization signal clock CLK is corrected.

なお、以上の同期修正は、2周期にわたって分割して行
うようにしているが、これは、設計上の都合によって3
周期以上にわたって分割して行うことができることは明
らかである。
Note that the above synchronization correction is performed in two cycles, but due to design reasons, this is done in three cycles.
It is clear that this can be done in divisions over more than one period.

以上、詳11に説明したように、本発明によれば、確実
にベースバンド信号値を判定してフラグ同期管行うこと
ができるので、ベースバンド信号の周波数ドリフト等に
よってデータが欠落することがなく、フラグ同期方式の
信頼性向上に顕著な効果が得られる。
As explained above in detail 11, according to the present invention, it is possible to reliably determine the baseband signal value and perform flag synchronization, so data is not lost due to frequency drift of the baseband signal, etc. , a remarkable effect can be obtained in improving the reliability of the flag synchronization method.

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

!s1図は、ベースバンド信号サンプリングの一例のタ
イムチャート、第2図は、従来の7ラグ同期方式の一的
においてデータ欠落を生ずる場合のタイムチャート、第
3図は、本発明に係るフラグ検出原理のタイムチャート
、第4図は、本発明に係るフラグ同期方式の一実施例に
おける主要部のブロック図、第5図は、そのタイムチャ
ート、第6図は、同70−チイートである。 1・・・ディジタル/アナログ変換部、2・・・アナロ
グ/ディジタル変換部、3・・・入出力処1111.4
・・・フラグ検定部、5・・・プログラマブルタイ!モ
ジュール、6・・・外部入出力部、7・・・パス、8・
・・インター(ほか1名J 茅4 口 !!P50
! Figure s1 is a time chart of an example of baseband signal sampling, Figure 2 is a time chart of a case where data loss occurs in the conventional 7-lag synchronization method, and Figure 3 is a flag detection principle according to the present invention. FIG. 4 is a block diagram of the main part of an embodiment of the flag synchronization method according to the present invention, FIG. 5 is a time chart thereof, and FIG. 6 is a 70-cheat diagram. 1... Digital/analog conversion section, 2... Analog/digital conversion section, 3... Input/output processing 1111.4
...Flag verification department, 5...Programmable tie! Module, 6... External input/output section, 7... Path, 8.
...Inter (1 other person J Kaya 4 mouths!! P50

Claims (1)

【特許請求の範囲】 1、ディジタル信号処理形式による変復調装置のフラグ
同期方式において、同期信号クロックの各周期でのすべ
てのサンプリング値から尚該周期に対するベースバンド
信号値を決定するとともに、その同期−差を抽出し、こ
れが癲該牛周期より大きいと亀は、その誤差を所定数の
後続周期に分割して同期をとることによシ、データ欠落
を生ぜしめないようにして72グによる同期を行いうる
ようにすることを特徴とするフラグ同期方式。 2、特許請求のlll5第1項記載のものにおいて、変
復調装置の入出力処理部およびフラグ検定部はマイクロ
コンピュータを利用して構成したものである72グ同期
方式。
[Claims] 1. In a flag synchronization method for a modulation/demodulation device using a digital signal processing format, a baseband signal value for each cycle is determined from all sampling values in each cycle of a synchronization signal clock, and the synchronization - The turtle extracts the difference, and if it is larger than the corresponding cycle, the turtle divides the error into a predetermined number of subsequent cycles and synchronizes, thereby avoiding data loss. A flag synchronization method is characterized in that it allows the following operations to be performed. 2. A 72-gram synchronization system according to claim 15, in which the input/output processing section and the flag verification section of the modulation/demodulation device are configured using a microcomputer.
JP56099665A 1981-06-29 1981-06-29 Flag synchronizing system Granted JPS583342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56099665A JPS583342A (en) 1981-06-29 1981-06-29 Flag synchronizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56099665A JPS583342A (en) 1981-06-29 1981-06-29 Flag synchronizing system

Publications (2)

Publication Number Publication Date
JPS583342A true JPS583342A (en) 1983-01-10
JPH0322739B2 JPH0322739B2 (en) 1991-03-27

Family

ID=14253326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56099665A Granted JPS583342A (en) 1981-06-29 1981-06-29 Flag synchronizing system

Country Status (1)

Country Link
JP (1) JPS583342A (en)

Also Published As

Publication number Publication date
JPH0322739B2 (en) 1991-03-27

Similar Documents

Publication Publication Date Title
JP2641999B2 (en) Data format detection circuit
JP2701789B2 (en) Full duplex transmission circuit
JP2982731B2 (en) Synchronous signal detection method
US4330862A (en) Signal characteristic state detector using interval-count processing method
JPS583342A (en) Flag synchronizing system
EP0530030B1 (en) Circuit for detecting a synchronizing signal in frame synchronized data transmission
EP0299265A2 (en) Receiver synchronization in encoder/decoder
US4962509A (en) Code violation detection circuit for use in AMI signal transmission
JP2957489B2 (en) 4-level FSK receiver
JPH0332182A (en) Teletext decoder
CA2099838C (en) Method of extracting data words from a binary serial bit stream
TWI230000B (en) Caller-demodulation apparatus and method using multiple thresholds
JP2856939B2 (en) Data receiving method
JPS592417B2 (en) Communication synchronization method
JPH0738535A (en) Noise removing circuit
JP3001414B2 (en) Code error correction device
JP3048866B2 (en) Automatic data rate recognition circuit
JPH0357349A (en) Line speed detection system
US6307904B1 (en) Clock recovery circuit
JPH01265740A (en) Bit synchronization system
JPH0537508A (en) Pulse width distortion correction circuit for start-stop signal
JPS60126941A (en) Code synchronization system
KR20010028886A (en) fast detection method for data rate
JPS5916440A (en) Symbol synchronizing device
JP3191587B2 (en) Reception timing switching circuit