JPH03195227A - Spread spectrum code synchronizing circuit - Google Patents

Spread spectrum code synchronizing circuit

Info

Publication number
JPH03195227A
JPH03195227A JP1335707A JP33570789A JPH03195227A JP H03195227 A JPH03195227 A JP H03195227A JP 1335707 A JP1335707 A JP 1335707A JP 33570789 A JP33570789 A JP 33570789A JP H03195227 A JPH03195227 A JP H03195227A
Authority
JP
Japan
Prior art keywords
input signal
code
circuit
period
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1335707A
Other languages
Japanese (ja)
Inventor
Tadashi Nakamura
正 中村
Atsushi Yamashita
敦 山下
Takayuki Ushiyama
牛山 隆幸
Noboru Iizuka
昇 飯塚
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1335707A priority Critical patent/JPH03195227A/en
Publication of JPH03195227A publication Critical patent/JPH03195227A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the time up to synchronization establishment stably by utilizing principles such that an inverse spread code (M series code) synchronously with an input signal is immediately obtained when the input signal fetched to a shift register as an initial value has no error and the signal '0' is subject to spread modulation. CONSTITUTION:An input signal is given to one data input of a selection means 10. A circuit means 12 is provided with a shift register 120 and fetches an input signal sequentially when the selection means 10 selects the input signal and an M series code generator in a path of the selection means 10 is formed when other input is selected and generates an inverse spread code (M series code) by using the fetched value as the initial value. A correlation verification means 14 calculates the degree of the correlation between the inverse spread code and the input signal. A control means 16 controls the selection means 10 to input an input signal into the circuit means 12 as an initial value and selects the selection means 10 to form the M series code generator with the circuit means 12, and selects the selection means again to set an initial value to the circuit means 12 when an output of the correlation verification means 14 represents that no correlation is present between the inverse spread code and the input signal.

Description

【発明の詳細な説明】 〔概 要〕 スペクトラム拡散符号同期回路に関し、安定で、かつ同
期確立までの時間を短かくすることを目的とし、 一方のデータ入力に入力信号が接続された2つのデータ
入力と該2つのデータ入力のいずれか一方を選択するた
めの選択入力とを有する選択手段と、該選択手段が該一
方の人力を選択したとき該入力信号をとり込み、他方の
入力を選択したとき該選択手段の経路を含むM系列発生
器であって該取り込まれた値を初期値とするM系列符号
を逆拡散用符号として発生するM系列発生器を形成する
回路手段と、該逆拡散用符号と該入力信号との相関の程
度を算出して出力する相関検証手段と、該選択手段に該
人力信号を選択せしめ、その後、該(4) 選択手段を切換えて該回路手段とともにM系列発生器を
形成せしめ、該相関検証手段の出力が該逆拡散用符号と
入力信号とに相関がないことを示すとき、再度該選択手
段を切換えて該回路手段に初期値を設定する制御手段を
具備して構成する。
[Detailed Description of the Invention] [Summary] The purpose of this invention is to provide a spread spectrum code synchronization circuit that is stable and shortens the time required to establish synchronization. selection means having an input and a selection input for selecting one of the two data inputs, and when the selection means selects the one manual input, the selection means takes in the input signal and selects the other input; circuit means for forming an M-sequence generator that includes a path of the selection means and generates an M-sequence code having the captured value as an initial value as a despreading code; (4) correlation verification means for calculating and outputting the degree of correlation between the input signal and the input signal; and the selection means selecting the human input signal; control means for switching the selection means again and setting an initial value in the circuit means when the output of the correlation verification means indicates that there is no correlation between the despreading code and the input signal; Equip and configure.

[産業上の利用分野] 本発明は、スペクトラム拡散方式により拡散変調された
信号を、逆拡散するために入力信号と同期した逆拡散用
符号を発生するスペクトラム拡散符号同期回路に関する
[Field of Industrial Application] The present invention relates to a spread spectrum code synchronization circuit that generates a despreading code synchronized with an input signal in order to despread a signal spread modulated by a spread spectrum method.

スペクトラム通信方式は秘話性に優れており、かつ雑音
や干渉の影響をうけにくいことから、最近では電力線を
利用した通信や、衛星通信システムへの採用が検討され
ている。本発明は、この方式により符号化された信号を
逆拡散して原データを復元するための逆拡散用符号を発
生するスペクトラム拡散符号同期回路に言及する。
Since the spectrum communication method has excellent communication privacy and is less susceptible to noise and interference, its adoption in communication using power lines and satellite communication systems has recently been considered. The present invention refers to a spread spectrum code synchronization circuit that generates a despreading code for despreading a signal encoded by this method to restore original data.

