JP2000244363A - Circuit and device for generating pn code - Google Patents

Circuit and device for generating pn code

Info

Publication number
JP2000244363A
JP2000244363A JP4322199A JP4322199A JP2000244363A JP 2000244363 A JP2000244363 A JP 2000244363A JP 4322199 A JP4322199 A JP 4322199A JP 4322199 A JP4322199 A JP 4322199A JP 2000244363 A JP2000244363 A JP 2000244363A
Authority
JP
Japan
Prior art keywords
code
stage
code generation
register
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4322199A
Other languages
Japanese (ja)
Inventor
Hiroyuki Nihei
浩之 仁平
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.)
SPC Electronics Corp
Original Assignee
SPC Electronics 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 SPC Electronics Corp filed Critical SPC Electronics Corp
Priority to JP4322199A priority Critical patent/JP2000244363A/en
Publication of JP2000244363A publication Critical patent/JP2000244363A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a PN code generating device capable of speedily generating a PN code. SOLUTION: Four kinds of PN code generating circuits 11 to 14 are connected in parallel with respect to a clock control circuit CC and a data selector DS and are respectively provided with a reset switch RS and a code switch terminal CT in addition. A clock signal CLK and a number of stages switch signal CT are inputted to the clock control part CC. A code switch signal NT1 from the part CC for switching an output signal from the respective parts 11 to 14 is inputted to the data selector DS.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CDMA(code d
ivision multiple access:符号分割多元接続)方式又
はSSMA(spread spectrum multiple access:スペ
クトラム拡散多元接続)方式を採用する通信装置に係
り、特に、この通信装置内で、疑似ランダム符号(PN
符号)を高速に生成させるPN符号発生回路(装置)に
関する。
The present invention relates to a CDMA (code d)
The present invention relates to a communication device that employs an ivision multiple access (code division multiple access) system or an SSMA (spread spectrum multiple access) system, and particularly relates to a pseudo random code (PN) in this communication device.
Code) at a high speed.

【0002】[0002]

【従来の技術】CDMA方式又はSSMA方式は、回線
に特定のPN符号を割り当て、同一搬送波周波数の変調
波をこのPN符号でスペクトル拡散させて同一中継装置
に送信し、受信側では各々の符号同期をとることにより
回線を識別する多元接続方式である。このような方式を
採用する通信装置では、所望のPN符号を生成するため
に、PN符号発生回路(又は装置)を内蔵している。こ
の種のPN符号発生回路では、通常、複数段のレジスタ
を縦列接続し、必要な段数のレジスタ出力を初段のレジ
スタに帰還させるとともに、所要段数のレジスタ出力を
適宜選択することで、PN符号を生成させるようにして
いる。
2. Description of the Related Art In the CDMA system or the SSMA system, a specific PN code is assigned to a line, a modulated wave of the same carrier frequency is spread with this PN code and transmitted to the same relay device. Is a multiple access method for identifying a line by taking A communication device adopting such a system has a built-in PN code generation circuit (or device) for generating a desired PN code. In this type of PN code generation circuit, usually, a plurality of stages of registers are connected in cascade, a required number of register outputs are fed back to the first stage register, and the required number of register outputs are appropriately selected, so that the PN code is selected. It is generated.

【0003】図12は、レジスタの一例であるフリップ
フロップ(以下、F/F)を19段縦列接続するととも
に、所定段及び最終段のF/Fの出力を、複数の段数切
替用ゲートG2及びEXOR(Exclusive−O
R)ゲートG1から成る帰還タップを介して初段のF/
F#1に帰還させたPN符号発生回路の要部構成図であ
る。実際には、初段のF/F#1の入力部に、リセット
信号とデータを入力するための論理和ゲートとクロック
信号を入力するための端子が存在するが、ここでは、図
示を省略してある。このPN符号発生回路では、1〜3
段目、5〜9段目、13段目、17段目、及び最終段か
ら、それぞれ帰還タップを介して初段のF/F#1に帰
還させ、さらに、7段目のF/F#7,13段目のF/
F#13,17段目のF/F#17,19段目(最終
段)のF/F#19の出力をデータセレクタDSに入力
している。データセレクタDSは、これらの出力を適宜
切り換えることにより、4種類のPN符号を選択的に出
力できるようになっている。
FIG. 12 shows a flip-flop (hereinafter referred to as F / F), which is an example of a register, connected in cascade at 19 stages, and outputs the outputs of the F / Fs of a predetermined stage and a final stage to a plurality of stage number switching gates G2 and EXOR (Exclusive-O
R) The first stage F /
It is a principal part block diagram of the PN code generation circuit fed back to F # 1. Actually, the input section of the first stage F / F # 1 has an OR gate for inputting a reset signal and data and a terminal for inputting a clock signal, but these are not shown here. is there. In this PN code generation circuit, 1 to 3
The first, fifth, ninth, thirteenth, seventeenth, and last stages are fed back to the first stage F / F # 1 via feedback taps, and the seventh stage F / F # 7 is returned. , 13th stage F /
The outputs of the F / F # 17 of the 17th stage and the F / F # 19 of the 19th stage (final stage) are input to the data selector DS. The data selector DS can selectively output four types of PN codes by appropriately switching these outputs.

【0004】[0004]

