JPH03274836A - Receiver for pseudo-random signal - Google Patents

Receiver for pseudo-random signal

Info

Publication number
JPH03274836A
JPH03274836A JP2075092A JP7509290A JPH03274836A JP H03274836 A JPH03274836 A JP H03274836A JP 2075092 A JP2075092 A JP 2075092A JP 7509290 A JP7509290 A JP 7509290A JP H03274836 A JPH03274836 A JP H03274836A
Authority
JP
Japan
Prior art keywords
synchronization
signal
shift register
circuit
measurement
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
JP2075092A
Other languages
Japanese (ja)
Other versions
JPH07105786B2 (en
Inventor
Takashi Matsumoto
尚 松本
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.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2075092A priority Critical patent/JPH07105786B2/en
Publication of JPH03274836A publication Critical patent/JPH03274836A/en
Publication of JPH07105786B2 publication Critical patent/JPH07105786B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To accurately distinguish the occurrence of a mere bit error from that of synchronizing step out to be judged by providing a synchronizing step-out detecting synchronous circuit having the same constitution as a measuring synchronous circuit and providing a bit pattern comparator in which the logical states of shift registers in two synchronous circuits can be compared in parallel. CONSTITUTION:After synchronism between a reception signal and a PN signal at a reception side generated by the shift register 11 and an EXOR gate 12 in the synchronous circuit 1 for measurement is established, the reception signal is compared with the output of the synchronous circuit 1 for measurement, and when a bit error is detected, the reception signal is read in the shift register 41 at the synchronizing step-out detecting synchronous circuit 4 having the same constitution as the measuring synchronous circuit 1. Then, the synchronism between the reception signal and the PN signal at the reception side generated at the synchronizing step-out detecting synchronous circuit 4 can be established. The logical states of the shift registers 11, 41 of the measuring synchronous circuit 1 and the synchronizing step-out detecting synchronous circuit 4 are compared with each other by the bit pattern comparator 7, and it is judged that it is the synchronizing the step out when even one bit error occurs in both logical states.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ転送を行う際に発生するビット誤りを
擬似ランダム信号を用いて検出する信号受信装置におい
て、擬似ランダム信号のパターンの同期はずれを迅速に
検出できる擬似ランダム信号の受信装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a signal receiving device that uses a pseudorandom signal to detect bit errors that occur during data transfer. The present invention relates to a pseudorandom signal receiving device that can quickly detect a pseudorandom signal.

詳述すれば、送信側に用意されている擬似ランダム信号
のパターンと同一のパターンの信号を発生する擬似ラン
ダム信号発生回路を受信側に2個備え、一方の擬似ラン
ダム信号発生回路をビット誤り検出に用い、他方を同期
はずれ検出に用いることを特徴とする。
Specifically, the receiving side is equipped with two pseudo-random signal generation circuits that generate signals with the same pattern as the pseudo-random signal pattern prepared on the transmitting side, and one of the pseudo-random signal generating circuits is used for bit error detection. , and the other is used to detect out-of-synchronization.

〔従来の技術〕[Conventional technology]

デジタル通信回線においてパルスが伝送されるときに、
雑音や漏話等によるジッタやレベル変動等のために、パ
ルスの消滅や不要なパルスが発生することがある。この
場合、送信側から送出したデータが変化して受信側に伝
わることになり、デジタル通信回線の伝送品質が劣化す
る。デジタル通信回線の伝送品質は、ビット誤り率によ
って評価することができる。そのための測定器において
は、送信側に用意されている擬似ランダム信号のパター
ンと同一のパターンの信号を発生するPN信号発生回路
を受信側に備え、PN信号と受信信号とのパターンの同
期を確立した後に、両者の各ビットを比較し、その差異
によって誤り率を求める。
When a pulse is transmitted on a digital communication line,
Pulses may disappear or unnecessary pulses may occur due to jitter or level fluctuations due to noise, crosstalk, etc. In this case, the data sent from the transmitting side will be transmitted to the receiving side with changes, and the transmission quality of the digital communication line will deteriorate. The transmission quality of a digital communication line can be evaluated by the bit error rate. The measuring device for this purpose is equipped with a PN signal generation circuit on the receiving side that generates a signal with the same pattern as the pseudo-random signal pattern prepared on the transmitting side, and establishes pattern synchronization between the PN signal and the received signal. After that, each bit of both is compared, and the error rate is calculated from the difference.

なお、パターンの同期のほかにクロックの同期が確立し
ていることも当然に必要であるが、本発明はパターンの
同期に関するものであり、クロックの同期に関する説明
は省略する。以下、パターンの同期はずれを単に同期は
ずれということにする。
Although it is naturally necessary that clock synchronization is established in addition to pattern synchronization, the present invention relates to pattern synchronization, and a description of clock synchronization will be omitted. Hereinafter, the out-of-synchronization of patterns will simply be referred to as out-of-synchronization.

ここで、以下の記述で使用される用語の定義をしておく
Here, we will define the terms used in the following description.

まず、送信信号とは、本発明による擬似ランダム信号の
受信装置と対をなす送信装置が発生する擬似ランダム信
号である。この信号は成る伝送媒体を介して、受信装置
に導かれる。
First, the transmission signal is a pseudorandom signal generated by a transmitting device paired with a pseudorandom signal receiving device according to the present invention. This signal is guided to a receiving device via a transmission medium.

次に、受信信号とは、受信装置の入力端に導かれる信号
であり、送信信号が伝送媒体を通ってきたものである。
Next, the received signal is a signal guided to the input end of the receiving device, and is the signal that the transmitted signal has passed through the transmission medium.

送信端と受信端との間でビット誤りが全く発生していな
いときは、送信信号と受信信号とは本質的に全く同一で
ある。しかし、ビット誤りが発生しているときは、受信
信号は、あるビットが欠落していたり、或いは余分なビ
ットが重畳さていたりして、送信信号とは異なっている
When no bit errors occur between the transmitting end and the receiving end, the transmitted signal and the received signal are essentially the same. However, when a bit error occurs, the received signal differs from the transmitted signal because certain bits are missing or extra bits are superimposed.

そして、PN信号とは、受信装置内に設けられたシフト
レジスタ11、または41および排他的論理和ゲート1
2、または42で槽底されている擬似ランダム信号発生
回路によって発生される擬似ランダム信号であり、送信
信号のパターンと全く同一のパターンを有する。
The PN signal refers to the shift register 11 or 41 and the exclusive OR gate 1 provided in the receiving device.
This is a pseudo-random signal generated by a pseudo-random signal generating circuit whose bottom part is 2 or 42, and has exactly the same pattern as the transmission signal.

以下、第2図を用いて従来の技術による同期はずれ検出
の動作手順を述べる。
The operating procedure for detecting out-of-synchronization according to the prior art will be described below with reference to FIG.

i)Mビットのシフトレジスタで (2’−1)ビット
の周期でくりかえされるPN信号を発生させる場合にお
いて、まず、制御部28からの制御信号により、第1の
スイッチ2で2cm2aの経路を形成し、受信信号がシ
フトレジスタ11に読み込まれる状態に切り換える。
i) When generating a PN signal that is repeated at a period of (2'-1) bits using an M-bit shift register, first, a path of 2 cm2a is formed by the first switch 2 according to the control signal from the control unit 28. Then, the state is changed so that the received signal is read into the shift register 11.

ii)シフトレジスタ11は受信信号中のMビン1列を
読み込む。
ii) The shift register 11 reads one column of M bins in the received signal.