(5) (従来の技術〕 スペク1〜ラム拡散(SS)通信においては、送信側で
データ1ビツトに対してそのデータのビット速度の数百
から数百万倍のビット速度で、データの1ビツトの期間
を1周期として繰り返すランダム(PN)符号により拡
散変調を行なっている。
(5) (Prior Art) In Spectrum Spread (SS) communication, the transmitting side processes one bit of data at a bit rate several hundred to several million times the bit rate of that data. Spread modulation is performed using a random (PN) code that repeats each bit period as one cycle.

受信側では、送信側と同一周波数・同一のシーケンスで
連続するPN符号を発生し、その周波数および位相を調
整して受信信号と同期させて逆拡散用符号をつくり、そ
れによって受信信号を逆拡散することによって拡散変調
前の信号を得ている。
On the receiving side, a continuous PN code is generated at the same frequency and in the same sequence as the transmitting side, and its frequency and phase are adjusted and synchronized with the received signal to create a despreading code, thereby despreading the received signal. By doing this, the signal before spread modulation is obtained.

第5図には、説明を簡単にするために第6図に示す構成
の3段のシフトレジスタを存するPN符号発生器によっ
て発生される23−1=7ビ、2トの周期を有するPN
符号によって7倍の拡散変調を行なう場合の、拡散変調
前の信号((A)欄)、PN符号((B)欄)、および
拡散変調した信号((C)欄)がされている。
In order to simplify the explanation, FIG. 5 shows a PN code generator having a period of 23-1=7 bits and 2 bits, which is generated by a PN code generator having a three-stage shift register configured as shown in FIG.
A signal before spread modulation (column (A)), a PN code (column (B)), and a signal after spread modulation (column (C)) are shown when seven times spread modulation is performed using a code.

3段のシフトレジスタを有するPN発生器が発生するP
N符号((B)欄)は2’−1=7ビツト(6) の周期で連続しており、変調前の信号((A欄)の1ビ
ットの期間(Toで表わす)と一致している。
P generated by a PN generator with a three-stage shift register
The N code (column (B)) is continuous with a period of 2'-1 = 7 bits (6), and coincides with the 1-bit period (represented by To) of the signal before modulation (column A). There is.

拡散変調は両者の排他的論理和をとることによって行な
われる。したがって、拡散変調後の信号((C)欄)は
原信号が1である期間においてはPN符号の1周期を反
転したパターンであり、原信号がOである期間において
はPN符号そのものとなっている。
Spread modulation is performed by calculating the exclusive OR of both. Therefore, the signal after spread modulation (column (C)) has a pattern that is the inversion of one cycle of the PN code during the period when the original signal is 1, and becomes the PN code itself during the period when the original signal is O. There is.

受信側においては第6図に示すPN符号発生器で第5図
(B)欄に表わすPN符号を発生し、受信信号との相関
が最大となる様にPN符号の周波数と位相を調整して逆
拡散用符号とし、受信信号との排他的論理和をとって拡
散変調前の信号を得ている。
On the receiving side, the PN code shown in column (B) of Fig. 5 is generated by the PN code generator shown in Fig. 6, and the frequency and phase of the PN code are adjusted so that the correlation with the received signal is maximized. This is used as a despreading code, and an exclusive OR with the received signal is performed to obtain a signal before spreading modulation.

第7図はこの逆拡散用符号を得るための同期回路として
代表的な、遅延ロックループ(DLL)回路を表わして
いる。
FIG. 7 shows a typical delay locked loop (DLL) circuit as a synchronization circuit for obtaining this despreading code.

n段のシフトレジスタ57を有するPN符号発生器56
からは2木の出力が取り出される。それらはシフトレジ
スタ57の隣接する段から取り出される(7) ので一方の位相が他方よりも1ビツト遅延したPN符号
となる。乗算器50および51において入力信号とこれ
ら2つのPN符号との乗算がとられ、それぞれ包路線検
波器52および53を通過することにより信号の包路線
の振幅を表わす信号となる。
PN code generator 56 having an n-stage shift register 57
The output of two trees is extracted from . They are taken out from adjacent stages of the shift register 57 (7), resulting in a PN code in which one phase is delayed by one bit than the other. The input signal is multiplied by these two PN codes in multipliers 50 and 51, and passes through envelope detectors 52 and 53, respectively, to produce a signal representing the amplitude of the envelope of the signal.

包路線検波器52および53の出力は入力信号とPN符
号との相関関数となる。減算器54において包路線検波
器52の出力から包絡線検波器53の出力が減算され、
その出力で電圧制御発振器55の出力の周波数が制御さ
れる。電圧制御発振器55の出力はPN発生器56ヘク
ロツクとして供給される。
The outputs of the envelope line detectors 52 and 53 are correlation functions between the input signal and the PN code. A subtracter 54 subtracts the output of the envelope detector 53 from the output of the envelope detector 52,
The frequency of the output of the voltage controlled oscillator 55 is controlled by the output. The output of voltage controlled oscillator 55 is provided as a clock to PN generator 56.

PN符号の性質により包路線検波器52の出力は第8図
(A)欄に表わす様に入力信号とPN符号との相関がと
れている点で最大となりその付近から離れると一定にな
る。包絡線検波器53の出力も同様であるが、PN符号
の1クロック分遅延されているので第8図(B)欄に表
わす様に、1クロック分ずれた形となる。したがって、
それらの差をとると(C)欄に示す様に両ピークの中点
(黒丸で示す)をはさんで相関関数が線形となる部分(
8) が存在するので、この部分で電圧制御発振器55の周波
数が制御されて同期が維持される。
Due to the nature of the PN code, the output of the envelope line detector 52 reaches a maximum at a point where the input signal and the PN code are correlated, as shown in column (A) of FIG. 8, and becomes constant as it moves away from that point. The output of the envelope detector 53 is similar, but is delayed by one clock of the PN code, so it is shifted by one clock as shown in the column (B) of FIG. therefore,
If we take the difference between them, as shown in column (C), the area where the correlation function is linear across the midpoint of both peaks (indicated by a black circle) (
8) exists, the frequency of the voltage controlled oscillator 55 is controlled in this part to maintain synchronization.

〔発明が解決しようとする課題] 前述のD L L回路では、それ自身で引き込むことの
できる範囲は前述の線形部分のみであり、弓き込み点か
ら離れると相関関数は平坦になる。したがって同期確立
までに多くの時間がかかるという問題があった。
[Problems to be Solved by the Invention] In the above-mentioned DLL circuit, the range that can be drawn by itself is only the above-mentioned linear portion, and the correlation function becomes flat as it moves away from the bowing point. Therefore, there is a problem in that it takes a lot of time to establish synchronization.

またアナログ回路の部分があるため、部品の温度特性や
特性のバラツキのために安定度が悪いという問題もあっ
た。
Additionally, since it includes an analog circuit, there is also the problem of poor stability due to variations in the temperature characteristics and characteristics of the components.

したがって本発明の目的は、安定で、かつ同期確立まで
の時間の短かいスペクトラム拡散符号同期回路を提供す
ることにある。
Therefore, an object of the present invention is to provide a spread spectrum code synchronization circuit that is stable and takes a short time to establish synchronization.

〔課題を解決するための手段] 第1図は本発明のスペクトラム拡散符号同期回路の原理
構成を表わす図である。
[Means for Solving the Problems] FIG. 1 is a diagram showing the principle configuration of a spread spectrum code synchronization circuit according to the present invention.

