JPH11205099A - Pn code generating circuit - Google Patents

Pn code generating circuit

Info

Publication number
JPH11205099A
JPH11205099A JP627598A JP627598A JPH11205099A JP H11205099 A JPH11205099 A JP H11205099A JP 627598 A JP627598 A JP 627598A JP 627598 A JP627598 A JP 627598A JP H11205099 A JPH11205099 A JP H11205099A
Authority
JP
Japan
Prior art keywords
code
stage
output
circuit
data
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.)
Granted
Application number
JP627598A
Other languages
Japanese (ja)
Other versions
JP3914626B2 (en
Inventor
Tatsuo Watanabe
辰男 渡辺
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP627598A priority Critical patent/JP3914626B2/en
Publication of JPH11205099A publication Critical patent/JPH11205099A/en
Application granted granted Critical
Publication of JP3914626B2 publication Critical patent/JP3914626B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a PN code (pseudo-noise code) generating circuit where an initial value setting is not required. SOLUTION: One of data of the frontmost stage D1 of an n-number stage shift register 50 or data of the third stage D3 is selected by a selector circuit 1, and an exclusive OR operation is executed in an adder 2 concerning the selected data and data of a last stage Dn. The result is inputted to the frontmost stage D1, and a PN code word is outputted from the last stage Dn. The result of the exclusive OR operation is also inputted to a PN code cycle detecting circuit 3, and a PN code cycle signal 14 is outputted to FF(flip-flop) 4, when '1' is continuously inputted with n-bit. FF 4 outputs a selecting signal 15' to the selector circuit 1 with this timing and the selector circuit 1 selects input data. Two PN code lengths are set to 2<n> -1. The initial value setting circuit is not required, since initial synchronization is obtained by continuous '1' and also the two PN code lengths are equal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はPN(Pseudo
Noise code)符号発生回路に関し、特にス
ペクトラム拡散方式の通信装置に用いられ、異なる2種
以上のPN符号語を切替えて出力するPN符号発生回路
に関する。
[0001] The present invention relates to a PN (Pseudo).
More particularly, the present invention relates to a PN code generation circuit that is used in a spread spectrum communication apparatus and that switches and outputs two or more different PN code words.

【0002】[0002]

【従来の技術】この種のPN符号発生回路の一例が特開
昭63−84220号公報に記載されている。このPN
符号発生回路は2種のPN符号語を発生させるために共
通のシフトレジスタと、夫々の符号語を発生させるため
の2つの加算器と、初期値設定回路を含んで構成されて
いる。
2. Description of the Related Art An example of this type of PN code generating circuit is disclosed in Japanese Patent Application Laid-Open No. 63-84220. This PN
The code generation circuit includes a common shift register for generating two types of PN code words, two adders for generating respective code words, and an initial value setting circuit.

【0003】この回路の概略について説明する。図4は
特開昭63−84220号公報記載のPN符号発生回路
の構成図である。
An outline of this circuit will be described. FIG. 4 is a configuration diagram of a PN code generation circuit described in Japanese Patent Application Laid-Open No. 63-84220.

【0004】特開昭63−84220号公報記載のPN
符号発生回路は、n段シフトレジスタ(nは3以上の整
数)50と、加算器51,52と、セレクタ53と、初
期値設定回路54と、PN符号周期検出回路55と、フ
リップフロップ(FF)56とからなる。
The PN described in JP-A-63-84220 is disclosed.
The code generation circuit includes an n-stage shift register (n is an integer of 3 or more) 50, adders 51 and 52, a selector 53, an initial value setting circuit 54, a PN code cycle detection circuit 55, and a flip-flop (FF) ) 56.

【0005】この回路において、n段シフトレジスタ5
0のD1段の出力とDn段の出力が加算器52にて加算
され、D3段の出力とDn段の出力が加算器51にて加
算され、各々の加算器51,52の出力のいずれかがセ
レクタ53で選択される。
In this circuit, an n-stage shift register 5
The output of the D1 stage and the output of the Dn stage of 0 are added by the adder 52, and the output of the D3 stage and the output of the Dn stage are added by the adder 51. One of the outputs of the adders 51 and 52 is added. Is selected by the selector 53.

【0006】そして、セレクタ53の出力はn段シフト
レジスタ50のD1段に入力される。
The output of the selector 53 is input to the D1 stage of the n-stage shift register 50.