【発明が解決しようとしている課題】PN符号発生回路
では、各段のF/Fの出力が初段のF/F#1に帰還さ
れる際に、帰還タップ数に応じた伝搬遅延時間が累積さ
れる。つまり、EXORゲートG1、段数切替用ゲート
G2、F/F#1〜#19の伝搬遅延時間の累積値によ
って、PN符号発生回路の動作可能な上限速度が決ま
る。図12の構成例の場合、最終段のシフトレジスタ#
19の出力が初段のシフトレジスタ#1の入力端子に帰
還されるまでに、13個の段数切替用ゲートG2及びE
XORゲートG1が介在する。各ゲートG1,G2、F
/F#1〜#19としてECL(Emitter Coupled Logi
c)タイプのICを使用すれば、伝搬遅延時間を短くで
きることは知られているが、現状のICでは0.6[ns
ec]程度の伝搬遅延時間がある。従って、13個のIC
が介在する場合には、7.8[nsec](=0.6[nsec]
×13個)の伝搬遅延時間が生じ、さらに各F/F#1
〜#19のセットアップ時間が0.175[nsec]である
とすると、合計で7.975[nsec]の伝搬遅延時間を考
慮する必要がある。これは、周波数で換算すると、約1
25[MHz]となる。従って、従来のPN符号発生回
路では、200[MHz]以上の高速なPN符号を生成さ
せることができなかった。
In the PN code generating circuit, when the output of each stage F / F is fed back to the first stage F / F # 1, the propagation delay time corresponding to the number of feedback taps is accumulated. You. That is, the operable upper limit speed of the PN code generation circuit is determined by the accumulated value of the propagation delay time of the EXOR gate G1, the stage number switching gate G2, and the F / Fs # 1 to # 19. In the case of the configuration example of FIG. 12, the last stage shift register #
By the time the output of No. 19 is fed back to the input terminal of the first stage shift register # 1, thirteen stage number switching gates G2 and E
An XOR gate G1 is interposed. Each gate G1, G2, F
/ F # 1 to # 19 as ECL (Emitter Coupled Logi
It is known that the propagation delay time can be reduced by using the c) type IC, but the current IC is 0.6 [ns].
ec]. Therefore, 13 ICs
7.8 [nsec] (= 0.6 [nsec]
× 13), and each F / F # 1
Assuming that the setup time of # 19 to # 19 is 0.175 [nsec], it is necessary to consider a propagation delay time of 7.975 [nsec] in total. This is about 1 in terms of frequency.
25 [MHz]. Therefore, the conventional PN code generation circuit cannot generate a high-speed PN code of 200 [MHz] or more.

【0005】また、各段のF/Fから出力されるPN符
号は、帰還タップの位置によって異なった符号となる。
例えば図13〜図16は、同じ7段のF/Fで構成され
るが、帰還タップの位置が相違するため、最終段のF/
F#7から出力されるPN符号は、それぞれ異なったも
のとなる(なお、初段のF/F#1の入力部の構成につ
いては、図12のものと同様、図示を省略してある)。
このように、複数種類のPN符号を使用する場合は、帰
還タップの位置を変えたPN符号発生回路を別々に構成
する必要があり、これを内蔵する通信装置の規模が大き
くなってしまう。
The PN code output from the F / F at each stage is different depending on the position of the feedback tap.
For example, FIGS. 13 to 16 are composed of the same seven stages of F / Fs, but since the positions of the feedback taps are different, the final stage F / Fs are shown.
The PN codes output from the F # 7 are different from each other (note that the configuration of the input section of the first stage F / F # 1 is omitted as in FIG. 12).
As described above, when a plurality of types of PN codes are used, it is necessary to separately configure PN code generation circuits in which the positions of the feedback taps are changed, and the scale of a communication device incorporating the PN code becomes large.

【0006】そこで本発明は、より高速なPN符号を生
成することができる簡易構成のPN符号発生回路及び装
置を提供することを課題とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a PN code generation circuit and a device having a simple configuration capable of generating a PN code at a higher speed.

【0007】[0007]

【課題を解決するための手段】本発明が提供するPN符
号発生回路は、縦列接続された複数段のレジスタのいく
つかの出力信号が初段のレジスタの入力部に直接帰還さ
れて帰還ループが形成され、所定段のレジスタ間には、
前段のレジスタの出力信号と前記帰還ループの分岐信号
との論理条件を判定し、判定結果を後段のレジスタに入
力させる論理回路が挿入接続されており、前記論理回路
の判定結果によって定まる所要のレジスタの出力信号が
PN符号として抽出されるように構成されたものであ
る。
According to the PN code generation circuit provided by the present invention, some output signals of a plurality of cascade-connected registers are directly fed back to an input portion of a first-stage register to form a feedback loop. Between the registers of the predetermined stage,
A logic circuit for judging a logical condition between an output signal of a register at a preceding stage and a branch signal of the feedback loop, and inputting a decision result to a register at a subsequent stage is inserted and connected, and a required register determined by the decision result of the logic circuit. Is extracted so as to be extracted as a PN code.

【0008】本発明の他のPN符号発生回路は、縦列接
続された複数段のレジスタのうち最終段のレジスタの出
力信号が初段のレジスタの入力部に直接帰還されて帰還
ループが形成され、所定段のレジスタ間には、前段のレ
ジスタの出力信号と前記帰還ループの分岐信号との論理
条件を判定し、判定結果を後段のレジスタに入力させる
論理回路が挿入接続されており、さらに、各論理回路へ
の前記分岐信号の導通を制御するスイッチ手段を具え、
前記スイッチ手段による制御結果及びそれに伴う論理回
路の判定結果によって定まる所要のレジスタの出力信号
がPN符号として抽出されるように構成されたものであ
る。なお、前記論理回路を初段及び最終段を除くすべて
のレジスタ間に挿入接続し、前記スイッチ手段の制御結
果に応じてレジスタ段数を任意に変更できるように構成
しても良い。
In another PN code generation circuit of the present invention, a feedback loop is formed by directly outputting an output signal of a last register among a plurality of cascade-connected registers to an input portion of a first register. Between the registers of the stage, a logic circuit for judging the logical condition of the output signal of the register of the previous stage and the branch signal of the feedback loop and inputting the judgment result to the register of the subsequent stage is inserted and connected. Switch means for controlling the conduction of the branch signal to a circuit,
An output signal of a required register determined by a control result by the switch means and a result of determination of a logic circuit associated therewith is extracted as a PN code. The logic circuit may be inserted and connected between all registers except the first and last stages so that the number of register stages can be arbitrarily changed according to the control result of the switch means.

