JP2005303499A - Spread code generator circuit and synchronizing circuit - Google Patents

Spread code generator circuit and synchronizing circuit Download PDF

Info

Publication number
JP2005303499A
JP2005303499A JP2004113960A JP2004113960A JP2005303499A JP 2005303499 A JP2005303499 A JP 2005303499A JP 2004113960 A JP2004113960 A JP 2004113960A JP 2004113960 A JP2004113960 A JP 2004113960A JP 2005303499 A JP2005303499 A JP 2005303499A
Authority
JP
Japan
Prior art keywords
generation circuit
value
circuit
sequence
code generation
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
JP2004113960A
Other languages
Japanese (ja)
Inventor
Mitsuo Nakamura
光男 中村
Mitsuru Harada
充 原田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004113960A priority Critical patent/JP2005303499A/en
Publication of JP2005303499A publication Critical patent/JP2005303499A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To generate complete orthogonal spread codes with the spectrum of spread signals distributed in a wider range by a simple circuit constitution than in the prior art. <P>SOLUTION: The spread code generator circuit has an M-series code generator circuit 1 for generating and outputting a plurality of M-series codes different in phase on the same series, a timing detector 2 for detecting a specified timing in one cycle of the M-series codes, and a 1-value inserter 3 for inserting a value 1 in the M-series codes when the specified timing is detected. The spread codes generated by the spread code generator circuit have a complete orthogonality and are generated, based on the M-series codes, and hence the spectrum of the spectrum-spread spread signals distributes in a wide range, the same as the M-series codes. Since only the timing detector 2 and the 1-value inserter 3 are added to the M-series code generator circuit 1, the circuit constitution is simpler than the conventional complete orthogonal spread code generator circuit. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、拡散符号生成回路および同期回路に関し、特に、完全直交性を有する拡散符号を生成する拡散符号生成回路およびその拡散符号を用いてスペクトラム拡散された拡散信号をスペクトラム逆拡散する際に拡散信号と拡散符号との同期を確立する同期回路に関する。   The present invention relates to a spread code generation circuit and a synchronization circuit, and in particular, a spread code generation circuit that generates a spread code having perfect orthogonality, and spread when spectrum spread spectrum is spread using the spread code. The present invention relates to a synchronization circuit that establishes synchronization between a signal and a spread code.

信号を複数チャネル間で相互に混信なく送受信するために、スペクトラム拡散通信技術が広く用いられている。このスペクトラム拡散通信技術を利用したものの1つに、同期CDMA(Code Division Multiple Access:符号分割多重)方式がある。図26は、同期CDMA方式を説明するための図である。
図26において、送信機70では、N個(Nは自然数)のデータ#1〜#Nが、N個の同期化された信号源から同時に出力される。これらのデータ#1〜#Nに乗算器711〜71Nで符号長Nの拡散符号#1〜#Nを掛けてスペクトラム拡散し、得られたN個の拡散信号を加算器72で合成し、アンテナ73から送信する。
Spread spectrum communication technology is widely used to transmit and receive signals between a plurality of channels without interference. One of the methods using the spread spectrum communication technique is a synchronous CDMA (Code Division Multiple Access) system. FIG. 26 is a diagram for explaining the synchronous CDMA system.
In FIG. 26, the transmitter 70 outputs N pieces (N is a natural number) of data # 1 to #N from N synchronized signal sources at the same time. Multiplied by the spreading code #. 1 to # N of these data #. 1 to # N to the multipliers 71 1 -71 N code length N and the spread spectrum, the N number of spread signals obtained by combining by the adder 72 And transmitted from the antenna 73.

拡散符号は直交性を有する符号系列であり、その代表例としてM系列(最長線形符号系列)符号がある。M系列符号の一例を図27に示す。系列X1のように、「1」と「−1」とがランダムに並ぶビット列が1つのM系列符号を構成している。系列X1を1ビットだけシフトさせたものが系列X2であり、系列X2を1ビットだけシフトさせたものが系列X3であり、系列X3を1ビットだけシフトさせたものが系列X4である(例えば、非特許文献1参照)。
図26における送信機70では、従来、拡散符号#1〜#Nとして、符号長NのM系列符号を循環的にシフトさせた符号が用いられていた。例えば、拡散符号#1〜#4として、図27における系列X1〜X4の符号が用いられていた。
The spreading code is a code sequence having orthogonality, and a typical example thereof is an M sequence (longest linear code sequence) code. An example of the M-sequence code is shown in FIG. Like the sequence X 1, a bit string in which “1” and “−1” are arranged at random forms one M-sequence code. The sequence X 1 shifted by 1 bit is the sequence X 2 , the sequence X 2 shifted by 1 bit is the sequence X 3 , and the sequence X 3 shifted by 1 bit is the sequence X 2. 4 (see, for example, Non-Patent Document 1).
In the transmitter 70 in FIG. 26, conventionally, codes obtained by cyclically shifting M-sequence codes having a code length of N are used as the spreading codes # 1 to #N. For example, codes of sequences X 1 to X 4 in FIG. 27 are used as spreading codes # 1 to # 4.

また、図26において、受信機80では、アンテナ81からの受信信号(拡散信号の和)に対し、乗算器82で拡散符号を掛けてスペクトラム逆拡散する。例えば、拡散符号#1を掛けると、拡散符号の直交性から、送信機70において拡散符号#1でスペクトラム拡散されたデータ#1が復号される(例えば、非特許文献2参照)。   In FIG. 26, the receiver 80 despreads the spectrum by multiplying the received signal (the sum of the spread signals) from the antenna 81 by a multiplier 82 with a multiplier 82. For example, when the spread code # 1 is multiplied, the data # 1 spectrum-spread by the spread code # 1 in the transmitter 70 is decoded from the orthogonality of the spread code (see, for example, Non-Patent Document 2).

ここで、拡散符号#1〜#Nの1ビット期間において、データ#1〜#Nのすべての値が1の場合を考える。符号長NのM系列符号で自己相関をとると、図28に示すように、同位相のとき(例えば、系列X1とX1)には「N」となるのに対し、位相が異なるとき(例えば、系列X1とX2〜X4)には「−1」となる。このため、拡散符号#1〜#Nでデータ#1〜#Nをスペクトラム拡散して得られた拡散信号と拡散符号#1との自己相関値は、図29(a)に示すように、それぞれ「N,−1,−1,・・・,−1」となる。したがって、拡散信号の和である受信信号を拡散符号#1でスペクトラム逆拡散すると、そのときの自己相関値は、図29(b)に示すように、N−1×(N−1)=1となる。このように、拡散符号#1〜#NとしてM系列符号を用いると、互いに位相が異なる符号間の干渉により、スペクトラム逆拡散で得られる自己相関値が「N」から「1」に低下する。このため、多数の信号の中から所望の信号のみを取り出すことが困難になるという問題があった。 Here, a case is considered where all values of data # 1 to #N are 1 in one bit period of spreading codes # 1 to #N. When autocorrelation is performed with an M-sequence code having a code length N, as shown in FIG. 28, when the phases are the same (for example, sequences X 1 and X 1 ), “N” is obtained, but the phases are different. (For example, the series X 1 and X 2 to X 4 ) is “−1”. For this reason, the autocorrelation values of the spread signal obtained by spectrum spreading the data # 1 to #N with the spread codes # 1 to #N and the spread code # 1 are as shown in FIG. “N, −1, −1,... −1”. Accordingly, when the received signal, which is the sum of the spread signals, is subjected to spectrum despreading with the spread code # 1, the autocorrelation value at that time is N-1 × (N-1) = 1, as shown in FIG. It becomes. Thus, when M-sequence codes are used as spreading codes # 1 to #N, the autocorrelation value obtained by spectrum despreading decreases from “N” to “1” due to interference between codes having different phases. For this reason, there has been a problem that it is difficult to extract only a desired signal from a large number of signals.

この問題は、位相が異なるときの自己相関が「0」となる完全直交性拡散符号を用いることにより解決できる。完全直交性拡散符号としては、アダマール変換の基底を用いたウォルシュ符号が一般的に用いられている(例えば、非特許文献1参照)。
しかし、ウォルシュ符号を用いてスペクトラム拡散すると、M系列符号を用いた場合と比較して、拡散信号のスペクトラムが広範囲に分布せず局在化する。このようなスペクトラムの局在化は、マルチパス(電波が建物等で反射することにより送信側から受信側にできる電波の複数経路)により受信場所毎に電波の強弱が急激に変わるフェージングを引き起こし、処理利得が低下してしまう。
This problem can be solved by using a completely orthogonal spreading code having an autocorrelation of “0” when the phases are different. As a perfect orthogonal spreading code, a Walsh code using a Hadamard transform base is generally used (for example, see Non-Patent Document 1).
However, when the spectrum is spread using the Walsh code, the spectrum of the spread signal is localized without being distributed over a wide range as compared with the case where the M-sequence code is used. Such localization of the spectrum causes fading in which the strength of the radio waves changes abruptly at each reception location due to multipath (multiple paths of radio waves that can be generated from the transmission side to the reception side when the radio waves are reflected by buildings, etc.) Processing gain is reduced.

なお、出願人は、本明細書に記載した先行技術文献情報で特定される先行技術文献以外には、本発明に関連する先行技術文献を出願時までに発見するには至らなかった。
山内、「スペクトラム拡散通信」、第2版、東京電機大学出版局、2001年、p.93−98、p.144−149 丸林、中川、河野、「スペクトラム拡散通信とその応用」、電子情報通信学会、1998年、p.11−13
The applicant has not yet found prior art documents related to the present invention by the time of filing other than the prior art documents specified by the prior art document information described in this specification.
Yamauchi, “Spread Spectrum Communication”, 2nd edition, Tokyo Denki University Press, 2001, p. 93-98, p. 144-149 Marubayashi, Nakagawa, Kono, “Spread Spectrum Communication and its Applications”, IEICE, 1998, p. 11-13

このように、ウォルシュ符号等の従来の完全直交性拡散符号は、拡散信号のスペクトラムが局在化するため、それを同期CDMAに用いても、処理利得を改善することはできなかった。このため、微弱無線規格下のような高い処理利得が要求される通信には適していなかった。
また、ウォルシュ符号等の従来の完全直交性拡散符号は、その生成回路が複雑であった(例えば、非特許文献1参照)。
As described above, the conventional perfect orthogonal spreading code such as the Walsh code localizes the spectrum of the spread signal. Therefore, even if it is used for synchronous CDMA, the processing gain cannot be improved. For this reason, it was not suitable for communications that require a high processing gain, such as under the weak wireless standard.
Further, a conventional perfect orthogonal spreading code such as a Walsh code has a complicated generation circuit (see, for example, Non-Patent Document 1).

本発明はこのような課題を解決するためになされたものであり、その目的は、拡散信号のスペクトラムが従来よりも広範囲に分布する完全直交性拡散符号を従来よりも簡単な回路構成で生成できるようにすることにある。   The present invention has been made to solve such a problem, and the object of the present invention is to generate a completely orthogonal spreading code in which the spectrum of a spread signal is distributed over a wider range than before with a simpler circuit configuration than before. There is in doing so.

このような目的を達成するために、本発明に係る拡散符号生成回路は、同一系列でそれぞれ位相が異なる複数のM系列符号を生成し出力するM系列符号生成部と、M系列符号の1周期中における所定のタイミングを検出するタイミング検出部と、所定のタイミングが検出されたときに、すべてのM系列符号中に値1を挿入する1値挿入部とを備えることを特徴とする。   In order to achieve such an object, a spread code generation circuit according to the present invention includes an M sequence code generation unit that generates and outputs a plurality of M sequence codes having the same sequence and different phases, and one cycle of the M sequence code. A timing detection unit for detecting a predetermined timing in the medium; and a one-value insertion unit for inserting a value of 1 into all M-sequence codes when the predetermined timing is detected.

