JP2005303499A - Spread code generator circuit and synchronizing circuit - Google Patents
Spread code generator circuit and synchronizing circuit Download PDFInfo
- 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
Links
Images
Abstract
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
拡散符号は直交性を有する符号系列であり、その代表例として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
In the
また、図26において、受信機80では、アンテナ81からの受信信号(拡散信号の和)に対し、乗算器82で拡散符号を掛けてスペクトラム逆拡散する。例えば、拡散符号#1を掛けると、拡散符号の直交性から、送信機70において拡散符号#1でスペクトラム拡散されたデータ#1が復号される(例えば、非特許文献2参照)。
In FIG. 26, the
ここで、拡散符号#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
この問題は、位相が異なるときの自己相関が「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.
なお、出願人は、本明細書に記載した先行技術文献情報で特定される先行技術文献以外には、本発明に関連する先行技術文献を出願時までに発見するには至らなかった。
このように、ウォルシュ符号等の従来の完全直交性拡散符号は、拡散信号のスペクトラムが局在化するため、それを同期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
ここで、拡散符号生成回路は、同期検出回路から同期が保持されているという検出結果が入力されたときに、値1の挿入位置を1ビットずつ移動させながら拡散符号を生成するものであってもよい。また、同期検出回路から非同期という検出結果が入力されたときに、値1の挿入位置を2ビット以上移動させて拡散符号を生成するものであってもよい。
Here, the spread code generation circuit generates a spread code while moving the insertion position of the
本発明に係る拡散符号生成回路では、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
また、この拡散符号生成回路は、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
以下、本発明の一実施の形態について、図面を参照して詳細に説明する。
図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
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
クロックに同期してシフトレジスタ11の状態パターンが1段ずつシフトする。各段の値X1,X2,X3,X4のそれぞれから1ビットずつ位相が異なる同一系列のM系列符号が得られる。
なお、M系列符号生成回路1の回路構成は、図2に示したものには限られない。例えば、シフトレジスタ11の段数によって、M系列符号の符号長を変えることができる(n段の場合の符号長は2n−1ビット)。また、排他的論理和をとる組み合わせによって、M系列符号のパターンを変えることができる。
The state pattern of the
Note that the circuit configuration of the M-sequence
次に、図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
The
特定タイミングでなかった場合には(ステップ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
When the specific timing is reached (step S3, YES), the
By repeating the above operation, a spreading code in which the
例えば、図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
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
In the spread code generated according to the present embodiment based on the M-sequence code having the code length N, the
ここで、拡散符号#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
また、本実施の形態による拡散符号は、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
次に、図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
図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
図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
図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
図11に示す第5構成例では、1値挿入器3Eにおいて、図7における出力切り替え器33が設けられていない。M系列符号生成回路1および1値出力器31のうち出力を行わない方は、出力に対してフローティング状態をとる。その他の部分は、第1構成例と同じである。
In the fifth configuration example shown in FIG. 11, the
図12に示す第6構成例では、1値挿入器3Fにおいて、図9における出力切り替え器33が設けられていない。M系列符号生成回路1および1値出力器31のうち出力を行わない方は、出力に対してフローティング状態をとる。その他の部分は、第3構成例と同じである。
In the sixth configuration example shown in FIG. 12, the
次に、本実施の形態に係る拡散符号生成回路について、より具体的に説明する。図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
ここで、相関器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
例えば、シフトレジスタ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
クロック切り替え器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が交互に切り替えられる。
図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
When a clock is supplied to the M-sequence
相関器2Aでは、入力されたシフトレジスタ11の状態パターンのデータと、予め設定された参照パターンのデータと内積を求める(ステップS12)。両パターンが一致せず、その内積がシフトレジスタ11の段数よりも小さい値、すなわちn−1以下になった場合には(ステップS13,NO)、M系列符号の特定タイミングではないと判定し、切り替え器32A,33Aにタイミング信号を出力しない。このため、1ビット後にクロックが再びスイッチSW1を介してM系列符号生成回路1に供給され、M系列符号生成回路1で生成されたデータがスイッチSW3を介して出力端子4に出力される(ステップS11)。このステップS11の動作が、特定タイミングになるまで繰り返し行われる。
The
両パターンが一致し、その内積がシフトレジスタ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
これにより、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
Further, the
これにより、クロックはスイッチ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
By repeating the above operation, a spreading code in which the
As shown in FIG. 15, the
図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
Here, the
上述したように、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
The
図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
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
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
カウント値が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
これにより、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
The
以上の動作を繰り返し行うことにより、M系列符号の1周期中における特定タイミングの次のビットに値1が挿入された拡散符号が生成される。
なお、図18に示すように、出力切り替え器33Aを設けず、M系列符号生成回路1および1値出力器31を出力端子4に共通に接続する構成としてもよい。
By repeating the above operation, a spreading code in which the
As shown in FIG. 18, the
次に、クロック生成回路5について説明する。
搬送波を用いずにデータ信号を拡散符号で低電力広帯域にスペクトラム拡散し高い処理利得を得る無線通信方式においては、高周波拡散符号が求められる。しかし、高周波拡散符号の生成に必要な高速のクロックを電圧制御発振回路から直接生成することは困難である。そこで、本実施の形態では、データ信号のクロックの周波数を逓倍することにより、高速のクロックを生成する。その具体的な回路構成を図19に示す。
Next, the
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
上述したように、本実施の形態に係る拡散符号生成回路で生成された拡散符号の符号長は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
また、クロック生成回路5Aにおいて、n段の逓倍器521〜52nの任意の出力を取り出すスイッチ(図示せず)を設けることにより、21,22,・・・,2nの任意の符号長に対応したクロックを得ることができる。よって、任意の符号長の拡散符号を生成することができ、状況に応じて自由に受信側での処理利得を調整することが可能となる。
また、クロック生成回路5Aで生成されるクロックの周波数は、データ信号のクロック周波数に比例しているので、データ信号の周波数が高速化するに伴って自動的に高速化した拡散符号を得ることが可能となる。
Further, in the
Further, since the frequency of the clock generated by the
以上では、データ信号のクロックを基に拡散符号のクロックを生成する場合について説明したが、これとは逆に拡散符号のクロックを基にデータ信号のクロックを生成してもよい。この場合には、図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
なお、本実施の形態では、同一系列を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
まず、同期回路の構成の説明に先立ち、同期が保持されている場合の同期方法について説明する。図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
以下同様に、拡散符号の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
ここで、信号保持回路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
同期検出回路95は、加算回路94による加算結果の絶対値を求める絶対値出力回路103と、上記クロックに同期し絶対値出力回路103の出力をサンプリングし、連続する2つのサンプリング値の差分の絶対値を求める差分検出回路104と、差分検出回路104の出力を積分する積分回路105と、積分回路105の出力レベルと閾値とを比較し、両者の大小関係により同期状態を検出するレベル判定回路106とから構成されている。なお、上記クロックは、送信側拡散符号の生成に用いられたクロックと同じ周波数のクロックである。
The synchronization detection circuit 95 samples the output of the absolute
次に、この同期回路の動作について説明する。拡散符号生成回路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
同期検出回路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
これに対し、相関値の和を処理した結果、得られた値が閾値よりも大きい場合には、相関値の和の絶対値が一定ではないので非同期であると判定し、同期捕捉信号を拡散符号生成回路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
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系列符号の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.
前記タイミング検出部は、任意の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値挿入部は、
前記値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.
前記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.
前記タイミング検出部は、前記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.
前記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.
前記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).
前記第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.
前記拡散符号生成回路は、前記同期検出回路から同期が保持されているという検出結果が入力されたときに、前記値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.
前記拡散符号生成回路は、前記同期検出回路から非同期という検出結果が入力されたときに、前記値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.
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)
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)
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 |
-
2004
- 2004-04-08 JP JP2004113960A patent/JP2005303499A/en active Pending
Patent Citations (8)
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)
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 |