選択手段10ば2つのデータ入力とそれらの一方(9) を選択するための選択入力とを有し、一方のデータ入力
には入力信号が接続されている。回路手段12は選択手
段10が入力信号を選択したとき入力信号を順次とり込
み、他方の入力を選択したとき選択手段10の経路を含
むM系列発生器を形成し、取り込まれた値を初期値とし
て逆拡散用符号(M系列符号)を発生する。相関検証手
段14は逆拡散用符号と人力信号との相関の程度を算出
して出力する。制御手段16は選択手段10を制御して
入力信号を回路手段12内に初期イ直として入力し、そ
の後、選択手段10を切り換えて回路手段12とともに
M系列発生器を形成し、相関検証手段14の出力が逆拡
散用符号と入力信号とに相関がないことを示すとき、再
度選択手段を切り換えて回路手段12に初期値を設定す
る。
The selection means 10 has two data inputs and a selection input for selecting one of them (9), and an input signal is connected to one of the data inputs. The circuit means 12 sequentially takes in the input signals when the selection means 10 selects the input signal, forms an M-sequence generator including the path of the selection means 10 when the other input is selected, and converts the taken values into initial values. A despreading code (M-sequence code) is generated as follows. The correlation verification means 14 calculates and outputs the degree of correlation between the despreading code and the human signal. The control means 16 controls the selection means 10 to input the input signal into the circuit means 12 as an initial input signal, and then switches the selection means 10 to form an M-sequence generator together with the circuit means 12, and to input the input signal into the circuit means 12 as an initial input signal. When the output indicates that there is no correlation between the despreading code and the input signal, the selection means is switched again and an initial value is set in the circuit means 12.

回路手段12はシフトレジスタ120を具備し、相関検
証手段14ば期間設定手段140と、先頭値設定手段1
42と、第1の一致判定手段144と、遅延手段146
と、第2の一致判定手段148と、カウント手段149
とで構成されることが好適である。期間(10) 設定手段140は回路手段12の出力と入力信号との一
致を判定するための期間、好ましくは非拡散信号の1ビ
ツトの期間に含まれる可能な限り長い期間を設定するも
のである。この期間の開始タイミングは第1の一致判定
手段144から与えられ、その時からの一定期間を一致
判定期間とする。先頭値設定手段142には一致判定期
間の開始タイミングに対応するシフI・レジスタ120
の値が設定される。第1の一致判定手段144はシフト
レジスタ120内の値と先頭値設定手段142に設定さ
れた値との一致を判定し、一致したとき期間設定手段1
40へ開始タイミングを与える。遅延手段146はシフ
トレジスタ120における遅延と同じだけの遅延を入力
信号に与えて出力する。第2の一致判定手段148は逆
拡散用符号と遅延手段146の出力とが一致するか否か
を判定する。カウント手段149は期間設定手段140
の設定する期間内における第2の一致判定手段148の
一致期間を合計して相関の程度を表わす出力とする。
The circuit means 12 includes a shift register 120, a correlation verification means 14, a period setting means 140, and a leading value setting means 1.
42, first match determination means 144, and delay means 146
, second match determining means 148 , and counting means 149
It is preferable that the Period (10) The setting means 140 sets a period for determining the coincidence between the output of the circuit means 12 and the input signal, preferably the longest possible period included in the period of one bit of the non-spreading signal. . The start timing of this period is given by the first match determination means 144, and a certain period from that time is defined as a match determination period. The head value setting means 142 includes a shift I register 120 corresponding to the start timing of the match determination period.
The value of is set. The first match determination means 144 determines whether the value in the shift register 120 matches the value set in the head value setting means 142, and when they match, the period setting means 144
Give the start timing to 40. The delay means 146 applies the same delay to the input signal as the delay in the shift register 120 and outputs it. The second coincidence determination means 148 determines whether the despreading code and the output of the delay means 146 match. Counting means 149 is period setting means 140
The matching period of the second matching determining means 148 within the period set by is summed to provide an output representing the degree of correlation.