ここで、タイミング検出部は、任意のM系列符号の1周期中における所定のタイミングを検出するものであってもよい。
また、1値挿入部は、値1を出力する1値出力部と、検出された所定のタイミングの次のビットでM系列符号生成部を停止させてその状態を保持するとともに、1値出力部を動作させて値1を出力させ、更にその次のビットからM系列符号生成部を再び動作させる切り替え部とを含むものであってもよい。
Here, the timing detection unit may detect a predetermined timing in one cycle of an arbitrary M-sequence code.
The 1-value insertion unit outputs a 1-value output unit, and stops the M-sequence code generation unit at the detected bit next to the predetermined timing and holds the state, and the 1-value output unit And a switching unit that causes the M-sequence code generation unit to operate again from the next bit.

また、M系列符号生成部は、シフトレジスタと、このシフトレジスタの帰還回路に接続された排他的論理和回路とからなり、タイミング検出部は、シフトレジスタの状態パターンと、予め設定された参照パターンとを対比することにより、所定のタイミングを検出するものであってもよい。
また、タイミング検出部は、M系列符号生成部で生成されたM系列符号のビット数を計数してM系列符号の1周期を検出することにより、1周期中における所定のタイミングを検出するものであってもよい。
The M-sequence code generation unit includes a shift register and an exclusive OR circuit connected to the feedback circuit of the shift register, and the timing detection unit includes a shift register state pattern and a preset reference pattern. A predetermined timing may be detected by comparing with.
The timing detection unit detects a predetermined timing in one cycle by counting the number of bits of the M sequence code generated by the M sequence code generation unit and detecting one cycle of the M sequence code. There may be.

また、M系列符号生成部および1値挿入部は、第1のクロックに基づき動作するものであってもよい。
ここで、上述した拡散符号生成回路は、M系列符号に値1が挿入された拡散符号により拡散処理されるデータ信号のクロック周波数を有する第2のクロックを生成するクロック生成回路と、第2のクロックの周波数を2n倍(nは自然数)に逓倍することにより第1のクロックを生成する逓倍器とを更に備えるものであってもよい。
また、上述した拡散符号生成回路は、第1のクロックを生成するクロック生成回路と、第1のクロックの周波数を1/2n(nは自然数)に分周する分周器とを更に備えるものであってもよい。
Further, the M-sequence code generation unit and the one-value insertion unit may operate based on the first clock.
Here, the spreading code generation circuit described above includes a clock generation circuit that generates a second clock having a clock frequency of a data signal that is spread by a spreading code in which a value of 1 is inserted into an M-sequence code, It may further comprise a multiplier that generates the first clock by multiplying the clock frequency by 2 n times (n is a natural number).
The spreading code generation circuit described above further includes a clock generation circuit that generates the first clock and a frequency divider that divides the frequency of the first clock by 1/2 n (n is a natural number). It may be.

また、本発明に係る同期回路は、受信信号をサンプリングし時系列順に保持する信号保持回路と、M系列符号中に値1が挿入された拡散符号を値1の挿入位置を移動させながら生成する拡散符号生成回路と、信号保持回路に保持されている受信信号と拡散符号生成回路で生成される拡散符号とを対応するビット毎に乗算する乗算回路と、この乗算回路でビット毎に乗算された結果を加算する加算回路と、この加算回路で加算された結果に基づき同期状態を検出しその検出結果を拡散符号生成回路へ出力する同期検出回路とを備えることを特徴とする。   The synchronization circuit according to the present invention generates a signal holding circuit that samples a received signal and holds it in time series, and a spreading code in which a value 1 is inserted in an M-sequence code while moving the insertion position of the value 1 A spreading code generation circuit, a multiplication circuit that multiplies the reception signal held in the signal holding circuit and the spreading code generated by the spreading code generation circuit for each corresponding bit, and the multiplication circuit multiplies each bit. An addition circuit for adding the results, and a synchronization detection circuit for detecting a synchronization state based on the result added by the addition circuit and outputting the detection result to a spread code generation circuit.

ここで、拡散符号生成回路は、同期検出回路から同期が保持されているという検出結果が入力されたときに、値1の挿入位置を1ビットずつ移動させながら拡散符号を生成するものであってもよい。また、同期検出回路から非同期という検出結果が入力されたときに、値1の挿入位置を2ビット以上移動させて拡散符号を生成するものであってもよい。   Here, the spread code generation circuit generates a spread code while moving the insertion position of the value 1 bit by bit when a detection result indicating that synchronization is maintained is input from the synchronization detection circuit. Also good. Alternatively, when a detection result of asynchronization is input from the synchronization detection circuit, a spread code may be generated by moving the insertion position of the value 1 by 2 bits or more.

本発明に係る拡散符号生成回路では、M系列符号の1周期中における所定のタイミングを検出し、所定のタイミングが検出されたときにM系列符号に値1を挿入する。このようにして生成された拡散符号は、位相が異なるときの自己相関が「0」となる完全直交性を有している。この拡散符号はまた、M系列符号を基に生成されているので、スペクトラム拡散された拡散信号のスペクトラムは、M系列符号と同じく広範囲に分布する。このため、この拡散符号をスペクトラム拡散通信に用いることにより、処理利得を改善することができる。したがって、この拡散符号生成回路は、微弱無線規格下のような高い処理利得が要求される通信にも利用することができる。   The spreading code generating circuit according to the present invention detects a predetermined timing in one cycle of the M-sequence code, and inserts a value 1 into the M-sequence code when the predetermined timing is detected. The spreading code generated in this way has perfect orthogonality with an autocorrelation of “0” when the phases are different. Since this spreading code is also generated based on the M-sequence code, the spectrum of the spread signal subjected to the spread spectrum is distributed over a wide range like the M-sequence code. For this reason, processing gain can be improved by using this spreading code for spread spectrum communication. Therefore, this spreading code generation circuit can also be used for communications that require a high processing gain, such as under weak wireless standards.

また、この拡散符号生成回路は、M系列符号を生成するM系列符号生成部に、M系列符号の1周期中における所定のタイミングを検出するタイミング検出部と、そのタイミングの次のビットに値1を挿入する1値挿入部とを加えることにより構成される。このため、従来の完全直交性拡散符号の生成回路よりも、回路構成を簡易にすることができる。   In addition, the spreading code generation circuit includes an M sequence code generation unit that generates an M sequence code, a timing detection unit that detects a predetermined timing in one cycle of the M sequence code, and a value 1 in a bit next to the timing. And a one-value insertion unit for inserting. Therefore, the circuit configuration can be simplified as compared with the conventional complete orthogonal spreading code generation circuit.

以下、本発明の一実施の形態について、図面を参照して詳細に説明する。
図1は、本発明の一実施の形態に係る拡散符号生成回路の構成を示すブロック図である。この拡散符号生成回路は、同一系列でそれぞれ位相が異なる複数のM系列符号を出力するM系列符号生成回路1と、M系列符号の1周期中における特定タイミングを検出しタイミング信号を出力するタイミング検出器2と、タイミング信号に基づきすべてのM系列符号中に値1を挿入し出力端子4に出力する1値挿入器3とから構成されている。なお、タイミング検出部2は、任意のM系列符号の1周期中における所定のタイミングを検出するものであってもよい。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a spread code generation circuit according to an embodiment of the present invention. This spreading code generation circuit includes an M-sequence code generation circuit 1 that outputs a plurality of M-sequence codes of the same sequence and different phases, and a timing detection that detects a specific timing in one cycle of the M-sequence code and outputs a timing signal And a 1-value inserter 3 that inserts a value 1 into all M-sequence codes based on the timing signal and outputs the value 1 to an output terminal 4. Note that the timing detection unit 2 may detect a predetermined timing in one cycle of an arbitrary M-sequence code.

M系列符号生成回路1には、一般的なM系列符号生成回路を用いることができる。図2は、M系列符号生成回路1の一構成例を示すブロック図である。この図に示すM系列符号生成回路1Aは、排他的論理和による帰還タップをもつシフトレジスタにより構成されている。より具体的には、4つのDフリップフロップ111,112,113,114からなる4段のシフトレジスタ11と、最下位のDフリップフロップ114の出力と最上位のDフリップフロップ111の出力との排他的論理和をとり最上位のDフリップフロップ111の入力に帰還させる排他的論理和回路12とから構成されている。 As the M-sequence code generation circuit 1, a general M-sequence code generation circuit can be used. FIG. 2 is a block diagram illustrating a configuration example of the M-sequence code generation circuit 1. The M-sequence code generation circuit 1A shown in this figure is constituted by a shift register having a feedback tap based on exclusive OR. More specifically, four D flip-flops 11 1, 11 2, 11 3, 11 and the shift register 11 of four stages of four, the lowest of the D flip-flop 11 4 and the output of the top-level D flip-flop 11 It consists of an exclusive OR circuit 12 that takes an exclusive OR with the output of 1 and feeds back to the input of the highest-level D flip-flop 11 1 .

クロックに同期してシフトレジスタ11の状態パターンが1段ずつシフトする。各段の値X1,X2,X3,X4のそれぞれから1ビットずつ位相が異なる同一系列のM系列符号が得られる。
なお、M系列符号生成回路1の回路構成は、図2に示したものには限られない。例えば、シフトレジスタ11の段数によって、M系列符号の符号長を変えることができる(n段の場合の符号長は2n−1ビット)。また、排他的論理和をとる組み合わせによって、M系列符号のパターンを変えることができる。
The state pattern of the shift register 11 is shifted one stage at a time in synchronization with the clock. From the values X 1 , X 2 , X 3 , and X 4 at each stage, the same series of M-sequence codes having different phases by 1 bit are obtained.
Note that the circuit configuration of the M-sequence code generation circuit 1 is not limited to that shown in FIG. For example, the code length of the M-sequence code can be changed depending on the number of stages of the shift register 11 (the code length in the case of n stages is 2 n −1 bits). In addition, the pattern of the M-sequence code can be changed by a combination that obtains an exclusive OR.

次に、図1〜図3を参照し、本実施の形態に係る拡散符号生成回路の動作について説明する。図3は、この拡散符号生成回路の動作の流れを示すフローチャートである。
M系列符号生成回路1のシフトレジスタ11を起動し(ステップS1)、同一系列でそれぞれ位相が異なる複数のM系列符号を1ビット分ずつ生成し、生成されたデータを1値挿入器3に出力する。すなわち、シフトレジスタ11の各段の状態パターンX1〜X4を1ビット分だけ1値挿入器3に出力する。
1値挿入器3では、入力された状態パターンX1〜X4を出力端子4に出力する(ステップS2)。また、M系列符号の1周期中における特定タイミングであるか否かを検出する(ステップS3)。具体的な検出方法については後述する。
Next, the operation of the spreading code generation circuit according to the present embodiment will be described with reference to FIGS. FIG. 3 is a flowchart showing the operation flow of the spreading code generation circuit.
The shift register 11 of the M-sequence code generation circuit 1 is activated (step S1), a plurality of M-sequence codes having the same sequence and different phases are generated one bit at a time, and the generated data is output to the one-value inserter 3 To do. That is, the state patterns X 1 to X 4 of each stage of the shift register 11 are output to the 1-value inserter 3 by one bit.
The single value inserter 3 outputs the input state patterns X 1 to X 4 to the output terminal 4 (step S2). Moreover, it is detected whether it is the specific timing in 1 period of M series code | symbol (step S3). A specific detection method will be described later.