崗〉受信信号のMビン1列をシフトレジスタ11に読み
込んだ後、制御部28の制御信号によって第1のスイッ
チ2を切り替え2cm2b間に経路を形成させる。これ
により、測定用同期回路1は、送信信号のMヒフ1列以
降と同一パターンで、しかも受信信号と同じ位相のPN
信号を発生する。すなわち、測定用同期回路1の同期が
確立する。これはシフトレジスタ11に読み込んだMヒ
フ1列中には誤りがないものと仮定した場合である。
After reading one row of M bins of the received signal into the shift register 11, the first switch 2 is switched by a control signal from the control unit 28 to form a path between 2 cm 2b. As a result, the measurement synchronization circuit 1 generates a PN signal that has the same pattern as the first and subsequent M highs of the transmitted signal and also has the same phase as the received signal.
Generate a signal. That is, the synchronization of the measurement synchronization circuit 1 is established. This is assuming that there is no error in one column of M highs read into the shift register 11.

tv)−船釣には、読み込んだ受信信号のビットに誤り
があることを考慮し、続けて次の手順を行う。
tv) - When fishing on a boat, take into consideration that there may be errors in the bits of the received signal that has been read in, and continue with the following procedure.

すなわち、測定用同期回路1の内部で生成された信号と
受信信号とを比較器3でMピット以上比較し、誤りがな
い場合同期が確立したこととする(この動作を同期保護
という)。
That is, the signal generated inside the measurement synchronization circuit 1 and the received signal are compared by the comparator 3 for more than M pits, and if there is no error, it is assumed that synchronization has been established (this operation is called synchronization protection).

V)同期が確立した後、受信信号と測定用同期回路1か
ら出力されるPN信号とを比較器3で比較し、その比較
した回数を第1のカウンタ14で計数しておく、そして
、一定時間内に発生したビット誤り数を第2のカウンタ
15で計数し、予め設定した数を越えたとき、同期はず
れが起こっているとみなす。
V) After synchronization is established, the received signal and the PN signal output from the measurement synchronization circuit 1 are compared by the comparator 3, and the number of times of comparison is counted by the first counter 14. A second counter 15 counts the number of bit errors that occur within a period of time, and when the number exceeds a preset number, it is considered that an out-of-synchronization has occurred.

以上が従来技術による同期はずれ検出の方法である。The above is the method of detecting out-of-synchronization according to the prior art.

〔発明が解決しようとする課題] 従来の方法は同期はずれの検出をビット誤りが発生した
回数を数えておき、そのビット誤りの発生回数が前もっ
て設定しておいた数を越えたときに初めて同期はずれで
あると判断しているので、受信信号と受信側のPN信号
発生回路から出力されるPN信号との間で、同期はずれ
が起こっていないにもかかわらず、単にビット誤りが発
生しただけで、同期はずれであると判断してしまうとい
う問題がある。
[Problems to be Solved by the Invention] The conventional method detects out-of-synchronization by counting the number of times a bit error occurs, and synchronizes only when the number of bit errors has occurred exceeds a preset number. Therefore, even though no synchronization has occurred between the received signal and the PN signal output from the receiving side PN signal generation circuit, it is determined that a bit error has simply occurred. , there is a problem that it is determined that the synchronization is out of synchronization.

また、同期はずれの検出に時間がかかる欠点もある。Another drawback is that it takes time to detect out-of-synchronization.

また、同期がはずれているとしても、どれほどずれてい
るかを正確に知る方法もなかった。
There was also no way to know exactly how much, if any, they were out of sync.

〔課題を解決するための手段〕[Means to solve the problem]