(11) 〔作 用] M系列符号においては、シフトレジスタのどの値から初
ま−7でも完全なM系列符号が一意的に得られる。した
がって初期値としてとり込まれた入力信号に誤りがなく
、しかもそれが信号″“O″を拡散変調したものであれ
ば、直ちに人力信号と同期した逆拡散用符号が得られる
(11) [Operation] In the M-sequence code, a complete M-sequence code can be uniquely obtained from any value in the shift register up to -7. Therefore, if there is no error in the input signal taken in as an initial value, and if it is a spread-modulated signal "O", a despreading code synchronized with the human input signal can be obtained immediately.

その後の第2の一致判定手段148の出力は、入力信号
に全く誤りがなければ、非拡散信号の1ビツトの期間内
において、あるいは期間設定手段が設定する一致判定期
間内においてすべて一致かあるいはすべて不一致という
状態となり、多少の誤りかあ、ってもすべて一致に近い
かあるいはすべて不一致に近い状態となる。したがって
カウント手段149において一致期間を合計した値が相
関の程度を示す。
After that, if there is no error in the input signal, the outputs of the second coincidence determination means 148 will all match within the period of 1 bit of the non-spreading signal or within the coincidence determination period set by the period setting means. This will result in a state of mismatch, and even if there are some errors, all will be close to matching or all will be close to mismatch. Therefore, the total value of the matching periods in the counting means 149 indicates the degree of correlation.

人力信号に誤りがあるかまたはそれが信号“1°”を拡
散変調し、たちのであれば、取り込まれた初期値が出路
わるまでは回路手段I2の出力と遅延手段146の出力
とは一致するが、その後はM系列符号(12) の性質により一致および不一致が172に近い確率で出
現する様になり、このときは制御手段16が再度選択手
段10を制御して初期値をとり込む動作を同期がとれる
まで繰り返す。
If there is an error in the human input signal or if it diffusely modulates the signal "1°", the output of the circuit means I2 and the output of the delay means 146 will match until the initial value taken is different from the output. However, after that, due to the nature of the M-sequence code (12), matches and mismatches will appear with a probability close to 172, and in this case, the control means 16 will again control the selection means 10 to take in the initial value. Repeat until synchronization is achieved.

〔実施例〕〔Example〕

第2図は本発明の一実施例であるスペクトラム拡散符号
同期回路50を表わす図である。12001460、1
68はすべてn段のシフ)・レジスタである。
FIG. 2 is a diagram showing a spread spectrum code synchronization circuit 50 which is an embodiment of the present invention. 12001460, 1
All 68 are n-stage shift registers.

1402、166、1492はイネーブル(EN)端子
が有効であるときクロック(図示せず)をカウントする
カウンタであり、カウンタ1402および166はそれ
ぞれT1個および27−1個のクロックをカウントし終
ったらリップルキャリ(RC)を出力する。シフトレジ
スタ1200と加算回路1202はセレクタ100のセ
レクト端子(A/T)が11レヘルで入力Aを選択して
いるとき、周期2’−1のM系列符号を発生する周知の
シフトレジスタ符号系列発生器(SRG)を構成する。
1402, 166, and 1492 are counters that count clocks (not shown) when the enable (EN) terminal is valid, and the counters 1402 and 166 generate ripples after counting T1 and 27-1 clocks, respectively. Outputs carry (RC). The shift register 1200 and the adder circuit 1202 are a well-known shift register code series generator that generates an M-sequence code with a period of 2'-1 when the select terminal (A/T) of the selector 100 selects input A at 11 levels. (SRG).

また、セレクタ100のセレクト端子がLレベルである
間は、入力信号がシ(13) アトレジスタ1200内に取り込まれる。比較器144
0はシフトレジスタ1200の値とM系列符号の先頭値
に等しいか否かを比較するもので、両者が等しいとき、
 −′の出力はHレベルとなる。JKフリップフロンプ