特定タイミングでなかった場合には(ステップS3,NO)、M系列符号を更に1ビット分ずつ生成し、1値挿入器3を介して出力端子4に出力する(ステップS2)。このステップS2の動作を、特定タイミングになるまで繰り返し行う。
特定タイミングとなった場合には(ステップS3,YES)、1値挿入器3により、特定タイミングの次のビットでシフトレジスタ11を停止させる(ステップS4)。そして、1ビットの間、シフトレジスタ11の状態を保持し、値1のデータ(1,1,1,1)を出力端子4に出力する(ステップS5)。そして、更に次のビットでシフトレジスタ11を再び起動する(ステップS1)。
以上の動作を繰り返し行うことにより、M系列符号の1周期中における特定タイミングの次のビットに値1が挿入された拡散符号が生成される。
If it is not the specific timing (step S3, NO), an M-sequence code is further generated bit by bit, and is output to the output terminal 4 via the single value inserter 3 (step S2). The operation in step S2 is repeated until a specific timing is reached.
When the specific timing is reached (step S3, YES), the shift register 11 is stopped at the bit next to the specific timing by the single value inserter 3 (step S4). Then, the state of the shift register 11 is held for 1 bit, and data (1, 1, 1, 1) of value 1 is output to the output terminal 4 (step S5). Then, the shift register 11 is started again with the next bit (step S1).
By repeating the above operation, a spreading code in which the value 1 is inserted into the bit next to the specific timing in one cycle of the M-sequence code is generated.

例えば、図27に示したM系列符号において、time1を特定タイミングとすると、図4に示すように、time1の次のtime2に、すべての系列に値1のデータ(1,1,1,1)が挿入され、それ以降のデータが1ビットずつ繰り下げれる。この図では、系列X1,X2,X3,X4のそれぞれにより、拡散符号が構成される。
この拡散符号は、符号長「15」のM系列符号に1ビット挿入して作成されたものであるから、その符号長は「16」となる。一般化すれば、符号長「N(=2n−1)」のM系列符号を基に作成された拡散符号の符号長は「N+1(=2n)」となる。
For example, in the M-sequence code shown in FIG. 27, when time 1 is a specific timing, as shown in FIG. 4, data of value 1 (1, 1, 1, 1) is added to time 2 next to time 1 Is inserted, and the subsequent data is carried down bit by bit. In this figure, each of the sequences X 1 , X 2 , X 3 and X 4 constitutes a spreading code.
Since this spreading code is created by inserting 1 bit into an M-sequence code having a code length of “15”, the code length is “16”. If generalized, the code length of the spreading code created based on the M-sequence code of code length “N (= 2 n −1)” will be “N + 1 (= 2 n )”.

図26に示した同期CDMA方式の拡散符号#1〜#Nに、本実施の形態による拡散符号を適用した場合について考える。
符号長NのM系列符号を基に本実施の形態により生成された拡散符号では、すべての系列X1〜X4に同じタイミングで1ビットだけ値1が挿入されている。このため、この拡散符号の自己相関値をとると、図5に示すように、同位相のとき(例えば、系列X1とX1)には「N+1」となり、位相が異なるとき(例えば、系列X1とX2〜X4)には「0」となる。したがって、この拡散符号は、完全直交性を有している。
Consider a case where the spreading code according to this embodiment is applied to spreading codes # 1 to #N of the synchronous CDMA system shown in FIG.
In the spread code generated according to the present embodiment based on the M-sequence code having the code length N, the value 1 is inserted by 1 bit into all the sequences X 1 to X 4 at the same timing. Therefore, when the autocorrelation value of this spreading code is taken, as shown in FIG. 5, when the phase is the same (for example, the sequences X 1 and X 1 ), it becomes “N + 1” and when the phases are different (for example, the sequence X 1 and X 2 to X 4 ) are “0”. Therefore, this spreading code has complete orthogonality.

ここで、拡散符号#1〜#Nの1ビット期間において、データ#1〜#Nのすべての値が1の場合には、拡散符号#1〜#Nでデータ#1〜#Nをスペクトラム拡散して得られた拡散信号と拡散符号#1との自己相関値は、図6(a)に示すように、それぞれ「N+1,0,0,・・・,0」となる。このように、符号間干渉が完全になくなり、しかも同位相のときの自己相関値が従来よりも大きくなる。その結果、拡散信号の和である受信信号を拡散符号#1でスペクトラム逆拡散すると、そのときの相関値は、図6(b)に示すようにN+1となる。符号長NのM系列符号を用いたときの相関値は、図29に示したように1であったから、本実施の形態による拡散符号を用いることにより、相関値はN+1倍になる。このため、多数の信号の中から所望の信号のみを取り出すことが極めて容易になる。   Here, if all the values of data # 1 to #N are 1 in one bit period of spreading codes # 1 to #N, data # 1 to #N are spread spectrum with spreading codes # 1 to #N. The autocorrelation values between the spread signal obtained in this way and the spread code # 1 are “N + 1, 0, 0,..., 0”, respectively, as shown in FIG. Thus, the intersymbol interference is completely eliminated, and the autocorrelation value at the same phase becomes larger than that in the conventional case. As a result, when the received signal, which is the sum of the spread signals, is spectrum despread with the spread code # 1, the correlation value at that time is N + 1 as shown in FIG. Since the correlation value when the M-sequence code having the code length N is 1 is 1 as shown in FIG. 29, the correlation value becomes N + 1 times by using the spreading code according to the present embodiment. For this reason, it becomes extremely easy to extract only a desired signal from a large number of signals.

また、本実施の形態による拡散符号は、M系列符号を基に生成されているので、スペクトラム拡散された拡散信号のスペクトラムは、M系列符号と同じく広範囲に分布する。このため、代表的な完全直交性拡散符号であるウォルシュ符号を用いたときのようなフェージングによる処理利得の低下を防止することができる。
このように、本実施の形態による拡散符号を用いることにより、処理利得を改善することができる。したがって、本実施の形態に係る拡散符号生成回路は、微弱無線規格下のような高い処理利得が要求される通信にも利用することができる。
In addition, since the spreading code according to the present embodiment is generated based on the M-sequence code, the spectrum of the spread spectrum spread signal is distributed over a wide range as with the M-sequence code. For this reason, it is possible to prevent a decrease in processing gain due to fading as in the case of using a Walsh code which is a typical perfect orthogonal spreading code.
Thus, the processing gain can be improved by using the spreading code according to the present embodiment. Therefore, the spreading code generation circuit according to the present embodiment can be used for communications that require a high processing gain, such as under the weak wireless standard.

また、本実施の形態に係る拡散符号生成回路は、M系列符号生成回路1に、M系列符号の1周期中における特定タイミングを検出するタイミング検出器2と、そのタイミングの次のビットに値1を挿入する1値挿入器3とを加えることにより構成される。このため、ウォルシュ符号等の他の完全直交性拡散符号の生成回路よりも、回路構成を簡易にすることができる。   In addition, the spreading code generation circuit according to the present embodiment includes an M-sequence code generation circuit 1 that includes a timing detector 2 that detects a specific timing in one cycle of the M-sequence code, and a value 1 in the next bit of the timing. It is comprised by adding the 1 value inserter 3 which inserts. For this reason, the circuit configuration can be simplified as compared with other perfect orthogonal spreading code generating circuits such as Walsh codes.

次に、図7〜図12を参照し、本実施の形態に係る拡散符号生成回路の構成例について説明する。図7〜図12は、この拡散符号生成回路の構成例を示すブロック図である。
図7に示す第1構成例では、1値挿入器3Aが、クロックの入力により値1を出力する1値出力器31と、タイミング検出器2から入力されるタイミング信号に基づき、クロック供給先をM系列符号生成回路1と1値出力器31との間で切り替えるクロック切り替え器32と、タイミング検出器2から入力されるタイミング信号に基づき、出力端子4との接続をM系列符号生成回路1と1値出力器31との間で切り替える出力切り替え器33とから構成されている。なお、1値出力回路31は、M系列符号生成回路1から出力される系列数と同じビット数の1値を出力する。例えば、M系列符号生成回路1から系列X1〜X4が出力される場合には、1値出力回路31は、4ビットの1値(1,1,1,1)を出力する。
Next, a configuration example of the spreading code generation circuit according to the present embodiment will be described with reference to FIGS. 7 to 12 are block diagrams showing examples of the configuration of the spread code generation circuit.
In the first configuration example shown in FIG. 7, the single value inserter 3 </ b> A determines the clock supply destination based on the single value output unit 31 that outputs the value 1 by the input of the clock and the timing signal input from the timing detector 2. Based on the timing signal input from the timing switch 2 and the clock switch 32 that switches between the M-sequence code generation circuit 1 and the one-value output device 31, the connection with the output terminal 4 is connected to the M-sequence code generation circuit 1. The output switching device 33 is configured to switch between the single value output device 31 and the output device 33. The one-value output circuit 31 outputs one value having the same number of bits as the number of sequences output from the M-sequence code generation circuit 1. For example, when the sequences X 1 to X 4 are output from the M-sequence code generation circuit 1, the one-value output circuit 31 outputs a 4-bit one value (1, 1, 1, 1).

図8に示す第2構成例では、1値挿入器3Bにおいて、図7におけるクロック切り替え器32の機能と出力切り替え器33の機能とを、1つのクロック・出力切り替え器34にもたせている。すなわち、クロック・出力切り替え器34は、タイミング検出器2から入力されるタイミング信号に基づき、M系列符号生成回路1と1値出力器31との間でクロック供給先および出力を切り替える。その他の部分は、第1構成例と同じである。   In the second configuration example shown in FIG. 8, in the single value inserter 3B, the function of the clock switch 32 and the function of the output switch 33 in FIG. That is, the clock / output switch 34 switches the clock supply destination and the output between the M-sequence code generation circuit 1 and the one-value output unit 31 based on the timing signal input from the timing detector 2. Other parts are the same as those in the first configuration example.

図9に示す第3構成例では、M系列符号生成回路1および1値出力器31のそれぞれにクロックが独立に供給されている。そして、1値挿入器3Cに、タイミング信号に基づき、M系列符号生成回路1および1値出力器31の起動と停止を交互に切り替える起動・停止切り替え器35が設けられている。すなわち、起動・停止切り替え器35は、M系列符号生成回路1を起動させているときには、1値出力器31を停止させ、その逆に1値出力器31を起動させているときには、M系列符号生成回路1を停止させる。その他の部分は、第1構成例と同じである。   In the third configuration example shown in FIG. 9, clocks are independently supplied to each of the M-sequence code generation circuit 1 and the one-value output unit 31. The single value inserter 3C is provided with a start / stop switch 35 for alternately switching start and stop of the M-sequence code generation circuit 1 and the single value output unit 31 based on the timing signal. That is, the start / stop switch 35 stops the single-value output unit 31 when the M-sequence code generation circuit 1 is started, and conversely when the single-value output unit 31 is started. The generation circuit 1 is stopped. Other parts are the same as those in the first configuration example.

図10に示す第4構成例では、1値挿入器3Dにおいて、図9における起動・停止切り替え器35の機能と出力切り替え器33の機能とを、1つの切り替え器36にもたせている。すなわち、切り替え器36は、タイミング信号に基づき、M系列符号生成回路1と1値出力器31との間で起動・停止および出力を切り替える。その他の部分は、第3構成例と同じである。   In the fourth configuration example shown in FIG. 10, in the single value inserter 3D, the function of the start / stop switch 35 and the function of the output switch 33 in FIG. That is, the switcher 36 switches activation / stop and output between the M-sequence code generation circuit 1 and the one-value output unit 31 based on the timing signal. Other parts are the same as those in the third configuration example.