【0007】これにより、クロックがn段シフトレジス
タ50に入力されるたびにDn段よりPN符号語が出力
される。
Thus, each time a clock is input to the n-stage shift register 50, a PN code word is output from the Dn stage.

【0008】本回路では2種類のPN符号語を備えてい
るため、そのいずれかをセレクタ53で選択する構成と
なっている。
In this circuit, since two types of PN code words are provided, one of them is selected by the selector 53.

【0009】又、n段シフトレジスタ50のDn段から
出力されるPN符号語よりPN符号周期をPN符号周期
検出回路55で検出し、フリップフロップ56を介して
セレクタ53に所定PN符号語を選択させる。
A PN code cycle is detected by a PN code cycle detection circuit 55 from a PN code word output from the Dn stage of the n-stage shift register 50, and a predetermined PN code word is selected by a selector 53 via a flip-flop 56. Let it.

【0010】そして、PN符号周期検出回路55でPN
符号周期を検出したタイミングでn段シフトレジスタ5
0を初期値に設定するために初期値設定回路54を備え
ている。
Then, the PN code cycle detection circuit 55
At the timing when the code cycle is detected, the n-stage shift register 5
An initial value setting circuit 54 is provided for setting 0 to an initial value.

【0011】この初期値設定回路54は、PN符号語を
切替える際、PN符号の位相を合わせるために設けられ
たものである。
The initial value setting circuit 54 is provided for adjusting the phase of the PN code when switching the PN code word.

【0012】すなわち、n段シフトレジスタ50を共用
し、かつn段シフトレジスタ50の最終段Dnのビット
の並びに基づきPN符号語を切替える構成であるため、
一方のPN符号語の初期データ(D1〜Dnの内容)が
発生するタイミングと他方のPN符号語の初期データ
(D1〜Dnの内容)が発生するタイミングとが必ずし
も一致しない。これは、PN符号語の符号長(PN符号
語の繰り返し周期を示す語長)が相互に異なることも一
因となっている。
That is, since the n-stage shift register 50 is shared and the PN code word is switched based on the arrangement of the bits of the last stage Dn of the n-stage shift register 50,
The timing at which the initial data (contents of D1 to Dn) of one PN code word is generated does not necessarily coincide with the timing at which the initial data (contents of D1 to Dn) of the other PN code word is generated. This is partly due to the fact that the code lengths of the PN code words (word lengths indicating the repetition periods of the PN code words) are different from each other.

【0013】このため、この初期値設定回路54が必要
となるのである。
For this reason, the initial value setting circuit 54 is required.

【0014】[0014]

【発明が解決しようとする課題】このように、特開昭6
3−84220号公報記載のPN符号発生回路は初期値
設定回路54が必要であり、このため回路規模が大きく
なるという欠点があった。
As described above, Japanese Patent Application Laid-Open No.
The PN code generation circuit described in Japanese Patent Application Laid-Open No. 3-84220 requires the initial value setting circuit 54, and has a disadvantage that the circuit scale becomes large.

【0015】そこで本発明の目的は、初期値設定回路が
不要なPN符号発生回路を提供することにある。
An object of the present invention is to provide a PN code generation circuit which does not require an initial value setting circuit.

【0016】[0016]

【課題を解決するための手段】前記課題を解決するため
に本発明は、nビット(nは3以上の整数)シフトレジ
スタと、そのレジスタの第1所定段及び第2所定段の出
力値のいずれかを選択する選択手段と、この選択手段で
選択された出力値と前記レジスタの最後段の出力値とを
論理演算して前記レジスタの最前段に入力する演算手段
とを含み、前記選択手段は前記演算手段から出力される
ビット列が所定の並びになったときに選択を行い、前記
第1及び第2所定段は前記最後段より出力されるPN符
号の符号長が相互に等しくなるよう段が選択されること
を特徴とする。
In order to solve the above-mentioned problems, the present invention provides an n-bit (n is an integer of 3 or more) shift register, and an output value of a first predetermined stage and a second predetermined stage of the register. Selecting means for selecting any one of them, and arithmetic means for performing a logical operation on the output value selected by the selecting means and the output value of the last stage of the register and inputting the result to the foremost stage of the register; Performs selection when the bit string output from the arithmetic means is in a predetermined sequence, and the first and second predetermined stages are arranged such that the code lengths of the PN codes output from the last stage are equal to each other. It is characterized by being selected.

