JP2001024624A - Device and method for generating and processing code group - Google Patents

Device and method for generating and processing code group

Info

Publication number
JP2001024624A
JP2001024624A JP19702799A JP19702799A JP2001024624A JP 2001024624 A JP2001024624 A JP 2001024624A JP 19702799 A JP19702799 A JP 19702799A JP 19702799 A JP19702799 A JP 19702799A JP 2001024624 A JP2001024624 A JP 2001024624A
Authority
JP
Japan
Prior art keywords
code
pattern
sequence
phase difference
code sequence
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.)
Withdrawn
Application number
JP19702799A
Other languages
Japanese (ja)
Inventor
Joji Awata
丈二 粟田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Oki Electric Industry Co Ltd
Original Assignee
Fujitsu Ltd
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Oki Electric Industry Co Ltd filed Critical Fujitsu Ltd
Priority to JP19702799A priority Critical patent/JP2001024624A/en
Publication of JP2001024624A publication Critical patent/JP2001024624A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To periodically output a partial group and to control its phase by generating the partial group of a long period code group, setting its head pattern and its terminal pattern, generating a detecting signal, when the terminal end pattern is detected and executing initialization corresponding to the head pattern in a code group generating means whenever the detecting signal is generated. SOLUTION: A register control circuit 21 outputs a register initial value Bst corresponding to the bit pattern of a selector, where the initial value is set and a PN code generation generator 22 supplies a PN code to a mask processing circuit 23. A mask control circuit 25 selects a pattern MASKA, where the phase is deviated and a PN code processing generator 20 outputs the partial group as PN-OUT, which deviated from the PN code for the portion of a desired phase difference. The detecting signal is outputted when a terminal pattern detecting circuit 24 detects the terminal pattern, the mask control circuit 25 executes changeover into MASKB, where the phase is not deviated and the register control circuit 21 executes second register initial value setting.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、符号系列生成処理
装置及び方法に関し、たとえばCDMA(符号分割多元
接続)などのスペクトル拡散通信に使用される拡散符号
系列などの符号系列について、部分系列を生成する場合
に適用し得るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and method for generating a code sequence, and more particularly to generating a partial sequence for a code sequence such as a spread code sequence used for spread spectrum communication such as CDMA (code division multiple access). It can be applied when

【0002】[0002]

【従来の技術】CDMAシステムにおいては異なるユー
ザの信号が同一時間、同一周波数に重畳した状態で通信
が行われる。したがってCDMAに用いられる拡散符号
は、時間と周波数帯を共有しているユーザを明確に識別
できることが必要である。
2. Description of the Related Art In a CDMA system, communication is performed with signals of different users superimposed on the same frequency for the same time. Therefore, the spreading code used in CDMA needs to be able to clearly identify users sharing time and frequency bands.

【0003】識別の明確さの程度は、同一符号系列間の
相関である自己相関の最大最小比が大きく、異なる符号
系列間の相関である相互相関の最大値が小さいほど高ま
る傾向にある。相互相関の最大値が大きいと、ユーザ間
の相互干渉が生じやすい。
[0003] The degree of clarity of identification tends to increase as the maximum / minimum ratio of autocorrelation, which is the correlation between the same code sequences, becomes larger and the maximum value of the cross correlation, which is the correlation between different code sequences, becomes smaller. If the maximum value of the cross-correlation is large, mutual interference between users is likely to occur.

【0004】拡散符号にはまた、できるだけ多数の符号
系列を備えることが求められる。符号系列の数が少ない
と、時間と周波数帯を共有するユーザの数が制限される
ことになるからである。
[0004] Spreading codes are also required to have as many code sequences as possible. This is because if the number of code sequences is small, the number of users sharing time and frequency bands is limited.

【0005】すなわち、ランダム性(擬似ランダム
性)、周期性、符号系列数(符号種類)の多さ、および
直交性などが、CDMAシステムにおける拡散符号に求
められる特性である。
That is, randomness (pseudorandomness), periodicity, a large number of code sequences (code types), orthogonality, and the like are characteristics required for a spread code in a CDMA system.

【0006】このような特性を兼ね備える拡散符号とし
て、一般に、CDMAには、PN符号が用いられる。
Generally, a PN code is used in CDMA as a spreading code having such characteristics.

【0007】PN符号は、周期的符号であるが、所定の
帯域内で白色雑音とみなせるスペクトルを持つところか
らPN、すなわち擬似雑音符号と呼ばれている。
The PN code is a periodic code, but is called a PN, that is, a pseudo-noise code because it has a spectrum that can be regarded as white noise within a predetermined band.

【0008】PN符号のうち二進PN符号としては、M
系列とゴールド系列が代表的である。ゴールド符号は2
つの同じ長さのM系列を合成して生成されるので、ここ
ではM系列について述べる。
The binary PN code of the PN code is M
The series and the gold series are typical. Gold sign is 2
Since the M-sequence is generated by combining two M-sequences of the same length, the M-sequence will be described here.

【0009】M系列はその構成上、2−1の繰り返し
周期のなかに0が(N−1)個つづいた部分を1つ持つ
が、当該部分の次の情報に0を挿入した2周期の符号
が使用されている。これにより、回路構成も簡単で処理
にも好都合なシステムとすることができる。
[0009] M-sequence on its configuration, 2 N 0 Some repetition period -1 (N-1) pieces but the subsequent portion with one 1, 2 N inserting the 0 on the following information of the partial The sign of the period is used. This makes it possible to provide a system with a simple circuit configuration and favorable processing.

