JP3477827B2 - Spreading code generation method and apparatus - Google Patents

Spreading code generation method and apparatus

Info

Publication number
JP3477827B2
JP3477827B2 JP17821594A JP17821594A JP3477827B2 JP 3477827 B2 JP3477827 B2 JP 3477827B2 JP 17821594 A JP17821594 A JP 17821594A JP 17821594 A JP17821594 A JP 17821594A JP 3477827 B2 JP3477827 B2 JP 3477827B2
Authority
JP
Japan
Prior art keywords
sequence
vector
generation
output
spread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP17821594A
Other languages
Japanese (ja)
Other versions
JPH07107006A (en
Inventor
武弘 杉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP17821594A priority Critical patent/JP3477827B2/en
Publication of JPH07107006A publication Critical patent/JPH07107006A/en
Application granted granted Critical
Publication of JP3477827B2 publication Critical patent/JP3477827B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、スペクトル拡散通信の
際に用いられる拡散符号発生方法及び装置に関し、特
に、いわゆるCDMA(コード分割多元接続)方式デジ
タルセルラーの移動端末等に用いられる受信機における
直接拡散方式のスペクトル拡散の拡散符号のタイミング
を検出し受信信号をスペクトル逆拡散するための拡散符
号発生方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spread code generating method and device used in spread spectrum communication, and more particularly, in a receiver used in a so-called CDMA (code division multiple access) type digital cellular mobile terminal. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spread code generating method and apparatus for detecting the timing of a direct spread spectrum spread code and despreading a received signal.

【0002】[0002]

【従来の技術】スペクトル拡散通信方式においては、基
地局のような送信装置側で搬送波が疑似雑音(PN)符
号系列により変調(拡散)され、移動端末のような受信
装置側で、送信側と同一構造の拡散符号発生器により発
生される拡散符号を用いての相関(逆拡散)過程を経た
後、ベースバンド復調されてデータが得られる。
2. Description of the Related Art In a spread spectrum communication system, a carrier is modulated (spread) by a pseudo noise (PN) code sequence on the side of a transmitting device such as a base station, and is transmitted on the side of a transmitting device on the side of a receiving device such as a mobile terminal. After a correlation (despreading) process using a spreading code generated by a spreading code generator having the same structure, baseband demodulation is performed to obtain data.

【0003】このスペクトル拡散通信方式の一種である
いわゆるCDMA方式セルラーにおいては、マルチパス
によって複数存在する同一の基地局からの信号のうち良
いものを複数利用する手段(パスダイバーシティあるい
はRAKE受信と呼ばれている)や、複数の基地局から
送られてくる信号を同時に受信(ソフトハンドオフ)す
る手段がとられる。
In the so-called CDMA system cellular, which is a kind of the spread spectrum communication system, means for utilizing a plurality of good signals from a plurality of the same base stations existing by multipath (called path diversity or RAKE reception). Or a means for simultaneously receiving signals sent from a plurality of base stations (soft handoff).

【0004】特にソフトハンドオフ中では、信号の強い
基地局を選択して受信するために、受信機内で頻繁に復
調に用いる基地局を切り換える作業が行われ、現在受信
しているある基地局の信号より信号強度の大きい別の基
地局の信号を検出してから実際に強い信号を受信できる
(ある基地局の信号から別の基地局の信号に切り換え
る)までにかかる時間を短くすることは、より強い信号
をより早く受信し、より長く利用出来る点で非常に重要
である。
Particularly during soft handoff, in order to select and receive a base station having a strong signal, the work of frequently switching the base station used for demodulation is performed in the receiver, and the signal of a certain base station currently being received is received. Shortening the time it takes to detect a signal from another base station with a higher signal strength and actually receive a strong signal (switch from one base station signal to another base station signal) It is very important because it can receive strong signals faster and last longer.

【0005】[0005]

【発明が解決しようとする課題】ところで、移動端末内
の拡散系列を基地局の系列と同期させるためには、拡散
系列発生器を高速に動作させて進ませるか、低速で動作
させて(あるいは停止させて)遅らせるかの手段を用い
ていた。
By the way, in order to synchronize the spreading sequence in the mobile terminal with the sequence of the base station, the spreading sequence generator is operated at a high speed to proceed or at a low speed (or I was using a means of delaying (stopping).

【0006】ところがこの方法では、同期させるまでに
時間がかかるという欠点があった。いわゆるCDMA方
式セルラーの例では、拡散符号の周期が約27msで7
倍の高速で進ませても3.8msの時間を要してしま
う。7倍高速にするためには拡散符号の速度の8倍のク
ロックが必要となる。しかし、デバイスの動作速度の制
限からこの速度はいくらでも高速に出来るわけではな
く、また消費電力の増大につながることも考えられる。
However, this method has a drawback that it takes time to synchronize. In the case of so-called CDMA cellular, the spread code period is about 27 ms and
It takes 3.8ms even if the speed is doubled. To increase the speed 7 times, a clock 8 times the speed of the spread code is required. However, due to the limitation of the operation speed of the device, this speed cannot be increased as much as possible, and it is also considered that the power consumption is increased.

【0007】本発明は、上述した実情に鑑みてなされた
ものであり、異なる基地局が送信している信号へ受信機
を切り換える際に要する時間を小さくすることを可能と
するような拡散符号発生方法及び装置の提供を目的にし
ている。
The present invention has been made in view of the above-mentioned circumstances, and spread code generation that makes it possible to reduce the time required to switch a receiver to a signal transmitted by a different base station. The purpose is to provide a method and a device.

【0008】[0008]

【課題を解決するための手段】本発明に係る拡散符号発
生方法は、スペクトル拡散通信のための拡散符号発生方
法において、拡散符号の基本となるM系列であって、系
列の何れかの位置に符号0が挿入されたM系列を発生す
ると共に、発生されるM系列のチップレートの整数倍の
クロックを用い、1チップ期間のイネーブル信号により
有効とされるクロック数を制御することでM系列の発生
を進めたり遅らせたりするM系列発生工程と、スペクト
ル拡散通信で用いられる拡散符号の遅延時間をシフトベ
クトル値として求めるベクトル取得工程と、前記M系列
発生工程の各レジスタの状態を要素とするベクトルに前
記シフトベクトルを掛けることによって時間的にシフト
した第1のM系列を出力する第1のM系列出力工程と、
前記第1のM系列をさらに1拡散レート遅延させた第2
のM系列を出力する第2のM系列出力工程と、外部から
設定されたタイミングで前記第1のM系列出力と前記第
2のM系列出力とを切り換えて拡散符号を出力させる選
択工程とを有することにより、上述の課題を解決する。
A spreading code generating method according to the present invention is a spreading code generating method for spread spectrum communication, which is an M sequence which is the basis of a spreading code, and is located at any position of the sequence. The M-series of the M-series is generated by generating the M-series in which the code 0 is inserted and controlling the number of clocks validated by the enable signal in the one-chip period using a clock that is an integer multiple of the chip rate of the generated M-series. M sequence generation step of advancing or delaying generation, vector acquisition step of obtaining delay time of spread code used in spread spectrum communication as shift vector value, and vector having elements of states of respective registers of the M sequence generation step A first M-sequence output step of outputting a first M-sequence shifted in time by multiplying
A second M-sequence further delayed by one spreading rate
Second M-sequence output step of outputting the M-sequence and a selection step of switching the first M-sequence output and the second M-sequence output at an externally set timing to output a spread code. By having it, the above-mentioned subject is solved.

【0009】 また、本発明に係る拡散符号発生装置
は、スペクトル拡散通信のための拡散符号発生装置にお
いて、拡散符号の基本となるM系列であって、系列の何
れかの位置に符号0が挿入されたM系列を発生すると共
に、発生されるM系列のチップレートの整数倍のクロッ
クを用い、1チップ期間のイネーブル信号により有効と
されるクロック数を制御することでM系列の発生を進め
たり遅らせたりするM系列発生手段と、スペクトル拡散
通信で用いられる拡散符号の遅延時間をシフトベクトル
値として求めるベクトル取得手段と、前記M系列発生手
段の各レジスタの状態を要素とするベクトルに前記ベク
トルをかけることによって時間的にシフトした第1のM
系列を出力する第1のM系列出力手段と、前記第1のM
系列をさらに1拡散レート遅延させた第2のM系列を出
力する第2のM系列出力手段と、外部から設定されたタ
イミングで前記第1のM系列と前記第2のM系列とを切
り換えて拡散符号を出力させる選択手段とを有すること
により、上述の課題を解決する。
The spread code generator according to the present invention is a spread code generator for spread spectrum communication, which is an M sequence that is the basis of a spread code, and a code 0 is inserted at any position of the sequence. Generated M sequences, and using a clock that is an integral multiple of the chip rate of the generated M sequences to control the number of clocks that are enabled by the enable signal for one chip period, thereby promoting the generation of M sequences. The M-sequence generating means for delaying, the vector obtaining means for obtaining the delay time of the spread code used in spread spectrum communication as a shift vector value, and the vector having the state of each register of the M-sequence generating means as an element. The first M shifted in time by applying
First M sequence output means for outputting a sequence, and the first M sequence
Second M-sequence output means for outputting a second M-sequence obtained by further delaying the sequence by one spreading rate, and switching between the first M-sequence and the second M-sequence at a timing set externally. The above-mentioned problem is solved by having a selecting means for outputting the spread code.

【0010】ここで、複数の送信側が送信している各拡
散符号の時間差に相当するベクトルのみを記憶させ、こ
の記憶されたベクトルを読み出すことで前記ベクトル取
得を行い、前記複数の送信側から受信側までの伝搬遅延
分による微調整分をM系列発生を進めたり遅らせたりす
ることによって調整することが好ましい。
Here, only the vector corresponding to the time difference of each spreading code transmitted by the plurality of transmitters is stored, and the stored vector is read to obtain the vector, and the vector is received from the plurality of transmitters. It is preferable to adjust the amount of fine adjustment due to the propagation delay to the side by advancing or delaying the generation of the M sequence.

【0011】これは、いわゆるCDMA方式セルラー等
のスペクトル拡散通信方式で拡散符号として使用されて
いるM系列発生器の各レジスタの状態を要素とするベク
トルにあるベクトルを乗じると時間的にシフトすること
は従来から知られているが、いわゆるCDMA方式セル
ラーの拡散符号は符号長を2n とするために最後に0挿
入が行われ、そのまま適用できない。本発明では0挿入
されていてもベクトル乗算を用いて時間シフトする手段
と、この手段を用いて基地局間の拡散系列の時間差補正
を行い、各基地局から移動局までの伝搬遅延分(微調整
分)の調整をM系列発生器を実際に進み/遅らすことで
実現する手段を提供するものである。
This is to shift in time by multiplying a vector whose element is the state of each register of the M-sequence generator used as a spread code in a spread spectrum communication system such as the so-called CDMA cellular system. Is conventionally known, but the so-called CDMA cellular spreading code cannot be applied as it is because 0 is inserted at the end to set the code length to 2 n . In the present invention, a means for time shifting using vector multiplication even if 0 is inserted, and a time difference correction of a spreading sequence between base stations are performed using this means, and a propagation delay amount from each base station to a mobile station (small It provides a means for realizing adjustment of (adjustment amount) by actually advancing / delaying the M-sequence generator.

【0012】[0012]

【作用】第1のM系列出力と第2のM系列出力とを切り
換えて拡散符号を出力させることにより、M系列の変則
型であるいわゆるCDMA方式セルラーの拡散符号にお
いて、ベクトルの乗算を用いて拡散符号の時間調整を実
現する。これにより拡散符号の時間調整にかかる時間を
大幅に短縮することができる。
By spreading the spreading code by switching between the output of the first M-sequence and the output of the second M-sequence, vector multiplication is used in a so-called CDMA cellular spreading code which is an irregular type of the M-sequence. The time adjustment of the spreading code is realized. As a result, it is possible to significantly reduce the time required for adjusting the spreading code time.

【0013】この手法を用いると、時間補正は極めて短
時間で行えるが総てのタイミングを発生させるためには
相当数のベクトル値を持つ必要がある、そこで、この手
法を用いた調整を基地局間の拡散符号の時間差調整に用
い、M系列発生器を実際に進み/遅らす手法を各基地局
から移動端末までの伝搬時間差にもとづく遅延補正に用
いる。時間調整量の大きい基地局間の時間補正のみベク
トル乗算を用いることで、実現回路規模を小さく抑えな
がら基地局切り換え時の系列の同期に要する時間を短縮
することができる。
When this method is used, time correction can be performed in an extremely short time, but it is necessary to have a considerable number of vector values in order to generate all the timings. Therefore, adjustment using this method is performed by the base station. It is used for adjusting the time difference between the spread codes, and a method for actually advancing / retarding the M sequence generator is used for delay correction based on the propagation time difference from each base station to the mobile terminal. By using the vector multiplication only for the time correction between the base stations having a large amount of time adjustment, it is possible to reduce the time required for the sequence synchronization at the time of switching the base stations while keeping the implementation circuit scale small.

【0014】[0014]

【実施例】以下、本発明の好ましい実施例について、図
面を参照しながら説明する。図1は、本発明の一実施例
として、スペクトル拡散通信に用いられる拡散符号発生
装置の構成を示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a spread code generator used for spread spectrum communication as one embodiment of the present invention.

【0015】この図1において、疑似乱数発生器である
M系列発生器11は、例えば図2に示すような構成を有
するものを使用できる。この図2の回路は一般の単純な
M系列発生器であり、詳細な説明は後述する。
In FIG. 1, as the M-sequence generator 11 which is a pseudo-random number generator, one having a structure as shown in FIG. 2 can be used. The circuit of FIG. 2 is a general simple M-sequence generator, and a detailed description will be given later.

【0016】この図1において、データ復調器20で
は、現在データを復調しているタイミングが受信データ
のタイミングと比べて進んでいるか遅れているかが検出
され、進み/遅れの情報がPN発生器制御部23に出力
される。データ復調器20から出力線が2本出されてい
るのは、進み又は遅れの情報だけでなく、タイミングが
合っている場合の情報も表すためである。
In FIG. 1, the data demodulator 20 detects whether the timing at which the data is currently being demodulated is ahead or behind the timing of the received data, and the lead / lag information is used to control the PN generator. It is output to the unit 23. The reason why the data demodulator 20 outputs two output lines is to represent not only the information of the lead or the delay but also the information when the timing is correct.

【0017】トラッキング制御用レジスタ21には、C
PU19からCPUバスを介してトラッキング制御を行
うか否かを指示する信号が入力される。その指示信号が
選択信号としてPN発生器制御部23に入力される。
The tracking control register 21 has a C
A signal indicating whether or not to perform tracking control is input from the PU 19 via the CPU bus. The instruction signal is input to the PN generator control unit 23 as a selection signal.

【0018】スルー(slew)制御部24には、CPU1
9からCPUバスを介して、M系列発生を進ませて時間
調整するか、遅らせて調整するか、を指示する信号が入
力され、進み/遅れの情報がPN発生器制御部23に入
力される。
The slew controller 24 includes a CPU 1
A signal for instructing whether to advance and time the M-sequence generation or to adjust the M-sequence generation is delayed is input from 9 through the CPU bus, and advance / delay information is input to the PN generator control unit 23. .

【0019】スルー(slew)カウンタ25は、スルー制
御部24に対して調整時間を指示する。PN発生器制御
部23では、トラッキング制御用レジスタ21からの選
択信号に基づいて、データ復調部20からの進み/遅れ
情報と、スルー制御部24からの進み/遅れ情報とのい
ずれかが選択される。すなわち、トラッキング制御を行
う場合には、データ復調器20からの進み/遅れ情報が
選択され、トラッキング制御を行わない場合には、スル
ー制御部24からの進み/遅れ情報が選択される。換言
すれば、データ復調中は、データ復調器20からの情報
が選択され、それ以外のときは、スルー制御部24から
の情報が選択される。そして、いずれかの進み/遅れ情
報によってPN発生が制御される。
The slew counter 25 instructs the slew controller 24 on the adjustment time. The PN generator controller 23 selects either the lead / lag information from the data demodulator 20 or the lead / lag information from the slew controller 24 based on the selection signal from the tracking control register 21. It That is, when tracking control is performed, the lead / lag information from the data demodulator 20 is selected, and when tracking control is not performed, lead / lag information from the through control unit 24 is selected. In other words, the information from the data demodulator 20 is selected during the data demodulation, and the information from the through control unit 24 is selected otherwise. Then, the PN generation is controlled by any of the lead / lag information.

【0020】シフト用ベクトル出力器10には、CPU
19からCPUバスを介して、いずれのシフト用ベクト
ルを出力すべきかの情報が入力され、そのベクトルがシ
フト用ベクトル出力器10から出力される。
The shift vector output unit 10 includes a CPU
Information on which shift vector should be output is input from 19 via the CPU bus, and the vector is output from the shift vector output device 10.

【0021】なお、本実施例では、シフト用ベクトルが
ベクトル出力器10に記憶されているが、ベクトル出力
器10が512通りのベクトルを記憶するためのメモリ
を節約するため、CPU19からシフト用ベクトルがC
PUバスを介してベクトル出力器10に送られ、記憶さ
れるようにしてもよい。
In the present embodiment, the shift vector is stored in the vector output device 10. However, in order to save the memory for the vector output device 10 to store 512 kinds of vectors, the CPU 19 shifts the shift vector. Is C
It may be sent to the vector output device 10 via the PU bus and stored therein.

【0022】切り換え設定値記憶部17には、CPU1
9からCPUバスを介して、シフト用ベクトルに対応し
た Pilot_PN_Offset値が入力され、記憶される。
The switching set value storage unit 17 includes the CPU 1
The Pilot_PN_Offset value corresponding to the shift vector is input from 9 via the CPU bus and stored.

【0023】レジスタ26には、CPU19からCPU
バスを介して初期化信号が入力される。この初期化信号
は、M系列発生器11とカウンタ16とを同期させるた
めに、電源投入時にレジスタに入力される。
The register 26 includes CPU 19 to CPU
An initialization signal is input via the bus. This initialization signal is input to the register when the power is turned on in order to synchronize the M-sequence generator 11 and the counter 16.

【0024】なお、Pilot_PN遅延ベクトル(シフト用ベ
クトル)の例(512通り)の1部を、次の表1に示
す。
Part of an example (512 ways) of Pilot_PN delay vector (shift vector) is shown in Table 1 below.

【0025】[0025]

【表1】 [Table 1]

【0026】図1中のシフト用ベクトル出力回路10
は、時間的シフトを行うために乗ずるベクトル値を出力
する。シフト用ベクトル出力回路10の出力とM系列発
生器11の出力とはベクトル乗算器12に供給され、ベ
クトルの乗算が行われる。ベクトル乗算器12の出力
は、選択器14に入力されると同時にフリップフロップ
13に入力され、1チップ分(拡散符号1つ1つを以下
チップと呼び、拡散符号の速度をチップレートと呼ぶ)
の遅延が行われる。選択器14は、ベクトル乗算器の出
力信号とさらに1チップ遅延させた信号を選択する回路
である。
The shift vector output circuit 10 in FIG.
Outputs the vector value to be multiplied to perform the time shift. The output of the shift vector output circuit 10 and the output of the M-sequence generator 11 are supplied to the vector multiplier 12 to perform vector multiplication. The output of the vector multiplier 12 is input to the flip-flop 13 at the same time as it is input to the selector 14, and is equivalent to one chip (each spreading code is hereinafter referred to as a chip, and the speed of the spreading code is referred to as a chip rate).
Is delayed. The selector 14 is a circuit that selects the output signal of the vector multiplier and the signal further delayed by one chip.

【0027】タイミング発生器15は、M系列発生器1
1、カウンタ16、フリップフロップ13を動作するタ
イミングを与える回路である。カウンタ16はM系列発
生器が2m の周期の拡散系列の内どのタイミングにある
かカウントするもので強制挿入される0の時も含めチッ
プ毎にカウントアップされる。その値は比較器18に供
給され選択器14を切り換える信号を生成するのに用い
られる。切り換え設定値17はどれだけシフトするかに
よって異なる値が設定され、比較器18によって選択器
14を切り換える信号を発生するために用いられる。
The timing generator 15 is the M-sequence generator 1.
1 is a circuit that gives timing for operating the counter 16, the flip-flop 13, and the counter 16. The counter 16 counts the timing at which the M-sequence generator is in the spread sequence having a period of 2 m , and is counted up for each chip including 0 when it is forcibly inserted. That value is supplied to the comparator 18 and is used to generate a signal for switching the selector 14. The switching set value 17 is set to different values depending on how much the shift is performed, and is used by the comparator 18 to generate a signal for switching the selector 14.

【0028】ここで、拡散信号を形成するための基本
(ベース)となる疑似雑音のM系列について説明する。
Here, the pseudo noise M series that is the basis for forming the spread signal will be described.

【0029】例えばいわゆるCDMA方式セルラーシス
テムにおいては、スペクトル拡散通信が用いられる。一
般にスペクトル拡散通信では、送信情報信号に対しより
帯域の広い疑似雑音が乗じられる。この疑似雑音はCD
MA方式セルラーのように直接拡散方式のスペクトル拡
散では拡散符号と呼ばれ、よく使用されるのがM系列で
ある。このM系列発生器の例が図2に示されており、こ
の図2に示す回路は、いわゆるCDMA方式セルラーに
用いられているものの1つである。
For example, in a so-called CDMA cellular system, spread spectrum communication is used. Generally, in spread spectrum communication, a transmission information signal is multiplied by pseudo noise having a wider band. This pseudo noise is a CD
In the spread spectrum of the direct spread system such as the MA system cellular, it is called a spread code, and the M sequence is often used. An example of this M-sequence generator is shown in FIG. 2, and the circuit shown in FIG. 2 is one used in so-called CDMA system cellular.

【0030】図2に示すM系列発生器11の生成多項式
は、次のように表される。 P(x)=x15+x13+x9+x8+x7+x5+1
The generator polynomial of the M-sequence generator 11 shown in FIG. 2 is expressed as follows. P (x) = x 15 + x 13 + x 9 + x 8 + x 7 + x 5 +1

【0031】この図2の回路を連続的に動作させると、
その出力値(あるいは内部動作状態)は、図3のAに示
す通常のM系列の通りになる。一般にM系列は次数(図
2の回路のレジスタRGの個数の相当する)をmとする
と、その周期は2m −1となる。図2の例では、15個
のレジスタRG1〜RG15(及び排他的論理和回路E
X1〜EX5)が直列接続されているから、周期は215
−1となる。
When the circuit of FIG. 2 is continuously operated,
The output value (or internal operation state) is as in the normal M series shown in A of FIG. In general, when the order of the M sequence (corresponding to the number of registers RG in the circuit of FIG. 2) is m, its period is 2 m −1. In the example of FIG. 2, fifteen registers RG1 to RG15 (and the exclusive OR circuit E
X1 to EX5) are connected in series, the cycle is 2 15
It becomes -1.

【0032】これに対して、いわゆるCDMA方式セル
ラーでは、システムの都合上、周期が2m (実際の例で
はm=15)となっており、図3のBに示すように、0
状態が1つ挿入されている。すなわち、いわゆるCDM
A方式セルラーでは、0が14回連続した後に0を挿入
し、それがM系列の最後尾となる(出力値MN-14からM
N までが0なので、結局0が15回連続することにな
る)。この拡散符号は図4に示されるように初期値(初
期状態)M1 で始まり最後に0が挿入された系列が繰り
返される。この0の挿入は、タイミング発生器15から
得られたイネーブル信号を用いて1チップ分M系列の発
生を止めることにより実現できる。
On the other hand, in the so-called CDMA cellular system, the cycle is 2 m (m = 15 in the actual example) for the convenience of the system, and as shown in FIG.
One state has been inserted. That is, so-called CDM
In the A-system cellular, 0 is inserted after 14 consecutive 0's, which becomes the end of the M series (output values M N-14 to M).
Since N is 0, 0 will end up 15 times in a row). As shown in FIG. 4, this spreading code starts with an initial value (initial state) M 1 and repeats a sequence in which 0 is inserted at the end. This insertion of 0 can be realized by stopping the generation of the M series for one chip using the enable signal obtained from the timing generator 15.

【0033】次に、ベクトルの乗算を用いたM系列の時
間シフトについて説明する。M系列発生器の状態ベクト
ル(図2の各レジスタRGの状態を要素とするベクト
ル)VM に別のベクトル(時間シフトベクトル)VS
乗じると、時間的にシフトした系列M’(スカラー)が
得られる。 M’=VS ・VM ただし、VM :M系列発生器の状態ベクトル VS :時間シフトベクトル M’:時間的にシフトされたM系列
Next, the time shift of the M sequence using vector multiplication will be described. Multiplying the state vector of the M-sequence generator (the vector having the state of each register RG in FIG. 2 as an element) V M by another vector (time shift vector) V S , the time-shifted sequence M ′ (scalar) Is obtained. M ′ = V S · V M where V M is the state vector of the M sequence generator V S is the time shift vector M ′ is the time-shifted M sequence

【0034】図2に示すM系列発生器の場合、例えば6
4チップだけシフトするためのベクトルは(1,0,
1,1,1,1,0,1,0,1,0,0,0,0,
1)である。2m −1の周期分の総ての遅延をこの方法
で実現するには2m −1組のシフト用ベクトルを用意す
る必要がある。ここでチップとは、上述したように拡散
符号1つ1つのことであり、拡散符号の速度がチップレ
ートである。なお、本発明におけるシフト用ベクトル出
力回路10においては、各送信側(基地極)が送信して
いる拡散符号の時間差(オフセット)、すなわち Pilot
_PN_Offsetが64チップ単位であるため、2m/64=
m-6通りのシフトベクトルパターンが記憶されていれ
ばよい。例えば、m=15のときは512通りである。
In the case of the M-sequence generator shown in FIG.
The vector to shift by 4 chips is (1, 0,
1,1,1,1,0,1,0,1,0,0,0,0,
1). In order to realize all the delays of 2 m −1 periods by this method, it is necessary to prepare 2 m −1 sets of shift vectors. Here, the chip means each spreading code as described above, and the speed of the spreading code is the chip rate. In the shift vector output circuit 10 according to the present invention, the time difference (offset) of the spread code transmitted by each transmission side (base pole), that is, Pilot
Since _PN_Offset is in units of 64 chips, 2 m / 64 =
It suffices if 2 m-6 different shift vector patterns are stored. For example, when m = 15, there are 512 ways.

【0035】M系列の発生器の状態ベクトルにあるベク
トルを乗ずることによって時間的なシフト(遅延)が出
来ることはすでに知られているが、上述したいわゆるC
DMA方式セルラーで用いられている拡散符号の場合に
は、M系列に0挿入が行われているため、そのまま適用
できない。
It is already known that time-shifting (delaying) can be performed by multiplying the state vector of the M-sequence generator by a certain vector.
In the case of the spreading code used in the DMA system cellular, since 0 is inserted in the M sequence, it cannot be applied as it is.

【0036】ここで図5には、いわゆるCDMA方式セ
ルラーの拡散符号(Aの遅れの無い拡散符号)と、4チ
ップシフトした系列(Bの4チップ遅らせた拡散符号及
びCのベクトル乗算の結果)とが示されている。すなわ
ち、図5のAはM系列発生器を利用した拡散符号発生器
の出力、Bは4チップ遅延させた信号、Cは従来の方法
でベクトル乗算を行って遅延させた結果をそれぞれ示し
ている。
FIG. 5 shows a so-called CDMA cellular spreading code (A delay-free spreading code) and a 4-chip shifted sequence (B 4-chip delayed spreading code and C vector multiplication result). And are shown. That is, A of FIG. 5 shows an output of a spreading code generator using an M sequence generator, B shows a signal delayed by four chips, and C shows a result of delaying by vector multiplication by a conventional method. .

【0037】この図5のCのベクトル乗算でシフトした
場合には、元のMi に対しMi-4 が得られるから、本当
に欲しい系列(図5のB)とは異なっていることが判
る。これは、いわゆるCDMA方式セルラーの拡散符号
が、M系列に0が強制的に挿入されていることが原因で
あり、この0をまたぐ遅延の場合ベクトル乗算の結果が
合わなくなってしまう。例えば、図5のAの系列中のM
5 をベクトル乗算により4チップ遅延するとM1 が得ら
れ、これは0をまたがないのでベクトル乗算の結果
(C)は正しくなっている。一方、図5のAの系列中の
1 をベクトル乗算により4チップ遅延すると、これは
0をまたぐため、ベクトル乗算結果(C)がM N-3 とな
って、図5のBに示すMN-2 とは異なり、正しくない。
なお、図5のAの系列中の0挿入時にはM系列発生器を
停止させるので、Cのベクトル乗算結果は、図中の矢印
に示すように、同じ値(前の値MN-4)が続くことにな
る。
Shifted by the vector multiplication of C in FIG.
In the case of the original MiAgainst Mi-4Is true,
I found that it was different from the series I wanted (B in Fig. 5).
It This is a so-called CDMA cellular spreading code.
However, due to the forced insertion of 0 in the M series
Yes, and in the case of this delay over 0, the result of vector multiplication is
It will not fit. For example, M in the sequence of A in FIG.
FiveWhen M is delayed by 4 chips by vector multiplication, M1Got
This is the result of the vector multiplication because it does not cross 0
(C) is correct. On the other hand, in the sequence of A in FIG.
M14 chips delayed by vector multiplication gives
Since it crosses 0, the vector multiplication result (C) is M N-3Tona
Therefore, M shown in B of FIG.N-2Not correct, unlike.
In addition, when 0 is inserted in the sequence of A of FIG.
Since it is stopped, the vector multiplication result of C is indicated by the arrow in the figure.
, The same value (previous value MN-4) Will continue
It

【0038】このような不都合点を解決するために、図
1に示す拡散符号発生回路を提案するものである。ここ
で再び図1に戻って、タイミング発生器15について説
明する。
In order to solve such inconvenience, the spread code generating circuit shown in FIG. 1 is proposed. Here, returning to FIG. 1 again, the timing generator 15 will be described.

【0039】M系列発生器を進ませるためには、通常よ
り高速に動作させるため通常動作時の整数倍のクロック
が使用される。その様子が図6のA〜Dに示されてい
る。この図6の例では8倍のクロックが使用されてい
て、通常動作の場合8クロックに1回M系列発生器を動
作させる。M系列発生器内のレジスタ及びフリップフロ
ップはイネーブルを用いた同期式動作を用いて説明して
いるが、1チップ期間に供給するクロック数を変えて制
御する非同期式でも同様である。M系列発生器を進ませ
る場合には通常動作時に発生するイネーブルの間にさら
にイネーブルを挿入することで高速に動作させる(図6
の例ではイネーブル信号はアクティブロウである)。
In order to advance the M-sequence generator, a clock which is an integral multiple of that in normal operation is used to operate at higher speed than usual. This is shown in A to D of FIG. In the example of FIG. 6, eight times as many clocks are used, and in the normal operation, the M-sequence generator is operated once every eight clocks. The registers and flip-flops in the M-sequence generator have been described using the synchronous operation using enable, but the same applies to the asynchronous method in which the number of clocks supplied in one chip period is changed and controlled. When advancing the M-sequence generator, it is possible to operate at high speed by inserting an enable between the enable generated during normal operation (Fig. 6).
In the example, the enable signal is active low).

【0040】この図6のCの例のように、通常のイネー
ブルの間に最大7回のイネーブルを挿入できるので最大
7倍の速度で進ませることが可能であり、1周期が27
msの系列では最大3.8msで、どのタイミングにで
も移動可能である。また遅らせる場合には、通常動作時
に発生しているイネーブル信号を出さないことでM系列
発生器を停止させる。この場合イネーブルを抜くのは1
チップで1回のみで、27msの系列では、あらゆるタ
イミングに移動するには最大27ms必要である。また
0挿入もこの遅延の手法を用いて実現している。CDM
A方式セルラーで用いられるM系列の最後MN は0であ
り、このMN を出力したときに通常動作を1回停止させ
ることで0挿入を実現している。そのために、カウンタ
16の値にもとづいて系列の最後の時にタイミング発生
回路15がイネーブルを1回抜くか、M系列発生器11
の出力に0が14回連続した場合にイネーブルを1回抜
くかして0挿入を行っている。
As shown in the example of FIG. 6C, since enables can be inserted up to 7 times during normal enables, it is possible to advance at speeds up to 7 times, and 27 cycles per cycle.
In the ms series, the maximum is 3.8 ms, and it is possible to move at any timing. In the case of delaying, the M-sequence generator is stopped by not outputting the enable signal generated during normal operation. In this case, it is 1 to remove enable
With only one chip, a 27 ms sequence requires up to 27 ms to move to any timing. The zero insertion is also realized by using this delay method. CDM
The last M N of the M sequence used in the A-system cellular is 0, and 0 is inserted by stopping the normal operation once when this M N is output. Therefore, based on the value of the counter 16, the timing generation circuit 15 removes the enable once at the end of the sequence or the M sequence generator 11
When 0 is output 14 times in succession, 0 is inserted by removing the enable once.

【0041】次にベクトルの乗算を用いてM系列の時間
的シフトを実現する方法について述べる。本例では4チ
ップ遅延させる場合を例として用いている。まず、ベク
トル乗算を用いて3チップの遅延を行う。何故4チップ
でないかというと、選択器14でベクトル乗算器12の
結果と、さらにフリップフロップを用いて1チップ遅ら
せた結果とを切り換えるため、結果的に1チップの遅延
が生じてしまうことを考慮し、希望するシフト量に対し
1チップ早い系列が乗算結果として必要となることを考
慮したためである。従って全くシフトしない場合でもベ
クトル乗算器12の出力は1チップ進んでいなければな
らない。希望するシフト量に対し1チップ早い系列を乗
算結果として得るには、シフトベクトルの値を1チップ
進んだものを与える方法と、M系列発生器を1チップ進
ませておく方法とが考えられるが、どちらを用いても良
く、本例では前者を使っている。
Next, a method of realizing the time shift of the M sequence by using the vector multiplication will be described. In this example, the case of delaying by 4 chips is used as an example. First, a vector multiplication is used to perform a delay of 3 chips. The reason why the number of chips is not four is because the selector 14 switches between the result of the vector multiplier 12 and the result delayed by one chip by using a flip-flop, which results in a one-chip delay. However, it is because it is considered that a sequence one chip earlier than the desired shift amount is required as a multiplication result. Therefore, the output of the vector multiplier 12 must be advanced by one chip even when no shift is performed. In order to obtain a sequence that is one chip earlier than the desired shift amount as a result of the multiplication, a method of advancing the shift vector value by one chip and a method of advancing the M sequence generator by one chip are considered. , Either may be used, and the former is used in this example.

【0042】図7のA〜Eにおいて、AにM系列発生器
11の出力、Bにベクトル乗算器12の出力、Cにフリ
ップフロップ13の出力、Dに選択器14の出力がそれ
ぞれ示され、Eにはこの選択器14の切換制御信号であ
る比較器18からの出力が示されている。
7A to 7E, A shows the output of the M-sequence generator 11, B shows the output of the vector multiplier 12, C shows the output of the flip-flop 13, and D shows the output of the selector 14, respectively. In E, the output from the comparator 18, which is the switching control signal of the selector 14, is shown.

【0043】M系列発生器で0挿入されたときにM系列
発生器11は1チップ遅延されるので、ベクトル乗算器
12の出力はその前のMN-3 の値を維持する。すなわち
その時点で状態MN-3 が挿入され、その後1チップのず
れは初期値(M1 )が出力されるまで続く。希望する4
チップ遅れの系列(図7のDの選択器出力)と比較する
と、0挿入時点から乗算結果として系列の最後(MN
までは一致するが、0挿入前及び初期値(M1 )以後は
1チップずれてしまう。一方フリップフロップの出力は
0挿入時点でMN-4 が保持され1チップずれるが、希望
する4チップ遅れの信号と比較すると、0挿入前までと
フリップフロップの出力でみて系列の最後MN 以後は一
致するが、0挿入時点からMN-1 までは1チップずれて
いる。
Since the M-sequence generator 11 is delayed by one chip when 0 is inserted in the M-sequence generator, the output of the vector multiplier 12 maintains the previous value of M N-3 . That is, at that time, the state M N-3 is inserted, and then the shift of one chip continues until the initial value (M 1 ) is output. 4 desired
Comparing with the chip delay sequence (output of the selector of D in FIG. 7), the end of the sequence (M N ) as a multiplication result from the time of inserting 0
However, before inserting 0 and after the initial value (M 1 ), 1 chip shift occurs. On the other hand, the output of the flip-flop is M N-4 at the time of inserting 0, and is shifted by one chip, but when compared with the signal of the desired 4-chip delay, before the insertion of 0 and from the output of the flip-flop, after the last M N of the series. Match, but there is a 1-chip shift from the time of inserting 0 to M N-1 .

【0044】この性質を利用し、図7のEのように選択
器14の切換信号を発生させ、この信号が“H”(ハイ
レベル)の場合にはベクトル乗算器21の出力(図7の
B)を、“L”(ローレベル)の場合にはフリップフロ
ップ13の出力を選択することにより、いわゆるCDM
A方式セルラーで用いている拡散符号を4チップ遅延さ
せた信号(図7のD)を発生することができる。この切
換信号は、カウンタの値NC と切り換え設定値NS とを
比較して得られる。M系列発生器が0挿入分を出力して
いる時にカウンタが0を示す場合(M1 では1、M2
は2)、次の条件を満たす場合に比較器は“H”を出力
する。
Utilizing this property, a switching signal for the selector 14 is generated as shown in E of FIG. 7, and when this signal is "H" (high level), the output of the vector multiplier 21 (FIG. 7). In the case of "L" (low level), the output of the flip-flop 13 is selected, so that the so-called CDM
It is possible to generate a signal (D in FIG. 7) obtained by delaying the spreading code used in the A-system cellular by 4 chips. This switching signal is obtained by comparing the counter value N C with the switching set value N S. When indicating the counter is zero when the M-sequence generator outputs 0 insertion component (the M 1 1, the M 2 2), the comparator if the following conditions are met outputs "H".

【0045】0≦NC <NS (NS はシフト量、4チ
ップシフトなら4)
0 ≦ N C <N S (N S is the shift amount, 4 if 4 chip shift)

【0046】上記の回路を用いて、いわゆるCDMAセ
ルラーに用いられる拡散符号をベクトル乗算を用いてシ
フトすることができ、シフト用ベクトルを設定後1チッ
プでシフトされた系列が得られる。これによりM系列発
生器を実際に進ませたり遅らせたりする方法に比べはる
かに短時間でシフトした系列を得ることができる。
By using the above circuit, the spreading code used in so-called CDMA cellular can be shifted by using vector multiplication, and a sequence shifted by one chip can be obtained after setting the shift vector. This makes it possible to obtain a shifted sequence in a much shorter time than the method of actually advancing or delaying the M sequence generator.

【0047】ところが、この手段を用いて拡散系列1周
期2m (いわゆるCDMAセルラーでは215)のベクト
ルを持つことは、回路規模を著しく大きくしかねない。
そこで、基地局間のシフト分(いわゆるCDMAセルラ
ーでは基地局の送信する拡散符号のシフト量は64チッ
プ単位なので512個)のベクトルを持ち、各基地局か
らの伝搬距離差に基づく時間差についてはM系列発生器
を実際に進ませたり遅らせたりして調整する方法を用い
ることで、回路規模を余り大きくせず拡散系列の時間シ
フトを短時間で行うことが出来る。基地局からの伝搬時
間はたかだか20チップ程度なので、20チップM系列
発生器を進ませたり遅らせたりする時間が必要だが、ベ
クトル乗算を用いずM系列発生器を進ませたり遅らせる
方法を用いた場合には最大32767(=2m −1)チ
ップシフトしなければならないので、効果は絶大であ
る。
However, using this means to have a vector with a spreading sequence of one cycle of 2 m (2 15 in so-called CDMA cellular) can significantly increase the circuit scale.
Therefore, there is a vector corresponding to the shift between the base stations (in the so-called CDMA cellular, since the shift amount of the spreading code transmitted by the base station is a unit of 64 chips, 512), the time difference based on the propagation distance difference from each base station is M. By using the method of adjusting the sequence generator by actually advancing or delaying it, the time shift of the spreading sequence can be performed in a short time without making the circuit size too large. Since the propagation time from the base station is about 20 chips at most, it takes time to advance or delay the 20-chip M-sequence generator, but when using the method of advancing or delaying the M-sequence generator without using vector multiplication. Since a maximum of 32,767 (= 2 m −1) chip shift is required for the above, the effect is great.

【0048】図8のA〜Cは、基地局1と基地局2の拡
散符号の時間差について説明している。基地局1と基地
局2では64チップの時間差で(基地局2は基地局1よ
り64チップ遅れている)拡散符号が送られ、移動端末
から見て基地局2は基地局1より遠いためさらに2チッ
プの遅れが生じ、トータルで66チップの遅れが生じて
いる例である、各基地局が拡散符号を送信するタイミン
グは、1周期215に対して64チップ間隔の512通り
存在する。この例で基地局1を受信中は拡散符号は図8
のAになるが、これを図8のBの基地局2に切り換える
にはベクトル乗算を利用した方法で64チップ遅延さ
せ、残り2チップを拡散符号発生器を2チップ遅らせて
タイミングを合わせる。2チップ遅らせた拡散符号が図
8のCに示されている。
8A to 8C describe the time difference between the spread codes of the base station 1 and the base station 2. Spread codes are transmitted between the base station 1 and the base station 2 with a time difference of 64 chips (the base station 2 is delayed by 64 chips from the base station 1), and the base station 2 is far from the base station 1 as seen from the mobile terminal. This is an example in which a delay of 2 chips occurs and a total delay of 66 chips occurs. There are 512 kinds of timings at which each base station transmits a spread code, with 64 chip intervals for one period 2 15 . In this example, when the base station 1 is being received, the spreading code is as shown in FIG.
However, in order to switch this to the base station 2 in FIG. 8B, 64 chips are delayed by a method utilizing vector multiplication, and the remaining 2 chips are delayed by 2 chips in the spreading code generator to adjust the timing. The spreading code delayed by two chips is shown in C of FIG.

【0049】以上、本発明の実施例を説明したが、まと
めると以下のことがいえる。すなわち、第1に、ベクト
ル乗算を用いたM系列の遅延手段は、 Pilot_PN_Offset
に対応した512セットを持つ。これにより、215−1
の周期すべての遅延は作れなくなるが、シフト用ベクト
ルを記憶しておくテーブルのサイズは64分の1とな
る。
Although the embodiments of the present invention have been described above, the following can be summarized. That is, first, the M-sequence delay means using vector multiplication is Pilot_PN_Offset.
It has 512 sets corresponding to. By this, 2 15 -1
However, the size of the table for storing the shift vector becomes 1/64.

【0050】第2に、ベクトルの乗算で作れない遅延量
は、最初に述べた回路の動作を速くしたり停止したりす
る手法で調整し、実現する。
Secondly, the amount of delay that cannot be produced by vector multiplication is adjusted and realized by a method of speeding up or stopping the operation of the circuit described at the beginning.

【0051】この方法は実際に都合がよい。すなわち、
基地局の送信するPilot_PN符号のタイミングは64チッ
プの整数倍の間隔で配置されている。基地局が異なるこ
とによるPilot_PN符号の時間シフトの量の差にはベクト
ル乗算の手段で対応し、基地局からの伝搬遅延には発生
器を進ませ又は遅らせる手段を用いる。ベクトル乗算器
による遅延時間の変更はほとんど瞬時、例えば約2μs
で行え、伝搬遅延によるPilot_PN符号の時間的な分布は
概略20μsの範囲に入ると思われるので、タイミング
を合わせるのに最大で25μs、平均で12.5μsで
実現できると考えられる。
This method is actually convenient. That is,
The timing of the Pilot_PN code transmitted by the base station is arranged at intervals of an integral multiple of 64 chips. The difference in the amount of time shift of the Pilot_PN code due to the difference in the base station is dealt with by means of vector multiplication, and the propagation delay from the base station is made by means of advancing or delaying the generator. The change of the delay time by the vector multiplier is almost instantaneous, for example, about 2 μs.
Since the temporal distribution of the Pilot_PN code due to the propagation delay is considered to fall within the range of approximately 20 μs, it is considered that it can be realized in 25 μs at the maximum for timing adjustment and 12.5 μs in average.

【0052】[0052]

【発明の効果】本発明に係る拡散符号発生方法によれ
ば、スペクトル拡散通信のための拡散符号発生方法にお
いて、拡散符号の基本となるM系列を発生するM系列発
生工程と、スペクトル拡散通信で用いられる拡散符号の
遅延時間をベクトル値に変換するベクトル取得工程と、
前記M系列発生工程の各レジスタの状態を要素とするベ
クトルに前記ベクトルをかけることによって時間的にシ
フトした第1のM系列を出力する第1のM系列出力工程
と、前記第1のM系列をさらに1拡散レート遅延させた
第2のM系列を出力する第2のM系列出力工程と、外部
から設定されたタイミングで前記第1のM系列出力と前
記第2のM系列出力とを切り換えて拡散符号を出力させ
る選択工程とを有しているため、送信側からのM系列と
の同期が有効に短時間で行える。
According to the spread code generating method of the present invention, in the spread code generating method for spread spectrum communication, the M sequence generating step of generating the M sequence which is the basis of the spread code and the spread spectrum communication are performed. A vector acquisition step of converting the delay time of the spreading code used to a vector value,
A first M-sequence output step of outputting a first M-sequence that is temporally shifted by multiplying the vector whose elements are states of the registers in the M-sequence generation step, and the first M-sequence A second M-sequence output step of outputting a second M-sequence delayed by one spread rate, and switching between the first M-sequence output and the second M-sequence output at a timing set externally. And a step of selecting the spread code to be output, the synchronization with the M sequence from the transmitting side can be effectively performed in a short time.

【0053】また、本発明に係る拡散符号発生装置によ
れば、スペクトル拡散通信のための拡散符号発生装置に
おいて、拡散符号の基本となるM系列発生手段と、スペ
クトル拡散通信で用いられる拡散符号の遅延時間をベク
トル値に変換するベクトル取得手段と、前記M系列発生
工程の各レジスタの状態を要素とするベクトルに前記ベ
クトルをかけることによって時間的にシフトした第1の
M系列を出力する第1のM系列出力手段と、前記第1の
M系列をさらに1拡散レート遅延させた第2のM系列を
出力する第2のM系列出力手段と、外部から設定された
タイミングで第1のM系列発生手段と第2のM系列発生
手段とを切り換えて拡散符号を出力させる選択手段とを
有しているため、送信側からのM系列との同期が有効に
短時間で行える。
Further, according to the spread code generator of the present invention, in the spread code generator for spread spectrum communication, the M sequence generating means which is the basis of the spread code and the spread code used in the spread spectrum communication are provided. Vector acquisition means for converting the delay time into a vector value, and outputting a first M-sequence shifted in time by multiplying the vector whose element is the state of each register in the M-sequence generation step. M-sequence output means, second M-sequence output means for outputting the second M-sequence obtained by further delaying the first M-sequence by one spread rate, and the first M-sequence at externally set timing. Since it has the selecting means for switching the generating means and the second M-sequence generating means to output the spread code, the synchronization with the M-sequence from the transmitting side can be effectively performed in a short time.

【0054】すなわち、第1のM系列出力と第2のM系
列出力とを切り換えて拡散符号を出力させることによ
り、M系列の変則型であるいわゆるCDMA方式セルラ
ーの拡散符号において、ベクトルの乗算を用いて拡散符
号の時間調整を実現する。これにより拡散符号の時間調
整にかかる時間を大幅に短縮することができる。
That is, by switching between the first M-sequence output and the second M-sequence output to output the spreading code, vector multiplication is performed in a so-called CDMA cellular spreading code which is an irregular type of the M-sequence. It is used to realize the time adjustment of the spreading code. As a result, it is possible to significantly reduce the time required for adjusting the spreading code time.

【0055】さらに、複数の送信側(例えば複数の基地
局)が送信している各拡散符号の時間差に相当するベク
トルのみを記憶させ、この記憶されたベクトルを読み出
すことで前記ベクトル取得を行い、前記複数の送信側か
ら受信側(例えば移動端末)までの伝搬遅延分による微
調整分をM系列発生を進めたり遅らせたりして調整する
ことによって、各送信側から受信側までの伝搬遅延分
(微調整分)の調整をM系列発生器を実際に進み/遅ら
すことで実現できる。
Further, only the vector corresponding to the time difference of each spreading code transmitted by a plurality of transmission sides (for example, a plurality of base stations) is stored, and the stored vector is read to obtain the vector, The propagation delay amount from each transmission side to the reception side is adjusted by advancing or delaying the generation of the M sequence to adjust the fine adjustment amount due to the propagation delay amount from the plurality of transmission sides to the reception side (for example, a mobile terminal). Fine adjustment) can be realized by actually advancing / delaying the M-sequence generator.

【0056】すなわち、複数の送信側、例えば基地局間
の拡散符号の時間差の補正にベクトル乗算を応用した手
段を用い、各基地局からの伝搬遅延時間が異なることに
よる時間差補正には従来通りの拡散符号発生器を実際に
進ませたり遅らせたりするする手段を用いることによ
り、用意するベクトル数を削減でき、回路規模をあまり
大きくせずに拡散符号の時間シフトに要する時間を短縮
することができる。
That is, the means for applying the vector multiplication to the correction of the spread code time difference between a plurality of transmission sides, for example, base stations is used, and the time difference correction due to the difference in the propagation delay time from each base station is the same as the conventional one. By using a means to actually advance or delay the spread code generator, the number of prepared vectors can be reduced, and the time required for time shift of the spread code can be shortened without increasing the circuit scale too much. .

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】いわゆるCDMA方式セルラーで使用されるM
系列発生器の例である。
FIG. 2 M used in so-called CDMA cellular
It is an example of a sequence generator.

【図3】M系列といわゆるCDMA方式セルラーで用い
られている拡散符号の違いを説明するための図である。
FIG. 3 is a diagram for explaining a difference between an M sequence and a spreading code used in so-called CDMA cellular.

【図4】CDMA方式セルラーで用いられている拡散符
号の周期性を説明するための図である。
FIG. 4 is a diagram for explaining the periodicity of spreading codes used in CDMA cellular.

【図5】CDMA方式セルラーの拡散符号を4チップ遅
延させた信号と単純にベクトル乗算を適用した場合の結
果の違いを説明するための図である。
FIG. 5 is a diagram for explaining a difference in results when a signal obtained by delaying a CDMA cellular spreading code by 4 chips and simply applying vector multiplication.

【図6】M系列発生器を進ませたり遅らせたりする際の
制御方法を説明するための図である。
FIG. 6 is a diagram for explaining a control method when the M-sequence generator is advanced or delayed.

【図7】図1のブロック図中の回路動作を説明するため
の図である。
FIG. 7 is a diagram for explaining the circuit operation in the block diagram of FIG.

【図8】各基地局間の拡散符号の時間差を説明するため
の図である。
FIG. 8 is a diagram for explaining a time difference of spreading codes between base stations.

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

10 シフト用ベクトル出力回路 11 M系列発生器 12 ベクトル乗算器 13 (1チップ遅延用)フリップフロップ 14 選択器 15 タイミング発生器 16 カウンタ 17 切り換えタイミング設定回路 18 比較器 19 CPU 20 データ復調器 21 トラッキング制御用レジスタ 23 PN発生器制御部 24 スルー(slew)制御部 25 スルー(slew)カウンタ 10 Shift vector output circuit 11 M series generator 12 vector multiplier 13 Flip-flops (for 1-chip delay) 14 selector 15 Timing generator 16 counter 17 Switching timing setting circuit 18 Comparator 19 CPU 20 data demodulator 21 Tracking control register 23 PN generator controller 24 Slew control unit 25 slew counter

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04J 13/00 - 13/06 H04B 1/69 - 1/713 H03K 3/84 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04J 13/00-13/06 H04B 1/69-1/713 H03K 3/84

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 スペクトル拡散通信のための拡散符号発
生方法において、 拡散符号の基本となるM系列であって、系列の何れかの
位置に符号0が挿入されたM系列を発生すると共に、発
生されるM系列のチップレートの整数倍のクロックを用
い、1チップ期間のイネーブル信号により有効とされる
クロック数を制御することでM系列の発生を進めたり遅
らせたりするM系列発生工程と、 スペクトル拡散通信で用いられる拡散符号の遅延時間を
シフトベクトル値として求めるベクトル取得工程と、 前記M系列発生工程の各レジスタの状態を要素とするベ
クトルに前記シフトベクトルを掛けることによって時間
的にシフトした第1のM系列を出力する第1のM系列出
力工程と、 前記第1のM系列をさらに1拡散レート遅延させた第2
のM系列を出力する第2のM系列出力工程と、 外部から設定されたタイミングで前記第1のM系列出力
と前記第2のM系列出力とを切り換えて拡散符号を出力
させる選択工程とを有することを特徴とする拡散符号発
生方法。
1. A spread code generating method for spread spectrum communication, which generates and generates an M sequence which is a basis of a spread code, in which a code 0 is inserted at any position of the sequence. An M-sequence generation step of advancing or delaying the generation of the M-sequence by controlling the number of clocks enabled by the enable signal for one chip period using a clock that is an integer multiple of the chip rate of the M-sequence. A vector acquisition step of obtaining a delay time of a spreading code used in spreading communication as a shift vector value; and a vector obtained by multiplying a vector whose elements are states of each register of the M sequence generation step by the shift vector. A first M-sequence output step of outputting one M-sequence, and a second M-sequence output step further delaying the first M-sequence by one spreading rate.
Second M-sequence output step of outputting the M-sequence of, and a selection step of switching the first M-sequence output and the second M-sequence output at a timing set from the outside to output a spread code. A spread code generating method having:
【請求項2】 前記ベクトル取得工程における前記シフ
トベクトルは、複数の送信側が送信している各拡散符号
の時間差に相当するベクトルであることを特徴とする請
求項1記載の拡散符号発生方法。
2. The spread code generation method according to claim 1, wherein the shift vector in the vector acquisition step is a vector corresponding to a time difference between spread codes transmitted by a plurality of transmission sides.
【請求項3】 前記複数の送信側から受信側までの伝搬
遅延を、前記M系列の発生を進めたり遅らせたりするこ
とによって調整する調整工程を有することを特徴とする
請求項2記載の拡散符号発生方法。
3. The spreading code according to claim 2, further comprising an adjusting step of adjusting a propagation delay from the plurality of transmitting sides to a receiving side by advancing or delaying the generation of the M sequence. Method of occurrence.
【請求項4】 前記M系列発生の際のクロックを前記チ
ップレートのn倍とするとき、前記M系列発生工程で
、通常動作時には1チップ期間につき1クロックの期
間をイネーブルとし、通常のイネーブルの間にイネーブ
ルを挿入することでM系列の発生を進ませ、また通常動
作時のイネーブルを抜くことでM系列の発生を遅らせる
ことを特徴とする請求項1記載の拡散符号発生方法。
4. When the clock for generating the M-sequence is n times the chip rate, the M-sequence generating step is performed.
It is in the normal operation and enable the period of one clock per chip period, thereby advancing the generation of the M-sequence by inserting enabled during normal enabled, also the M-sequence by removing the enable in normal operation The spreading code generation method according to claim 1, wherein the generation is delayed.
【請求項5】 スペクトル拡散通信のための拡散符号発
生装置において、 拡散符号の基本となるM系列であって、系列の何れかの
位置に符号0が挿入されたM系列を発生すると共に、発
生されるM系列のチップレートの整数倍のクロックを用
い、1チップ期間のイネーブル信号により有効とされる
クロック数を制御することでM系列の発生を進めたり遅
らせたりするM系列発生手段と、 スペクトル拡散通信で用いられる拡散符号の遅延時間を
シフトベクトル値として求めるベクトル取得手段と、 前記M系列発生手段の各レジスタの状態を要素とするベ
クトルに前記ベクトルをかけることによって時間的にシ
フトした第1のM系列を出力する第1のM系列出力手段
と、 前記第1のM系列をさらに1拡散レート遅延させた第2
のM系列を出力する第2のM系列出力手段と、 外部から設定されたタイミングで前記第1のM系列と前
記第2のM系列とを切り換えて拡散符号を出力させる選
択手段とを有することを特徴とする拡散符号発生装置。
5. A spread code generator for spread spectrum communication, which generates and generates an M sequence which is the basis of a spread code and in which a code 0 is inserted at any position of the sequence. M-sequence generation means for advancing or delaying the generation of the M-sequence by controlling the number of clocks that are enabled by the enable signal for one chip period using a clock that is an integral multiple of the chip rate of the M-sequence Vector acquisition means for obtaining a delay time of a spreading code used in spreading communication as a shift vector value, and a vector which is temporally shifted by multiplying the vector whose element is the state of each register of the M-sequence generation means . First M-sequence output means for outputting the second M-sequence, and a second M-sequence output means for further delaying the first M-sequence by one spreading rate.
Second M-sequence output means for outputting the second M-sequence, and selecting means for switching the first M-sequence and the second M-sequence at a timing set from the outside to output a spread code. A spreading code generator characterized by.
【請求項6】 前記ベクトル取得手段は、複数の送信側
が送信している各拡散符号の時間差に相当するベクトル
のみを記憶していることを特徴とする請求項5記載の拡
散符号発生装置。
6. The spread code generator according to claim 5, wherein the vector acquisition means stores only a vector corresponding to a time difference between spread codes transmitted by a plurality of transmitters.
【請求項7】 前記複数の送信側から受信側までの伝搬
遅延を、M系列発生手段におけるM系列の発生を進めた
り遅らせたりすることによって調整する調整手段を有す
ることを特徴とする請求項6記載の拡散符号発生装置。
7. The adjusting means for adjusting the propagation delay from the plurality of transmitting sides to the receiving side by advancing or delaying the generation of the M sequence in the M sequence generating means. The spreading code generator described.
【請求項8】 前記M系列発生の際のクロックを前記チ
ップレートのn倍とするとき、前記M系列発生手段で
、通常動作時には1チップ期間につき1クロックの期
間をイネーブルとし、通常のイネーブルの間にイネーブ
ルを挿入することでM系列の発生を進ませ、また通常動
作時のイネーブルを抜くことでM系列の発生を遅らせる
ことを特徴とする請求項5記載の拡散符号発生装置。
8. When the clock for generating the M-sequence is n times the chip rate, the M-sequence generating means
It is in the normal operation and enable the period of one clock per chip period, thereby advancing the generation of the M-sequence by inserting enabled during normal enabled, also the M-sequence by removing the enable in normal operation 6. The spread code generator according to claim 5, wherein generation is delayed.
JP17821594A 1993-08-10 1994-07-29 Spreading code generation method and apparatus Expired - Lifetime JP3477827B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17821594A JP3477827B2 (en) 1993-08-10 1994-07-29 Spreading code generation method and apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5-198460 1993-08-10
JP19846093 1993-08-10
JP17821594A JP3477827B2 (en) 1993-08-10 1994-07-29 Spreading code generation method and apparatus

Publications (2)

Publication Number Publication Date
JPH07107006A JPH07107006A (en) 1995-04-21
JP3477827B2 true JP3477827B2 (en) 2003-12-10

Family

ID=26498464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17821594A Expired - Lifetime JP3477827B2 (en) 1993-08-10 1994-07-29 Spreading code generation method and apparatus

Country Status (1)

Country Link
JP (1) JP3477827B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3028800B2 (en) 1998-05-01 2000-04-04 日本電気株式会社 CDMA cellular system and spreading code detection method in CDMA cellular system
JP3499460B2 (en) 1999-02-25 2004-02-23 松下電器産業株式会社 Spreading code generating circuit and spreading code generating method
JP2000307477A (en) 1999-04-21 2000-11-02 Matsushita Electric Ind Co Ltd Code generating device, communication device using the device, communication system and code generating method
KR100504465B1 (en) * 2000-03-13 2005-08-04 엘지전자 주식회사 A Peuso Noise codes generator and the method thereof
JP2005303499A (en) * 2004-04-08 2005-10-27 Nippon Telegr & Teleph Corp <Ntt> Spread code generator circuit and synchronizing circuit
JP5142457B2 (en) 2005-03-01 2013-02-13 古野電気株式会社 Code controller

Also Published As

Publication number Publication date
JPH07107006A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
US6654405B1 (en) Methods and apparatus for use in performing dot product operations for spread spectrum communications
KR100938022B1 (en) Method and apparatus for processing a received signal in a communications system
US6947470B2 (en) Rake receiver for a CDMA system, in particular incorporated in a cellular mobile phone
KR19990008317A (en) Signal transmission method in a mobile communication system, transmitter, receiver and spreading code synchronization method
US7149240B2 (en) Method of and apparatus for controlling system timing with use of a master timer
US6882682B1 (en) Fixed pattern detection apparatus
KR20050098789A (en) A user equipment(ue) rake structure having a shared memory utilized by all of the rake fingers
KR19980064637A (en) Diffusion Spectrum Receiver
US5438596A (en) Method and apparatus for generating diffusion code
JP4263489B2 (en) Method and apparatus for chip rate processing in a CDMA system
JP3477827B2 (en) Spreading code generation method and apparatus
RU2222109C2 (en) Device and method for generating expansion code in code-division multiple access communication system
US6834074B2 (en) Method of time tracking in a vector correlator based rake receiver
KR0155522B1 (en) Spread spectrum pseudo noise code tracking device using parallel correllator
JP2002519887A (en) Method and apparatus for storing and accessing different chip sequences
JP3398708B2 (en) Spread spectrum receiver
KR101066316B1 (en) Method and apparatus for generating pseudo noise sequence using mask pattern conversion in a direct spreading band communication system
KR100320430B1 (en) PN code generating method
JPH10190524A (en) Code generator and spread communication system
KR100248094B1 (en) Two pilot system and method for reducing interference
KR100376752B1 (en) Receiver for supporting multi-channel
JP2001237743A (en) Control method for transmission timing of shifter in cdma communication system and transmitter-receiver
KR20000000741A (en) Adaptive synchronous cdma(code division multiple access) communication system
KR20030050393A (en) Multi path searcher for asynchronous base station modem

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030902

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 9