【0017】本発明によれば、PN符号の符号長を相互
に等しく設定するとともに、第1、第2所定段の出力と
最後段の出力との論理演算結果のビット列が所定の並び
になったときに所定符号語への切替えが行われる。
According to the present invention, the code lengths of the PN codes are set to be equal to each other, and when the bit sequence of the logical operation result between the output of the first and second predetermined stages and the output of the last stage is in a predetermined sequence. Is switched to a predetermined codeword.

【0018】この所定の並びとなったときにPN符号語
の先頭のデータが夫々nビットシフトレジスタより出力
され、かつ2つのPN符号語の符号長が相互に等しく設
定されているため、2つのPN符号語の位相を一致させ
ることができる。
When the predetermined arrangement is made, the leading data of the PN code words are output from the n-bit shift register, respectively, and the code lengths of the two PN code words are set to be equal to each other. Word phases can be matched.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態につい
て添付図面を参照しながら説明する。図1は本発明に係
るPN符号発生回路の第1の実施の形態の構成図であ
る。なお、従来例(図4)と同様の構成部分には同一番
号を付し、その説明を省略する。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a configuration diagram of a first embodiment of a PN code generation circuit according to the present invention. The same components as those in the conventional example (FIG. 4) are denoted by the same reference numerals, and description thereof will be omitted.

【0020】本発明に係るPN符号発生回路は、n段シ
フトレジスタ(nは3以上の整数)50と、セレクタ回
路1と、EX・OR(排他的論理和)加算器2と、PN
符号周期検出回路3と、フリップフロップ(FF)4と
からなる。
The PN code generation circuit according to the present invention comprises an n-stage shift register (n is an integer of 3 or more) 50, a selector circuit 1, an EXOR (exclusive OR) adder 2,
It comprises a code cycle detection circuit 3 and a flip-flop (FF) 4.

【0021】このPN符号発生回路が従来例と異なる点
は、第1にEX・OR加算器2から出力されるビット列
に基づきPN符号周期検出回路3によりPN符号語の選
択タイミングが設定されることであり、第2に2つのP
N符号語の符号長が等しく設定されることである。
The difference between this PN code generation circuit and the prior art is that the PN code period detection circuit 3 sets the PN code word selection timing based on the bit string output from the EX / OR adder 2. And secondly two P
That is, the code lengths of the N code words are set equal.

【0022】2つのPN符号語の符号長を等しくするに
は、n段シフトレジスタ50の段数n及び第1段、第2
段を適当に選択すればよい。このとき、符号長として最
大符号長2n −1が得られる。なぜ”−1“となるかに
ついては後述する。
To make the code lengths of the two PN code words equal, the number of stages n of the n-stage shift register 50 and the first and second stages
The steps may be selected appropriately. At this time, the maximum code length 2 n -1 is obtained as the code length. The reason why the value is "-1" will be described later.

【0023】例えば、段数n=7、第1段を最前段D
1、第2段を最前段D1から2つ先のD3とすることに
より2つのPN符号語の符号長を等しくすることができ
る。
For example, the number of stages is n = 7, and the first stage is the first stage D
1, the code length of two PN codewords can be made equal by setting the second stage to D3, which is two stages ahead of the foremost stage D1.

【0024】又、本発明ではPN符号語を切替えるタイ
ミングをn段シフトレジスタ50の値が、PN符号発生
回路が正論理で構成されている場合は、全て論理”1
“になっている場合のタイミングに限定する。
In the present invention, when the PN code word is switched, the value of the n-stage shift register 50 is all logic "1" when the PN code generation circuit is constituted by positive logic.
The timing is limited to when it is "".

【0025】即ち、2つのPN符号語のn段シフトレジ
スタ50の初期設定値を共通の値”1“とするのであ
る。
That is, the initial setting value of the n-stage shift register 50 for the two PN code words is set to a common value "1".

【0026】これにより初期設定値の設定されるタイミ
ングを一致させることができる。即ち、n段シフトレジ
スタ50を全て”1“に設定するとそれは一方のPN符
号語の初期設定値になるとともに他方のPN符号語の初
期設定値にもなるのである。
As a result, the timings at which the initial set values are set can be matched. That is, if all the n-stage shift registers 50 are set to "1", they become the initial setting values of one PN code word and the other PN code words.