【0009】本発明は、また、共通の信号源に対して並
列に接続され、それぞれ異なる配列構造のPN符号を生
成する複数のPN符号発生回路と、これらのPN符号発
生回路からのPN符号を選択的に出力する符号切替手段
とを有することを特徴とするPN符号発生装置をも提供
する。前記複数のPN符号発生回路は、好ましくは、上
述の本発明のPN符号発生回路とし、それぞれ異なる段
数のレジスタ列で構成する。
The present invention also provides a plurality of PN code generation circuits which are connected in parallel to a common signal source and generate PN codes having different arrangement structures, and a PN code from these PN code generation circuits. There is also provided a PN code generation device having code switching means for selectively outputting. Preferably, the plurality of PN code generation circuits are the PN code generation circuits of the present invention described above, and each of the plurality of PN code generation circuits is constituted by a different number of register rows.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態を説明する。 (第1実施形態)図1は、本発明を適用したPN符号発
生装置の構成図である。このPN符号発生装置1は、4
種類のPN符号を生成するためのPN符号発生回路1
1,12,13,14が、共通の信号源であるクロック
制御回路CCに対して並列に接続され、それぞれの出力
が符号切替手段の一例であるデータセレクタDSに入力
されるようになっている。各PN符号発生回路11〜1
4の入力側には、それぞれリセット信号RSが入力さ
れ、クロック制御回路CCにはクロック信号CLK及び符
号切替制御信号CTが入力される。この符号切替制御信
号CTに基づいて、クロック制御回路CCは、PN符号
発生回路11〜14の出力を切り替えるための符号切替
信号NT1をデータセレクタDSに出力する。これによ
り、PN符号発生回路11〜14のどの出力を選択する
かが決定される。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a configuration diagram of a PN code generator to which the present invention is applied. This PN code generator 1 has 4
Code generation circuit 1 for generating various types of PN codes
1, 12, 13, and 14 are connected in parallel to a clock control circuit CC that is a common signal source, and each output is input to a data selector DS that is an example of code switching means. . Each PN code generation circuit 11-1
The reset signal RS is input to each of the input sides of the clock signal 4, and the clock signal CLK and the sign switching control signal CT are input to the clock control circuit CC. Based on the code switching control signal CT, the clock control circuit CC outputs a code switching signal NT1 for switching the outputs of the PN code generation circuits 11 to 14 to the data selector DS. This determines which output of the PN code generation circuits 11 to 14 is to be selected.

【0011】この例におけるPN符号発生回路11は7
段構成のシフトレジスタであり、最大7ビット配列のP
N符号を生成するものである。同様に、PN符号発生回
路12は13段構成のシフトレジスタ,PN符号発生回
路13は17段構成のシフトレジスタ,PN符号発生回
路14は19段構成のシフトレジスタであり、それぞ
れ、最大で段数分のビット配列のPN符号を生成するも
のである。
In this example, the PN code generation circuit 11
This is a shift register with a stage configuration, and a P
The N code is generated. Similarly, the PN code generation circuit 12 is a shift register having a 13-stage configuration, the PN code generation circuit 13 is a shift register having a 17-stage configuration, and the PN code generation circuit 14 is a shift register having a 19-stage configuration. Is generated.

【0012】これらのPN符号発生回路11〜14は、
従来のこの種のPN符号発生回路を改良したものであ
る。以下、この改良点を、図2に示す7段構成のPN符
号発生回路11と、図13に示した従来の7段構成のP
N符号発生回路とを例に挙げて説明する(なお、初段の
F/F#1の入力部の構成については、便宜上、図示を
省略してある。以後、実施の形態の説明において同
じ)。
These PN code generation circuits 11 to 14
This is an improvement of a conventional PN code generation circuit of this type. Hereinafter, this improvement will be described by referring to the seven-stage PN code generation circuit 11 shown in FIG.
The N-code generation circuit will be described as an example (the configuration of the input section of the first stage F / F # 1 is omitted for the sake of convenience. The same applies to the description of the embodiment hereinafter).

【0013】図13に示した従来のPN符号発生回路
は、1〜3段目から帰還タップをとっている。この場合
の各段の出力信号は、図17に示すように、127ビッ
トで一巡する繰り返し信号となる。しかし、図13に示
す構成では、帰還ループ内に、複数のEXORゲートG
1が介在するため、各段のF/Fの出力が初段のF/F
#1に帰還されるまでに伝搬遅延時間が累積される。
The conventional PN code generation circuit shown in FIG. 13 uses feedback taps from the first to third stages. In this case, the output signal of each stage is a repetitive signal that makes one round of 127 bits as shown in FIG. However, in the configuration shown in FIG. 13, a plurality of EXOR gates G
1 intervenes, the output of the F / F of each stage becomes the F / F of the first stage.
The propagation delay time is accumulated until the signal is returned to # 1.

【0014】これに対して、本実施形態によるPN符号
発生回路11は、各段のF/F出力を、初段のF/F#
1の入力部(リセット信号との論理和条件を判定する論
理和ゲート)に直接帰還させて帰還ループを形成し、E
XORゲートG1については、これを4段目と5段目の
間、5段目と6段目の間、及び6段目と7段目の間に挿
入接続している。このEXORゲートG1は、前段のF
/Fの出力信号と帰還ループの分岐信号との論理条件
(排他的論理和条件)を判定するものである。この場合
の各段の出力信号は図18に示すとおりであり、127
ビットで一巡する繰り返し信号であって、7段目の信号
の変化を見ると図17と同じ変化をしている。つまり、
本実施形態の接続方式を採用することにより、図13に
示したPN符号発生回路と同じPN符号を生成しなが
ら、伝搬遅延時間を限りなくゼロ値に近づける(入力部
の論理和ゲートの部分のみ)ことができる。
On the other hand, the PN code generation circuit 11 according to the present embodiment outputs the F / F output of each stage to the F / F # of the first stage.
1 to form a feedback loop by directly feeding back to the input unit (OR gate for determining the OR condition with the reset signal)
The XOR gate G1 is inserted and connected between the fourth and fifth stages, between the fifth and sixth stages, and between the sixth and seventh stages. This EXOR gate G1 is connected to the F
The logic condition (exclusive OR condition) between the output signal of / F and the branch signal of the feedback loop is determined. The output signal of each stage in this case is as shown in FIG.
It is a repetitive signal that makes one round of bits, and the change in the signal at the seventh stage shows the same change as in FIG. That is,
By adopting the connection method of this embodiment, the propagation delay time can be made as close to zero as possible while generating the same PN code as the PN code generation circuit shown in FIG. 13 (only the OR gate portion of the input section). )be able to.