以上の課題を解決するため、本発明では、第1図に示す
ように、シフトレジスタ11と排他的論理和ゲート12
とを有し受信信号の同期引き込みを行う測定用同期回路
lを備え、また、同期はずれが発生しているか否かの判
定を行うための上記測定用同期回路と同一の構成を有す
る同期はずれ検出用同期回路4をも備え、両方の同期回
路内のシフトレジスタ11.41の論理状態をパラレル
に比較するビットパターン比較器7を備えた。
In order to solve the above problems, the present invention has a shift register 11 and an exclusive OR gate 12, as shown in FIG.
and an out-of-synchronization detection circuit having the same configuration as the above-described measurement synchronization circuit for determining whether or not out-of-synchronization has occurred. A bit pattern comparator 7 is provided for comparing the logical states of the shift registers 11 and 41 in both synchronizing circuits in parallel.

〔作用〕[Effect]

次に、本発明による同期はずれ検出の動作手順を述べる
Next, the operating procedure for detecting out-of-synchronization according to the present invention will be described.

受信信号と、測定用同期回路1のシフトレジスタ11と
排他的論理和ゲート12によって生成される受信側のP
N信号との間の同期が確立した後に、■受信信号と測定
用同期回路1の出力とを比較器3で比較する。
The received signal and the P on the receiving side generated by the shift register 11 and exclusive OR gate 12 of the measurement synchronization circuit 1
After synchronization with the N signal is established, (1) the received signal and the output of the measurement synchronization circuit 1 are compared by the comparator 3;

■比較器3がビット誤りを検出した場合に、上記の測定
用同期回路1と同一の構成を有する同期はずれ検出用同
期回路4の側で受信信号をシフトレジスタ41へ読み込
む、そして、受信信号と、同期はずれ検出用同期回路4
で生成された受信側のPM信号との同期を確立する。
■When the comparator 3 detects a bit error, the received signal is read into the shift register 41 on the side of the out-of-synchronization detection synchronization circuit 4, which has the same configuration as the measurement synchronization circuit 1, and the received signal and , synchronization circuit 4 for detecting out-of-synchronization
Establish synchronization with the PM signal on the receiving side generated by .

■測定用同期回路lと同期はずれ検出用同期回路4のそ
れぞれのシフトレジスタ11.41の論理状態をビット
パターン比較器7でパラレルに比較し、双方の論理状態
がlビットでも異なっていたら、同期はずれであると判
断する。
■Compare the logic states of the shift registers 11.41 of the measurement synchronization circuit l and the synchronization circuit 4 for out-of-synchronization detection in parallel using the bit pattern comparator 7, and if the logic states of both differ by even l bit, the synchronization I judge it to be a mistake.

〔実施例〕〔Example〕

以下、本発明の詳細な説明する。 The present invention will be explained in detail below.

まず、第3図で示した本発明の一実施例の権威を説明す
る。
First, the authority of the embodiment of the present invention shown in FIG. 3 will be explained.

測定用同期回路1は、シフトレジスタ11と排他的論理
和ゲート12で権威される。第1のスイッチ2は、制御
部8からの制御信号によって2cm2a又は2cm2b
の経路を形成する。第1のスイッチ2が2cm2aの経
路を形成するとき、受信信号は該経路が形成されている
期間、シフトレジスタ11に入力される。一方、第1の
スイッチ2が2c −2bの経路を形成するとき、排他
的論理和ゲート12の出力はシフトレジスタ11の人力
に導かれる。また、シフトレジスタ11の出力及び、シ
フトレジスタ11の所定のビットの出力は排他的論理和
ゲート12のそれぞれの入力に導かれる。この状態で、
測定用同期回路1は、送信信号と本質的に同一のパター
ンを有するPN信号を発生する。比較器3は受信信号と
、測定用同期回路1の内部で生成されたPN信号とを比
較し、もし、食い違っていたらビット誤りが発生したこ
とを制御部8に知らせる。制御部8は比較器3からの誤
りの告知を受け、第2のスイッチ5に切り換え信号を出
力する。同期はずれ検出用同期回路4は測定用同期回路
1の権威と全く同一権威であり、シフトレジスタ41と
排他的論理和ゲート42とで権威される。また、第2の
スイッチ5も、第1のスイッチ2と全く同一権威になっ
ている。ビットパターン比較器7は二つのシフトレジス
タ11.41の論理状態をパラレルに比較し、同期はず
れを検出したらその結果を出力する。
The measurement synchronous circuit 1 is authorized by a shift register 11 and an exclusive OR gate 12. The first switch 2 is set to 2cm2a or 2cm2b depending on the control signal from the control unit 8.
form a route. When the first switch 2 forms a path of 2 cm2a, the received signal is input to the shift register 11 while the path is being formed. On the other hand, when the first switch 2 forms the path 2c-2b, the output of the exclusive OR gate 12 is guided to the input of the shift register 11. Further, the output of the shift register 11 and the output of a predetermined bit of the shift register 11 are guided to respective inputs of the exclusive OR gate 12. In this state,
The measurement synchronization circuit 1 generates a PN signal having essentially the same pattern as the transmission signal. The comparator 3 compares the received signal with the PN signal generated inside the measurement synchronization circuit 1, and if there is a discrepancy, it notifies the control unit 8 that a bit error has occurred. The control unit 8 receives the error notification from the comparator 3 and outputs a switching signal to the second switch 5. The out-of-synchronization detection synchronization circuit 4 has exactly the same authority as the measurement synchronization circuit 1, and is authorized by the shift register 41 and the exclusive OR gate 42. Further, the second switch 5 also has exactly the same authority as the first switch 2. The bit pattern comparator 7 compares the logic states of the two shift registers 11 and 41 in parallel, and outputs the result when it detects an out-of-synchronization.

次に、本発明の動作手順を説明するが、その動作は従来
技術i)〜tv)で述べた手順を実行し、受信信号と測
定用同期回路1から発生するPM信号との同期が確立し
、同期保護もとれた状態以降から述べる。また、本実施
例ではシフトレジスタは5ビツト(M−5)とする。
Next, the operation procedure of the present invention will be explained. The operation is performed by executing the procedures described in prior art i) to tv) and establishing synchronization between the received signal and the PM signal generated from the measurement synchronization circuit 1. , we will start from the state after the synchronization protection is taken care of. Further, in this embodiment, the shift register is 5 bits (M-5).