【0010】またこの符号の発生位相を変更する方法と
しては、マスク処理技術が使用されている。2−1周
期をもつPN符号発生回路の構成例を図2に示す。
As a method of changing the generation phase of the code, a mask processing technique is used. FIG. 2 shows a configuration example of a PN code generation circuit having 2 N -1 periods.

【0011】図2において、PN符号発生回路10は、
符号生成部Xと、マスク処理回路Yとを備えている。
In FIG. 2, a PN code generation circuit 10
A code generation unit X and a mask processing circuit Y are provided.

【0012】符号生成部Xは、N段のシフトレジスタX
n−1〜Xと、XとX間の帰還タップから入力を
得るEXOR(排他的論理和)回路1を備え、N次の生
成多項式X+…+X+X+1に対応した構成となっ
ている。
The code generation unit X includes an N-stage shift register X
and n-1 to X 0, with the EXOR (exclusive OR) circuit 1 to obtain input from the feedback taps between X 2 and X 1, configuration and corresponding to the generation of the N-th order polynomial X N + ... + X 3 + X + 1 Has become.

【0013】一方、マスク処理回路Yは、符号生成部X
で生成された符号の位相制御を行う回路で、AND
n−1〜ANDのn個の2入力AND回路と、これら
すべてのAND回路の出力を入力として排他的論理和を
とるEXOR回路2とを備えている。
On the other hand, the mask processing circuit Y includes a code generation section X
Circuit that performs phase control of the code generated in
and n two-input AND circuit n-1 ~AND 0, and a EXOR circuit 2 XORing the outputs of all these AND circuits as input.

【0014】ANDn−1の一方の入力端子は前記シフ
トレジスタXn−1とXn−2との間に接続され、…、
ANDの一方の入力端子はXとXの間に接続さ
れ、ANDの一方の入力端子はXとXとの間に接
続され、ANDの一方の入力端子はXの出力端子に
接続されている。
One input terminal of the AND n-1 is connected between the shift registers Xn-1 and Xn-2 ,.
One input terminal of the AND 2 is connected between the X 2 and X 1, one input terminal of the AND 1 is connected between the X 1 and X 0, one input terminal of the AND 0 is the X 0 Connected to output terminal.

【0015】そしてこれらANDn−1〜ANDの他
方の入力端子には、n本の信号線からなるバスBの各信
号線が接続され、nビットのマスクパターンMASKに
応じたマスク処理が行われる。
Each of the other input terminals of AND n-1 to AND 0 is connected to each signal line of a bus B composed of n signal lines, and a mask process corresponding to an n-bit mask pattern MASK is performed. Will be

【0016】当該マスク処理によって、変更すべき位相
量が制御されることになる。
The amount of phase to be changed is controlled by the mask processing.

【0017】なお、符号系列の先頭パターンを1周期中
のどこに設定するこによって、シフトレジスタXn−1
〜X0の初期値が決まる。
The shift register Xn-1 can be set by setting the start pattern of the code sequence anywhere in one cycle.
To X0 are determined.

【0018】[0018]

【発明が解決しようとする課題】ところが、CDMAシ
ステムのなかには、上記のように2−1では表現でき
ない周期をもつPN符号を使用するシステムがあり、一
例として、3×2周期の符号を使用するために、2
(N+2)−1周期からなるM系列の3/4周期を用い
た部分系列を生成しているものがある。
However, some CDMA systems use a PN code having a period that cannot be represented by 2 N -1 as described above. As an example, a code having a 3 × 2 N period is used. 2 to use
In some cases, a partial sequence using a 3/4 cycle of an M sequence consisting of (N + 2) -1 cycles is generated.

【0019】上述したPN符号発生回路10は、M系列
の1周期を出力するための回路であり、そのままではM
系列の部分系列を出力することはできない。
The above-described PN code generation circuit 10 is a circuit for outputting one cycle of the M sequence,
It is not possible to output a subsequence of a sequence.

【0020】したがって、部分系列を出力でき、なおか
つ出力する部分系列の位相を制御できる回路が必要にな
る。
Therefore, a circuit which can output a partial sequence and can control the phase of the output partial sequence is required.

【0021】[0021]

【課題を解決するための手段】かかる課題を解決するた
めに第1の発明では、長い周期の符号系列の1部の系列
である部分系列を送出する符号系列生成処理装置におい
て、(1)前記符号系列を生成、出力する符号系列発生
手段と、(2)前記部分系列の先端パターン及び終端パ
ターンの設定を受けるパターン設定手段と、(3)出力
されている前記符号系列から前記終端パターンが検出さ
れると検出信号を発生する終端パターン検出手段と、
(4)当該検出信号が発生されると、前記先頭パターン
に対応した初期化を前記符号系列発生手段に対して実行
する初期化手段とを備え、(5)前記検出信号が発生す
るたびに初期化を繰り返すことにより、前記部分系列を
周期的に出力することを特徴とする。
According to a first aspect of the present invention, there is provided a code sequence generation processing apparatus for transmitting a partial sequence which is a partial sequence of a code sequence having a long cycle. Code sequence generating means for generating and outputting a code sequence; (2) pattern setting means for receiving settings of a leading pattern and a terminating pattern of the partial sequence; and (3) detecting the terminating pattern from the outputted code sequence. Termination pattern detection means for generating a detection signal when the
(4) initializing means for executing initialization corresponding to the leading pattern to the code sequence generating means when the detection signal is generated, and (5) initializing each time the detection signal is generated. The sub-sequence is periodically output by repeating the conversion.