【0015】図3〜図5は、13段構成、17段構成、
19段構成のPN符号発生回路12,13,14の構成
例を示した図である。これらのPN符号発生回路12〜
14もまた、図2の7段構成のものと同様、帰還ループ
におけるEXORゲートG1を省き、該当するF/F間
にこれを挿入接続している。
3 to 5 show a 13-stage configuration, a 17-stage configuration,
FIG. 3 is a diagram illustrating a configuration example of a PN code generation circuit having a 19-stage configuration; These PN code generation circuits 12 to
Similarly to the seven-stage configuration in FIG. 2, the EXOR gate G1 in the feedback loop is omitted, and the EXOR gate 14 is inserted and connected between the corresponding F / Fs.

【0016】なお、図12に示した従来型のPN符号発
生回路のように、図2〜図5に示すPN符号発生回路を
統合して、各段の出力を選択的に出力する構成とするこ
ともできるが、そのためには、帰還ループに段数切替用
ゲートG2をいくつか挿入接続する必要がある(それで
も図12に示したPN符号発生回路よりは高速になる)
ため、その分、動作速度が遅くなる。このような事態を
回避するため、本実施形態では、図1に示したように、
各PN符号発生回路11〜14をクロック制御回路CC
に対して並列接続し、同一信号源に対して同時期に異な
るPN符号が生成されるようにしたものである。このよ
うに、第1実施形態のPN符号発生装置1によれば、簡
易な構成で、PN符号を高速に生成することができるよ
うになる。
As in the conventional PN code generation circuit shown in FIG. 12, the PN code generation circuits shown in FIGS. 2 to 5 are integrated to selectively output the output of each stage. However, for that purpose, it is necessary to insert and connect some stage number switching gates G2 to the feedback loop (still faster than the PN code generation circuit shown in FIG. 12).
Therefore, the operation speed is reduced accordingly. In order to avoid such a situation, in the present embodiment, as shown in FIG.
Each of the PN code generation circuits 11 to 14 is connected to a clock control circuit CC.
Are connected in parallel, and different PN codes are generated for the same signal source at the same time. As described above, according to the PN code generator 1 of the first embodiment, a PN code can be generated at a high speed with a simple configuration.

【0017】(第2実施形態)図1に示した第1実施形
態のPN符号発生装置1では、各PN符号発生回路11
〜14がそれぞれ一種類の配列構造のPN符号を生成す
ることができるようになっている。必要とするPN符号
の配列構造が固定的な場合は、このようなPN符号発生
装置1にすることで、装置構成が簡略化されて望ましい
のであるが、実際には、必要とするPN符号が複数種類
になる場合もあり得る。この場合は、帰還タップの位置
を変える必要がある。そこで、装置構成を同一にしたま
ま、帰還タップ位置を任意に変えることができるように
したのが、図6に示したPN符号発生装置2である。
(Second Embodiment) In the PN code generator 1 of the first embodiment shown in FIG.
14 can generate a PN code having one kind of array structure. When the arrangement structure of the required PN codes is fixed, such a PN code generation device 1 is preferable because the device configuration is simplified, but actually, the required PN codes are There may be more than one type. In this case, it is necessary to change the position of the return tap. Thus, the PN code generator 2 shown in FIG. 6 is capable of arbitrarily changing the position of the feedback tap while maintaining the same device configuration.

【0018】このPN符号発生装置2において、4種類
のPN符号発生回路21,22,23,24をクロック
制御回路CCに対して並列接続する点、各PN符号発生
回路21〜24の出力がデータセレクタDSにおいて選
択的に出力される点、各PN符号発生回路21〜24の
入力側に、それぞれリセット信号RSが入力され、クロ
ック制御回路CCにクロック信号CLK及び符号切替制御
信号CTが入力される点、符号切替制御信号CTに基づ
いて、クロック制御回路CCが、PN符号発生回路21
〜24の出力を切り替えるための符号切替信号NT1を
データセレクタDSに出力する点は、第1実施形態のP
N符号発生装置1と同じである。
In this PN code generator 2, four types of PN code generation circuits 21, 22, 23, and 24 are connected in parallel to a clock control circuit CC. A reset signal RS is input to the input side of each of the PN code generation circuits 21 to 24, and a clock signal CLK and a code switching control signal CT are input to the clock control circuit CC. On the basis of the point and code switching control signal CT, the clock control circuit CC
The output of the code switching signal NT1 for switching the output of the data selector # 24 to the data selector DS is the same as that of the first embodiment.
This is the same as the N code generator 1.

【0019】この実施形態のPN符号発生装置2は、各
PN符号発生回路21〜24の各々が、PN符号の長さ
及び符号配列を任意に変化させて出力できるようにする
ため、各PN符号発生回路21〜24に、帰還タップの
位置を制御するための段数切替信号NT2を入力させる
ようにしたものである。このような特殊な構成例を、図
7に示した7段構成のPN符号発生回路21を例に挙げ
て説明する。
The PN code generator 2 of this embodiment is designed so that each of the PN code generation circuits 21 to 24 can output the PN code with its length and code arrangement arbitrarily changed. The number-of-stages switching signal NT2 for controlling the position of the feedback tap is input to the generation circuits 21 to 24. Such a special configuration example will be described with reference to the PN code generation circuit 21 having a seven-stage configuration shown in FIG. 7 as an example.