受信信号と、測定用同期回路1から生成されるPN信号
との間での一度確立された同期も、受信信号からクロッ
クを抽出するときの抽出ξスや、送信装置と受信装置の
中間に介在する装置あるい販伝送媒体でのビット落ち等
によって、はずれてしまう場合がある。同期がはずれた
場合、これを検出する方法として次の手順を実施する。
Once the synchronization is established between the received signal and the PN signal generated from the measurement synchronization circuit 1, the synchronization may be caused by the extraction process when extracting the clock from the received signal, or by interference between the transmitting device and the receiving device. This may occur due to bit loss in the equipment used or the transmission medium used. If synchronization is lost, follow the steps below to detect this.

(1)受信信号と測定用同期回路1から生成されるPN
信号とを比較する。
(1) PN generated from the received signal and measurement synchronization circuit 1
Compare with the signal.

(2)比較器3でビット誤りが検出される。(2) Comparator 3 detects a bit error.

(3)比較器3で誤りが検出された場合、比較器3は誤
りの発生を制御部8に告知する。
(3) If an error is detected in the comparator 3, the comparator 3 notifies the control unit 8 of the occurrence of the error.

(4)制御部8からの制御信号により、第2のスイッチ
5で5cm5aの経路を形成し、受信信号がシフトレジ
スタ41に読み込まれる状態に切り換える。
(4) A control signal from the control unit 8 causes the second switch 5 to form a path of 5 cm 5a and switch to a state in which the received signal is read into the shift register 41.

(5)受信信号中のMビン1列をシフトレジスタ41に
読み込む。
(5) Read one column of M bins in the received signal into the shift register 41.

(6)受信信号中のMビン1列をシフトレジスタ41に
読み込んだ後、制御部8の制御信号によって第2のスイ
ッチ5を切り替え5cm5b間に経路を形成させる。こ
れにより、同期はずれ検出用同期回路4は、送信信号の
Mビン4列以降と同一パターンで、しかも受信信号と同
じ位相のPN信号を発生する。
(6) After reading one column of M bins in the received signal into the shift register 41, the second switch 5 is switched by the control signal from the control section 8 to form a path between 5 cm 5b. As a result, the out-of-synchronization detection synchronization circuit 4 generates a PN signal that has the same pattern as the transmission signal from the fourth row of M bins onward and has the same phase as the reception signal.

すなわち、同期はずれ検出用同期回路4の同期が確立す
る。これはシフトレジスタ41に読み込んだMヒフ1列
中には誤りがないものと仮定した場合である。
That is, the synchronization of the out-of-synchronization detection synchronization circuit 4 is established. This is the case assuming that there is no error in one column of M highs read into the shift register 41.

(7)−船釣には、読み込んだ受信信号に誤りがあるこ
とを考慮し、続けて次の手順を行う、同期はずれ検出用
同期回路4の内部で生成されたPN信号と受信信号とを
比較器6でMビシ1以上比較し、誤りがない場合、同期
が確立したこととする(この動作を同期保護という)。
(7) - When fishing on a boat, take into account that there is an error in the received signal that has been read, and then perform the following procedure. The comparator 6 compares M bits by 1 or more, and if there is no error, it is assumed that synchronization has been established (this operation is called synchronization protection).

(8)同期はずれ検出用同期回路4の同期が確立した後
、ビットパターン比較器7によって、測定用同期回路1
と同期はずれ検出用同期回路4の各々のシフトレジスタ
11.41の論理状態をパラレルに比較する。
(8) After the synchronization of the out-of-synchronization detection synchronization circuit 4 is established, the bit pattern comparator 7
The logical states of the shift registers 11 and 41 of the out-of-synchronization detection synchronization circuit 4 are compared in parallel.

(9)この比較結果が全て等しい場合、上記手順(1)
で検出したビット誤りは単なるビット誤りであり、同期
はずれによるものではないので、上記手順(1)の状態
に戻り、次のビット誤り検出を待つ。
(9) If all of the comparison results are equal, follow the steps (1) above.
Since the bit error detected in step (2) is a simple bit error and is not caused by out-of-synchronization, the process returns to step (1) above and waits for the next bit error detection.