図11に示す第5構成例では、1値挿入器3Eにおいて、図7における出力切り替え器33が設けられていない。M系列符号生成回路1および1値出力器31のうち出力を行わない方は、出力に対してフローティング状態をとる。その他の部分は、第1構成例と同じである。   In the fifth configuration example shown in FIG. 11, the output selector 33 in FIG. 7 is not provided in the single value inserter 3E. Of the M-sequence code generation circuit 1 and the one-value output unit 31, the one that does not output takes a floating state with respect to the output. Other parts are the same as those in the first configuration example.

図12に示す第6構成例では、1値挿入器3Fにおいて、図9における出力切り替え器33が設けられていない。M系列符号生成回路1および1値出力器31のうち出力を行わない方は、出力に対してフローティング状態をとる。その他の部分は、第3構成例と同じである。   In the sixth configuration example shown in FIG. 12, the output selector 33 in FIG. 9 is not provided in the single value inserter 3F. Of the M-sequence code generation circuit 1 and the one-value output unit 31, the one that does not output takes a floating state with respect to the output. Other parts are the same as those in the third configuration example.

次に、本実施の形態に係る拡散符号生成回路について、より具体的に説明する。図13は、拡散符号生成回路の第1構成例の一具体例を示すブロック図である。この拡散符号生成回路では、図7におけるタイミング検出器2、クロック切り替え器32、出力切り替え器33として、相関器2A、クロック切り替え器32A、出力切り替え器33Aが設けられている。また、クロックを生成するクロック生成回路5が設けられている。   Next, the spreading code generation circuit according to the present embodiment will be described more specifically. FIG. 13 is a block diagram showing a specific example of the first configuration example of the spreading code generation circuit. In this spreading code generation circuit, a correlator 2A, a clock switcher 32A, and an output switcher 33A are provided as the timing detector 2, the clock switcher 32, and the output switcher 33 in FIG. A clock generation circuit 5 for generating a clock is also provided.

ここで、相関器2Aは、M系列符号生成回路1のシフトレジスタ11の状態パターンと、予め設定された参照パターンとを対比することにより、M系列符号生成回路1により生成されるM系列符号の1周期中における特定タイミングを検出し、タイミング信号を切り替え器32A,33Aに出力する。参照パターンとしては、M系列符号生成回路1により生成されるM系列符号の特定タイミングの状態パターンが設定されている。相関器2Aでは、この参照パターンと、M系列符号生成回路1のシフトレジスタ11の状態パターンとの内積を求める。シフトレジスタ11の段数をnとすると、両パターンが一致したときには、内積がnとなり、一致しなかったときには、n−1以下の値(負の値も含む)になる。よって、内積がシフトレジスタ11の段数に相当する値nとなったときに、M系列符号の特定タイミングであると判定し、タイミング信号を出力する。   Here, the correlator 2A compares the state pattern of the shift register 11 of the M-sequence code generation circuit 1 with a preset reference pattern, so that the M-sequence code generated by the M-sequence code generation circuit 1 A specific timing in one cycle is detected, and a timing signal is output to the switchers 32A and 33A. As the reference pattern, a state pattern at a specific timing of the M-sequence code generated by the M-sequence code generation circuit 1 is set. Correlator 2A obtains the inner product of this reference pattern and the state pattern of shift register 11 of M-sequence code generation circuit 1. Assuming that the number of stages of the shift register 11 is n, the inner product is n when both patterns match, and when it does not match, the value is n−1 or less (including negative values). Therefore, when the inner product becomes a value n corresponding to the number of stages of the shift register 11, it is determined that the specific timing of the M-sequence code is reached, and a timing signal is output.

例えば、シフトレジスタ11の段数をn=4、参照パターンを(1,1,1,1)とすると、シフトレジスタ11の状態パターン(X1,X2,X3,X4)=(1,1,1,1)のときに両パターンの内積が4となり、(X1,X2,X3,X4)≠(1,1,1,1)のときには3以下の値(負の値も含む)となる。よって、内積が4となったとき、M系列符号の特定タイミングであると判定し、タイミング信号を出力する。 For example, if the number of stages of the shift register 11 is n = 4 and the reference pattern is ( 1 , 1 , 1 , 1) , the state pattern (X 1 , X 2 , X 3 , X 4 ) = (1, The inner product of both patterns is 4 when ( 1 , 1 , 1 ), and a value of 3 or less (negative value) when (X 1 , X 2 , X 3 , X 4 ) ≠ ( 1 , 1 , 1 , 1 ) Also included). Therefore, when the inner product is 4, it is determined that the specific timing of the M-sequence code is reached, and a timing signal is output.

クロック切り替え器32Aは、スイッチSW1とスイッチSW2とから構成されている。スイッチSW1は、クロック生成回路5からのクロックをM系列符号生成回路1に導くスイッチであり、スイッチSW2は、クロックを1値出力器31に導くスイッチである。相関器2Aから入力されるタイミング信号に基づき、スイッチSW1とSW2とのON/OFFが交互に切り替えられる。
出力切り替え器33Aは、スイッチSW3とスイッチSW4とから構成されている。スイッチSW3は、M系列符号生成回路1の出力を出力端子4に導くスイッチであり、スイッチSW4は、1値出力器31の出力を出力端子4に導くスイッチである。相関器2Aから入力されるタイミング信号に基づき、スイッチSW3とSW4とのON/OFFが交互に切り替えられる。
Clock switch 32A is a switch SW 1 and the switch SW 2 Prefecture. The switch SW 1 is a switch that guides the clock from the clock generation circuit 5 to the M-sequence code generation circuit 1, and the switch SW 2 is a switch that guides the clock to the one-value output unit 31. Based on the timing signal input from the correlator 2A, ON / OFF of the switches SW 1 and SW 2 are alternately switched.
Output switch 33A is a switch SW 3 and switch SW 4 Prefecture. The switch SW 3 is a switch that guides the output of the M-sequence code generation circuit 1 to the output terminal 4, and the switch SW 4 is a switch that guides the output of the one-value output device 31 to the output terminal 4. Based on the timing signal input from the correlator 2A, ON / OFF of the switch SW 3 and SW 4 are switched alternately.

図14は、図13に示した拡散符号生成回路の動作の流れを示すフローチャートである。初期状態では、クロック切り替え器32AのスイッチSW1がON、スイッチSW2がOFFであり、出力切り替え器33AのスイッチSW3がON、スイッチSW4がOFFである。
スイッチSW1を介してクロックをM系列符号生成回路1に供給すると、M系列符号生成回路1では同一系列でそれぞれ位相が異なるn個のM系列符号を1ビット分ずつ生成する。より具体的には、クロックの入力により、M系列符号生成回路1のn段のシフトレジスタ11の状態パターンが1段シフトし、シフトした状態パターンのデータが上述したn個のM系列符号の1ビット分のデータとなる。このデータを相関器2Aに出力するとともに、スイッチSW3を介して出力端子4に出力する(ステップS11)。
FIG. 14 is a flowchart showing an operation flow of the spreading code generation circuit shown in FIG. In the initial state, the switch SW 1 of the clock switch 32A is ON and the switch SW 2 is OFF, the switch SW 3 of the output switch 33A is ON, and the switch SW 4 is OFF.
When a clock is supplied to the M-sequence code generation circuit 1 via the switch SW 1 , the M-sequence code generation circuit 1 generates n M-sequence codes of the same sequence and different phases, one bit at a time. More specifically, the state pattern of the n-stage shift register 11 of the M-sequence code generation circuit 1 is shifted by one stage by the input of the clock, and the data of the shifted state pattern is 1 of the above-described n M-sequence codes. Bit data. Outputs the data to the correlator 2A, to the output terminal 4 via the switch SW 3 (step S11).

相関器2Aでは、入力されたシフトレジスタ11の状態パターンのデータと、予め設定された参照パターンのデータと内積を求める(ステップS12)。両パターンが一致せず、その内積がシフトレジスタ11の段数よりも小さい値、すなわちn−1以下になった場合には(ステップS13,NO)、M系列符号の特定タイミングではないと判定し、切り替え器32A,33Aにタイミング信号を出力しない。このため、1ビット後にクロックが再びスイッチSW1を介してM系列符号生成回路1に供給され、M系列符号生成回路1で生成されたデータがスイッチSW3を介して出力端子4に出力される(ステップS11)。このステップS11の動作が、特定タイミングになるまで繰り返し行われる。 The correlator 2A obtains the inner product of the input state pattern data of the shift register 11 and the preset reference pattern data (step S12). If both patterns do not match and the inner product is smaller than the number of stages of the shift register 11, that is, n-1 or less (step S13, NO), it is determined that it is not the specific timing of the M-sequence code, No timing signal is output to the switchers 32A and 33A. Therefore, the clock is supplied again to the M-sequence code generation circuit 1 via the switch SW 1 after 1 bit, and the data generated by the M-sequence code generation circuit 1 is output to the output terminal 4 via the switch SW 3. (Step S11). The operation in step S11 is repeated until a specific timing is reached.

両パターンが一致し、その内積がシフトレジスタ11の段数に相当する値nになった場合には(ステップS13,YES)、M系列符号の特定タイミングであると判定し、切り替え器32A,33Aにタイミング信号を出力する。これにより、クロック切り替え器32Aでは、スイッチSW1をOFF、スイッチSW2をONにし、クロック供給先をM系列符号生成回路1から1値出力器31に切り替える。また、出力切り替え器33Aでは、スイッチSW3をOFF、スイッチSW4をONし、出力端子4との接続をM系列符号生成回路1から1値出力器31に切り替える(ステップS14)。 If both patterns match and the inner product reaches a value n corresponding to the number of stages of the shift register 11 (YES in step S13), it is determined that it is the specific timing of the M-sequence code, and the switches 32A and 33A Output timing signal. Thus, the clock switch 32A, the switch SW 1 OFF, to ON switch SW 2, switch the clock supply destination from the M-sequence code generation circuit 1 to 1 value output unit 31. In the output switch 33A, the switch SW 3 is turned off and the switch SW 4 is turned on, and the connection with the output terminal 4 is switched from the M-sequence code generation circuit 1 to the one-value output device 31 (step S14).

これにより、1ビット後にクロックはスイッチSW2を介して1値出力器31に供給される。1値出力器31は、クロックの入力により、1ビットの間、値1のデータをスイッチSW4を介して出力端子4に出力する(ステップS15)。
また、相関器2Aは、ステップS14でタイミング信号を出力してから1ビット後に、再びタイミング信号を切り替え器32A,33Aに出力する。これにより、クロック切り替え器32Aでは、スイッチSW1をON、スイッチSW2をOFFにし、クロック供給先を1値出力器31からM系列符号生成回路1に切り替える。また、出力切り替え器33Aでは、スイッチSW3をON、スイッチSW4をOFFし、出力端子4との接続を1値出力器31からM系列符号生成回路1に切り替える(ステップS16)。
Thus, the clock after one bit is supplied to the 1 value output unit 31 via the switch SW 2. 1 value output unit 31, a clock input, and outputs for one bit, the data value 1 to the output terminal 4 via the switch SW 4 (step S15).
Further, the correlator 2A outputs the timing signal again to the switchers 32A and 33A one bit after outputting the timing signal in step S14. Thus, the clock switch 32A, the switch SW 1 ON, turn OFF the switch SW 2, switch the clock supply destination from 1 value output unit 31 to the M-sequence code generation circuit 1. Further, the output switch 33A, ON the switch SW 3, and OFF the switch SW 4, it switches the connection between the output terminal 4 from 1 value output unit 31 to the M-sequence code generation circuit 1 (step S16).