【0022】また、第2の発明では、長い周期の符号系
列の1部の系列である部分系列を送出する符号系列生成
処理方法において、(1)予め、前記部分系列の先端パ
ターン及び終端パターンの設定を受けておき、(2)出
力されている前記符号系列から前記終端パターンが検出
されると検出信号を発生し、(3)当該検出信号が発生
されると、前記先頭パターンに対応した初期化を前記符
号系列に対して行い、(4)前記検出信号が発生するた
びに初期化を繰り返すことにより、前記部分系列を周期
的に出力することを特徴とする。
According to a second aspect of the present invention, there is provided a code sequence generation processing method for transmitting a partial sequence which is a part of a long-period code sequence. Upon receiving the setting, (2) a detection signal is generated when the end pattern is detected from the output code sequence, and (3) when the detection signal is generated, an initial signal corresponding to the head pattern is generated. (4) The sub-sequence is periodically output by repeating initialization each time the detection signal is generated.

【0023】[0023]

【発明の実施の形態】(A)実施形態 以下、本発明にかかる符号系列生成処理装置及び方法
を、CDMAシステムのPN符号発生処理回路に適用し
た場合を例に、実施形態について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (A) Embodiment Hereinafter, an embodiment will be described with an example in which a code sequence generation processing apparatus and method according to the present invention is applied to a PN code generation processing circuit of a CDMA system.

【0024】(A−1)実施形態の構成 本実施形態のPN符号発生処理回路20を図1に示す。
このPN符号発生処理回路20は、たとえばCDMAの
移動電話機、基地局などの受信側装置では、同期捕捉部
や、同期追従部などの一部として含まれて逆拡散に利用
され、基地局や移動電話機などの送信側装置では拡散変
調部の一部として含まれ得るものである。
(A-1) Configuration of the Embodiment FIG. 1 shows a PN code generation processing circuit 20 of the present embodiment.
The PN code generation processing circuit 20 is included in a receiver such as a CDMA mobile phone and a base station as a part of a synchronization acquisition unit and a synchronization tracking unit and is used for despreading. In a transmitting device such as a telephone, it can be included as a part of a spread modulation unit.

【0025】図1において、PN符号発生処理回路20
は、レジスタ制御回路21と、PN符号発生器22と、
マスク処理回路23と、終りパターン検出回路24と、
マスク制御回路25とを備えている。
In FIG. 1, a PN code generation processing circuit 20
Is a register control circuit 21, a PN code generator 22,
A mask processing circuit 23, an end pattern detection circuit 24,
And a mask control circuit 25.

【0026】レジスタ制御回路21は、N次の生成多項
式に対応した構造を持つPN符号発生器22に対し、N
次のレジスタ値の初期設定などを行う制御回路である。
The register control circuit 21 provides a PN code generator 22 having a structure corresponding to an N-th order
This is a control circuit for performing initial setting of the next register value and the like.

【0027】PN符号発生器22などの回路21〜25
の詳細構成の例は、図3に示す。
Circuits 21 to 25 such as PN code generator 22
FIG. 3 shows an example of the detailed configuration of.

【0028】図3において、PN符号発生器22は、X
n−1〜X0のn個(n段)の1ビットシフトレジスタ
とEXOR回路3とを備えた前記符号生成部Xと同様な
機能を持つ回路である。ただし、PN符号発生器22で
は、各シフトレジスタ間の接続はセレクタSELを介し
て行われる。
In FIG. 3, the PN code generator 22 outputs X
This is a circuit having the same function as that of the code generation unit X, which includes n (n stages) 1-bit shift registers n-1 to X0 and an EXOR circuit 3. However, in the PN code generator 22, the connection between the shift registers is performed via the selector SEL.

【0029】すなわち、各シフトレジスタXn−1〜X
0の入力端子には各セレクタSELn−1〜0の出力端
子が接続されている。
That is, each of the shift registers Xn-1 to Xn-1
The output terminals of the selectors SELn-1 to SELn-0 are connected to the 0 input terminal.

【0030】各セレクタSELn−1〜0は、その制御
入力端子に供給される制御信号CS1に応じて、選択を
切替える。各前段シフトレジスタの値またはレジスタ初
期値Bstのあいだで行う選択切替えである。
Each of the selectors SELn-1 to SELn-0 switches selection in accordance with a control signal CS1 supplied to its control input terminal. The selection switching is performed between the value of each previous-stage shift register or the register initial value Bst.

【0031】レジスタ初期値Bstは、レジスタ制御回
路21からn本の信号線で供給される所定のnビットの
ビットパターンである。
The register initial value Bst is a predetermined n-bit bit pattern supplied from the register control circuit 21 through n signal lines.