0[D一方、比較結果が1ビツトでも異なっていた場合
は、上記手順(1)で検出されたビット誤りは同期はず
れによるもので、測定用同期回路1が同期はずれを起こ
したと判断する。
0[D On the other hand, if the comparison result differs by even 1 bit, it is determined that the bit error detected in the above procedure (1) is due to an out-of-synchronization, and that the measurement synchronization circuit 1 has caused an out-of-synchronization.

この同期はずれの結果を表示部10で表示し、測定器の
操作者に認識させる。または、受信信号と測定用同期回
路1から出力されるPN信号とを比較器3で比較し、そ
の比較した回数とビット誤り数とをそれぞれ計数する第
1、第2のカウンタ14゜15の計数結果を無効にする
ような処理をしてもよい。
The result of this out-of-synchronization is displayed on the display unit 10 for the operator of the measuring instrument to recognize. Alternatively, the comparator 3 compares the received signal and the PN signal output from the measurement synchronization circuit 1, and the first and second counters 14 and 15 count the number of times the comparison has been made and the number of bit errors, respectively. You may perform processing to invalidate the results.

また、同期はずれが発生したと判断した場合、同期はず
れの発生を制御部8に告知する0通常では、測定用同期
回路1の同期を取り直すのであるが、本発明では、測定
用同期回路1と同期はずれ検出用同期回路4とが全く同
一の構成になっているので、制御部8からの指示により
、上記手順(4)から(6)により同期のとれている同
期はずれ検出用同期回路4を測定用同期回路1に代えて
、同期はずれ検出用同期回路4を測定用同期回路1とし
て、ビット誤り数の計数を継続することも当然に可能で
ある。この場合、制御部8からの指示により第3のスイ
ッチ13は13a−13cとなっている経路を13b−
13cに切り換え、受信信号と同期はずれ検出用同期回
路4から出力されるPN信号とを比較した回数とビット
誤り数とをそれぞれ第1のカウンタ14、第2のカウン
タ15で計数させる。
Furthermore, when it is determined that an out-of-synchronization has occurred, the control unit 8 is notified of the out-of-synchronization. Normally, the measurement synchronization circuit 1 is resynchronized, but in the present invention, the measurement synchronization circuit 1 and Since the synchronization circuit 4 for detecting out-of-synchronization has exactly the same configuration, the synchronization circuit 4 for detecting out-of-synchronization, which has been synchronized, by the instructions from the control unit 8 according to steps (4) to (6) above. It is of course also possible to continue counting the number of bit errors by using the out-of-synchronization detection synchronization circuit 4 as the measurement synchronization circuit 1 instead of the measurement synchronization circuit 1. In this case, the third switch 13 changes the path from 13a to 13c to 13b to 13c according to an instruction from the control unit 8.
13c, the first counter 14 and the second counter 15 count the number of times the received signal is compared with the PN signal output from the synchronization circuit 4 for out-of-synchronization detection and the number of bit errors, respectively.

以上の記述は第4W!Jによって示された流れ図にその
まま対応する。ステップi)からtv)までは従来の技
術の手順であり、ステップi)からtv)までに加えて
、ステップ(1)からaωまでを合わせて本発明の手順
となる。
The above description is the 4th W! This corresponds directly to the flowchart shown by J. Steps i) to tv) are the procedures of the prior art, and in addition to steps i) to tv), steps (1) to aω are the procedure of the present invention.

次に、第5図を用いて、従来の技術と本発明の平均同期
はずれの検出時間の差異を説明する。それぞれ、従来技
術の方法による検出時間を破線、本発明の方法による検
出時間を実線で示した。従来技術は、同期はずれを検出
する方法として、受信信号と測定用同期回路1から出力
されるPM信号とを比較器3で比較し、事前に設定して
おいた一定の確率以上のビット誤りが発生した場合に、
同期はずれであるとみなすという手段をとっている。
Next, the difference in average out-of-synchronization detection time between the conventional technique and the present invention will be explained using FIG. The detection time by the method of the prior art is shown by a broken line, and the detection time by the method of the present invention is shown by a solid line, respectively. In the conventional technology, as a method for detecting synchronization loss, a comparator 3 compares the received signal and the PM signal output from the measurement synchronization circuit 1, and detects bit errors exceeding a certain probability set in advance. If this occurs,
The method is to assume that the synchronization is out of sync.

通常、その確率は予め定めたビット数の受信信号とその
中の予め定めたビット誤り数とにより表わされる。−船
釣に確率は1/10から115に設定される。受信信号
と測定用同期回路1から出力されるPN信号とを比較し
た回数を計数し、その計数結果が予め定めたビット数(
m)に達する前に、計数したビット誤り数が、予め定め
たビット誤り数(n)を超えたとき、同期はずれとみな
す。
Usually, the probability is expressed by a received signal of a predetermined number of bits and a predetermined number of bit errors therein. - The probability for boat fishing is set from 1/10 to 115. The number of times the received signal and the PN signal output from the measurement synchronization circuit 1 are compared is counted, and the counting result is determined by a predetermined number of bits (
When the counted number of bit errors exceeds a predetermined number of bit errors (n) before reaching number m), it is considered to be out of synchronization.

第5図は、横軸に予め定めたビット数mをとり、縦軸に
平均同期はずれ検出に要する時間Tをとる。
In FIG. 5, the horizontal axis represents the predetermined number of bits m, and the vertical axis represents the time T required for average out-of-synchronization detection.

この従来技術の方法による同期はずれの検出を行ったと
き、同期はずれが生じてから、同期はずれであると検出
するまでに要する時間は以下のように求まる。同期がは
ずれると、比較器3は平均して2ビツトに1度の割合で
誤りを検出する。従って、このビット誤り数の計数値が
予め定めたビット誤り数nに到達するまでには平均2X
nXtの期間が必要である。ここで、tはクロックの周
期である。また、この方法では、制御部28によって、
受信信号と測定用同期回路lから出力されるPN信号と
を比較した回数とビット誤り数とをそれぞれ第1のカウ
ンタ14、第2のカウンタ15で計数させ、その計数結
果がmに到達するごとに再計数値を計数したカウンタ1
4.15をクリアし、計数しなおすため、さらに時間を
要する場合がある。このビット誤り数の計数値がnに到
達する前に受信信号と測定用同期回路lから出力される
PN信号とを比較した回数がmに到達する確率は2n/
mで、その場合の同期はずれの検出に要する時間は平均
すると3XnXtである。従って同期はずれに要する時
間の平均値Tは 例えば、n=(115)mとするとT=0.48mtの
時間を要する。
When out-of-synchronization is detected using the method of this prior art, the time required from when out-of-synchronization occurs until it is detected as out-of-synchronization is determined as follows. When synchronization is lost, comparator 3 detects an error once every two bits on average. Therefore, it takes an average of 2X to reach the predetermined bit error count n.
A period of nXt is required. Here, t is the period of the clock. Further, in this method, the control unit 28
The number of times the received signal and the PN signal output from the measurement synchronization circuit l are compared and the number of bit errors are counted by the first counter 14 and the second counter 15, respectively, and each time the counting result reaches m. Counter 1 that re-counted the value
It may take more time to clear 4.15 and re-count. The probability that the number of times the received signal is compared with the PN signal output from the measurement synchronization circuit l reaches m before the counted value of the number of bit errors reaches n is 2n/
m, and the time required to detect out-of-synchronization in that case is 3XnXt on average. Therefore, for example, if n=(115)m, the average time T required for the synchronization to be lost is T=0.48mt.