【0020】図7を参照すると、EXORゲートG1
を、複数段のF/Fの初段及び最終段を除くすべての段
のF/F間に挿入接続するとともに、各EXORゲート
G1に、段数切替用ゲートG2を介して帰還ループから
の分岐信号が入力されるようになっている。段数切替用
ゲートG2は、切替回路SWからの段数切替信号NT2
によって、分岐信号を導通制御するものである。このよ
うな構成のPN符号発生回路21では、各段のF/F#
2〜#7から初段のF/F#1への帰還ループにEXO
RゲートG1が介在しないので、伝搬遅延時間の累積は
ない。レジスタ段数、つまり符号長を変更するときは、
切替回路SWからの段数切替信号NT2によって、所要
の段数切替用ゲートG2をON/OFFする。これによ
り、OFFの段数切替用ゲートG2については、それが
存在しない場合と等価になる一方、ONの段数切替用ゲ
ートG2については、帰還ループの分岐信号と前段のF
/Fの出力信号との排他的論理和条件が判定され、判定
結果が後段のF/Fに入力されるようになるので、帰還
タップが形成され、所要の符号の長さ及び配列のPN符
号が得られるようになる。13段構成、17段構成、1
9段構成のPN符号発生回路22〜24についても同様
の構成となる。このように、第2実施形態のPN符号発
生装置2によれば、簡易な構成でありながら、自由な長
さ及び配列のPN符号を高速に生成することができるよ
うになる。
Referring to FIG. 7, EXOR gate G1
Is connected between the F / Fs of all stages except the first and last stages of the plurality of F / Fs, and a branch signal from a feedback loop is connected to each EXOR gate G1 via a stage number switching gate G2. Is to be entered. The stage number switching gate G2 is provided with a stage number switching signal NT2 from the switching circuit SW.
Is used to control the conduction of the branch signal. In the PN code generation circuit 21 having such a configuration, the F / F #
EXO in feedback loop from # 2 to # 7 to first stage F / F # 1
Since the R gate G1 does not intervene, there is no accumulation of the propagation delay time. When changing the number of register stages, that is, the code length,
The required stage number switching gate G2 is turned ON / OFF by the stage number switching signal NT2 from the switching circuit SW. Accordingly, the OFF stage number switching gate G2 is equivalent to the case where it does not exist, while the ON stage number switching gate G2 is connected to the branch signal of the feedback loop and the F signal of the preceding stage.
The exclusive OR condition with the output signal of / F is determined, and the determination result is input to the subsequent F / F, so that a feedback tap is formed, and the required code length and PN code of the arrangement are provided. Can be obtained. 13-stage configuration, 17-stage configuration, 1
The same applies to the nine-stage PN code generation circuits 22 to 24. As described above, according to the PN code generation device 2 of the second embodiment, it is possible to generate PN codes of any length and arrangement at high speed with a simple configuration.

【0021】[0021]

【実施例】第2実施形態では、初段及び最終段を除くす
べてのF/F間にEXORゲートG1を挿入した例を示
したが、高速なPN符号を生成する観点からは、EXO
Rゲートは、いくつかのF/F間に挿入するだけで足り
る。図8〜図11は、図6におけるPN符号発生回路2
1〜24を、実際の運用形態に近い形で紹介したもので
ある。図8は7段構成、図9は13段構成、図10は1
7段構成、図11は19段構成のPN符号発生回路の例
である。符号#1〜#19はレジスタの一例であるD型
F/Fであり、符号データとリセット信号RSの論理和
出力が入力されるD端子、クロック信号CLKが入力され
るCK端子、符号データが出力されるQ端子、論理Low
信号“L”が接続されるR端子を有するものである。ま
た、G11はEXORゲート、G12は段数切替用ゲー
トである。ここでは、切替回路SW1〜SW4から例え
ば3ビットの二値信号(スイッチONで論理High信号
“H”となる)を各PN符号発生回路に入力し、これに
よって、帰還タップの位置を調整するようにしている。
例えば、図8は、図2に対応した帰還タップを実現する
ための構成である。
In the second embodiment, an example is shown in which the EXOR gate G1 is inserted between all the F / Fs except the first stage and the last stage. However, from the viewpoint of generating a high-speed PN code, the EXO gate G1 is used.
The R gate only needs to be inserted between some F / Fs. 8 to 11 show the PN code generation circuit 2 in FIG.
1 to 24 are introduced in a form close to an actual operation mode. 8 is a 7-stage configuration, FIG. 9 is a 13-stage configuration, and FIG.
FIG. 11 shows an example of a PN code generation circuit having a seven-stage configuration and a nineteen-stage configuration. Symbols # 1 to # 19 are D-type F / Fs, which are examples of registers. The D-type F / F is a terminal to which a logical OR output of the code data and the reset signal RS is input, the CK terminal to which a clock signal CLK is input, and the code data is Output Q terminal, logic low
It has an R terminal to which the signal “L” is connected. G11 is an EXOR gate, and G12 is a stage number switching gate. Here, for example, a 3-bit binary signal (which becomes a logical High signal “H” when the switch is turned on) is input to each PN code generation circuit from the switching circuits SW1 to SW4, thereby adjusting the position of the feedback tap. I have to.
For example, FIG. 8 shows a configuration for realizing a feedback tap corresponding to FIG.