1400ばJ入力がHレベルとなったときセットされ、
カウンタ1402のカウントを許可する。カウンタ14
02が、T1個のクロックをカウントし終ったときりッ
プルギャリが出力され、JKフリップフロップ1400
がリセットされる。すなわち、シフトレジスタ1200
が所定の先頭値に等しくなったとき、TIクロックの期
間だけフリップフロップ1400の出力がHレベルとな
る。シフトレジスタ1460はシフ]・レジスタ120
0による遅延量と同じだけ入力信号を遅延させるもので
、その出力とシフトレジスタ1200の出力すなわち逆
拡散用符号との一致がEORゲート1480で判定され
る。ANDゲート1490は、JKフリップフロップ1
400がHレベルである期間(以下T9期間と称する。
Further, while the select terminal of the selector 100 is at the L level, the input signal is taken into the register 1200 (13). Comparator 144
0 is used to compare whether or not the value of the shift register 1200 is equal to the leading value of the M sequence code; when both are equal,
-' output becomes H level. JK flip-flop 1400 is set when the J input becomes H level,
Allow the counter 1402 to count. counter 14
When 02 finishes counting T1 clocks, a ripple signal is output and the JK flip-flop 1400
is reset. That is, shift register 1200
When becomes equal to a predetermined leading value, the output of flip-flop 1400 becomes H level only during the TI clock period. Shift register 1460 is shift] register 120
The input signal is delayed by the same amount as the delay amount caused by 0, and the EOR gate 1480 determines whether the output of the input signal matches the output of the shift register 1200, that is, the despreading code. AND gate 1490 is JK flip-flop 1
400 is at H level (hereinafter referred to as T9 period).

)だけEORゲー) 1480による判定結果をカウン
タ1492のイネーブル端子へ供給する。カウンタ14
92(14) はT4期間における一致の数をカウントシ、その結果は
フリップフロップ1494にラッチされる。比較器16
0はフリップフロップ1494にラッチされている値が
第1の闇値SHよりも大であるか否かを判定し、大であ
れば出力“A>B“をHレベルにする。比較器162は
フリップフロップ1494にラッチされている値が第2
の闇値SLよりも小であるか否かを判定し、小であれば
出力“A > B ”をHレベルにする。ORゲート1
64の入力には比較器160の出力” A > B′お
よび比較器162の出力“’ A > B ”が接続さ
れている。第1の閾値SHはT1、すなわちTIxJI
間内でEORゲートの出力がすべて1(すべて不一致)
であるときの値、よりも入力信号の誤りを考慮して若干
小さく設定する。第2の闇値S1−は0、すなわちT1
期間内でEORゲートの出力がすべてO(すべて一致)
であるときの値、よりも入力信号の誤りを考慮して若干
大きく設定する。したがってORゲート164の出力は
この回路50が出力する逆拡散用信号と入力信号との同
期がとれている間はHレベルとなり、(15) 同期の状態を表わす信号となる。カウンタ166は入力
r汀がLレベルである間、クロックをカラン1− L、
2’−]クロック毎すなわちM系列符号の1周期毎にリ
ップルキャリ(RC)を出力する。
) is the EOR game) 1480 is supplied to the enable terminal of the counter 1492. counter 14
92(14) counts the number of matches during period T4, and the result is latched into flip-flop 1494. Comparator 16
0 determines whether the value latched in the flip-flop 1494 is greater than the first dark value SH, and if so, sets the output "A>B" to H level. Comparator 162 indicates that the value latched in flip-flop 1494 is the second value.
It is determined whether it is smaller than the darkness value SL, and if it is smaller, the output "A >B" is set to H level. OR gate 1
The output of the comparator 160 "A>B'" and the output "'A>B" of the comparator 162 are connected to the input of the comparator 64.The first threshold SH is T1, that is, TIxJI
All EOR gate outputs are 1 within the interval (all mismatches)
The value is set slightly smaller than the value when , taking into account errors in the input signal. The second darkness value S1- is 0, i.e. T1
All EOR gate outputs are O within the period (all match)
The value is set slightly larger than the value when , taking into account errors in the input signal. Therefore, the output of the OR gate 164 is at H level while the despreading signal output from this circuit 50 and the input signal are synchronized, and becomes a signal representing the state of (15) synchronization. While the input r level is at the L level, the counter 166 controls the clock from 1 to 1L,
2'-] A ripple carry (RC) is output every clock, that is, every cycle of the M-sequence code.

シフトレジスタ168とNORゲート170は、同期が
とれていない間、所定の周期でセレクタ100を制御し
てシフトレジスタ1200へ初期値を設定するための回
路であり、カウンタ166からリップルキャリが出力さ
れたとき、NORゲー1−170の出力はシフトレジス
タ1200の段数すなわちn個のクロックの分の期間だ
けLレベルとなって、セレクタ100が入力信号を選択
する様に制御する。
The shift register 168 and the NOR gate 170 are circuits for controlling the selector 100 at a predetermined period to set an initial value to the shift register 1200 while the synchronization is not achieved, and a ripple carry is output from the counter 166. At this time, the output of the NOR gate 1-170 is at the L level for a period corresponding to the number of stages of the shift register 1200, that is, n clocks, and the selector 100 is controlled to select the input signal.