これにより、クロックはスイッチSW1を介してM系列符号生成回路1に供給され、M系列符号生成回路1で生成されたデータがスイッチSW3を介して出力端子4に出力される(ステップS11)。
以上の動作を繰り返し行うことにより、M系列符号の1周期中における特定タイミングの次のビットに値1が挿入された拡散符号が生成される。
なお、図15に示すように、出力切り替え器33Aを設けず、M系列符号生成回路1および1値出力器31を出力端子4に共通に接続する構成としてもよい。
Thus, the clock is supplied to the M-sequence code generation circuit 1 through the switch SW 1, data generated by the M-sequence code generation circuit 1 is output to the output terminal 4 via the switch SW 3 (step S11) .
By repeating the above operation, a spreading code in which the value 1 is inserted into the bit next to the specific timing in one cycle of the M-sequence code is generated.
As shown in FIG. 15, the output switching device 33 </ b> A may not be provided, and the M-sequence code generation circuit 1 and the one-value output device 31 may be commonly connected to the output terminal 4.

図16は、拡散符号生成回路の第1構成例の他の具体例を示すブロック図である。この拡散符号生成回路では、図7におけるタイミング検出器2、クロック切り替え器32、出力切り替え器33として、タイミング検出器2B、クロック切り替え器32A、出力切り替え器33Aが設けられている。また、クロックを生成するクロック生成回路5が設けられている。
ここで、タイミング検出器2Bは、カウンタ21とリセット回路22とから構成されている。カウンタ21は、M系列符号生成回路1に入力されるクロックを計数し、カウント値がM系列符号生成回路1で生成されるM系列符号の符号長に相当する値Nとなったときに、タイミング信号を切り替え器32A,33Aに出力する。リセット回路22は、カウンタ21のカウント値がNとなったときに、カウント値を0に初期化する。
FIG. 16 is a block diagram showing another specific example of the first configuration example of the spreading code generation circuit. In this spread code generation circuit, a timing detector 2B, a clock switch 32A, and an output switch 33A are provided as the timing detector 2, the clock switch 32, and the output switch 33 in FIG. A clock generation circuit 5 for generating a clock is also provided.
Here, the timing detector 2 </ b> B includes a counter 21 and a reset circuit 22. The counter 21 counts clocks input to the M-sequence code generation circuit 1, and when the count value becomes a value N corresponding to the code length of the M-sequence code generated by the M-sequence code generation circuit 1, The signal is output to the switchers 32A and 33A. The reset circuit 22 initializes the count value to 0 when the count value of the counter 21 becomes N.

上述したように、M系列符号生成回路1は、クロックの入力により、M系列符号を1ビット生成し出力する。したがって、M系列符号生成回路1に入力されるクロックをカウンタ21で計数することにより、M系列符号生成回路1で生成されたM系列符号のビット数を計数することができる。M系列符号が1符号長N、すなわち1周期分生成されたときには、カウンタ21のカウント値はNだけ増える。よって、M系列符号の1周期中における特定タイミングが訪れたときに、カウンタ21のカウント値をリセット回路22で0に初期化して入力クロックの計数を開始することにより、カウント値がNとなったときにM系列符号が1周期分生成され、再び特定タイミングが訪れたことがわかる。このため、カウンタ21は、カウント値がNとなったときに、M系列符号の特定タイミングであると判定し、タイミング信号を切り替え器32A,33Aに出力する。
なお、切り替え器32A,33Aは、図13における切り替え器32A,33Aと同じものである。
As described above, the M-sequence code generation circuit 1 generates and outputs 1-bit M-sequence code in response to a clock input. Therefore, by counting the clock input to the M-sequence code generation circuit 1 with the counter 21, the number of bits of the M-sequence code generated by the M-sequence code generation circuit 1 can be counted. When the M-sequence code is generated for one code length N, that is, for one period, the count value of the counter 21 increases by N. Therefore, when the specific timing in one cycle of the M-sequence code arrives, the count value of the counter 21 is initialized to 0 by the reset circuit 22 and the count of the input clock is started, so that the count value becomes N. It can be seen that the M-sequence code is generated for one period, and the specific timing has come again. For this reason, when the count value becomes N, the counter 21 determines that it is the specific timing of the M-sequence code, and outputs a timing signal to the switchers 32A and 33A.
The switchers 32A and 33A are the same as the switchers 32A and 33A in FIG.

図17は、図16に示した拡散符号生成回路の動作の流れを示すフローチャートである。初期状態では、クロック切り替え器32AのスイッチSW1がON、スイッチSW2がOFFであり、出力切り替え器33AのスイッチSW3がON、スイッチSW4がOFFであり、カウンタ21のカウント値が0である。
まず、カウンタ21のカウント値を確認する。カウント値がM系列符号生成回路1で生成されるM系列符号の1符号長Nよりも小さい値、すなわちN−1以下の場合には(ステップS21,NO)、M系列符号の特定タイミングではないと判定し、切り替え器32A,33Aにタイミング信号を出力しない。
FIG. 17 is a flowchart showing an operation flow of the spreading code generation circuit shown in FIG. In the initial state, the switch SW 1 of the clock switch 32A is ON and the switch SW 2 is OFF, the switch SW 3 of the output switch 33A is ON, the switch SW 4 is OFF, and the count value of the counter 21 is 0. is there.
First, the count value of the counter 21 is confirmed. When the count value is a value smaller than one code length N of the M-sequence code generated by the M-sequence code generation circuit 1, that is, N-1 or less (step S21, NO), it is not the specific timing of the M-sequence code. And the timing signal is not output to the switchers 32A and 33A.

1ビット後に、クロックがスイッチSW1を介してM系列符号生成回路1に供給される。同じクロックがカウンタ21にも供給される。このクロックの入力により、カウンタ21では、カウント値をインクリメントして1増やす(ステップS22)。また、M系列符号生成回路1では、同一系列でそれぞれ位相が異なるn個のM系列符号を1ビット分ずつ生成し、スイッチSW3を介して出力端子4に出力する(ステップS23)。このステップS22,S23の動作を、カウント値がNになるまで繰り返し行う。 After 1 bit, a clock is supplied to the M-sequence code generation circuit 1 via the switch SW 1 . The same clock is also supplied to the counter 21. With the input of this clock, the counter 21 increments the count value and increments it by 1 (step S22). Further, the M-sequence code generation circuit 1, respectively in the same series phase n different M-sequence code generated by one bit minute, and outputs to the output terminal 4 via the switch SW 3 (step S23). The operations in steps S22 and S23 are repeated until the count value becomes N.

カウント値がNになった場合には(ステップS11,YES)、M系列符号の特定タイミングであると判定し、切り替え器32A,33Aにタイミング信号を出力する。これにより、クロック切り替え器32Aでは、スイッチSW1をOFF、スイッチSW2をONにし、クロック供給先をM系列符号生成回路1から1値出力器31に切り替える。また、出力切り替え器33Aでは、スイッチSW3をOFF、スイッチSW4をONし、出力端子4との接続をM系列符号生成回路1から1値出力器31に切り替える(ステップS24)。 When the count value becomes N (YES in step S11), it is determined that the specific timing of the M-sequence code is reached, and a timing signal is output to the switchers 32A and 33A. Thus, the clock switch 32A, the switch SW 1 OFF, to ON switch SW 2, switch the clock supply destination from the M-sequence code generation circuit 1 to 1 value output unit 31. In the output switch 33A, the switch SW 3 is turned OFF and the switch SW 4 is turned ON, and the connection with the output terminal 4 is switched from the M-sequence code generation circuit 1 to the one-value output device 31 (step S24).

これにより、1ビット後にクロックはスイッチSW2を介して1値出力器31に供給される。1値出力器31は、クロックの入力により、1ビットの間、値1のデータをスイッチSW4を介して出力端子4に出力する(ステップS25)。
また、リセット回路22は、カウンタ21のカウント値を0に初期化する(ステップS26)。そして、カウンタ21は、再びタイミング信号を切り替え器32A,33Aに出力する。これにより、クロック切り替え器32Aでは、スイッチSW1をON、スイッチSW2をOFFにし、クロック供給先を1値出力器31からM系列符号生成回路1に切り替える。また、出力切り替え器33Aでは、スイッチSW3をON、スイッチSW4をOFFし、出力端子4との接続を1値出力器31からM系列符号生成回路1に切り替える(ステップS17)。
Thus, the clock after one bit is supplied to the 1 value output unit 31 via the switch SW 2. 1 value output unit 31, a clock input, and outputs for one bit, the data value 1 to the output terminal 4 via the switch SW 4 (step S25).
The reset circuit 22 initializes the count value of the counter 21 to 0 (step S26). The counter 21 again outputs the timing signal to the switchers 32A and 33A. Thus, the clock switch 32A, the switch SW 1 ON, turn OFF the switch SW 2, switch the clock supply destination from 1 value output unit 31 to the M-sequence code generation circuit 1. Further, the output switch 33A, ON the switch SW 3, and OFF the switch SW 4, it switches the connection between the output terminal 4 from 1 value output unit 31 to the M-sequence code generation circuit 1 (step S17).

以上の動作を繰り返し行うことにより、M系列符号の1周期中における特定タイミングの次のビットに値1が挿入された拡散符号が生成される。
なお、図18に示すように、出力切り替え器33Aを設けず、M系列符号生成回路1および1値出力器31を出力端子4に共通に接続する構成としてもよい。
By repeating the above operation, a spreading code in which the value 1 is inserted into the bit next to the specific timing in one cycle of the M-sequence code is generated.
As shown in FIG. 18, the output switching device 33 </ b> A may not be provided, and the M-sequence code generation circuit 1 and the one-value output device 31 may be commonly connected to the output terminal 4.

次に、クロック生成回路5について説明する。
搬送波を用いずにデータ信号を拡散符号で低電力広帯域にスペクトラム拡散し高い処理利得を得る無線通信方式においては、高周波拡散符号が求められる。しかし、高周波拡散符号の生成に必要な高速のクロックを電圧制御発振回路から直接生成することは困難である。そこで、本実施の形態では、データ信号のクロックの周波数を逓倍することにより、高速のクロックを生成する。その具体的な回路構成を図19に示す。
Next, the clock generation circuit 5 will be described.
In a wireless communication system that obtains a high processing gain by spreading a data signal in a low-power wideband with a spreading code without using a carrier wave, a high-frequency spreading code is required. However, it is difficult to directly generate a high-speed clock necessary for generating a high-frequency spread code from the voltage-controlled oscillation circuit. Therefore, in this embodiment, a high-speed clock is generated by multiplying the clock frequency of the data signal. A specific circuit configuration thereof is shown in FIG.

図19に示すクロック生成回路5Aは、データ信号のクロックを生成するデータクロック生成回路51と、それぞれ入力されたクロックの周波数を2倍に逓倍して出力するn段(nは自然数)の逓倍器521〜52nとから構成されている。よって、データクロック生成回路51で生成されたクロックは、n段の逓倍器521〜52nにより2n倍に逓倍され、最終段の逓倍器52nから出力される。 A clock generation circuit 5A shown in FIG. 19 includes a data clock generation circuit 51 that generates a clock of a data signal, and an n-stage (n is a natural number) multiplier that doubles and outputs the frequency of each input clock. 52 1 to 52 n . Thus, the clock generated by the data clock generation circuit 51, the multiplier 52 1 to 52 n of the n stages is multiplied to 2 n times, it is outputted from the multiplier 52 n of the last stage.