【0022】図9では、切替回路SW2の最上位スイッ
チをN1,中位スイッチをN2,下位スイッチをN3と
したとき、各スイッチN1,N2,N3の出力レベル
(二値レベル)の組み合わせによって、I系(1,0,
0)、II系(0,1,0)、III系(0,0,1)を選
択できるようになっている。I系における帰還タップ位
置は、#13,#12,#10,#9、II系における帰
還タップ位置は、#13,#9,#8,#6,#4,#
3、III系における帰還タップ位置は、#13,#1
2,#8,#6,#5,#4となる。
In FIG. 9, when the uppermost switch of the switching circuit SW2 is N1, the middle switch is N2, and the lower switch is N3, the output level (binary level) of each of the switches N1, N2, N3 is I system (1,0,
0), II system (0, 1, 0), and III system (0, 0, 1). The feedback tap positions in the I system are # 13, # 12, # 10, # 9, and the feedback tap positions in the II system are # 13, # 9, # 8, # 6, # 4, #
3, the return tap position in III system is # 13, # 1
2, # 8, # 6, # 5, and # 4.

【0023】図10の場合も、切替回路SW3の最上位
スイッチをN1,中位スイッチをN2,下位スイッチを
N3とし、各スイッチN1,N2,N3の出力レベルの
組み合わせによって、I系(1,0,0)、II系(0,
1,0)、III系(0,0,1)を選択できるようにな
っている。但し、図示のように、特定の系、例えばI系
を使用しない(OPEN)ようにすることもできる。図示の
場合、II系における帰還タップ位置は、#17,#1
6,#15,#14、III系における帰還タップ位置
は、#17,#16,#14,#1となる。
Also in the case of FIG. 10, the uppermost switch of the switching circuit SW3 is N1, the middle switch is N2, the lower switch is N3, and the I system (1, 1) is determined by the combination of the output levels of the switches N1, N2 and N3. 0,0), II system (0,
1,0) and III system (0,0,1) can be selected. However, as shown in the figure, a specific system, for example, a system I may not be used (OPEN). In the case shown, the feedback tap positions in the II system are # 17, # 1
The feedback tap positions in the # 6, # 15, # 14, and III systems are # 17, # 16, # 14, and # 1.

【0024】同様に、図11の場合も切替回路SW4の
最上位スイッチをN1,中位スイッチをN2,下位スイ
ッチをN3とし、各スイッチN1,N2,N3の出力レ
ベルの組み合わせによって、I系(1,0,0)、II系
(0,1,0)、III系(0,0,1)を選択する。図
示の場合のI系における帰還タップ位置は、#19,#
18,#17,#14、II系における帰還タップ位置
は、#19,#16,#12,#10,#9,#7、II
I系における帰還タップ位置は、#19,#16,#1
3,#12,#11,#10となる。
Similarly, in the case of FIG. 11, the uppermost switch of the switching circuit SW4 is N1, the middle switch is N2, the lower switch is N3, and the I system (in accordance with the combination of the output levels of the switches N1, N2 and N3). 1,0,0), II system (0,1,0), and III system (0,0,1). In the illustrated case, the feedback tap positions in the I system are # 19, #
The feedback tap positions in 18, 18, 17, 14, and II systems are # 19, # 16, # 12, # 10, # 9, # 7, II
The return tap positions in the I system are # 19, # 16, # 1
3, # 12, # 11, and # 10.

【0025】なお、図8〜図11の例では、3つ系の中
から任意の1つの系におけるPN符号を選択できるよう
になっているが、系の数については任意であって良い。
また、EXORゲートG11や段数切替用ゲートG21
の位置もPN符号の用途に応じて適宜変更することもで
きる。
In the examples shown in FIGS. 8 to 11, the PN code in any one of the three systems can be selected, but the number of the systems may be arbitrary.
Further, the EXOR gate G11 and the stage number switching gate G21
Can be appropriately changed according to the use of the PN code.

【0026】なお、以上の実施形態又は実施例では、F
/F間に挿入接続する論理回路として、EXORゲート
G1,G11を用いたが、論理回路は、他の論理ゲート
で代用できることはいうまでもない。また、段数切替用
ゲートG2,G21についても同様である。 (通信装置)図2〜図5、図7、図8〜図11に示した
PN符号発生回路は、単独でも使用可能な回路である。
このようなPN符号発生回路を単独で、あるいは図1又
は図6に示したように複数のPN符号生成回路を保有し
たPN符号発生装置1,2として、CDMA方式又はS
SMA方式を採用する通信装置の符号生成手段として用
いることができる。この場合は、生成されたPN符号で
搬送波周波数の変調波をスペクトル拡散させて送信する
ように構成する。このように構成された通信装置を使用
することにより、スペクトラム拡散を利用した高速通信
が可能になる。
In the above embodiment or example, F
Although the EXOR gates G1 and G11 are used as the logic circuits inserted and connected between / F, it goes without saying that the logic circuits can be replaced with other logic gates. The same applies to the stage number switching gates G2 and G21. (Communication Device) The PN code generation circuits shown in FIGS. 2 to 5, 7, and 8 to 11 can be used alone.
Such a PN code generation circuit alone, or as a PN code generation device 1 or 2 having a plurality of PN code generation circuits as shown in FIG. 1 or FIG.
It can be used as a code generation unit of a communication device adopting the SMA system. In this case, the modulation wave of the carrier frequency is spread with the generated PN code and transmitted. By using the communication device configured as described above, high-speed communication using spread spectrum can be performed.

【0027】[0027]

【発明の効果】以上に説明したように、本発明は、論理
回路の挿入箇所を工夫することにより、従来のPN符号
発生回路と同様のPN符号を生成しながら、伝搬遅延時
間の発生要素を削減することができる。これにより、従
来は不可能であった200[MHz]以上の周波数でも使
用可能な高速なPN符号を生成することができる。
As described above, according to the present invention, by generating a PN code similar to that of the conventional PN code generation circuit, the generation element of the propagation delay time can be reduced by devising the insertion point of the logic circuit. Can be reduced. As a result, it is possible to generate a high-speed PN code that can be used even at a frequency of 200 [MHz] or higher, which was impossible in the past.

【0028】また、本発明のPN符号発生装置は、複数
のPN符号発生回路を信号源に対して並列に配置し、こ
れらのPN符号発生回路からのPN符号を選択的に出力
するようにしたので、より高速なPN符号を生成できる
ようになる。
In the PN code generator of the present invention, a plurality of PN code generation circuits are arranged in parallel with respect to the signal source, and the PN codes from these PN code generation circuits are selectively output. Therefore, a faster PN code can be generated.