【0032】レジスタ制御回路21はスタートトリガ
(STA TRIG)が供給されるとレジスタの初期値
設定を行うが、後述する終りパターン検出信号GSが発
生された場合にも、当該スタートトリガ供給時と同様な
レジスタ初期値設定動作を繰り返す。
The register control circuit 21 sets the initial value of the register when a start trigger (STA TRIG) is supplied. However, even when an end pattern detection signal GS described later is generated, the same as when the start trigger is supplied. Repeat the register initial value setting operation.

【0033】レジスタ制御回路21が出力するもう1つ
の制御信号は、マスク制御回路25に供給されるマスク
制御信号MCである。MCの供給を制御入力端子で受け
取るマスク制御回路25は2入力1出力のセレクタ回路
であって、当該MCまたは終りパターン検出回路24が
出力する検出信号GSにしたがい、2種類のマスクパタ
ーンMASKA、MASKBの選択を切替える。
Another control signal output from the register control circuit 21 is a mask control signal MC supplied to the mask control circuit 25. The mask control circuit 25, which receives the supply of MC at the control input terminal, is a selector circuit of two inputs and one output, and two types of mask patterns MASKA and MASKB according to the detection signal GS output from the MC or the end pattern detection circuit 24. Switch the selection.

【0034】MASKAは、部分系列の位相をずらすた
めのパターンで、MASKBは部分系列の位相をずらす
ことなく送出するためのパターンである。当該MASK
Bは、後述するように、すでに位相差を付与された部分
系列を先頭ビットから送出するために利用される。
MASKA is a pattern for shifting the phase of the partial sequence, and MASKB is a pattern for sending the partial sequence without shifting the phase. The MASK
B is used to transmit a subsequence to which a phase difference has already been added, from the first bit, as described later.

【0035】マスク制御回路25の出力はマスク処理回
路23に供給される。マスク処理回路23は、たとえば
ANDやEXORなどから構成された前記マスク処理回
路Yのような構成であってよく、マスク制御回路25の
出力に応じて異なるマスク処理を行う回路である。
The output of the mask control circuit 25 is supplied to a mask processing circuit 23. The mask processing circuit 23 may have a configuration such as the mask processing circuit Y composed of, for example, AND or EXOR, and is a circuit that performs different mask processing according to the output of the mask control circuit 25.

【0036】マスク処理回路23の出力をモニタしてい
る終りパターン検出回路24は、所定の部分系列の終端
部のビットパターンである終りパターンBendを検出
するための回路である。
An end pattern detection circuit 24 monitoring the output of the mask processing circuit 23 is a circuit for detecting an end pattern Bend which is a bit pattern at the end of a predetermined partial series.

【0037】終りパターン検出回路24の構成は、たと
えばN段からなるシフトレジスタと、これらシフトレジ
スタのNビットと当該終りパターンBendとを比較す
る比較回路とを含むものであってよい。
The configuration of the end pattern detection circuit 24 may include, for example, a shift register composed of N stages and a comparison circuit for comparing N bits of these shift registers with the end pattern Bend.

【0038】終りパターンを検出するとこの終りパター
ン検出回路24の比較回路は、前記検出信号GSを発生
し、マスク制御回路25にMASKAとMASKBの選
択を行わせる。
When the end pattern is detected, the comparison circuit of the end pattern detection circuit 24 generates the detection signal GS and causes the mask control circuit 25 to select between MASKA and MASKB.

【0039】図4(A)に示したA0からAXを1周期
とするPN符号1は、PN符号発生器22の構造が指定
するN次の生成多項式に対応した長周期の符合系列であ
る。PN符号1の連続する1部分の系列からなる同図
(B)の部分系列(PN符号2)の最初のビットをB0
とし、最後のビットをB1とすると、前記レジスタ初期
値Bstは、当該先頭B0直後のビットパターンに対応
したパターンとなる。
The PN code 1 having one cycle from A0 to AX shown in FIG. 4A is a long-period code sequence corresponding to the N-th generation polynomial specified by the structure of the PN code generator 22. The same figure consisting of a series of one continuous part of the PN code 1
The first bit of the subsequence (PN code 2) of (B) is B0
Assuming that the last bit is B1, the register initial value Bst is a pattern corresponding to the bit pattern immediately after the head B0.

【0040】また、B1直前のB1−NからB1までの
ビットパターンである終りパターンBendは、当該部
分系列の終端部を指定する。
An end pattern Bend, which is a bit pattern from B1-N to B1 immediately before B1, specifies the end of the subsequence.

【0041】一般に、BstおよびBendの組は、P
N符号1から取り出され得る複数の部分系列のなかから
1つの部分系列を指定する。本実施形態では、B0から
B1を1周期とする部分系列(PN符号2)について考
える。
In general, the set of Bst and Bend is P
One subsequence is specified from a plurality of subsequences that can be extracted from the N code 1. In the present embodiment, a partial sequence (PN code 2) having B0 to B1 as one cycle is considered.

【0042】なお、図1中、MASKAとSTA TR
IGは、当該PN符号発生処理回路20の外部から供給
されるパラメータである。
In FIG. 1, MASKA and STA TR
IG is a parameter supplied from outside the PN code generation processing circuit 20.

【0043】以下、上記のような構成を有する本実施形
態の動作について説明する。
The operation of this embodiment having the above configuration will be described below.