上述したように、本実施の形態に係る拡散符号生成回路で生成された拡散符号の符号長は2nとなる。このため、クロック生成回路5Aを用いることにより、データ信号用の1クロックの周波数が2n倍に逓倍され、周波数が2nに逓倍されたクロックに基づき符号長2nの拡散符号が生成される。すなわち、データ信号と、そのデータ信号をスペクトラム拡散する1符号長分の拡散符号とを、同じクロックを基に生成することが可能となる。よって、同じクロックを基に生成された拡散符号でデータ信号をスペクトラム拡散することにより、データ信号と拡散符号との同期をとるための同期回路が不要となる。 As described above, the code length of the spread code generated by the spread code generation circuit according to the present embodiment is 2 n . Therefore, by using the clock generation circuit 5A, is multiplied by one clock of the frequency of the data signal is 2 n times, the spread code of the code length 2 n on the basis of the frequency is multiplied up to 2 n clock is generated . That is, it is possible to generate a data signal and a spread code for one code length for spectrum-spreading the data signal based on the same clock. Therefore, by performing spectrum spread of the data signal with the spread code generated based on the same clock, a synchronization circuit for synchronizing the data signal and the spread code becomes unnecessary.

また、クロック生成回路5Aにおいて、n段の逓倍器521〜52nの任意の出力を取り出すスイッチ(図示せず)を設けることにより、21,22,・・・,2nの任意の符号長に対応したクロックを得ることができる。よって、任意の符号長の拡散符号を生成することができ、状況に応じて自由に受信側での処理利得を調整することが可能となる。
また、クロック生成回路5Aで生成されるクロックの周波数は、データ信号のクロック周波数に比例しているので、データ信号の周波数が高速化するに伴って自動的に高速化した拡散符号を得ることが可能となる。
Further, in the clock generation circuit 5A, by providing a switch (not shown) to take out any of the output of the multiplier 52 1 to 52 n of the n-stage, 2 1, 2 2,..., Any of 2 n A clock corresponding to the code length can be obtained. Therefore, a spread code having an arbitrary code length can be generated, and the processing gain on the receiving side can be freely adjusted according to the situation.
Further, since the frequency of the clock generated by the clock generation circuit 5A is proportional to the clock frequency of the data signal, it is possible to obtain a spread code that is automatically accelerated as the frequency of the data signal increases. It becomes possible.

以上では、データ信号のクロックを基に拡散符号のクロックを生成する場合について説明したが、これとは逆に拡散符号のクロックを基にデータ信号のクロックを生成してもよい。この場合には、図20に示すように、拡散符号のクロックを生成するクロック生成回路5の出力側に、n段の分周器61〜6nが設けられる。分周器61〜6nのそれぞれにより、クロックの周波数が1/2に分周されるので、最終段の分周器6nからは周波数が1/2nに分周されたクロックが得られる。通常、拡散符号のクロック生成回路5には、データ信号のクロック生成回路よりも低ジッタのものが用いられる。よって、拡散符号のクロックを分周することにより、低ジッタのデータ信号クロックを得ることができる。また、拡散符号のクロック生成回路5の他に、データ信号のクロック生成回路を独立して設ける必要がなくなる。 In the above description, the case where the spread code clock is generated based on the clock of the data signal has been described, but the data signal clock may be generated based on the spread code clock. In this case, as shown in FIG. 20, n stages of frequency dividers 6 1 to 6 n are provided on the output side of the clock generation circuit 5 that generates the clock of the spread code. Since each of the frequency dividers 6 1 to 6 n divides the frequency of the clock by ½, the final frequency divider 6 n obtains a clock whose frequency is divided by ½ n. It is done. Generally, the spread code clock generation circuit 5 has a lower jitter than the data signal clock generation circuit. Therefore, a data signal clock with low jitter can be obtained by dividing the clock of the spread code. In addition to the spread code clock generation circuit 5, it is not necessary to provide a data signal clock generation circuit independently.

なお、本実施の形態では、同一系列を1ビットずつシフトさせた4つのM系列符号中に同じタイミングで1値を挿入することにより拡散符号を生成する例を説明したが、1値を挿入するM系列符号の数は4つに限られず、M系列符号の1符号長Nまでの自然数であればよい。
また、本実施の形態に係る拡散符号生成回路は、同期CDMAなどのスペクトラム拡散通信の他に、MC−CDMAにも利用することができる。
In this embodiment, an example has been described in which a spread code is generated by inserting one value at the same timing into four M-sequence codes obtained by shifting the same sequence bit by bit. However, one value is inserted. The number of M-sequence codes is not limited to four, and may be any natural number up to one code length N of M-sequence codes.
Further, the spread code generation circuit according to the present embodiment can be used for MC-CDMA in addition to spread spectrum communication such as synchronous CDMA.

次に、本発明の他の実施の形態に係る同期回路について説明する。この同期回路は、上述した拡散符号(送信側拡散符号)を用いてスペクトラム拡散された拡散信号を受信機でスペクトラム逆拡散する際に、拡散信号と拡散符号(受信側拡散符号)との同期を確立する回路である。ここでは、同期CDMA方式の受信機において同期を確立する場合を例にして説明する。説明には、図21に示すようなM系列符号のtime11に値1が挿入された拡散符号を用いる。   Next, a synchronization circuit according to another embodiment of the present invention will be described. This synchronization circuit synchronizes the spread signal and the spread code (receive side spread code) when the spread spectrum signal spread using the spread code (transmit side spread code) described above is despread by the receiver. It is a circuit to establish. Here, a case where synchronization is established in a synchronous CDMA receiver will be described as an example. For the description, a spreading code in which a value 1 is inserted in time 11 of the M-sequence code as shown in FIG. 21 is used.

まず、同期回路の構成の説明に先立ち、同期が保持されている場合の同期方法について説明する。図22に示すように、時刻T=0において、受信機では受信側拡散符号として系列X1が生成されているものとする。受信信号には送信側拡散符号の各系列X1,X2,・・・が多重されているので、受信側拡散符号としての系列X1と受信信号に含まれる送信側拡散符号との相関をとると、図22(a)に示すように送信側拡散符号の系列X1との相関値が16、図22(b)に示すように送信側拡散符号の系列X2その他の系列との相関値が0となり、相関値の和の絶対値が16になる。 First, prior to the description of the configuration of the synchronization circuit, a synchronization method when synchronization is maintained will be described. As shown in FIG. 22, it is assumed that sequence X 1 is generated as a reception side spreading code at the receiver at time T = 0. Since each sequence X 1 , X 2 ,... Of the transmission side spreading code is multiplexed in the reception signal, the correlation between the sequence X 1 as the reception side spreading code and the transmission side spreading code included in the reception signal is obtained. Then, as shown in FIG. 22 (a), the correlation value with the transmission side spread code sequence X 1 is 16, and as shown in FIG. 22 (b), the transmission side spread code sequence X 2 is correlated with other sequences. The value is 0, and the absolute value of the sum of correlation values is 16.

図23に示すように、時刻T=0から拡散符号の1ビットに相当する時間が経過し時刻T=1(ビット)となると、受信信号に含まれる送信側拡散符号の位相が1ビット進む。図22と図23との間では、送信側拡散符号が右方向に1ビット移動する。この際、受信側拡散符号において、系列X1でtime11に挿入された1値とtime10の値とを交換し、系列X2を生成する。この系列X2と受信信号に含まれる送信側拡散符号との相関をとると、図23(a)に示すように送信側拡散符号の系列X1その他の系列との相関値が0、図23(b)に示すように送信側拡散符号の系列X2との相関値が16となり、相関値の和の絶対値が16になる。 As shown in FIG. 23, when time corresponding to 1 bit of the spread code elapses from time T = 0 and time T = 1 (bit), the phase of the transmission side spread code included in the received signal advances by 1 bit. Between FIG. 22 and FIG. 23, the transmission-side spreading code moves 1 bit to the right. At this time, in the spreading code on the receiving side, the 1 value inserted in time 11 in sequence X 1 and the value of time 10 are exchanged to generate sequence X 2 . When the correlation between the sequence X 2 and the transmission side spreading code included in the received signal is taken, the correlation value between the transmission side spreading code sequence X 1 and other sequences is 0, as shown in FIG. As shown in (b), the correlation value with the transmission side spread code sequence X 2 is 16, and the absolute value of the sum of the correlation values is 16.

以下同様に、拡散符号の1ビットに相当する時間が経過する毎に受信側拡散符号に挿入された1値のビットをその隣のビットと交換し1値の挿入位置を右方向に移動させていくことにより、受信側拡散符号と受信信号に含まれる送信側拡散符号との相関値(すなわち、系列X1,X2,・・・との相関値の和)の絶対値が16になり、同期を保持することができる。
このように受信機において同期が保持されている場合には、相関値の和の絶対値が16で一定となり、その波形は図24(a)に示すようになる。これに対し、同期が保持されていない非同期の場合には、相関値の和の絶対値が一定とならず、その波形は例えば図24(b)に示すようになる。
Similarly, every time the time corresponding to one bit of the spread code elapses, the one-value bit inserted in the reception-side spread code is exchanged with the adjacent bit, and the one-value insertion position is moved to the right. As a result, the absolute value of the correlation value between the reception side spreading code and the transmission side spreading code included in the received signal (that is, the sum of the correlation values with the sequences X 1 , X 2 ,...) Becomes 16. Synchronization can be maintained.
When synchronization is maintained in the receiver in this way, the absolute value of the sum of correlation values is constant at 16, and the waveform is as shown in FIG. On the other hand, in the asynchronous case where synchronization is not maintained, the absolute value of the sum of correlation values is not constant, and the waveform thereof is as shown in FIG. 24B, for example.

次に、上述した同期方法を実現する同期回路の構成について説明する。図25は、この同期回路の構成を示すブロック図である。この図に示す同期回路は、受信信号をサンプリングし時系列順に保持する信号保持回路91と、M系列符号中に1値が挿入された受信側拡散符号を1値の挿入位置を移動させながら生成する拡散符号生成回路92と、信号保持回路91に保持されている受信信号と拡散符号生成回路92で生成される受信側拡散符号とを対応するビット毎に乗算する複数の乗算回路93A,93B,93C,・・・,93I,93Jと、乗算回路93A〜93Jでビット毎に乗算された結果を加算する加算回路94と、加算回路94による加算結果に基づき同期状態を検出しその検出結果を拡散符号生成回路92へ出力する同期検出回路95とから構成されている。   Next, the configuration of a synchronization circuit that realizes the synchronization method described above will be described. FIG. 25 is a block diagram showing the configuration of this synchronization circuit. The synchronization circuit shown in this figure generates a signal holding circuit 91 that samples a received signal and holds it in chronological order, and a reception side spread code in which one value is inserted in an M-sequence code while moving the insertion position of the one value. A plurality of multiplying circuits 93A, 93B, for multiplying the received signal held by the signal holding circuit 91 and the receiving side spreading code generated by the spreading code generating circuit 92 for each corresponding bit. 93C,..., 93I, 93J, an adder circuit 94 for adding the results multiplied for each bit by the multiplying circuits 93A to 93J, a synchronization state is detected based on the addition result by the adder circuit 94, and the detection result is diffused It comprises a synchronization detection circuit 95 that outputs to a code generation circuit 92.