【0029】さらに、各PN符号発生回路におけるレジ
スタの段数を適宜切り替えることができるので、任意の
配列構造のPN符号を簡易な構成で容易に生成できるよ
うになる。
Furthermore, since the number of register stages in each PN code generation circuit can be switched as appropriate, PN codes having an arbitrary arrangement structure can be easily generated with a simple configuration.

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

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

【図2】第1実施形態による7段構成のPN符号発生回
路の要部構成図。
FIG. 2 is a main part configuration diagram of a seven-stage PN code generation circuit according to the first embodiment;

【図3】第1実施形態による13段構成のPN符号発生
回路の要部構成図。
FIG. 3 is a main part configuration diagram of a PN code generation circuit having a 13-stage configuration according to the first embodiment;

【図4】第1実施形態による17段構成のPN符号発生
回路の要部構成図。
FIG. 4 is a main part configuration diagram of a 17-stage PN code generation circuit according to the first embodiment;

【図5】第1実施形態による19段構成のPN符号発生
回路の要部構成図。
FIG. 5 is a main part configuration diagram of a 19-stage PN code generation circuit according to the first embodiment;

【図6】本発明の第2実施形態に係るPN符号発生装置
の構成図。
FIG. 6 is a configuration diagram of a PN code generator according to a second embodiment of the present invention.

【図7】第2実施形態による7段構成のPN符号発生回
路の要部構成図。
FIG. 7 is a main part configuration diagram of a seven-stage PN code generation circuit according to a second embodiment;

【図8】実施例による7段構成のPN符号発生回路の要
部構成図。
FIG. 8 is a main part configuration diagram of a seven-stage PN code generation circuit according to the embodiment.

【図9】実施例による13段構成のPN符号発生回路の
要部構成図。
FIG. 9 is a main part configuration diagram of a PN code generation circuit having a 13-stage configuration according to the embodiment.

【図10】実施例による17段構成のPN符号発生回路
の要部構成図。
FIG. 10 is a main part configuration diagram of a PN code generation circuit having a 17-stage configuration according to the embodiment.

【図11】実施例による19段構成のPN符号発生回路
の要部構成図。
FIG. 11 is a main part configuration diagram of a 19-stage PN code generation circuit according to an embodiment.

【図12】従来のPN符号発生回路の構成図。FIG. 12 is a configuration diagram of a conventional PN code generation circuit.

【図13】従来の7段構成のPN符号発生回路の要部構
成図。
FIG. 13 is a main part configuration diagram of a conventional seven-stage PN code generation circuit.

【図14】従来の7段構成のPN符号発生回路の要部構
成図。
FIG. 14 is a main part configuration diagram of a conventional seven-stage PN code generation circuit.

【図15】従来の7段構成のPN符号発生回路の要部構
成図。
FIG. 15 is a configuration diagram of a main part of a conventional PN code generation circuit having a seven-stage configuration.

【図16】従来の7段構成のPN符号発生回路の要部構
成図。
FIG. 16 is a main part configuration diagram of a conventional seven-stage PN code generation circuit.

【図17】図2に示したPN符号発生回路による符号配
列の実測図。
FIG. 17 is an actual measurement diagram of a code array by the PN code generation circuit shown in FIG. 2;

【図18】図13に示した従来のPN符号発生回路によ
る符号配列の実測図。
18 is an actual measurement diagram of a code array by the conventional PN code generation circuit shown in FIG.

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