【0027】なお、PN符号発生回路が負論理で構成さ
れている場合は、全て論理”0“になっている場合のタ
イミングに切替えを限定する。
When the PN code generation circuit is configured by negative logic, the switching is limited to the timing when all logics are "0".

【0028】又、PN符号発生回路の正論理及び負論理
とは何かを説明すると、正論理のPN符号回路とは、n
段シフトレジスタ50の値が全て”0“になることを禁
止したPN符号発生回路をいう。
The positive logic and the negative logic of the PN code generation circuit will be described.
This is a PN code generation circuit that prohibits all the values of the stage shift register 50 from becoming “0”.

【0029】全て”0“であるとn段シフトレジスタ5
0の内容はシフトしても常時”0“となり所望のPN符
号が得られなくなるからである。このため、前述のよう
に最大符号長は2n から”−1“した値に設定されてい
る。
If all bits are "0", the n-stage shift register 5
This is because the content of 0 always becomes "0" even if shifted, and a desired PN code cannot be obtained. For this reason, as described above, the maximum code length is set to a value obtained by subtracting “−1” from 2 n .

【0030】一方、負論理のPN符号回路とは、n段シ
フトレジスタ50の値が全て”1“になることを禁止し
たPN符号発生回路をいう。全て”1“であるとn段シ
フトレジスタ50の内容はシフトしても常時”1“とな
りPN符号が得られなくなるからである。
On the other hand, the negative logic PN code circuit is a PN code generation circuit in which all the values of the n-stage shift register 50 are inhibited from becoming "1". This is because if the value is all "1", the contents of the n-stage shift register 50 are always "1" even if the contents are shifted, and the PN code cannot be obtained.

【0031】次に、第1の実施の形態の動作について説
明する。なお、PN符号発生回路が正論理で動作してい
る場合について説明する。なお、負論理については説明
を省略するが正論理の場合と同様に説明できる。
Next, the operation of the first embodiment will be described. The case where the PN code generation circuit operates in positive logic will be described. The description of the negative logic is omitted, but can be described in the same manner as the case of the positive logic.

【0032】n段シフトレジスタ50はクロック入力に
従い最前段D1に入力された2値データを順次D2〜D
nへシフトし、最後段DnよりPN符号を出力する。
The n-stage shift register 50 sequentially converts the binary data input to the first stage D1 into D2 to D in accordance with the clock input.
n, and the PN code is output from the last stage Dn.

【0033】セレクタ回路1へはn段シフトレジスタ5
0の最前段D1のデータ11と第3段D3のデータ12
とが入力されている。
An n-stage shift register 5 is connected to the selector circuit 1.
Data 11 of the first stage D1 and data 12 of the third stage D3
Is entered.

【0034】そして、セレクタ回路1がデータ11を選
択する場合、EX・OR加算器2はこのデータ11とn
段シフトレジスタ50の最後段Dnのデータ13とを排
他的論理和演算する。
When the selector circuit 1 selects the data 11, the EX / OR adder 2 outputs the data 11 and n.
The exclusive OR operation is performed on the data 13 of the last stage Dn of the stage shift register 50.

【0035】即ち、EX・OR加算器2は入力が”1
“と”0“の場合は”1“を出力し、両者ともに”1
“の場合は”0“を出力する。
That is, the input of the EX / OR adder 2 is "1".
"1" is output if "0" and "0", and both are "1".
In the case of “0”, “0” is output.

【0036】そして、EX・OR加算器2で加算された
結果がn段シフトレジスタ50の最前段D1に入力され
る。
The result added by the EX / OR adder 2 is input to the first stage D 1 of the n-stage shift register 50.

【0037】そして、クロックが入力されるたびにEX
・OR加算器2でこの演算が行われ、その結果として最
後段Dnより符号長2n −1のPN符号語が出力され
る。このPN符号語を(n,1)で表す。
Each time a clock is input, EX
This operation is performed by the OR adder 2, and as a result, a PN code word having a code length of 2 n -1 is output from the last stage Dn. This PN code word is represented by (n, 1).

【0038】一方、セレクタ回路1がデータ12を選択
する場合にn段シフトレジスタ50の最後段Dnから出
力されるPN符号語を(n,3)で表す。この符号も符
号長は2n −1である。
On the other hand, when the selector circuit 1 selects the data 12, the PN code word output from the last stage Dn of the n-stage shift register 50 is represented by (n, 3). This code also has a code length of 2 n -1.