ここで、信号保持回路91は、クロックに同期して受信信号をサンプリングするサンプルホールド回路(S/H)101と、サンプリングされた受信信号を上記クロックに同期して1ビットずつ右方向にシフトさせるシフトレジスタを構成する複数の遅延回路102A,102B,・・・,102Iとから構成されている。サンプルホールド回路101と遅延回路102A〜102Iと足した個数、乗算回路93A〜93Jの個数は、送信側拡散符号の1符号長N+1に等しい。   Here, the signal holding circuit 91 shifts the sampled received signal to the right by one bit in synchronization with the clock, and a sample hold circuit (S / H) 101 that samples the received signal in synchronization with the clock. It is composed of a plurality of delay circuits 102A, 102B,. The total number of the sample hold circuit 101 and the delay circuits 102A to 102I and the number of the multiplication circuits 93A to 93J are equal to one code length N + 1 of the transmission side spreading code.

同期検出回路95は、加算回路94による加算結果の絶対値を求める絶対値出力回路103と、上記クロックに同期し絶対値出力回路103の出力をサンプリングし、連続する2つのサンプリング値の差分の絶対値を求める差分検出回路104と、差分検出回路104の出力を積分する積分回路105と、積分回路105の出力レベルと閾値とを比較し、両者の大小関係により同期状態を検出するレベル判定回路106とから構成されている。なお、上記クロックは、送信側拡散符号の生成に用いられたクロックと同じ周波数のクロックである。   The synchronization detection circuit 95 samples the output of the absolute value output circuit 103 in synchronization with the clock, and calculates the absolute value of the difference between two consecutive sampling values. The difference detection circuit 104 for obtaining a value, the integration circuit 105 for integrating the output of the difference detection circuit 104, the output level of the integration circuit 105 and a threshold value are compared, and the level determination circuit 106 for detecting the synchronization state based on the magnitude relationship between the two. It consists of and. The clock is a clock having the same frequency as that of the clock used for generating the transmission side spreading code.

次に、この同期回路の動作について説明する。拡散符号生成回路92から受信側拡散符号として系列X1が出力されているものとする。受信信号には送信側拡散符号の各系列X1,X2,・・・が多重されているので、信号保持回路91に保持されている受信信号と受信側拡散符号としての系列X1とを対応するビット毎に乗算回路93A〜93Jで乗算し、その乗算結果を加算回路94で加算することにより、送信側拡散符号の各系列X1,X2,・・・と系列X1との相関値の和が求められる。 Next, the operation of this synchronization circuit will be described. It is assumed that the sequence X 1 is output from the spreading code generation circuit 92 as the receiving side spreading code. Since each sequence X 1 , X 2 ,... Of the transmission side spreading code is multiplexed in the reception signal, the reception signal held in the signal holding circuit 91 and the sequence X 1 as the reception side spreading code are included. multiplied by the multiplication circuit 93A~93J for each corresponding bit, the correlation by adding the multiplication result by the adding circuit 94, each series X 1, X 2 of the transmitting-side spread code, and ... and the sequence X 1 The sum of values is determined.

同期検出回路95において、相関値の和の絶対値を求め、クロックに同期してサンプリングし、連続する2つのサンプリング値の差分の絶対値を求め、その積分を求める。その結果、得られた値が閾値よりも小さい場合には、相関値の和の絶対値がほぼ一定であるので、同期が保持されていると判定し、同期保持信号を拡散符号生成回路92へ出力する。同期保持信号が入力された拡散符号生成回路92では、図22および図23を用いて説明したように、クロックに同期して、受信側拡散符号に挿入された1値のビットをその右隣のビットと交換し1値の挿入位置を1ビットずつ右方向に移動させていき、同期を保持する。   In the synchronization detection circuit 95, the absolute value of the sum of correlation values is obtained, sampled in synchronization with the clock, the absolute value of the difference between two consecutive sampling values is obtained, and the integral is obtained. As a result, when the obtained value is smaller than the threshold value, the absolute value of the sum of the correlation values is almost constant, so it is determined that synchronization is maintained, and the synchronization hold signal is sent to the spread code generation circuit 92. Output. In the spread code generation circuit 92 to which the synchronization hold signal is input, as described with reference to FIG. 22 and FIG. Exchange the bit and move the insertion position of 1 value to the right one bit at a time to maintain synchronization.

これに対し、相関値の和を処理した結果、得られた値が閾値よりも大きい場合には、相関値の和の絶対値が一定ではないので非同期であると判定し、同期捕捉信号を拡散符号生成回路92へ出力する。同期捕捉信号が入力された拡散符号生成回路92では、受信側拡散符号における1値の挿入位置を2ビット以上右方向に移動させる。これにより、受信信号に含まれる送信側拡散符号よりも受信側拡散符号の位相が1ビット以上進む。この状態で1値の挿入位置を1ビットずつ右方向に移動させていき、所定時間内に同期捕捉信号が同期保持信号に変わらない場合には、1値の挿入位置の移動量を再び変化させる。このような処理を繰り返し行うことにより、両符号の位相が一致した時点で同期を捕捉することができる。   On the other hand, if the sum of correlation values is greater than the threshold value as a result of processing, the absolute value of the sum of correlation values is not constant, so it is determined to be asynchronous, and the synchronization acquisition signal is diffused. The data is output to the code generation circuit 92. In the spread code generation circuit 92 to which the synchronization acquisition signal is input, the insertion position of the single value in the reception side spread code is moved to the right by 2 bits or more. As a result, the phase of the reception side spreading code advances by 1 bit or more than the transmission side spreading code included in the received signal. In this state, the 1-value insertion position is moved to the right by 1 bit at a time. If the synchronization acquisition signal does not change to the synchronization hold signal within a predetermined time, the movement amount of the 1-value insertion position is changed again. . By repeating such processing, synchronization can be captured when the phases of both codes coincide.

拡散符号生成回路の構成を示すブロック図である。It is a block diagram which shows the structure of a spreading code generation circuit. M系列符号生成回路の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of an M series code generation circuit. 拡散符号生成回路の動作の流れを示すフローチャートである。It is a flowchart which shows the flow of operation | movement of a spreading code generation circuit. 拡散符号生成回路により生成される拡散符号の一例を示す図である。It is a figure which shows an example of the spreading code produced | generated by a spreading code production | generation circuit. 拡散符号の自己相関値を示す図である。It is a figure which shows the autocorrelation value of a spreading code. 拡散信号と拡散符号との自己相関値を示す図である。It is a figure which shows the autocorrelation value of a spreading signal and a spreading code. 拡散符号生成回路の第1構成例を示すブロック図である。It is a block diagram which shows the 1st structural example of a spreading code production | generation circuit. 拡散符号生成回路の第2構成例を示すブロック図である。It is a block diagram which shows the 2nd structural example of a spreading code production | generation circuit. 拡散符号生成回路の第3構成例を示すブロック図である。It is a block diagram which shows the 3rd structural example of a spreading code production | generation circuit. 拡散符号生成回路の第4構成例を示すブロック図である。It is a block diagram which shows the 4th structural example of a spreading code production | generation circuit. 拡散符号生成回路の第5構成例を示すブロック図である。It is a block diagram which shows the 5th structural example of a spreading code production | generation circuit. 拡散符号生成回路の第6構成例を示すブロック図である。It is a block diagram which shows the 6th structural example of a spreading code generation circuit. 拡散符号生成回路の第1構成例の一具体例を示すブロック図である。It is a block diagram which shows one specific example of the 1st structural example of a spreading code production | generation circuit. 拡散符号生成回路の第1構成例の一具体例の動作の流れを示すフローチャートである。It is a flowchart which shows the flow of operation | movement of one specific example of the 1st structural example of a spreading code generation circuit. 拡散符号生成回路の第1構成例の他の具体例を示すブロック図である。It is a block diagram which shows the other specific example of the 1st structural example of a spreading code generation circuit. 拡散符号生成回路の第1構成例の他の具体例を示すブロック図である。It is a block diagram which shows the other specific example of the 1st structural example of a spreading code generation circuit. 図16に示す拡散符号生成回路の第1構成例の他の例の動作の流れを示すフローチャートである。17 is a flowchart showing the flow of operation of another example of the first configuration example of the spreading code generation circuit shown in FIG. 16. 拡散符号生成回路の第1構成例の他の例を示すブロック図である。It is a block diagram which shows the other example of the 1st structural example of a spreading code production | generation circuit. クロック生成回路の一構成例を示すブロック図である。It is a block diagram which shows one structural example of a clock generation circuit. クロック生成回路で生成されたクロックの周波数を分周する回路構成を示すブロック図である。It is a block diagram which shows the circuit structure which frequency-divides the frequency of the clock produced | generated by the clock generation circuit. 拡散符号の他の例を示す図である。It is a figure which shows the other example of a spreading code. 同期方法を説明するための図である。It is a figure for demonstrating the synchronization method. 同期方法を説明するための図である。It is a figure for demonstrating the synchronization method. 相関値の和の絶対値の時間変化を示す図である。It is a figure which shows the time change of the absolute value of the sum of a correlation value. 同期回路の構成を示すブロック図である。It is a block diagram which shows the structure of a synchronizing circuit. 同期CDMA方式を説明するための図である。It is a figure for demonstrating a synchronous CDMA system. M系列符号の一例を示す図である。It is a figure which shows an example of an M sequence code. M系列符号の自己相関値を示す図である。It is a figure which shows the autocorrelation value of M series code | symbol. 拡散信号とM系列符号との自己相関値を示す図である。It is a figure which shows the autocorrelation value of a spread signal and an M sequence code.

符号の説明Explanation of symbols

1…M系列符号生成回路、2,2B…タイミング検出器、2A…相関器、3,3A〜3F…1値挿入器、4…出力端子、5,5A…クロック生成回路、61〜6n…分周器、11…シフトレジスタ、111〜114…Dフリップフロップ、12…排他的論理和回路、21…カウンタ、22…リセット回路、31…1値出力器、32,32A…クロック切り替え器、33,33A…出力切り替え器、34…クロック・出力切り替え器、35…起動・停止切り替え器、36…切り替え器、51…データクロック生成回路、521〜52n…逓倍器、91…信号保持回路、92…拡散符号生成回路、93A〜93J…乗算回路、94…加算回路、95…同期検出回路、101…サンプルホールド回路、102A〜102I…遅延回路、103…絶対値出力回路、104…差分検出回路、105…積分回路、106…レベル判定回路、SW1〜SW4…スイッチ。
1 ... M-sequence code generation circuit, 2 and 2b ... timing detector, 2A ... correlator, 3,3A~3F ... 1 value inserter, 4 ... output terminal, 5, 5A ... clock generator, 6 1 to 6 n ... frequency divider, 11 ... shift register, 11 1 to 11 4 ... D flip-flop, 12 ... exclusive OR circuit, 21 ... counter, 22 ... reset circuit, 31 ... single value output device, 32, 32A ... clock switching vessels, 33 and 33A ... output switch, 34 ... clock output switch, 35 ... start-stop switch, 36 ... switch, 51 ... data clock generation circuit, 52 1 to 52 n ... multiplier, 91 ... signal Holding circuit, 92... Spread code generation circuit, 93 A to 93 J. Multiplier circuit, 94... Adder circuit, 95... Sync detection circuit, 101... Sample hold circuit, 102 A to 102 I. Output circuit, 104 ... difference detection circuit, 105 ... integrating circuit, 106 ... level determination circuit, SW 1 to SW 4 ... switch.

Claims (11)