1,2 PN符号発生装置 11〜14,21〜24 PN符号発生回路 CC クロック制御回路 DS データセレクタ SW,SW1〜SW4 切替回路 CLKクロック信号 G1,G11 EXORゲート G2,G21 段数切替用ゲート CT 切替制御信号 RS リセット信号 NT1 符号切替信号 NT2 段数切替信号 1, 2, PN code generator 11 to 14, 21 to 24 PN code generator CC clock control circuit DS data selector SW, SW1 to SW4 switching circuit CLK clock signal G1, G11 EXOR gate G2, G21 stage number switching gate CT switching control Signal RS Reset signal NT1 Sign switching signal NT2 Stage number switching signal

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 縦列接続された複数段のレジスタのいく
つかの出力信号が初段のレジスタの入力部に直接帰還さ
れて帰還ループが形成され、 所定段のレジスタ間には、前段のレジスタの出力信号と
前記帰還ループの分岐信号との論理条件を判定し、判定
結果を後段のレジスタに入力させる論理回路が挿入接続
されており、 前記論理回路の判定結果によって定まる所要のレジスタ
の出力信号がPN符号として抽出されるように構成され
ていることを特徴とする、 PN符号発生回路。
1. A feedback loop is formed by directly feeding back some output signals of a plurality of cascade-connected registers to an input section of a first-stage register, and an output of a preceding-stage register is provided between predetermined-stage registers. A logic circuit for judging a logical condition between the signal and the branch signal of the feedback loop and inputting the judgment result to a register at a subsequent stage is inserted and connected. An output signal of a required register determined by the judgment result of the logic circuit is PN. A PN code generation circuit configured to be extracted as a code.
【請求項2】 縦列接続された複数段のレジスタのうち
最終段のレジスタの出力信号が初段のレジスタの入力部
に直接帰還されて帰還ループが形成され、 所定段のレジスタ間には、前段のレジスタの出力信号と
前記帰還ループの分岐信号との論理条件を判定し、判定
結果を後段のレジスタに入力させる論理回路が挿入接続
されており、 さらに、各論理回路への前記分岐信号の導通を制御する
スイッチ手段を具え、 前記スイッチ手段による制御結果及びそれに伴う論理回
路の判定結果によって定まる所要のレジスタの出力信号
がPN符号として抽出されるように構成されていること
を特徴とする、 PN符号発生回路。
2. An output signal of a last stage register among a plurality of stages of cascade-connected registers is directly fed back to an input portion of a first stage register to form a feedback loop. A logic circuit for judging the logical condition between the output signal of the register and the branch signal of the feedback loop and inputting the judgment result to the register at the subsequent stage is inserted and connected, and furthermore, the conduction of the branch signal to each logic circuit is determined. PN code, comprising a switch means for controlling, wherein an output signal of a required register determined by a control result by the switch means and a judgment result of a logic circuit associated therewith is extracted as a PN code. Generator circuit.
【請求項3】 前記論理回路が初段及び最終段を除くす
べてのレジスタ間に挿入接続されており、前記スイッチ
手段の制御結果に応じてレジスタ段数を任意に変更でき
るように構成されていることを特徴とする、 請求項2記載のPN符号発生回路。
3. The method according to claim 1, wherein the logic circuit is inserted and connected between all registers except the first stage and the last stage, so that the number of register stages can be arbitrarily changed according to a control result of the switch means. The PN code generation circuit according to claim 2, characterized in that:
【請求項4】 前記スイッチ手段は、複数のビット配列
の組み合わせによって所要レベルの論理信号を形成し、
形成された論理信号を各論理回路に入力させるものであ
ることを特徴とする、請求項2又は3記載のPN符号発
生回路。
4. The switch means forms a logic signal of a required level by a combination of a plurality of bit arrays,
4. The PN code generation circuit according to claim 2, wherein the formed logic signal is input to each logic circuit.
【請求項5】 共通の信号源に対して並列に接続され、
それぞれ異なる配列構造のPN符号を生成する複数のP
N符号発生回路と、 これらのPN符号発生回路からのPN符号を選択的に出
力する符号切替手段とを有することを特徴とする、 PN符号発生装置。
5. Connected in parallel to a common signal source,
A plurality of Ps each generating a PN code having a different array structure
A PN code generation device comprising: an N code generation circuit; and code switching means for selectively outputting a PN code from the PN code generation circuit.
【請求項6】 前記複数のPN符号発生回路が、それぞ
れ請求項1乃至4のいずれかに記載されたPN符号発生
回路であることを特徴とする、 請求項5記載のPN符号発生装置。
6. The PN code generator according to claim 5, wherein each of the plurality of PN code generators is the PN code generator according to any one of claims 1 to 4.
【請求項7】 前記複数のPN符号発生回路が、それぞ
れ異なる段数のレジスタ列を含んで構成されていること
を特徴とする、 請求項5又は6記載のPN符号発生装置。
7. The PN code generation device according to claim 5, wherein the plurality of PN code generation circuits are configured to include register rows of different numbers of stages.
【請求項8】 請求項1乃至4のいずれかに記載された
PN符号発生回路、又は、請求項5、6又は7に記載さ
れたPN符号発生装置を有し、 生成されたPN符号で搬送波周波数の変調波をスペクト
ル拡散させて送信するように構成されていることを特徴
とする、通信装置。
8. A PN code generation circuit according to claim 1 or a PN code generation device according to claim 5, 6 or 7, wherein a carrier wave is generated using the generated PN code. A communication apparatus characterized by being configured to transmit a modulated wave of a frequency spread spectrum.
JP4322199A 1999-02-22 1999-02-22 Circuit and device for generating pn code Pending JP2000244363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4322199A JP2000244363A (en) 1999-02-22 1999-02-22 Circuit and device for generating pn code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4322199A JP2000244363A (en) 1999-02-22 1999-02-22 Circuit and device for generating pn code

Publications (1)

Publication Number Publication Date
JP2000244363A true JP2000244363A (en) 2000-09-08

Family

ID=12657871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4322199A Pending JP2000244363A (en) 1999-02-22 1999-02-22 Circuit and device for generating pn code

Country Status (1)

Country Link
JP (1) JP2000244363A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001093436A2 (en) * 2000-05-26 2001-12-06 Telefonaktiebolaget L M Ericsson (Publ) Zero delay interference cancellation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001093436A2 (en) * 2000-05-26 2001-12-06 Telefonaktiebolaget L M Ericsson (Publ) Zero delay interference cancellation
WO2001093436A3 (en) * 2000-05-26 2002-03-28 Ericsson Telefon Ab L M Zero delay interference cancellation

Similar Documents

Publication Publication Date Title
JP2860067B2 (en) Apparatus for generating pseudorandom number sequence having length of 2 N
EP0254406B1 (en) Switching circuit for clock signals
US8090267B2 (en) Complementary optical wiring apparatus
KR20040008178A (en) Dual-edge triggered dynamic logic
US7112989B2 (en) Transmission signal correction circuit
JP3512939B2 (en) Pseudo random number generation circuit and bidirectional shift register
US6735239B1 (en) Sequence generator
US6285229B1 (en) Digital delay line with low insertion delay
CN1870429B (en) Semiconductor integrated circuit and method of reducing noise
EP1481309B1 (en) Low jitter clock for a multi-gigabit transceiver on a field programmable gate array
KR101337186B1 (en) Programmable delay circuit having reduced insertion delay
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
US4325129A (en) Non-linear logic module for increasing complexity of bit sequences
JP2000244363A (en) Circuit and device for generating pn code
KR100380776B1 (en) Signal transmission apparatus for setting delay amount based on operational speed
WO2004064254A3 (en) A logic circuit
CN110928524B (en) Pseudo-random signal generator
US6646465B2 (en) Programmable logic device including bi-directional shift register
KR100223848B1 (en) Output circuit of semiconductor device
KR101789467B1 (en) Fast reset apparatus of pseudo random binary sequence generator
DE102008027391A1 (en) Circuit, method for receiving a signal and use of a random generator
KR100504465B1 (en) A Peuso Noise codes generator and the method thereof
KR100300548B1 (en) Bounce Elimination Circuit
KR19980082682A (en) Programmable delay circuit
JPH1194914A (en) Scan path control circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040224