【0044】(A−2)実施形態の動作 スタートトリガがレジスタ制御回路21に供給されて当
該PN符号発生処理回路20が動作開始すると、まず制
御信号SCによってセレクタSELn−1〜0がレジス
タ初期値設定の側に設定される。
(A-2) Operation of the Embodiment When a start trigger is supplied to the register control circuit 21 and the PN code generation processing circuit 20 starts operating, first, the selectors SELn-1 to SELn-0 set the register initial values by the control signal SC. Set on the setting side.

【0045】レジスタ制御回路21が前記B0〜B0+
Nに対応するレジスタ初期値Bstを出力することによ
り、最初のレジスタ初期値設定が行われ、図5(A)の
部分系列(PN符号2)がPN符号発生器22から取り
出されてマスク処理回路23に供給される。
The register control circuit 21 determines that B0 to B0 +
By outputting the register initial value Bst corresponding to N, the initial register initial value setting is performed, and the partial sequence (PN code 2) shown in FIG. 23.

【0046】このとき、マスク処理回路25は、図5
(C)の点CとD1のあいだの動作状態にあってMAS
KAを選択しているので、図5(B)のように、所望の
位相差PXだけPN符号2からずれた位相の部分系列す
なわちPN符号3が、PN符号発生処理回路20の出力
PN OUTとして外部に送出される。この処理に際
し、図示の状態では、当該部分系列3の最初の1周期の
先頭部分は失われている。
At this time, the mask processing circuit 25
MAS in the operating state between points C and D1 in (C)
Since KA is selected, as shown in FIG. 5B, a partial sequence having a phase shifted from the PN code 2 by a desired phase difference PX, that is, a PN code 3 is used as the output PN OUT of the PN code generation processing circuit 20. Sent out. In this process, in the state shown in the figure, the leading part of the first cycle of the partial sequence 3 has been lost.

【0047】図5(C)において、点D1のまえの終り
パターンBend1を検出したとき、終りパターン検出
回路24は、検出信号GSをレジスタ制御回路21に供
給するとともにマスク制御回路25の選択をMASKB
に切替える。
In FIG. 5C, when the end pattern Bend1 before the point D1 is detected, the end pattern detection circuit 24 supplies the detection signal GS to the register control circuit 21 and selects the mask control circuit 25 by MASKB.
Switch to

【0048】したがって、当該検出信号GSを受け取っ
たタイミングで、レジスタ制御回路21が2回目のレジ
スタ初期値(Bst)設定を行うことになる。
Therefore, the register control circuit 21 sets the register initial value (Bst) for the second time at the timing when the detection signal GS is received.

【0049】この2回目のレジスタ初期値設定を行うタ
イミングは、前記位相差PXを反映したものとなる。
The timing at which the second register initial value setting is performed reflects the phase difference PX.

【0050】点D1以降、マスク制御回路25は、点D
2、D3などで検出信号GSが発生されてもMASKB
の選択を継続するので、前記PXから位相差は変化せ
ず、3回目以降のレジスタ初期値設定を行うタイミング
は、当該位相差PXに対応したのとなる。
After the point D1, the mask control circuit 25 returns to the point D
MASKB even if the detection signal GS is generated at 2, D3, etc.
Is continued, the phase difference does not change from the PX, and the timing of setting the register initial value after the third time corresponds to the phase difference PX.

【0051】すなわち、PN符号発生処理回路20から
は、図5(A)のPN符号2と比べて位相差PXの部分
系列が繰り返し送出されつづけることになる。
That is, the partial sequence of the phase difference PX is continuously transmitted from the PN code generation processing circuit 20 repeatedly as compared with the PN code 2 in FIG.

【0052】したがって、D1以降の繰り返しでは、D
1、D2、D3などにおいて部分系列(PN符号2)
に、位相差PXを付与された部分系列(PN符号3)
を、先頭ビットから出力することができる。
Therefore, in the repetition after D1, D
Subsequence in 1, D2, D3, etc. (PN code 2)
To which a phase difference PX is given (PN code 3)
Can be output from the first bit.

【0053】本実施形態では、前記BstとBendの
設定によって、長い周期を持つ図4(A)のPN符号1
から所望の部分を取り出して、部分系列とすることがで
きるだけでなく、当該部分系列に所望の位相差を付与す
ることができる。
In this embodiment, the PN code 1 of FIG. 4A having a long cycle is set by setting the Bst and Bend.
Not only can a desired part be extracted from the subsequence to be a partial sequence, but also a desired phase difference can be given to the partial sequence.

【0054】なお、上述したマスクパターンMASK
A、MASKBと、位相差PXの関係を明確にするため
に、図6および図7を参照しながら説明する。
The above-described mask pattern MASK
A, MASKB and the phase difference PX will be described with reference to FIGS. 6 and 7 in order to clarify the relationship.

【0055】これは、TIA(米国電気通信工業会)で
標準化されたIS−95システムなどで使用される方式
である。
This is a system used in an IS-95 system standardized by TIA (Telecommunications Industry Association of America) and the like.