同一系列でそれぞれ位相が異なる複数のM系列符号を生成し出力するM系列符号生成部と、
前記M系列符号の1周期中における所定のタイミングを検出するタイミング検出部と、
前記所定のタイミングが検出されたときに、すべてのM系列符号中に値1を挿入する1値挿入部と
を備えることを特徴とする拡散符号生成回路。
An M-sequence code generation unit that generates and outputs a plurality of M-sequence codes having the same sequence and different phases,
A timing detector for detecting a predetermined timing in one cycle of the M-sequence code;
A spreading code generation circuit comprising: a one-value insertion unit that inserts a value of 1 into all M-sequence codes when the predetermined timing is detected.
請求項1に記載の拡散符号生成回路において、
前記タイミング検出部は、任意のM系列符号の1周期中における所定のタイミングを検出することを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to claim 1,
The said timing detection part detects the predetermined timing in 1 period of arbitrary M series codes, The spreading code generation circuit characterized by the above-mentioned.
請求項1または2に記載の拡散符号生成回路において、
前記1値挿入部は、
前記値1を出力する1値出力部と、
検出された前記所定のタイミングの次のビットで前記M系列符号生成部を停止させてその状態を保持するとともに、前記1値出力部を動作させて前記値1を出力させ、更にその次のビットから前記M系列符号生成部を再び動作させる切り替え部と
を含むことを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to claim 1 or 2,
The one-value insertion unit is
A 1-value output unit for outputting the value 1;
The M-sequence code generator is stopped at the next bit of the detected predetermined timing and the state is maintained, and the one-value output unit is operated to output the value 1, and the next bit And a switching unit that causes the M-sequence code generation unit to operate again.
請求項1〜3のいずれか1項に記載の拡散符号生成回路において、
前記M系列符号生成部は、シフトレジスタと、このシフトレジスタの帰還回路に接続された排他的論理和回路とからなり、
前記タイミング検出部は、前記シフトレジスタの状態パターンと、予め設定された参照パターンとを対比することにより、前記所定のタイミングを検出する
ことを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to any one of claims 1 to 3,
The M-sequence code generation unit includes a shift register and an exclusive OR circuit connected to a feedback circuit of the shift register,
The spread code generation circuit, wherein the timing detection unit detects the predetermined timing by comparing a state pattern of the shift register with a preset reference pattern.
請求項1〜3のいずれか1項に記載の拡散符号生成回路において、
前記タイミング検出部は、前記M系列符号生成部で生成された前記M系列符号のビット数を計数して前記M系列符号の1周期を検出することにより、前記1周期中における前記所定のタイミングを検出することを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to any one of claims 1 to 3,
The timing detection unit counts the number of bits of the M-sequence code generated by the M-sequence code generation unit and detects one cycle of the M-sequence code, thereby determining the predetermined timing in the one cycle. A spreading code generation circuit characterized by detecting.
請求項1に記載の拡散符号生成回路において、
前記M系列符号生成部および前記1値挿入部は、第1のクロックに基づき動作することを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to claim 1,
The spreading code generation circuit, wherein the M-sequence code generation unit and the one-value insertion unit operate based on a first clock.
請求項6に記載の拡散符号生成回路において、
前記M系列符号に前記値1が挿入された拡散符号により拡散処理されるデータ信号のクロック周波数を有する第2のクロックを生成するクロック生成回路と、
前記第2のクロックの周波数を2n倍(nは自然数)に逓倍することにより前記第1のクロックを生成する逓倍器と
を更に備えることを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to claim 6,
A clock generation circuit for generating a second clock having a clock frequency of a data signal to be spread-processed by a spread code in which the value 1 is inserted into the M-sequence code;
And a multiplier for generating the first clock by multiplying the frequency of the second clock by 2 n times (n is a natural number).
請求項6に記載の拡散符号生成回路において、
前記第1のクロックを生成するクロック生成回路と、
前記第1のクロックの周波数を1/2n(nは自然数)に分周する分周器と
を更に備えることを特徴とする拡散符号生成回路。
In the spreading code generation circuit according to claim 6,
A clock generation circuit for generating the first clock;
And a frequency divider that divides the frequency of the first clock by 1/2 n (n is a natural number).
受信信号をサンプリングし時系列順に保持する信号保持回路と、
M系列符号中に値1が挿入された拡散符号を前記値1の挿入位置を移動させながら生成する拡散符号生成回路と、
前記信号保持回路に保持されている受信信号と前記拡散符号生成回路で生成される前記拡散符号とを対応するビット毎に乗算する乗算回路と、
この乗算回路でビット毎に乗算された結果を加算する加算回路と、
この加算回路で加算された結果に基づき同期状態を検出しその検出結果を前記拡散符号生成回路へ出力する同期検出回路と
を備えることを特徴とする同期回路。
A signal holding circuit that samples the received signal and holds it in chronological order;
A spreading code generating circuit that generates a spreading code in which a value 1 is inserted in an M-sequence code while moving the insertion position of the value 1;
A multiplication circuit that multiplies the reception signal held in the signal holding circuit and the spread code generated by the spread code generation circuit for each corresponding bit;
An adder circuit for adding the results multiplied bit by bit by the multiplier circuit;
A synchronization circuit comprising: a synchronization detection circuit that detects a synchronization state based on a result added by the addition circuit and outputs the detection result to the spread code generation circuit.
請求項9に記載の同期回路において、
前記拡散符号生成回路は、前記同期検出回路から同期が保持されているという検出結果が入力されたときに、前記値1の挿入位置を1ビットずつ移動させながら前記拡散符号を生成することを特徴とする同期回路。
The synchronization circuit according to claim 9, wherein
The spread code generation circuit generates the spread code while moving the insertion position of the value 1 bit by bit when a detection result indicating that synchronization is maintained is input from the synchronization detection circuit. Synchronous circuit.
請求項9または10記載の同期回路において、
前記拡散符号生成回路は、前記同期検出回路から非同期という検出結果が入力されたときに、前記値1の挿入位置を2ビット以上移動させて前記拡散符号を生成することを特徴とする同期回路。
The synchronization circuit according to claim 9 or 10,
The spread code generation circuit generates the spread code by moving the insertion position of the value 1 by 2 bits or more when an asynchronous detection result is input from the sync detection circuit.
JP2004113960A 2004-04-08 2004-04-08 Spread code generator circuit and synchronizing circuit Pending JP2005303499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004113960A JP2005303499A (en) 2004-04-08 2004-04-08 Spread code generator circuit and synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004113960A JP2005303499A (en) 2004-04-08 2004-04-08 Spread code generator circuit and synchronizing circuit

Publications (1)

Publication Number Publication Date
JP2005303499A true JP2005303499A (en) 2005-10-27

Family

ID=35334538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004113960A Pending JP2005303499A (en) 2004-04-08 2004-04-08 Spread code generator circuit and synchronizing circuit

Country Status (1)

Country Link
JP (1) JP2005303499A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014103844A1 (en) * 2012-12-25 2014-07-03 シャープ株式会社 Touch sensor system
JP2017509226A (en) * 2014-01-29 2017-03-30 クゥアルコム・インコーポレイテッドQualcomm Incorporated Quadrature modulation using M-sequence and Hadamard transform

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6462930A (en) * 1987-09-03 1989-03-09 Kenwood Corp Data synchronizing clock regenerating device of ss receiver
JPH04188919A (en) * 1990-11-21 1992-07-07 Nec Eng Ltd Spread spectrum modem
JPH07107006A (en) * 1993-08-10 1995-04-21 Sony Corp Method and device for generating spreading code
JPH08256085A (en) * 1995-03-17 1996-10-01 Sony Corp Spread spectrum communication system, and transmitter and receiver for the same
JPH1079688A (en) * 1996-07-26 1998-03-24 Motorola Inc Method and device generating pseudo random noise sequence
JPH10107689A (en) * 1996-10-03 1998-04-24 Shinko Electric Ind Co Ltd Code synchronization circuit and receiver in spread spectrum communication
WO1998047246A1 (en) * 1997-04-17 1998-10-22 Ntt Mobile Communications Network Inc. Base station apparatus of mobile communication system
JP2000059337A (en) * 1998-08-05 2000-02-25 Canon Inc Spread spectrum communication system and spread spectrum communication method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6462930A (en) * 1987-09-03 1989-03-09 Kenwood Corp Data synchronizing clock regenerating device of ss receiver
JPH04188919A (en) * 1990-11-21 1992-07-07 Nec Eng Ltd Spread spectrum modem
JPH07107006A (en) * 1993-08-10 1995-04-21 Sony Corp Method and device for generating spreading code
JPH08256085A (en) * 1995-03-17 1996-10-01 Sony Corp Spread spectrum communication system, and transmitter and receiver for the same
JPH1079688A (en) * 1996-07-26 1998-03-24 Motorola Inc Method and device generating pseudo random noise sequence
JPH10107689A (en) * 1996-10-03 1998-04-24 Shinko Electric Ind Co Ltd Code synchronization circuit and receiver in spread spectrum communication
WO1998047246A1 (en) * 1997-04-17 1998-10-22 Ntt Mobile Communications Network Inc. Base station apparatus of mobile communication system
JP2000059337A (en) * 1998-08-05 2000-02-25 Canon Inc Spread spectrum communication system and spread spectrum communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014103844A1 (en) * 2012-12-25 2014-07-03 シャープ株式会社 Touch sensor system
JP2017509226A (en) * 2014-01-29 2017-03-30 クゥアルコム・インコーポレイテッドQualcomm Incorporated Quadrature modulation using M-sequence and Hadamard transform

Similar Documents

Publication Publication Date Title
JP3483991B2 (en) Spread code generator for code division multiple access communication, code division multiple access communication system, and spread code generation method for code division multiple access communication
JP3028800B2 (en) CDMA cellular system and spreading code detection method in CDMA cellular system
EP0880238A2 (en) Spread-spectrum signal receiving method and apparatus
KR20000029073A (en) Method and apparatus for generating multiple matched-filter vectors in a CDMA demodulator
EP1039654A2 (en) Pilot signals for synchronisation and/or channel estimation
EP1735920A1 (en) Methods and structures for rapid code acquisition in spread spectrum communications
KR20100030109A (en) Method and apparatus of cell search in an asynchronous mobile communication system
JP2007295544A (en) Signal generating method, preamble signal, transmitter, receiver and synchronization method
US6693954B1 (en) Apparatus and method of early-late symbol tracking for a complementary code keying receiver
WO2003063379A1 (en) A system and method employing concatenated spreading sequences to provide data modulated spread signals
JP2003501875A (en) Synchronous word generation and transmission / reception apparatus and method for asynchronous code division multiple access communication system
JP2007525101A (en) Method and apparatus for performing frequency robust detection of secondary synchronization channel for wideband code division multiple access
KR20040018613A (en) Apparatus for synchronization acquisition in mobile communication system and method thereof
JP2005303499A (en) Spread code generator circuit and synchronizing circuit
JPH0969800A (en) Csk communication equipment and communication method for spread spectrum communication
KR100353840B1 (en) Apparatus and method for serearching cell in wireless communication system
JP4701840B2 (en) Spread spectrum communication system and demodulation circuit used therefor
JP4034571B2 (en) Synchronization detection circuit
KR100332064B1 (en) Apparatus and method for pilot/traffic channel signal transmission and for base station specific code acquision using cyclic code
JP2802058B2 (en) CDMA mobile communication system and transmitting / receiving apparatus
JP4839910B2 (en) Spread spectrum communication system and method, and transmitter and receiver used therefor
JP2004297593A (en) Spreading code generation method, spreading code generator, and communication method
JP3824482B2 (en) CDMA receiver
JP2810359B2 (en) Spread spectrum communication system
KR100810346B1 (en) Apparatus and method for matched filtering 256-tap in mobile communication terminal

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071023