【0039】いま、PN符号周期検出回路3はEX・O
R加算器2の出力を監視しており、EX・OR加算器2
よりnビット連続して”1“が出力されるとクロックの
入力タイミングと同期してPN符号周期クロック14を
出力する。
Now, the PN code cycle detecting circuit 3 is EX · O
The output of the R adder 2 is monitored, and the EX / OR adder 2
When "1" is output continuously for n more bits, the PN code cycle clock 14 is output in synchronization with the clock input timing.

【0040】一方、フリップフロップ4はPN符号周期
クロック13が入力したタイミングでPN選択信号15
をセレクタ回路1に選択信号15´として出力する。
On the other hand, the flip-flop 4 outputs the PN selection signal 15 at the timing when the PN code cycle clock 13 is input.
To the selector circuit 1 as a selection signal 15 '.

【0041】セレクタ回路1は選択信号15´に従い信
号を選択する。
The selector circuit 1 selects a signal according to the selection signal 15 '.

【0042】いまセレクタ回路1でデータ11が選択さ
れているものとする。このとき、n段シフトレジスタ5
0の最後段DnよりPN符号語(n,1)が出力されて
いる。
It is assumed that data 11 is selected by the selector circuit 1. At this time, the n-stage shift register 5
The PN code word (n, 1) is output from the last stage Dn of 0.

【0043】PN符号周期検出回路3はEX・OR加算
器2よりnビット連続して”1“が出力されるとPN符
号周期クロック14をフリップフロップ4へ出力する。
The PN code cycle detection circuit 3 outputs a PN code cycle clock 14 to the flip-flop 4 when "1" is output continuously from the EX / OR adder 2 for n bits.

【0044】このPN符号周期クロック14を受けたフ
リップフロップ4はPN選択信号15´をセレクタ回路
1へ出力する。
The flip-flop 4 receiving the PN code cycle clock 14 outputs a PN selection signal 15 ′ to the selector circuit 1.

【0045】このPN選択信号15´を受けたセレクタ
回路1は選択信号をデータ11からデータ12に切替え
る。
The selector circuit 1 receiving the PN selection signal 15 'switches the selection signal from data 11 to data 12.

【0046】このとき当然ながらnビットシフトレジス
タには全ての段に”1“がセットされている。従って、
DnからはPN符号語(n,3)が先頭のビットから順
に出力される。
At this time, of course, "1" is set in all stages in the n-bit shift register. Therefore,
Dn outputs PN codewords (n, 3) in order from the first bit.

【0047】そして、EX・OR加算器2よりnビット
連続して”1“が再び出力され、これをPN符号周期検
出回路3が検出すると、セレクタ回路1は選択信号をデ
ータ12からデータ11に切替える。従って、Dnから
はPN符号語(n,1)が先頭のビットから順に出力さ
れる。
When the EX / OR adder 2 outputs “1” continuously for n bits again, and when the PN code cycle detection circuit 3 detects this, the selector circuit 1 changes the selection signal from data 12 to data 11. Switch. Therefore, the PN codeword (n, 1) is output from Dn in order from the first bit.

【0048】このように、PN符号切替え時にPN符号
語が先頭のビットから順に出力される構成であるため、
PN符号語が途中のビットから出力され、このためPN
符号長より短かいPN符号語が出力されるのを防止する
ことができる。
As described above, since the PN code word is sequentially output from the first bit at the time of PN code switching,
The PN codeword is output from the intermediate bits, and
It is possible to prevent a PN code word shorter than the code length from being output.

【0049】これにより、初期値設定回路が不要とな
る。
This eliminates the need for an initial value setting circuit.

【0050】又、PNの符号長を等しくすることによ
り、PN符号語が2種以上あった場合でも、EX・OR
加算器2は1回路で構成することができ、この点でも従
来よりも回路規模を小さくすることができる。
Further, by making the code lengths of PN equal, even if there are two or more PN code words, EX · OR
The adder 2 can be composed of one circuit, and in this regard, the circuit scale can be made smaller than in the conventional case.