このように、従来技術の方法では、予め定めたビット数
mの数が少なければ、同期はずれの検出に必要な時間は
短くてすむが、同期はずれの検出を正確に行おうとする
と、ビット数mの数が多くなり、それに比例して同期は
ずれの検出に要する時間は長くなる0mを減らして同期
はずれの検出を早く行おうとすると、ビット誤りと同期
はずれの検出の正確さが低下するという関係になる。
In this way, in the conventional method, if the predetermined number m of bits is small, the time required to detect out-of-synchronization is short; however, if you want to accurately detect out-of-synchronization, As the number of bit errors increases, the time required to detect out-of-synchronization increases proportionally.If you try to detect out-of-synchronization faster by reducing 0m, the accuracy of detecting bit errors and out-of-synchronization will decrease. Become.

本発明では、測定用同期回路1側の比較器3がビット誤
りを検出したときに、はじめて同期はずれ検出用同期回
路4が検出を開始するので、同期はずれ検出用同期回路
4の側で受信信号をシフトレジスタ42に読み込み、同
期はずれ検出用同期回路4でPN信号を発生させ、その
同期保護を行うまでの時間が必要である。シフトレジス
タ42を5ビツトとし、シフトレジスタのビット数の2
倍である10ビツトの同期保護を行った場合、同期確立
までに要する時間は16Tである。それは次の式T−(
Mt+t+2Mt)で表わされる。この式の右辺第1項
のMtはシフトレジスタに読み込むのに必要な時間、同
第2項のtはビット誤りを検出する時間、同第3項の2
Mtは同期保護に要する時間である。
In the present invention, when the comparator 3 on the measurement synchronous circuit 1 side detects a bit error, the synchronization circuit 4 for out-of-synchronization detection starts detection. It takes time to read the signal into the shift register 42, generate a PN signal in the synchronization circuit 4 for out-of-synchronization detection, and perform synchronization protection. The shift register 42 is 5 bits, and the number of bits of the shift register is 2.
If 10-bit synchronization protection, which is twice as long, is performed, the time required to establish synchronization is 16T. It is the following formula T-(
Mt+t+2Mt). The first term on the right side of this equation, Mt, is the time required to read into the shift register, the second term, t, is the time to detect bit errors, and the third term, 2
Mt is the time required for synchronization protection.

さらに、その後、測定用同期回路1のシフトレジスタ1
1と同期はずれ検出用同期回路4のシフトレジスタ41
との内容を直接ビットごとに比較して同期はずれか否か
の判断をしている。したがって、同期はずれの検出に要
する時間はm、、nに関係なく一定であり、かつ、同期
はずれ検出の正確さは常に保たれる。
Furthermore, after that, the shift register 1 of the measurement synchronous circuit 1
1 and the shift register 41 of the synchronization circuit 4 for detecting out-of-synchronization.
It is determined whether or not synchronization is out of synchronization by directly comparing the contents bit by bit. Therefore, the time required to detect out-of-synchronization is constant regardless of m, , n, and the accuracy of out-of-synchronization detection is always maintained.

上述のビットパターン比較器7は各シフトレジスタ11
.41の論理状態をパラレルに比較し、一致あるいは不
一致のみを検出するものであったが、他の実施例として
、ビットパターン比較器7は各シフトレジスタ11.4
1をパラレルに比較し、測定用同期回路1と同期はずれ
検出用同期回路4とからのPN信号出力が何ビットずれ
たか(スリップ数)を出力することもできる。このビッ
トパターンのスリップ数の検出方法は第6図、第7図で
説明する。
The bit pattern comparator 7 described above is connected to each shift register 11.
.. 41 logic states are compared in parallel and only a match or mismatch is detected, but in another embodiment, the bit pattern comparator 7 compares the logic states of each shift register 11.4.
1 in parallel, it is also possible to output how many bits the PN signal outputs from the measurement synchronization circuit 1 and the synchronization circuit 4 for out-of-synchronization detection have shifted (number of slips). The method for detecting the number of slips in this bit pattern will be explained with reference to FIGS. 6 and 7.

第6図は、予め2つのシフトレジスタ11.41の取り
うる状態に対応したビットパターンのスリップ数を書き
込んだメモリ81、およびそのメモリ81とシフトレジ
スタ11.41との相互関係を示す、このメモリはシフ
トレジスタH,41からの入力をアドレスとして受け、
そのスリップ数と同期はずれ検出信号(a)を出力する
FIG. 6 shows a memory 81 in which slip numbers of bit patterns corresponding to possible states of the two shift registers 11.41 are written in advance, and the mutual relationship between the memory 81 and the shift registers 11.41. receives input from shift register H,41 as an address,
The number of slips and the out-of-synchronization detection signal (a) are output.

第7図は、メモリ81の内部状態を表わした図である。FIG. 7 is a diagram showing the internal state of the memory 81.