【0056】(A−2−1)マスクパターンと位相差の
関係 PN符号発生処理回路20の位相差の設定に関連する部
分を、簡略化して示した図6において、位相差処理器3
0は、マスク処理部31と、マスクパターン部32と、
PN符号発生器33から構成されている。
(A-2-1) Relationship between Mask Pattern and Phase Difference In FIG. 6, a portion related to the setting of the phase difference of the PN code generation processing circuit 20 is shown in a simplified manner.
0 is a mask processing unit 31, a mask pattern unit 32,
It comprises a PN code generator 33.

【0057】前記マスク処理回路23に対応するマスク
処理部31は、4つの2入力AND回路AND3〜AN
D0と、モジュロ2加算器(mod2adder)からなる。
The mask processing section 31 corresponding to the mask processing circuit 23 has four two-input AND circuits AND3 to AND3.
D0 and a modulo 2 adder.

【0058】4ビットのマスクパターンを前記AND回
路に供給するマスクパターン部32は、M3〜M0の4
つの独立した1ビットレジスタからなる。
The mask pattern section 32 for supplying a 4-bit mask pattern to the AND circuit has four mask patterns M3 to M0.
It consists of two independent 1-bit registers.

【0059】そして、前記PN符号発生器22に対応す
るPN符号発生器33は、X3〜X0の4段のシフトレ
ジスタとEXOR4から構成され、生成多項式g(X)
=X4+X3+X2+1に対応した構造を持っている。
A PN code generator 33 corresponding to the PN code generator 22 is composed of a four-stage shift register X3 to X0 and EXOR4, and generates a generator polynomial g (X).
= X4 + X3 + X2 + 1.

【0060】図7の左端には、シフトレジスタX3〜X
0の状態、中央には、モジュロ2加算器の出力、右端に
は当該位相差処理器30の出力がマスクパターンに対応
したレジスタ表現で示されている。
At the left end of FIG. 7, shift registers X3 to X
In the state of 0, the output of the modulo 2 adder is shown at the center, and the output of the phase difference processor 30 is shown at the right end in a register expression corresponding to the mask pattern.

【0061】マスクパターンのX0は、前記M0だけが
1でM3〜M1は0のマスクパターンに対応し、マスク
パターンのX1は、前記M1だけが1でM3、M2、M
0は0のマスクパターンに対応している。
X0 of the mask pattern corresponds to a mask pattern in which only M0 is 1 and M3 to M1 are 0. In mask pattern X1, only M1 is 1 and M3, M2, M
0 corresponds to a mask pattern of 0.

【0062】マスクパターンX0のときの位相差を0と
すると、マスクパターンX1のときの位相差は1とな
り、X2のときの位相差2となる。
Assuming that the phase difference for the mask pattern X0 is 0, the phase difference for the mask pattern X1 is 1 and the phase difference for the mask pattern X2 is 2.

【0063】また、X4=X1+X0の意味は、位相差
4を設定するにはM1およびM0に1を供給し、他のM
3、M2には0を供給することを示している。
X4 = X1 + X0 means that to set the phase difference 4, 1 is supplied to M1 and M0,
3 indicates that 0 is supplied to M2.

【0064】最後に、X15(=X12+X11=X3
+X1+X2+X0+X3+X2+X1)=X0とな
り、一巡して位相差なしの状態にもどる。
Finally, X15 (= X12 + X11 = X3
+ X1 + X2 + X0 + X3 + X2 + X1) = X0, and the circuit returns to the state without a phase difference.

【0065】本実施形態との関係において、図7中のX
0が前記MASKBに対応するものとすると、前記MA
SKAは、所望の位相差PXに応じて、前記X1〜X1
4のなかから選択された1つのパターンに対応する。
In relation to the present embodiment, X in FIG.
0 corresponds to the MASKB, the MA
SKA is determined by the X1 to X1 according to a desired phase difference PX.
4 corresponds to one pattern selected from the four patterns.

【0066】(A−3)実施形態の効果 以上のように本実施形態によれば、PN符号発生器のか
たちに対応した長い周期のPN符号系列から、所望の部
分系列を取り出すことができ、さらに、当該部分系列に
対し所望の位相差を設定することができる。
(A-3) Effects of Embodiment As described above, according to this embodiment, a desired partial sequence can be extracted from a PN code sequence having a long cycle corresponding to the shape of a PN code generator. Further, a desired phase difference can be set for the partial sequence.

【0067】(B)他の実施形態 以上の説明では、マスクパターンを用いて部分系列に位
相差を付与したが、初期位相またはある時点の各シフト
レジスタの位相からnシフト後の各シフトレジスタの値
を、計算によって求め、求めた値を各シフトレジスタに
再設定することによって、所望の位相差を付与すること
も可能である。
(B) Other Embodiments In the above description, the phase difference is given to the partial series using the mask pattern. However, the initial phase or the phase of each shift register at a certain point in time after n shifts from each shift register is added. A desired phase difference can be provided by calculating a value and resetting the obtained value in each shift register.

【0068】また、上記実施形態では、CDMAについ
て説明したが、本発明は、CDMA以外のスペクトル拡
散通信にも適用することができる。
In the above embodiment, CDMA has been described. However, the present invention can be applied to spread spectrum communication other than CDMA.

【0069】さらに、本発明の符号系列および部分系列
は、スペクトル拡散以外の用途に使用するものであって
もよい。
Further, the code sequence and the partial sequence of the present invention may be used for applications other than spread spectrum.