第3図は第2図の回路の動作を説明するためのタイミン
グチャートである。(A)欄の信号は拡散変調前の信号
を表わし、(B)欄の信号は拡散変調するためのM系列
符号を表わし、Nば周期2”−1のM系列符号の1周期
の信号を表わしている。(C)欄は(A)欄の信号を(
B)欄の信号で拡散変調した結果を表わし、この信号が
第2図の回路へ入力されるものとする。またIはNを(
16) 反転したパターンを表わすものとする。(C)〜(I、
)欄の信号はそれぞれ第2図中C−Lを付した点の信号
の状態を表わしている。
FIG. 3 is a timing chart for explaining the operation of the circuit shown in FIG. 2. The signal in column (A) represents the signal before spread modulation, the signal in column (B) represents the M-sequence code for spread modulation, and N represents the signal of one period of the M-sequence code with period 2''-1. Column (C) represents the signal in column (A) (
The signal in column B) represents the result of spread modulation, and this signal is assumed to be input to the circuit of FIG. Also, I is N (
16) It shall represent an inverted pattern. (C) ~ (I,
) The signals in the column each represent the state of the signal at the point labeled CL in FIG.

(D)欄はセレクタ100の制御信号であるが、初期の
同期がとれていない間は2’−1周期で幅nの負のパル
スが出力される。図中、最初のLレベルの期間において
入力信号がとり込まれ、その後これを初期値としてM系
列符号が出力されるが、入力信号((C)欄)がXであ
るため、(F)欄の信号と同期しないパターンN′が出
力される。したがって(G)欄で示す信号は0および1
がほぼ等しい確率となる。仮に、(H)欄の左端のパル
スで示すタイミングでシフトレジスタ1200内の値が
所定の先頭値に等しくなるものとすれば、その後T1ク
ロック内で一致数がカウントされ、結果がa((K)欄
)となるものとすればこの値はSI。
Column (D) is a control signal for the selector 100, and while the initial synchronization is not achieved, a negative pulse with a width n is output at a cycle of 2'-1. In the figure, the input signal is taken in during the first L level period, and then the M-sequence code is output using this as the initial value, but since the input signal (column (C)) is X, the column (F) A pattern N' that is not synchronized with the signal is output. Therefore, the signals shown in column (G) are 0 and 1.
have approximately equal probabilities. If it is assumed that the value in the shift register 1200 becomes equal to the predetermined leading value at the timing indicated by the leftmost pulse in column (H), then the number of matches is counted within the T1 clock, and the result is a((K ) column), this value is SI.

< a < S oとなり、同期情報((L)欄)は■
、レベルとなる。(D)欄の2番目のパルスについても
同様に(C)欄がIであるため、同期しないパターンN
′が出力される。(D)欄の3番目のパル(17) スについては(C)欄の信号がNであるので、(F)欄
の信号に同期した、途中から始まるパターンN rrが
出力される。N”のパターンが終わり、同期パターンN
が出始めるとき、(H)欄の信号にパルスが出力される
。その後T1クロンクの期間に同期パターンNが連続す
れば、フリップフロップ1494にラッチされる値は0
((K)欄)となり、同期情報((L)欄)はHレベル
となる。その後は、入力信号に誤りがなければ(K)欄
の値は0またはT、となり、多少の誤りがあってもいず
れかに近い値となり、同期が維持される。
< a < S o, and the synchronization information ((L) column) is ■
, the level. Similarly, for the second pulse in column (D), column (C) is I, so the non-synchronized pattern N
' is output. Regarding the third pulse (17) in column (D), since the signal in column (C) is N, a pattern Nrr synchronized with the signal in column (F) and starting from the middle is output. N'' pattern ends, synchronization pattern N
When starts to appear, a pulse is output to the signal in column (H). After that, if the synchronization pattern N continues during the T1 clock period, the value latched in the flip-flop 1494 is 0.
(column (K)), and the synchronization information (column (L)) becomes H level. After that, if there is no error in the input signal, the value in the (K) column will be 0 or T, and even if there is some error, it will be a value close to either, and synchronization is maintained.