【0051】次に、第2の実施の形態について説明す
る。図2は第2の実施の形態の構成図である。なお、図
1と同様の構成部分には同一番号を付しその説明を省略
する。
Next, a second embodiment will be described. FIG. 2 is a configuration diagram of the second embodiment. The same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted.

【0052】第2の実施の形態はPN符号語を2つ追加
し4種としたものである。この第2の実施の形態では、
PN符号語を(n,1),(n,3)の他、(n,
4),(n,6)を追加している。
In the second embodiment, two PN code words are added to provide four types. In the second embodiment,
In addition to (n, 1) and (n, 3), the PN codeword is (n,
4) and (n, 6) are added.

【0053】即ち、n段シフトレジスタ50の第1段D
1のデータ11と、第3段D3のデータ12と、第4段
D4のデータ16と、第6段D6のデータ17とがセレ
クタ回路31に入力される。
That is, the first stage D of the n-stage shift register 50
The data 11 of the first stage, the data 12 of the third stage D3, the data 16 of the fourth stage D4, and the data 17 of the sixth stage D6 are input to the selector circuit 31.

【0054】一方、フリップフロップ34には2種類の
PN選択信号21,22が入力される。このPN選択信
号21,22にて2ビットの符号が形成され、合計4種
の選択信号がフリップフロップ34に入力されることに
なる。
On the other hand, two types of PN selection signals 21 and 22 are input to the flip-flop 34. The PN selection signals 21 and 22 form a 2-bit code, and a total of four types of selection signals are input to the flip-flop 34.

【0055】この4種の選択信号はセレクタ回路1に入
力される。
The four types of selection signals are input to the selector circuit 1.

【0056】セレクタ回路1からはこの選択信号に応じ
た信号をデータ11,12,16,17のうちから1つ
選択してEX・OR加算器2へ出力する。
The selector circuit 1 selects one of the data 11, 12, 16, and 17 according to the selection signal and outputs the selected signal to the EX / OR adder 2.

【0057】EX・OR加算器2では入力されたデータ
11,12,16,17のうちの1つのデータとn段シ
フトレジスタ50の最後段Dnのデータ13とが排他的
論理和演算され、その結果が出力される。
The EX / OR adder 2 performs an exclusive OR operation on one of the input data 11, 12, 16, and 17 and the data 13 of the last stage Dn of the n-stage shift register 50. The result is output.

【0058】その結果はn段シフトレジスタ50の最前
段Dnに入力される。そして、最後段DnよりPN符号
語が出力される。
The result is input to the first stage Dn of the n-stage shift register 50. Then, a PN code word is output from the last stage Dn.

【0059】このように、PN符号が2追加された結
果、フリップフロップ34は1フリップフロップ分の増
加、さらにn段シフトレジスタ50からセレクタ回路3
1に出力される信号が2つ追加されたことに伴うセレク
タ回路31規模の増加は必要であるが、その他の回路は
変更することなく4種のPN符号語の切替えを可能とす
ることができる。
As described above, as a result of adding two PN codes, the flip-flop 34 increases by one flip-flop, and furthermore, the selector circuit 3
Although it is necessary to increase the scale of the selector circuit 31 due to the addition of two signals output to 1, the other circuits can enable switching of four types of PN codewords without being changed. .

【0060】次に、第3の実施の形態について説明す
る。図3は第3の実施の形態の構成図である。
Next, a third embodiment will be described. FIG. 3 is a configuration diagram of the third embodiment.

【0061】第3の実施の形態はこのPN符号発生回路
をスペクトラム拡散方式の送信機に用いたものである。
In the third embodiment, the PN code generating circuit is used for a spread spectrum type transmitter.

【0062】図3を参照して、スペクトラム拡散方式の
送信機は送信データがPSK(Phase Shift
Keying)変調される1次変調器41と、第1及
び第2の実施の形態で説明したPN符号発生回路42
と、1次変調器41の出力とPN符号発生回路42の出
力とを積算する積算器43と、送信用アンテナ44とを
含んで構成されている。
Referring to FIG. 3, the transmitter of the spread spectrum system uses PSK (Phase Shift) to transmit data.
Keying) modulated primary modulator 41 and PN code generation circuit 42 described in the first and second embodiments.
And an integrator 43 for integrating the output of the primary modulator 41 and the output of the PN code generation circuit 42, and a transmitting antenna 44.