このメモリ81では、データの最終の1ビツト(萄を同
期はずれが発生しているか否かのビットにしている。
In this memory 81, the last bit of the data is used as a bit indicating whether or not an out-of-synchronization has occurred.

このビットパターンのスリップ数の検出は、以下の手順
で行う、まず、シフトレジスタ11の論理状態を上位ビ
ットとし、シフトレジスタ41の論理状態を下位ビット
としてアドレスを生成する。そして、そのアドレスの指
し示すデータ(スリップ数)をメモリ81から出力する
。このアドレスとデータは、事前に任意の二つのシフト
レジスタの状態とその場合のPN信号のスリップ数との
関係にしておく0例えば、シフトレジスタ11からの入
力が00001で、シフトレジスタ41からの入力が0
1001のとき、アドレスは0000101001とな
り、そのアドレスが指し示すデータは26であり、両P
N信号のパターンは26スリツプしている。このような
テーブルをメモリ81内に用意してビットパターン比較
器7を構成することにより、単に同期はずれを検出でき
るのみではなく、ビットパターンのずれの個数を併せて
簡単に検出できるようになる。
The number of slips in this bit pattern is detected by the following procedure. First, an address is generated using the logic state of the shift register 11 as the upper bits and the logic state of the shift register 41 as the lower bits. Then, the data (slip number) pointed to by that address is output from the memory 81. This address and data are determined in advance by the relationship between the states of any two shift registers and the number of slips of the PN signal in that case.For example, the input from shift register 11 is 00001, and the input from shift register 41 is is 0
1001, the address is 0000101001, the data pointed to by that address is 26, and both P
The pattern of the N signal has 26 slips. By preparing such a table in the memory 81 and configuring the bit pattern comparator 7, it becomes possible not only to simply detect out-of-synchronization, but also to easily detect the number of bit pattern deviations.

〔発明の効果〕〔Effect of the invention〕

本発明の擬似ランダム信号の受信装置によれば、測定用
同期回路1と同一の権威をもつ同期はずれ検出用同期回
路4を備え、二つの同期回路内の各シフトレジスタ11
.41の論理状態をパラレルに比較するようにしたビッ
トパターン比較器7を備えたので、単なるビット誤りの
発生と同期はずれの発生とを正確に区別して判断でき、
多数のビット誤りが発生しても同期はずれが発生したと
誤認して測定をやり直したりすることがなくなる。
According to the pseudorandom signal receiving device of the present invention, the synchronization circuit 4 for out-of-synchronization detection having the same authority as the measurement synchronization circuit 1 is provided, and each shift register 11 in the two synchronization circuits is provided.
.. Since the bit pattern comparator 7 is provided to compare the logic states of 41 in parallel, it is possible to accurately distinguish between the occurrence of a simple bit error and the occurrence of out-of-synchronization.
Even if a large number of bit errors occur, it is no longer necessary to mistakenly assume that synchronization has occurred and redo the measurement.

また、同期はずれを検出する方法として、受信信号と測
定用同期回路1から出力されるPN信号とを比較器3で
比較し、事前に設定しておいた一定の数以上のビット誤
りが発生した場合に同期はずれであるとみなすという従
来の方法に比べて、同期はずれの検出が予め定めたビッ
ト数等に関係なく一定時間で判断できるので、同期はず
れが発生したとして、すぐに測定をやり直すことも容易
にできる。
In addition, as a method for detecting out-of-synchronization, the received signal and the PN signal output from the measurement synchronization circuit 1 are compared with the comparator 3, and bit errors exceeding a preset number are detected. Compared to the conventional method, which assumes that synchronization is out of synchronization, it is possible to detect out of synchronization in a fixed amount of time regardless of the predetermined number of bits, etc. can also be done easily.

また、測定用同期回路1と同期はずれ検出用同期回路4
とが全く同一の構成であり、同期はずれ検出用同期回路
4で測定用同期回路1の同期はずれを検出した場合、同
期はずれ検出用同期回路4でビット誤りの検出を継続す
ることも可能となり、測定用同期回路lで、受信信号と
の同期を取り直す場合に比してビット誤りの検出を開始
できるまでの時間の節約を節約できる。
In addition, the measurement synchronous circuit 1 and the out-of-synchronization detection synchronous circuit 4
have exactly the same configuration, and when the out-of-synchronization circuit 4 detects out-of-synchronization of the measurement synchronization circuit 1, the out-of-synchronization detection synchronization circuit 4 can continue to detect bit errors. The measurement synchronization circuit 1 saves time until bit error detection can be started compared to when synchronization with the received signal is reestablished.

さらに、従来不可能であったビットパターンのスリップ
数を検出することもできる。
Furthermore, it is also possible to detect the number of bit pattern slips, which was previously impossible.

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

第1図は本発明の構成を示すブロック図、第2図は従来
技術の構成を示すブロック図、第3図は本発明の一実施
例のブロック図、第4図はは従来技術と本発明の動作を
示す流れ図、第5図は従来の技術と本発明の平均同期は
ずれ検出時間の差異を表わした図である。また第6図は
ビットパターン比較器7にビットパターンのスリップ数
を検出するメモリ81を持たせた場合の権威を示した図
、第7図はそのメモリの内部を示した図である。 ・シフトレジスタ、12・・・排他的論理和ゲート、 41・ ・ ・ ゲート、 14・ 夕、 8ト シフトレジスタ、42・ 28・・・制御部、 ・第1のカウンタ、15・ 13・・・第3のスイッチ、 ・メモリ。 ・排他的論理和 ・第2のカラン ト・・測定用同期回路、2・・・第1のスイッチ、3・
・・比較器、4・・・同期はずれ検出用同期回路、5・
・・第2のスイッチ、6・・・比較器、7・・・ビット
パターン比較器、8・制御部、9・・・カウンタ、IO
・・・表示部、11特許出順人
Figure 1 is a block diagram showing the configuration of the present invention, Figure 2 is a block diagram showing the configuration of the prior art, Figure 3 is a block diagram of an embodiment of the present invention, and Figure 4 shows the prior art and the present invention. FIG. 5 is a flowchart showing the operation of FIG. 5, which shows the difference in average desynchronization detection time between the conventional technique and the present invention. Further, FIG. 6 is a diagram showing the authority when the bit pattern comparator 7 is provided with a memory 81 for detecting the number of bit pattern slips, and FIG. 7 is a diagram showing the inside of the memory.・Shift register, 12... Exclusive OR gate, 41... Gate, 14. 8 shift register, 42. 28... Control unit, ・First counter, 15. 13... Third switch: -Memory.・Exclusive OR・Second currant・・Measurement synchronization circuit, 2・・First switch, 3・
...Comparator, 4...Synchronization circuit for detecting out of synchronization, 5.
...Second switch, 6.Comparator, 7.Bit pattern comparator, 8.Control unit, 9.Counter, IO
...Display section, 11 patents issued

Claims (1)

【特許請求の範囲】 シフトレジスタと排他的論理和ゲートを有する測定用同
期回路(1)と、擬似ランダム信号でなる受信信号と前
記排他的論理和ゲートからの出力とを切り換えシフトレ
ジスタに入力する第1のスイッチ(2)と、前記受信信
号と前記測定用同期回路からの出力とを比較する比較器
(3)とを有する擬似ランダム信号の受信装置において
、 前記測定用同期回路と同一の構成を有する同期はずれ検
出用同期回路(4)と、前記受信信号と前記同期はずれ
検出用同期回路の排他的論理和ゲートからの出力とを切
り換えシフトレジスタに入力する第2のスイッチ(5)
と、前記受信信号と前記同期はずれ検出用同期回路から
の出力とを比較する比較器(6)と、前記測定用同期回
路のシフトレジスタと前記同期はずれ検出用同期回路の
シフトレジスタとのビット比較をおこなうビットパター
ン比較器(7)とを備えたことを特徴とする擬似ランダ
ム信号の受信装置。
[Claims] A measurement synchronous circuit (1) having a shift register and an exclusive OR gate, and a receiving signal consisting of a pseudo-random signal and the output from the exclusive OR gate are switched and input to the shift register. A pseudorandom signal receiving device having a first switch (2) and a comparator (3) that compares the received signal with an output from the measurement synchronization circuit, the configuration being the same as that of the measurement synchronization circuit. and a second switch (5) that switches between the received signal and the output from the exclusive OR gate of the synchronization circuit for out-of-synchronization detection and inputs it into the shift register.
a comparator (6) that compares the received signal with the output from the out-of-synchronization detection synchronous circuit; and a bit comparison between the shift register of the measurement synchronous circuit and the shift register of the out-of-synchronization detection synchronous circuit. 1. A pseudo-random signal receiving device comprising: a bit pattern comparator (7) that performs the following.
JP2075092A 1990-03-24 1990-03-24 Pseudo random signal receiver Expired - Lifetime JPH07105786B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2075092A JPH07105786B2 (en) 1990-03-24 1990-03-24 Pseudo random signal receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2075092A JPH07105786B2 (en) 1990-03-24 1990-03-24 Pseudo random signal receiver

Publications (2)

Publication Number Publication Date
JPH03274836A true JPH03274836A (en) 1991-12-05
JPH07105786B2 JPH07105786B2 (en) 1995-11-13

Family

ID=13566184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2075092A Expired - Lifetime JPH07105786B2 (en) 1990-03-24 1990-03-24 Pseudo random signal receiver

Country Status (1)

Country Link
JP (1) JPH07105786B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05102951A (en) * 1991-04-06 1993-04-23 Wandel & Goltermann Gmbh & Co Method and apparatus for identifying pulling-out of synchronism for two word sequences
US6651195B1 (en) 1998-12-17 2003-11-18 Deutsche Telekom Ag Method and system for bit error structure measurements of data transmission channels

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05102951A (en) * 1991-04-06 1993-04-23 Wandel & Goltermann Gmbh & Co Method and apparatus for identifying pulling-out of synchronism for two word sequences
US6651195B1 (en) 1998-12-17 2003-11-18 Deutsche Telekom Ag Method and system for bit error structure measurements of data transmission channels

Also Published As

Publication number Publication date
JPH07105786B2 (en) 1995-11-13

Similar Documents

Publication Publication Date Title
US3760354A (en) Error rate detection system
US4158193A (en) Data transmission test set with synchronization detector
JPH10200518A (en) Synchronization signal detection system
JPH03274836A (en) Receiver for pseudo-random signal
JP3989816B2 (en) Pattern synchronous pull-in device
JP2751673B2 (en) Bit error rate measurement equipment for digital communication systems
JP2762855B2 (en) Frame synchronization protection circuit
JP3006426B2 (en) FM multiplex encoder
JP3063291B2 (en) Line monitoring circuit
JPS5945304B2 (en) Line failure detection method in two-wire communication equipment
JP2003198335A (en) Method and apparatus for synchronizing program-pattern generating circuits
JPS597974B2 (en) Synchronizer for loop transmission system
JP2655457B2 (en) Frame synchronization protection circuit
JP2591850B2 (en) Frame synchronization circuit
KR0120533B1 (en) Multiplex analog component
JPH04207832A (en) Synchronization detecting system
JPS6145656A (en) Auxiliary equipment for detecting and reflecting remote code error
JPH0993228A (en) Bit error measurement circuit
JPS5816661B2 (en) data receiving device
JPH09181709A (en) Clock extract circuit for cmi code
JPH0823329A (en) Frame synchronization circuit
JPH0470025A (en) Error measuring instrument
JPH11284615A (en) Synchronism acquiring method for program pattern and code error rate measuring instrument
JPH05114898A (en) Frame synchronizing circuit for digital transmission system
JP2003060732A (en) Device for discriminating data transmission rate, data receiver and multirate transmission system