カウンタ1402でカウントされるイ直T1は、この例
では1周期2+″−1に極(近い値にとったため、同期
をとるために誤りのない非反転パターンが少なくとも2
周期連続する必要があるが、これよりも短かくとれば1
周期で同期がとれる確率が高くなる。ただし、1周期の
一部を対象として同期の判定を行なうことになるので闇
値Sll +  SLの設定には注意を要する。また、
T1を1周期よりも長くとることも可能である。
In this example, the straight line T1 counted by the counter 1402 is set to a value close to the pole (2+''-1) in one cycle.
The period must be continuous, but if it is shorter than this, it will be 1
The probability of achieving periodic synchronization increases. However, since the synchronization is determined for a part of one cycle, care must be taken when setting the dark value Sll + SL. Also,
It is also possible to take T1 longer than one cycle.

(18) カウンタ166でカウントされるイ直も、必ずしも1周
期2°−1に合わせる必要はなく、むしろこれより若干
長くする方が好ましい。
(18) It is not necessary that the number of squares counted by the counter 166 corresponds to one period of 2°-1, but it is preferable that the period be slightly longer than this.

第4図は本発明の第2の実施例を表わす図である。この
例では第2図の回路50を2個使用し、方には入力信号
をインバータ52で反転したものを供給する。そして、
セレクタ54において、同期情報がHレベルとなった方
の逆拡散用符号を選択することにより、同期確立までの
時間をより一層短縮することができる。それは、一方の
回路50にとって反転パターンであっても、他方の回路
50にとっては非反転パターンとなり、入力信号に誤り
がない限り、いずれかの回路50において直ちに同期の
とれたパターンが出力されるからである。
FIG. 4 is a diagram showing a second embodiment of the present invention. In this example, two circuits 50 shown in FIG. 2 are used, and one is supplied with an input signal inverted by an inverter 52. and,
By selecting the despreading code whose synchronization information is at H level in the selector 54, the time required to establish synchronization can be further shortened. This is because even if it is an inverted pattern for one circuit 50, it will be a non-inverted pattern for the other circuit 50, and as long as there is no error in the input signal, a synchronized pattern will be immediately output from either circuit 50. It is.

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

以上述べてきたように本発明によれば、すべてがデジタ
ル回路で構成されているため動作が安定であり、同期確
立までの時間が著しく短縮されたスペクトラム拡散符号
同期回路が提供される。
As described above, according to the present invention, there is provided a spread spectrum code synchronization circuit whose operation is stable because it is entirely composed of digital circuits, and the time required to establish synchronization is significantly shortened.

(19)(19)

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

第1図は本発明の原理構成を表わす図、第2図は本発明
の一実施例を表わす図、第3図は第2図の回路の動作を
表わすタイミングチャート、 第4図は本発明の第2の実施例を表わす図、第5図はス
ペクトラム拡散方式を説明するための図、 第6図はPN符号発生器の一例を表わす図、第7図は従
来の同期回路を表わす図、 第8図は第7図の回路の動作を説明するための図。 図において、 144・・・第1の一致判定手段、 148・・・第2の一致判定手段、 168、1200.1440・・・シフトレジスタ、1
66、1402.1492・・・カウンタ。 (20)
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is a diagram showing an embodiment of the invention, Fig. 3 is a timing chart showing the operation of the circuit shown in Fig. 2, and Fig. 4 is a diagram showing the operation of the circuit of the present invention. A diagram showing the second embodiment, FIG. 5 is a diagram for explaining the spread spectrum method, FIG. 6 is a diagram showing an example of a PN code generator, FIG. 7 is a diagram showing a conventional synchronization circuit, FIG. 8 is a diagram for explaining the operation of the circuit shown in FIG. 7. In the figure, 144...first coincidence determination means, 148...second coincidence determination means, 168, 1200.1440...shift register, 1
66, 1402.1492...Counter. (20)

Claims (1)

【特許請求の範囲】 1、一方のデータ入力に入力信号が接続された2つのデ
ータ入力と該2つのデータ入力のいずれか一方を選択す
るための選択入力とを有する選択手段(10)と、 該選択手段(10)が該一方の入力を選択したとき該入
力信号をとり込み、他方の入力を選択したとき該選択手
段(10)の経路を含むM系列発生器であって該取り込
まれた値を初期値とするM系列符号を逆拡散用符号とし
て発生するM系列発生器を形成する回路手段(12)と
、 該逆拡散用符号と該入力信号との相関の程度を算出して
出力する相関検証手段(14)と、該回路手段(12)
内に初期値が設定されるに充分な期間だけ該選択手段(
10)に該入力信号を選択せしめ、その後、該選択手段
(10)を切換えて該回路手段(12)とともにM系列
発生器を形成せしめ、該相関検証手段(14)の出力が
該逆拡散用符号と入力信号とに相関がないことを示すと
き、再度該選択手段(10)を切換えて該回路手段(1
2)に初期値を設定する制御手段(16)を具備するこ
とを特徴とするスペクトラム拡散符号同期回路。 2、前記回路手段(12)は、前記M系列発生器の一部
を形成し、前記入力信号が初期値として入力され該M系
列発生器の各状態を保持するシフトレジスタ(120)
を具備し、 前記相関検証手段(14)は、 前記回路手段(12)の出力と前記入力信号の一致を判
定するための期間を設定する期間設定手段(140)で
あって、与えられた開始タイミングから所定の期間内を
該一致判定期間とする期間設定手段(140)と、 該一致判定期間の開始タイミングに対応する前記シフト
レジスタ(120)の値が設定された先頭値設定手段(
142)と、 該シフトレジスタ(120)内の値と該先頭値設定手段
(142)に設定された値との一致を判定し、一致した
とき該期間設定手段(140)へ開始タイミングを与え
る第1の一致判定手段(144)と、該シフトレジスタ
(120)の入力から該M系列発生器の出力までの遅延
量と同一の遅延を該入力信号に与えて出力する遅延手段
(146)と、該M系列発生器の出力と該遅延手段(1
46)の出力とが一致するか否かを判定する第2の一致
判定手段(148)と、 該期間設定手段(140)の設定する期間内における該
第2の一致判定手段(148)の一致期間を合計して前
記相関の程度を表わす出力とするカウント手段(149
)を具備する請求項1記載のスペクトラム拡散符号同期
回路。 3、請求項1記載の第1および第2の同期回路と、 該第1および第2の同期回路の逆拡散用符号のいずれか
一方を選択する第2の選択手段と、該第2の選択手段を
制御する第2の制御手段とを具備し、 前記制御手段(16)は前記逆拡散用符号と入力信号と
に相関があるとき制御情報を有効とし、該第2の制御手
段は該制御情報が有効である側の逆拡散用符号を選択す
る様に該第2の選択手段を制御するスペクトラム拡散符
号同期回路。
[Claims] 1. Selection means (10) having two data inputs, one of which is connected to an input signal, and a selection input for selecting one of the two data inputs; an M-sequence generator that takes in the input signal when the selection means (10) selects the one input, and includes a path of the selection means (10) when the selection means (10) selects the other input; circuit means (12) forming an M-sequence generator that generates an M-sequence code having the initial value as a despreading code; and calculating and outputting the degree of correlation between the despreading code and the input signal. correlation verification means (14) and the circuit means (12)
The selection means (
10) selects the input signal, and then switches the selection means (10) to form an M-sequence generator together with the circuit means (12), and the output of the correlation verification means (14) is used for despreading. When it is shown that there is no correlation between the code and the input signal, the selection means (10) is switched again and the circuit means (1
2) A spread spectrum code synchronization circuit comprising control means (16) for setting an initial value in . 2. The circuit means (12) is a shift register (120) which forms a part of the M-sequence generator and receives the input signal as an initial value and holds each state of the M-sequence generator.
The correlation verification means (14) is a period setting means (140) for setting a period for determining a match between the output of the circuit means (12) and the input signal, and a period setting means (140) that sets a predetermined period from the timing as the match determination period; and a leading value setting means (140) in which a value of the shift register (120) corresponding to the start timing of the match determination period is set.
142), and a first step that determines whether the value in the shift register (120) and the value set in the head value setting means (142) match, and when they match, gives a start timing to the period setting means (140). 1, a delay means (146) for applying a delay equal to the delay amount from the input of the shift register (120) to the output of the M-sequence generator to the input signal and outputting the same; The output of the M-sequence generator and the delay means (1
46), and a second match determining means (148) that determines whether the output of the second match determining means (148) matches within the period set by the period setting means (140). counting means (149) for summing up the periods and producing an output representing the degree of correlation;
) The spread spectrum code synchronization circuit according to claim 1, comprising: 3. The first and second synchronization circuits according to claim 1; second selection means for selecting one of the despreading codes of the first and second synchronization circuits; and the second selection. and a second control means for controlling the control means, the control means (16) validating the control information when there is a correlation between the despreading code and the input signal, and the second control means for controlling the control means. A spread spectrum code synchronization circuit that controls the second selection means to select a despreading code on the side where information is valid.
JP1335707A 1989-12-25 1989-12-25 Spread spectrum code synchronizing circuit Pending JPH03195227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1335707A JPH03195227A (en) 1989-12-25 1989-12-25 Spread spectrum code synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1335707A JPH03195227A (en) 1989-12-25 1989-12-25 Spread spectrum code synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH03195227A true JPH03195227A (en) 1991-08-26