【0063】送信データは2値信号であり、この送信デ
ータ1ビット分を送信するに等しい時間に1周期分のP
N符号が収まるようPN符号の符号長が設定されてい
る。
The transmission data is a binary signal, and one period of P data is transmitted at a time equivalent to transmitting one bit of the transmission data.
The code length of the PN code is set so that the N code can be accommodated.

【0064】従って、送信データは1次変調器41でP
SK変調された後、さらに積算器43にてPN符号発生
回路41から出力されるPN符号と変調され、スペクト
ラム拡散波となって送信用アンテナ44より出力され
る。
Therefore, the transmission data is transmitted by the primary modulator 41 to P
After the SK modulation, the integrator 43 further modulates the PN code output from the PN code generation circuit 41 with the PN code, and outputs a spread spectrum wave from the transmission antenna 44.

【0065】[0065]

【発明の効果】本発明によれば、nビット(nは3以上
の整数)シフトレジスタと、そのレジスタの第1所定段
及び第2所定段の出力値のいずれかを選択する選択手段
と、この選択手段で選択された出力値と前記レジスタの
最後段の出力値とを論理演算して前記レジスタの最前段
に入力する演算手段とを含み、前記選択手段は前記演算
手段から出力されるビット列が所定の並びになったとき
に選択を行い、前記第1及び第2所定段は前記最後段よ
り出力されるPN符号の符号長が相互に等しくなるよう
段が選択されるため、初期値設定回路が不要となる。こ
れにより、回路規模を小さくすることができる。
According to the present invention, an n-bit (n is an integer of 3 or more) shift register, and a selection means for selecting any one of the output values of the first and second predetermined stages of the register, Operating means for performing a logical operation on the output value selected by the selecting means and the output value of the last stage of the register and inputting the result to the foremost stage of the register, wherein the selecting means comprises a bit string output from the operating means Are selected when a predetermined sequence is established, and the first and second predetermined stages are selected such that the code lengths of the PN codes output from the last stage are equal to each other. Becomes unnecessary. Thereby, the circuit scale can be reduced.

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

【図1】本発明に係るPN符号発生回路の第1の実施の
形態の構成図である。
FIG. 1 is a configuration diagram of a first embodiment of a PN code generation circuit according to the present invention.

【図2】同回路の第2の実施の形態の構成図である。FIG. 2 is a configuration diagram of a second embodiment of the circuit.

【図3】同回路の第3の実施の形態の構成図である。FIG. 3 is a configuration diagram of a third embodiment of the circuit.

【図4】特開昭63−84220号公報記載のPN符号
発生回路の構成図である。
FIG. 4 is a configuration diagram of a PN code generation circuit described in JP-A-63-84220.

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

1,31 セレクタ回路 2 EX・OR加算器 3 PN符号周期検出回路 4,34 フリップフロップ 41 1次変調器 42 PN符号発生回路 43 積算器 50 n段シフトレジスタ 1, 31 selector circuit 2 EX / OR adder 3 PN code cycle detection circuit 4, 34 flip-flop 41 primary modulator 42 PN code generation circuit 43 integrator 50 n-stage shift register

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 nビット(nは3以上の整数)シフトレ
ジスタと、そのレジスタの第1所定段及び第2所定段の
出力値のいずれかを選択する選択手段と、この選択手段
で選択された出力値と前記レジスタの最後段の出力値と
を論理演算して前記レジスタの最前段に入力する演算手
段とを含み、前記選択手段は前記演算手段から出力され
るビット列が所定の並びになったときに選択を行い、前
記第1及び第2所定段は前記最後段より出力されるPN
符号の符号長が相互に等しくなるよう段が選択されるこ
とを特徴とするPN符号発生回路。
1. An n-bit (n is an integer of 3 or more) shift register, selection means for selecting one of output values of a first predetermined stage and a second predetermined stage of the register, Operating means for performing a logical operation on the output value of the register and the output value of the last stage of the register and inputting the result to the foremost stage of the register, wherein the selecting means has a predetermined sequence of bit strings output from the operating means. The first and second predetermined stages are PN output from the last stage.
A PN code generation circuit, wherein the stages are selected such that the code lengths of the codes are equal to each other.
【請求項2】 前記演算手段は排他的論理和回路である
ことを特徴とする請求項1記載のPN符号発生回路。
2. The PN code generation circuit according to claim 1, wherein said operation means is an exclusive OR circuit.
【請求項3】 前記排他的論理和回路は正論理で構成さ
れ、前記選択手段は前記演算手段から出力されるビット
がnビット連続して”1“のとき選択を行うことを特徴
とする請求項2記載のPN符号発生回路。
3. The exclusive OR circuit is configured by positive logic, and the selecting means performs selection when n bits output from the arithmetic means are "1" continuously. Item 3. A PN code generation circuit according to Item 2.
【請求項4】 前記PN符号の符号長は2n −1である
ことを特徴とする請求項1〜3いずれかに記載のPN符
号発生回路。
4. The PN code generating circuit according to claim 1, wherein the code length of said PN code is 2 n -1.
【請求項5】 前記選択手段は前記レジスタの3段以上
の出力値のいずれかを選択することを特徴とする請求項
1〜4いずれかに記載のPN符号発生回路。
5. The PN code generating circuit according to claim 1, wherein said selecting means selects any one of three or more output values of said register.
【請求項6】 スペクトラム拡散方式の送信機に用いら
れることを特徴とする請求項1〜4いずれかに記載のP
N符号発生回路。
6. The P according to claim 1, which is used for a transmitter of a spread spectrum system.
N code generation circuit.
JP627598A 1998-01-16 1998-01-16 PN code generation circuit Expired - Fee Related JP3914626B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP627598A JP3914626B2 (en) 1998-01-16 1998-01-16 PN code generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP627598A JP3914626B2 (en) 1998-01-16 1998-01-16 PN code generation circuit