【0070】また、上記実施形態ではハードウエアを用
いたが、本発明は、ソフトウエアを用いて実現すること
も可能である。
Although the above embodiment uses hardware, the present invention can also be realized using software.

【0071】すなわち、本発明は、長い周期の符号系列
の1部の系列である部分系列を送出する符号系列生成処
理装置および方法について、広く適用することができ
る。
That is, the present invention can be widely applied to a code sequence generation processing apparatus and method for transmitting a partial sequence which is a partial sequence of a code sequence having a long cycle.

【0072】[0072]

【発明の効果】以上詳細に説明したように、本発明によ
れば、符号系列の部分系列を生成、出力することができ
る。
As described above in detail, according to the present invention, a partial sequence of a code sequence can be generated and output.

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

【図1】実施形態に係るPN符号発生処理回路の構成を
示す概略図である。
FIG. 1 is a schematic diagram showing a configuration of a PN code generation processing circuit according to an embodiment.

【図2】従来のPN符号発生処理回路の構成を示す概略
図である。
FIG. 2 is a schematic diagram showing a configuration of a conventional PN code generation processing circuit.

【図3】実施形態に係るPN符号発生処理回路の詳細構
成例を示す概略図である。
FIG. 3 is a schematic diagram illustrating a detailed configuration example of a PN code generation processing circuit according to the embodiment;

【図4】長周期のPN符号とその部分系列の関係を示す
概略説明図である。
FIG. 4 is a schematic explanatory diagram showing a relationship between a long-period PN code and a partial sequence thereof.

【図5】部分系列、位相差、およびマスク処理のタイミ
ング関係を示すタイムチャートである。
FIG. 5 is a time chart illustrating a timing relationship between a partial sequence, a phase difference, and mask processing.

【図6】付与する位相差とマスクパターンの関係を説明
するために簡略化した構成図である。
FIG. 6 is a simplified configuration diagram for explaining the relationship between the applied phase difference and the mask pattern.

【図7】付与する位相差とマスクパターンの関係を示す
概略図である。
FIG. 7 is a schematic diagram showing a relationship between a phase difference to be applied and a mask pattern.

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

10、20…PN符号発生処理回路、21…レジスタ制
御回路、22…PN符号発生器、23…マスク処理回
路、24…終りパターン検出回路、25…マスク制御回
路、Xn−1〜X0…シフトレジスタ、Bst…レジス
タ初期値、Bend…終りパターン、MC…マスク制御
信号、CS1…制御信号、GS…検出信号。
10, 20 PN code generation processing circuit, 21 register control circuit, 22 PN code generator, 23 mask processing circuit, 24 end pattern detection circuit, 25 mask control circuit, Xn-1 to X0 shift register , Bst: register initial value, Bend: end pattern, MC: mask control signal, CS1: control signal, GS: detection signal.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 長い周期の符号系列の1部の系列である
部分系列を送出する符号系列生成処理装置において、 前記符号系列を生成、出力する符号系列発生手段と、 前記部分系列の先端パターン及び終端パターンの設定を
受けるパターン設定手段と、 出力されている前記符号系列から前記終端パターンが検
出されると検出信号を発生する終端パターン検出手段
と、 当該検出信号が発生されると、前記先頭パターンに対応
した初期化を前記符号系列発生手段に対して実行する初
期化手段とを備え、 前記検出信号が発生するたびに初期化を繰り返すことに
より、前記部分系列を周期的に出力することを特徴とす
る符号系列生成処理装置。
1. A code sequence generation processing device for transmitting a partial sequence which is a part of a sequence of a code sequence having a long period, comprising: a code sequence generating means for generating and outputting the code sequence; Pattern setting means for receiving an end pattern setting; end pattern detection means for generating a detection signal when the end pattern is detected from the output code sequence; and when the detection signal is generated, the head pattern Initialization means for performing initialization corresponding to the above-mentioned code sequence generation means, and repeating the initialization every time the detection signal is generated, thereby periodically outputting the partial sequence. Code sequence generation processing device.
【請求項2】 請求項1の符号系列生成処理装置におい
て、 前記部分系列に位相差を付与する位相差付与手段を備
え、当該位相差付与手段は、 前記部分系列の初回の1周期には、前記位相差を設定
し、 当該位相差設定後の部分系列の終端パターンを、前記終
端パターン検出手段に検出させ、 次回以降の周期では、前記位相差を設定せずに、当該終
端パターン検出手段に終端パターンを検出させることに
より、 位相差を付与された部分系列を周期的に出力することを
特徴とする符号系列生成処理装置。
2. The code sequence generation processing device according to claim 1, further comprising: a phase difference providing unit that provides a phase difference to the partial sequence, wherein the phase difference providing unit includes: The phase difference is set, and the termination pattern of the subsequence after the phase difference is set is detected by the termination pattern detection means.In the next and subsequent cycles, the phase difference is not set and the termination pattern detection means A code sequence generation processing device characterized in that a partial sequence to which a phase difference is added is periodically output by detecting an end pattern.
【請求項3】 長い周期の符号系列の1部の系列である
部分系列を送出する符号系列生成処理方法において、 予め、前記部分系列の先端パターン及び終端パターンの
設定を受けておき、 出力されている前記符号系列から前記終端パターンが検
出されると検出信号を発生し、 当該検出信号が発生されると、前記先頭パターンに対応
した初期化を前記符号系列に対して行い、 前記検出信号が発生するたびに初期化を繰り返すことに
より、前記部分系列を周期的に出力することを特徴とす
る符号系列生成処理方法。
3. A code sequence generation processing method for transmitting a partial sequence which is a partial sequence of a long-period code sequence, comprising: setting a leading pattern and a terminating pattern of said partial sequence in advance; A detection signal is generated when the end pattern is detected from the code sequence, and when the detection signal is generated, initialization corresponding to the head pattern is performed on the code sequence, and the detection signal is generated. A code sequence generation processing method characterized in that the partial sequence is periodically output by repeating initialization every time the code is generated.
JP19702799A 1999-07-12 1999-07-12 Device and method for generating and processing code group Withdrawn JP2001024624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19702799A JP2001024624A (en) 1999-07-12 1999-07-12 Device and method for generating and processing code group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19702799A JP2001024624A (en) 1999-07-12 1999-07-12 Device and method for generating and processing code group

Publications (1)

Publication Number Publication Date
JP2001024624A true JP2001024624A (en) 2001-01-26

Family

ID=16367541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19702799A Withdrawn JP2001024624A (en) 1999-07-12 1999-07-12 Device and method for generating and processing code group

Country Status (1)

Country Link
JP (1) JP2001024624A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116890A1 (en) * 2006-04-04 2007-10-18 Panasonic Corporation Code generating device
JP2011516007A (en) * 2008-03-26 2011-05-19 クゥアルコム・インコーポレイテッド Method and apparatus for scrambling sequence generation in a communication system
US8787181B2 (en) 2008-01-14 2014-07-22 Qualcomm Incorporated Resource allocation randomization
US8848913B2 (en) 2007-10-04 2014-09-30 Qualcomm Incorporated Scrambling sequence generation in a communication system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116890A1 (en) * 2006-04-04 2007-10-18 Panasonic Corporation Code generating device
US7855677B2 (en) 2006-04-04 2010-12-21 Panasonic Corporation Code generation apparatus
JP4994239B2 (en) * 2006-04-04 2012-08-08 パナソニック株式会社 Code generator
US8848913B2 (en) 2007-10-04 2014-09-30 Qualcomm Incorporated Scrambling sequence generation in a communication system
US9622246B2 (en) 2007-10-04 2017-04-11 Qualcomm Incorporated Scrambling sequence generation in a communication system
US8787181B2 (en) 2008-01-14 2014-07-22 Qualcomm Incorporated Resource allocation randomization
JP2011516007A (en) * 2008-03-26 2011-05-19 クゥアルコム・インコーポレイテッド Method and apparatus for scrambling sequence generation in a communication system
US8923249B2 (en) 2008-03-26 2014-12-30 Qualcomm Incorporated Method and apparatus for scrambling sequence generation in a communication system
JP2015008482A (en) * 2008-03-26 2015-01-15 クゥアルコム・インコーポレイテッドQualcomm Incorporated Method and apparatus for scrambling sequence generation in communication system
JP2016026438A (en) * 2008-03-26 2016-02-12 クゥアルコム・インコーポレイテッドQualcomm Incorporated Method and apparatus for scrambling sequence generation in communication system

Similar Documents

Publication Publication Date Title
KR970002951B1 (en) Power-of-two length pseudorandom noise sequence generator
EP0983647B1 (en) Device and method for generating PN sequence in CDMA communication system
KR100396592B1 (en) Time shifted PN state generator
AU777074B2 (en) Method for forming and determining a signal sequence, method of synchronization, transmitter unit and receiver unit
CA2270827C (en) Pseudorandom binary sequence block shifter
US6816876B2 (en) Apparatus and method for modifying an M-sequence with arbitrary phase shift
US6834291B1 (en) Gold code generator design
US5926070A (en) Efficient offset mask generator for pseudo-noise sequence generator
EP0944177A2 (en) Spread spectrum encoding device and method using data to send as initial values of sequence generator
WO2000043865A1 (en) Method and apparatus for generating families of code signals using multiscale shuffling
JP3556461B2 (en) M-sequence phase shift coefficient calculation method
JP2001024624A (en) Device and method for generating and processing code group
US6456612B1 (en) Device and method for generating short PN code in a mobile communication system
US6560212B1 (en) Generating an offset de-bruijn sequence using masks for a CDMA communication system
JP2000196562A (en) Method and device for setting phase of code
KR101872738B1 (en) The orthogonal processing method for frequency hopping signal with various frequency hopping rate in a synchronized frequency hopping communication system
RU2231217C1 (en) Coding/decoding device and method for mobile code-division multiple access (cdma) communication system
RU2200366C2 (en) Device for generating quasi-orthogonal code mask in mobile communication system
KR100320430B1 (en) PN code generating method
KR100805343B1 (en) A method of updating a shift register
JPH0577223B2 (en)
US7173900B1 (en) Method and apparatus for chip generation of a chip sequence
JPH10163919A (en) Spread spectrum communication method and device therefor
JPH11136101A (en) Code sequence generator
KR970002735B1 (en) A pseudo random noise generator characterized by using the pseudo-random noise mask generator

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061003