Family

ID=18291582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1335707A Pending JPH03195227A (en) 1989-12-25 1989-12-25 Spread spectrum code synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH03195227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009081603A (en) * 2007-09-26 2009-04-16 Mitsubishi Electric Corp On-board communication device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009081603A (en) * 2007-09-26 2009-04-16 Mitsubishi Electric Corp On-board communication device
US8208515B2 (en) 2007-09-26 2012-06-26 Mitsubishi Electric Corporation On-vehicle communication device

Similar Documents

Publication Publication Date Title
Kaddoum et al. Robust synchronization for asynchronous multi-user chaos-based DS-CDMA
JPH09321658A (en) Digital dll circuit
JPH04230137A (en) Method of modulation/demodulation, spectrum diffusion modulator and spectrum diffusion receiver
JPH06505131A (en) Asymmetric spread spectrum correlator
EP0874471A2 (en) Direct sequence spread spectrum correlator
JPH03224330A (en) Spread spectrum signal demodulation circuit
JP3872220B2 (en) Receiver for spread band communication system
Vali et al. Analysis of a chaos-based non-coherent delay lock tracking loop
JPH03195227A (en) Spread spectrum code synchronizing circuit
US6731675B2 (en) Receiving device for spread spectrum communication system
RU2277760C2 (en) Method for transferring information in communication systems with noise-like signals and a software product
JPH08330913A (en) Pn code generation circuit and communication terminal equipment
JPH0865207A (en) Synchronizing device
JPS59169244A (en) Synchronism deciding device
KR100439320B1 (en) Initial coherent circuit of frequency hopping spread spectrum receiver
JP4298079B2 (en) Synchronization holding circuit
RU80596U1 (en) DIGITAL FREQUENCY SYNTHESIS
GB1566442A (en) Data transmission systems
JP2823348B2 (en) Spread spectrum signal demodulation circuit
JP2001257624A (en) Spread spectrum communication unit
JP2001024559A (en) Synchronization tracking circuit and communication equipment
JPS60229544A (en) Synchronization system of two-way digital communication system
JPH06276177A (en) Code synchronization control system
Delva Coherent PN sequence acquisition
Zuo et al. Application of a new spread spectrum method based on M-sequence in airborne data-link