Publications (2)

Publication Number Publication Date
JPH11205099A true JPH11205099A (en) 1999-07-30
JP3914626B2 JP3914626B2 (en) 2007-05-16

Family

ID=11633867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP627598A Expired - Fee Related JP3914626B2 (en) 1998-01-16 1998-01-16 PN code generation circuit

Country Status (1)

Country Link
JP (1) JP3914626B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002041512A1 (en) * 2000-11-15 2002-05-23 Advanced Communications Technologies (Australia) Pty Ltd A method of updating a shift register

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002041512A1 (en) * 2000-11-15 2002-05-23 Advanced Communications Technologies (Australia) Pty Ltd A method of updating a shift register
US7433906B2 (en) 2000-11-15 2008-10-07 Indoaust Investments Ltd. Method of updating a shift register
AU2002213658B2 (en) * 2000-11-15 2009-10-08 Indoaust Investments Ltd A method of updating a shift register

Also Published As

Publication number Publication date
JP3914626B2 (en) 2007-05-16

Similar Documents

Publication Publication Date Title
JP3022439B2 (en) Pseudo random number generation method and apparatus
US6947493B2 (en) Dual phase pulse modulation decoder circuit
EP0949764B1 (en) Method for calculating phase shift coefficients of an M sequence
US20050078021A1 (en) Dual phase pulse modulation encoder circuit
KR100337687B1 (en) Serial-to-parallel converter
US6772378B1 (en) Dummy error addition circuit
JP3914626B2 (en) PN code generation circuit
US7071855B1 (en) Gray code conversion method and apparatus embodying the same
JP2917962B2 (en) Circuit for arbitrarily shifting M-sequence
US9116764B2 (en) Balanced pseudo-random binary sequence generator
US7057538B1 (en) 1/N-rate encoder circuit topology
US6359908B1 (en) Frame synchronous circuit contributing to SDH signal
JPH0549140B2 (en)
JP5116567B2 (en) Optical receiver
US7184496B2 (en) Complementary code decoding by reduced sized circuits
KR100504465B1 (en) A Peuso Noise codes generator and the method thereof
KR100434364B1 (en) Serial adder
US6910056B1 (en) Method and apparatus for implementing a multi-step pseudo random sequence generator
KR980013161A (en) Error Correction Code Generation Circuit and Modulation Device Using the Same (ERROR-CORRECTING CODE)
US6724812B2 (en) Matching filter calculating correlation valve utilizing exclusive-or of two data and exclusive-or of two codes corresponding to the input data
JP2591164B2 (en) Parity operation circuit
JPS6322503B2 (en)
JPH071885B2 (en) Word synchronizer
KR100259767B1 (en) A method and architecture of phase alignment
JPH0486132A (en) Spread spectrum communication system and its communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041217

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070205

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees