JP2002247143A - Bit error insertion circuit of PN pattern generator - Google Patents

Bit error insertion circuit of PN pattern generator

Info

Publication number
JP2002247143A
JP2002247143A JP2001046000A JP2001046000A JP2002247143A JP 2002247143 A JP2002247143 A JP 2002247143A JP 2001046000 A JP2001046000 A JP 2001046000A JP 2001046000 A JP2001046000 A JP 2001046000A JP 2002247143 A JP2002247143 A JP 2002247143A
Authority
JP
Japan
Prior art keywords
signal
pattern
circuit
bit error
bit
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
JP2001046000A
Other languages
Japanese (ja)
Other versions
JP4719867B2 (en
Inventor
Gen Saito
弦 斎藤
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP2001046000A priority Critical patent/JP4719867B2/en
Publication of JP2002247143A publication Critical patent/JP2002247143A/en
Application granted granted Critical
Publication of JP4719867B2 publication Critical patent/JP4719867B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

(57)【要約】 【課題】ビットエラーの挿入位置が、PNパターン信号
を構成するビット列の任意の位置に設定可能とするPN
パターンジェネレータのビットエラー挿入回路を提供す
ることを目的とする。 【解決手段】PNパターン信号を発生させるPNパター
ン生成部1と、PNパターン信号に挿入するビットエラ
ーの挿入タイミングを生成するエラー挿入タイミング生
成部12と、PNパターン信号に挿入するビットエラー
の挿入信号を生成するエラー生成部13と、PNパター
ン信号に挿入するビットエラーのビット位置を決定する
エラー挿入位置決定部14と、入力データにPNパター
ン信号を挿入すると共にPNパターン信号を構成するビ
ット列の任意の位置に1ビットのビットエラーを挿入す
るPNパターン/PNエラー挿入部3とにより構成す
る。
(57) [Summary] A PN that enables a bit error insertion position to be set at an arbitrary position of a bit string constituting a PN pattern signal.
It is an object to provide a bit error insertion circuit of a pattern generator. A PN pattern generation unit for generating a PN pattern signal, an error insertion timing generation unit for generating a bit error insertion timing to be inserted into the PN pattern signal, and a bit error insertion signal to be inserted into the PN pattern signal , An error insertion position determination unit 14 that determines the bit position of a bit error to be inserted into the PN pattern signal, and an arbitrary bit string that forms the PN pattern signal while inserting the PN pattern signal into the input data. And a PN pattern / PN error insertion unit 3 for inserting a 1-bit bit error at the position of.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はPNパターンジェネ
レータのビットエラー挿入回路に関し、特に伝送装置の
開通試験時、或るいは、保守作業時等に行う回線品質の
確認の際に、試験信号となるPNパターン信号のビット
エラー検出を行うために用いるPNパターンジェネレー
タのビットエラー挿入回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bit error insertion circuit of a PN pattern generator, and more particularly, to a test signal at the time of an opening test of a transmission apparatus or at the time of checking the line quality at the time of maintenance work or the like. The present invention relates to a bit error insertion circuit of a PN pattern generator used for detecting a bit error of a PN pattern signal.

【0002】[0002]

【従来の技術】TDM伝送装置等においては、開通試験
時、或いは、保守作業時等に、フレーム信号の各ユーザ
に対応するタイムスロット(以降、TSと称す)毎に、
試験信号となるPNパターン信号を一方のノードで挿入
し、もう一方のノードで、受信するPNパターン信号の
ビットエラーをカウントすることにより、回線品質の確
認を行う。その際に、前処理として、受信したPNパタ
ーン信号のビットエラーを確認する手段が正常に動作し
ていることを認識するため、PNパターン信号を送出す
る時に、予め強制的にPNパターン信号の1ビットを誤
らせる処理を行い、受信側にてPNパターン信号に1ビ
ットのビットエラーが生じていることの検出を行う。こ
の操作は、保守者が、受信するPNパターン信号のビッ
トエラーの発生状況を確認しながら手動で適宜に行うた
め、通常、1ビットのビットエラーの挿入間隔は、数秒
以上の間隔をあけるのが一般的である。そこで、TDM
伝送装置等では、PNパターンジェネレータに、1ビッ
トのビットエラーを所要の間隔で挿入する回路が付加さ
れている。
2. Description of the Related Art In a TDM transmission apparatus or the like, at the time of an opening test or at the time of maintenance work, for each time slot (hereinafter referred to as TS) corresponding to each user of a frame signal,
A PN pattern signal serving as a test signal is inserted at one node, and the other node counts bit errors of the received PN pattern signal, thereby confirming the line quality. At this time, as a preprocessing, in order to recognize that the means for confirming the bit error of the received PN pattern signal is operating normally, when transmitting the PN pattern signal, the PN pattern signal is forcibly set to 1 in advance. A process for making a bit erroneous is performed, and the reception side detects that a 1-bit error has occurred in the PN pattern signal. This operation is appropriately performed manually by a maintenance person while checking the bit error occurrence state of the received PN pattern signal. Therefore, the insertion interval of a 1-bit bit error usually has an interval of several seconds or more. General. So, TDM
In a transmission device or the like, a circuit for inserting a 1-bit bit error at a required interval is added to a PN pattern generator.

【0003】図5は、従来から用いられているPNパタ
ーンジェネレータのビットエラー挿入回路の構成例であ
る。同図は、8kHzのクロック1周期を1フレームと
する伝送速度8.192Mbit/secの伝送装置の
場合を示し、特定のTSに8ビットのPNパターンを挿
入すると共に、PNパターン信号に1ビットのビットエ
ラーを挿入する。そこで、PNパターンジェネレータの
ビットエラー挿入回路は、PNパターン信号を発生させ
るPNパターン生成部1と、ビットエラーを発生させる
タイミングを生成するエラー生成部2と、入力データに
PNパターン信号を挿入すると共にPNパターン信号を
構成するビット列に1ビットのビットエラーを挿入する
PNパターン/PNエラー挿入部3とにより構成する。
FIG. 5 shows a configuration example of a bit error insertion circuit of a conventionally used PN pattern generator. The figure shows a case of a transmission device having a transmission rate of 8.192 Mbit / sec, in which one cycle of a clock of 8 kHz is defined as one frame. An 8-bit PN pattern is inserted into a specific TS, and a 1-bit PN pattern signal is inserted into a PN pattern signal. Insert a bit error. Therefore, the bit error insertion circuit of the PN pattern generator includes a PN pattern generation unit 1 for generating a PN pattern signal, an error generation unit 2 for generating a timing for generating a bit error, and a PN pattern signal inserted into input data. The PN pattern / PN error insertion unit 3 inserts a 1-bit bit error into a bit sequence forming a PN pattern signal.

【0004】PNパターン生成部1には、PNパターン
信号出力タイミング信号を生成するPN TIM出力回
路4と、PNパターン信号を発生させるPNパターンジ
ェネレータ5を備え、エラー生成部2は、エラー挿入信
号(ERR ADD)の立ち上がりエッジを検出するエ
ッジ検出回路6と、検出したエッジ信号を保持するラッ
チ回路7と、AND回路8とを備え、PNパターン/P
Nエラー挿入部3は、PNパターン信号を構成するビッ
ト列の1ビットを誤らせるEX OR回路9と、入力デ
ータにPNパターン信号を挿入するタイミングを生成す
るAND回路10と、入力データにPNパターン信号を
挿入するセレクト回路11とを備えている。
The PN pattern generator 1 includes a PN TIM output circuit 4 for generating a PN pattern signal output timing signal, and a PN pattern generator 5 for generating a PN pattern signal. ERR ADD), a latch circuit 7 for holding the detected edge signal, and an AND circuit 8.
The N error insertion unit 3 includes an EXOR circuit 9 for making one bit of the bit string constituting the PN pattern signal erroneous, an AND circuit 10 for generating a timing for inserting the PN pattern signal into the input data, and a PN pattern signal for the input data. And a select circuit 11 to be inserted.

【0005】又、図5において、ビットエラー挿入回路
に入出力する信号を説明すると、PNINSは、PNパ
ターン信号を発生させる信号を示し、TIM INS
は、PNパターン信号の挿入位置を示すタイミング信号
であり、DAT INは、主信号からなるデータ入力を
示す。ERR ADDは、ソフトウェアの指示により非
同期で動作するエラー挿入信号を示し、8MCLKは、
8.192Mbit/secのクロック信号を示し、D
AT OUTは、PNパターンの挿入及びビットエラー
の挿入処理がなされた主信号のデータ出力を示す。
Referring to FIG. 5, a signal input / output to / from the bit error insertion circuit will be described. PNINS indicates a signal for generating a PN pattern signal, and TIM INS
Is a timing signal indicating the insertion position of the PN pattern signal, and DAT IN indicates a data input composed of a main signal. ERR ADD indicates an error insertion signal that operates asynchronously according to a software instruction, and 8MCLK indicates
8.192 Mbit / sec clock signal;
AT OUT indicates the data output of the main signal after the insertion of the PN pattern and the insertion of the bit error.

【0006】図5の動作を説明すると、PNパターン生
成部1においては、PN INS信号を位相反転しTI
M INS信号と共にOR回路に入力して得たPNパタ
ーン信号の出力タイミング信号(PN TIM信号)を
PN TIM出力回路4から出力し、PNパターンジェ
ネレータ5を制御して所定のタイミングで8ビットのP
Nパターン信号を出力する。エラー生成部2は、エッジ
検出回路6によりERR ADD信号の立ち上がりエッ
ジを検出して、ラッチ回路7により検出信号を保持す
る。保持した出力と前記PN TIM信号をAND回路
8に入力することにより、PNパターン信号にビットエ
ラーを挿入するタイミング信号を生成し、PNパターン
/PNエラー挿入部3のEX OR回路9へ入力する。
PNパターン/PNエラー挿入部3は、PNパターン信
号をデータ入力に挿入するタイミングを決定するAND
回路10の制御により、セレクト回路11においてデー
タ入力にPNパターンを挿入すると共に、EX OR回
路9において、所定のタイミングでPNパターン信号に
ビットエラーを挿入する。尚、PNパターン信号は、1
TS分の8ビットからなるPNパターン信号、2TS分
の16ビットからなるPNパターン信号、3TS分の2
4ビットからなるPNパターン信号等のようにビット長
を設定可能である。
The operation of FIG. 5 will be described. In the PN pattern generation section 1, the PN INS signal is inverted in phase and TI
The PN TIM output circuit 4 outputs an output timing signal (PN TIM signal) of a PN pattern signal obtained by being input to the OR circuit together with the M INS signal, and controls the PN pattern generator 5 to generate an 8-bit P at a predetermined timing.
An N pattern signal is output. The error generator 2 detects the rising edge of the ERR ADD signal by the edge detection circuit 6 and holds the detection signal by the latch circuit 7. By inputting the held output and the PN TIM signal to the AND circuit 8, a timing signal for inserting a bit error into the PN pattern signal is generated and input to the EXOR circuit 9 of the PN pattern / PN error insertion unit 3.
The PN pattern / PN error insertion unit 3 determines the timing for inserting the PN pattern signal into the data input.
Under the control of the circuit 10, a PN pattern is inserted into the data input in the select circuit 11, and a bit error is inserted into the PN pattern signal at a predetermined timing in the EXOR circuit 9. The PN pattern signal is 1
PN pattern signal consisting of 8 bits for TS, PN pattern signal consisting of 16 bits for 2TS, 2 / 3TS
The bit length can be set, such as a 4-bit PN pattern signal.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
PNパターンジェネレータを用いたビットエラー挿入回
路は、1ビットのビットエラーをPNパターン信号に挿
入する際に、その挿入タイミングが、1フレームを構成
する入力データの任意の位置に挿入されたPNパターン
信号のビット列範囲に一致しない時は、必ず、所定ビッ
ト長からなるPNパターン信号の第一ビットにビットエ
ラーを挿入するよう動作していた。
However, when a bit error insertion circuit using a conventional PN pattern generator inserts a 1-bit bit error into a PN pattern signal, the insertion timing forms one frame. Whenever it does not match the bit string range of the PN pattern signal inserted at an arbitrary position in the input data, a bit error is always inserted into the first bit of the PN pattern signal having a predetermined bit length.

【0008】図6に、従来のPNパターンジェネレータ
を用いたビットエラー挿入回路の動作イメージ図を示
す。同図を説明すると、(1)は、8kHzのクロック
信号を示し、1フレーム間に1024ビットを伝送す
る。(2)は、1フレームを構成するビット列のなか
で、8ビットのPNパターン信号を挿入した位置を示
し、(3)は、1フレーム1024ビットの中で、1ビ
ットのビットエラーを挿入しようとしたタイミング位置
を示す。図6の表示例によると、1フレーム1024ビ
ットの中で、ビットエラーの挿入指示がされたビット
は、4ビット目のビットB4であるが、8ビットのPN
パターン信号が挿入されたビット列範囲からずれている
ため、そのまま4ビット目のビットにビットエラーを挿
入することは出来ない。そこで、前述したビットエラー
挿入タイミングを生成するエラー生成部においては、ビ
ットエラーを挿入するビット位置が、8ビットのPNパ
ターン信号が挿入されているビット列範囲からずれてい
る場合は、ビットエラーの挿入動作を、8ビットのPN
パターン信号のビット列が挿入されている位置まで保留
し、その挿入位置に達すると、8ビットからなるPNパ
ターン信号の第一ビットの符号を反転して、PNパター
ン信号にビットエラーを挿入するよう動作していた。
FIG. 6 shows an operation image diagram of a bit error insertion circuit using a conventional PN pattern generator. Referring to the figure, (1) shows an 8 kHz clock signal, which transmits 1024 bits during one frame. (2) shows a position where an 8-bit PN pattern signal is inserted in a bit string constituting one frame, and (3) shows an attempt to insert a one-bit error in 1024 bits of one frame. This shows the timing position that was set. According to the display example of FIG. 6, the bit for which the bit error is instructed is the fourth bit B4 in the 1024 bits of one frame, but the PN of 8 bits is used.
Since the pattern signal is out of the range of the inserted bit string, the bit error cannot be directly inserted into the fourth bit. Therefore, in the above-described error generation unit that generates the bit error insertion timing, if the bit position where the bit error is inserted is out of the range of the bit string in which the 8-bit PN pattern signal is inserted, the bit error insertion is performed. Operation is performed using an 8-bit PN
When the bit string of the pattern signal is inserted into the PN pattern signal, the code is retained until the insertion position is reached. Was.

【0009】ビットエラー挿入指示は、1024ビット
の範囲で任意に指定されるため、ビットエラー挿入指示
が、8ビットのPNパターン信号のビット列範囲に含ま
れる可能性は低く、従って、ビットエラーの挿入位置
が、8ビットからなるPNパターン信号の第一ビットに
集中する場合が多くなることが予測される。そのため、
8ビットからなるPNパターン信号の任意のビットにビ
ットエラーを挿入することが不可能で、8ビットからな
るPNパターン信号の第一ビットにビットエラーの挿入
が偏ることから、PNパターン信号に挿入したビットエ
ラーを確認する手段が正常に動作していることの認識に
不都合を生じていた。本発明は、上述したような従来か
ら用いられているPNパターンジェネレータのビットエ
ラー挿入回路の問題を解決するためになされたものであ
って、ビットエラーの挿入位置を、PNパターン信号を
構成するビット列の任意の位置に設定可能とするPNパ
ターンジェネレータのビットエラー挿入回路を提供する
ことを目的とする。
Since the bit error insertion instruction is arbitrarily specified within a range of 1024 bits, it is unlikely that the bit error insertion instruction is included in the bit string range of the 8-bit PN pattern signal. It is expected that the position will often be concentrated on the first bit of the 8-bit PN pattern signal. for that reason,
Since it is impossible to insert a bit error into an arbitrary bit of the 8-bit PN pattern signal, and the bit error is inserted into the first bit of the 8-bit PN pattern signal, the bit error is inserted into the PN pattern signal. There has been inconvenience in recognizing that the means for checking the bit error is operating normally. SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem of the bit error insertion circuit of the PN pattern generator which has been conventionally used. It is an object of the present invention to provide a bit error insertion circuit of a PN pattern generator which can be set at an arbitrary position.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明に係わるPNパターンジェネレータのビットエ
ラー挿入回路は、以下の構成をとる。請求項1記載のP
Nパターンジェネレータのビットエラー挿入回路は、伝
送装置間の回線品質を確認する際に主信号に挿入し試験
信号として用いるPNパターン信号へのビットエラー挿
入回路において、所定のタイミングにより出力する所定
ビット長のPNパターン信号及びPNパターン信号出力
タイミング信号を生成するPNパターン生成部と、PN
パターン信号に挿入するビットエラーの挿入タイミング
信号を生成するエラー挿入タイミング生成部と、PNパ
ターン信号に挿入するビットエラーの挿入信号を生成す
るエラー生成部と、PNパターン信号に挿入するビット
エラーのビット位置を決定するエラー挿入位置決定部
と、入力データにPNパターン信号を挿入すると共にP
Nパターン信号を構成するビット列の任意の位置に1ビ
ットのビットエラーを挿入するPNパターン/PNエラ
ー挿入部とにより構成する。
To achieve the above object, a bit error insertion circuit of a PN pattern generator according to the present invention has the following configuration. P according to claim 1
The bit error insertion circuit of the N pattern generator is a bit error insertion circuit which is inserted into the main signal when checking the line quality between the transmission devices and is inserted into the PN pattern signal used as a test signal, and which is output at a predetermined timing. A PN pattern generating unit for generating a PN pattern signal and a PN pattern signal output timing signal;
An error insertion timing generator for generating a bit error insertion timing signal to be inserted into the pattern signal; an error generator for generating a bit error insertion signal to be inserted into the PN pattern signal; and a bit error bit to be inserted into the PN pattern signal An error insertion position determining unit for determining a position; a PN pattern signal inserted into input data;
A PN pattern / PN error insertion unit that inserts a 1-bit bit error at an arbitrary position in a bit string forming the N pattern signal.

【0011】請求項2記載のPNパターンジェネレータ
のビットエラー挿入回路は、前記PNパターン生成部
が、PNパターン発生信号及びPNパターン挿入位置タ
イミング信号を論理回路に入力してPNパターン信号出
力タイミング信号を出力するPN TIM出力回路と、
所定のタイミングにより所定ビット長のPNパターン信
号を出力するPNパターンジェネレータとにより構成す
る。
According to a second aspect of the present invention, in the bit error insertion circuit of the PN pattern generator, the PN pattern generation section inputs a PN pattern generation signal and a PN pattern insertion position timing signal to a logic circuit and outputs a PN pattern signal output timing signal. A PN TIM output circuit for outputting,
A PN pattern generator that outputs a PN pattern signal having a predetermined bit length at a predetermined timing.

【0012】請求項3記載のPNパターンジェネレータ
のビットエラー挿入回路は、前記エラー挿入タイミング
生成部が、複数のタイムスロットにより構成する入力デ
ータのフレーム周期の立ち上がりエッジを検出するエッ
ジ検出回路と、検出した前記エッジ信号を所定の時間ク
ロック信号に同期して保持する第一のラッチ回路と、該
第一のラッチ回路が出力する保持信号と前記PNパター
ン信号出力タイミング信号とを入力してPNパターン信
号挿入開始タイミング信号を生成する第一のAND回路
と、前記PNパターン信号挿入開始タイミング信号によ
りカウンタをロードした後クロック信号をカウントする
ことによりPNパターン信号のビット数をカウントする
第一のカウンタ回路と、前記第一のカウンタ回路出力と
後述する第二のカウンタ回路出力のカウント値を比較し
てカウント値が一致するタイミングを生成しビットエラ
ー挿入タイミング信号を出力する比較回路とにより構成
する。
According to a third aspect of the present invention, there is provided a bit error insertion circuit of the PN pattern generator, wherein the error insertion timing generation section detects a rising edge of a frame period of input data constituted by a plurality of time slots; A first latch circuit that holds the edge signal in synchronization with a clock signal for a predetermined time, a PN pattern signal that receives the holding signal output by the first latch circuit and the PN pattern signal output timing signal, A first AND circuit that generates an insertion start timing signal, and a first counter circuit that counts the number of bits of the PN pattern signal by counting a clock signal after loading a counter with the PN pattern signal insertion start timing signal. , The output of the first counter circuit and a second By comparing the count value of the printer circuit output constituted by the comparator circuit the count value and outputs the generated bit error insertion timing signal matching timing.

【0013】請求項4記載のPNパターンジェネレータ
のビットエラー挿入回路は、前記エラー生成部が、エラ
ー挿入信号の立ち上がりエッジを検出するエッジ検出回
路と、検出した前記エッジ信号をクロック信号に同期し
て所定の時間保持する第二のラッチ回路及びDFF回路
と、該DFF回路が出力する保持信号と前記PNパター
ン信号出力タイミング信号と前記比較回路が出力するビ
ットエラー挿入タイミング信号とを入力しPNパターン
信号にビットエラーを挿入するためのビットエラー挿入
信号を生成する第二のAND回路とにより構成する。
According to a fourth aspect of the present invention, in the bit error insertion circuit of the PN pattern generator, the error generation section detects an edge detection circuit for detecting a rising edge of the error insertion signal, and synchronizes the detected edge signal with a clock signal. A second latch circuit and a DFF circuit for holding for a predetermined time, a PN pattern signal which receives a holding signal output from the DFF circuit, the PN pattern signal output timing signal, and a bit error insertion timing signal output from the comparison circuit; And a second AND circuit that generates a bit error insertion signal for inserting a bit error into the data.

【0014】請求項5記載のPNパターンジェネレータ
のビットエラー挿入回路は、前記エラー挿入位置決定部
が、前記PNパターン信号挿入開始タイミング信号と前
記ビットエラー挿入タイミング信号とを入力し第二のカ
ウンタ回路をロードする第三のAND回路と、前記PN
パターン信号挿入開始タイミング信号を入力してクロッ
ク信号をカウントしPNパターン信号に挿入するビット
エラーの挿入位置を決定する第二のカウンタ回路とによ
り構成する。
6. The bit error insertion circuit of a PN pattern generator according to claim 5, wherein said error insertion position determination section receives said PN pattern signal insertion start timing signal and said bit error insertion timing signal and outputs a second counter circuit. And a third AND circuit for loading the PN
A second counter circuit which receives a pattern signal insertion start timing signal, counts a clock signal, and determines a bit error insertion position to be inserted into the PN pattern signal.

【0015】請求項6記載のPNパターンジェネレータ
のビットエラー挿入回路は、前記PNパターン/PNエ
ラー挿入部が、前記PNパターン信号と前記ビットエラ
ー挿入信号とを入力しPNパターン信号の所定のビット
を1ビット誤らせるEX OR回路と、前記PNパター
ン発生信号及び前記PNパターン挿入位置タイミング信
号とを入力しPNパターン信号を主信号に挿入するタイ
ミングを生成する第四のAND回路と、該第四のAND
回路の出力信号により制御し入力データ或いはビットエ
ラーを含むPNパターン信号を選択して出力するセレク
ト回路とにより構成する。
According to a sixth aspect of the present invention, in the bit error insertion circuit of the PN pattern generator, the PN pattern / PN error insertion section inputs the PN pattern signal and the bit error insertion signal and converts predetermined bits of the PN pattern signal. An EXOR circuit for making one bit wrong; a fourth AND circuit for receiving the PN pattern generation signal and the PN pattern insertion position timing signal and generating a timing for inserting the PN pattern signal into the main signal;
And a select circuit for selecting and outputting input data or a PN pattern signal including a bit error by controlling the output signal of the circuit.

【0016】[0016]

【発明の実施の形態】以下、図示した実施例に基づいて
本発明を詳細に説明する。図1は、本発明に係るPNパ
ターンジェネレータのビットエラー挿入回路の一実施例
を示す構成図である。同図は、8kHzのクロック1周
期を1フレームとする伝送速度8.192Mbit/s
ecの伝送装置の場合を示し、特定のTSに8ビットの
PNパターンを挿入すると共に、PNパターン信号の任
意の位置に1ビットのビットエラーを挿入する。そこ
で、PNパターンジェネレータのビットエラー挿入回路
は、PNパターン信号を発生させるPNパターン生成部
1と、PNパターン信号に挿入するビットエラーの挿入
タイミングを生成するエラー挿入タイミング生成部12
と、PNパターン信号に挿入するビットエラーの挿入信
号を生成するエラー生成部13と、PNパターン信号に
挿入するビットエラーのビット位置を決定するエラー挿
入位置決定部14と、入力データにPNパターン信号を
挿入すると共にPNパターン信号を構成するビット列の
任意の位置に1ビットのビットエラーを挿入するPNパ
ターン/PNエラー挿入部3とにより構成する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on illustrated embodiments. FIG. 1 is a configuration diagram showing one embodiment of a bit error insertion circuit of a PN pattern generator according to the present invention. The figure shows a transmission rate of 8.192 Mbit / s, where one cycle of a clock of 8 kHz is one frame.
ec shows a case of a transmission device, in which an 8-bit PN pattern is inserted into a specific TS and a 1-bit error is inserted at an arbitrary position of the PN pattern signal. Therefore, the bit error insertion circuit of the PN pattern generator includes a PN pattern generation unit 1 for generating a PN pattern signal and an error insertion timing generation unit 12 for generating a bit error insertion timing to be inserted into the PN pattern signal.
An error generation unit 13 that generates a bit error insertion signal to be inserted into the PN pattern signal; an error insertion position determination unit 14 that determines the bit position of the bit error to be inserted into the PN pattern signal; And a PN pattern / PN error insertion unit 3 that inserts a 1-bit bit error at an arbitrary position in a bit string forming the PN pattern signal.

【0017】又、PNパターン生成部1には、PNパタ
ーン信号の出力タイミングを生成するPN TIM出力
回路4と、8ビットのPNパターン信号を発生させるP
Nパターンジェネレータ5とを備え、エラー挿入タイミ
ング生成部12は、8kクロック信号(8kCLK)の
立ち上がりエッジを検出するエッジ検出回路15と、所
定の時間、検出したエッジ信号を保持する第一のラッチ
回路16と、所定の論理回路を構成する第一のAND回
路17と、PNパターン信号のビット数をカウントする
第一のカウンタ回路18と、PNパターン信号に挿入す
るビットエラーの挿入タイミングを生成する比較回路1
9とを備え、エラー生成部13は、エラー挿入信号(E
RR ADD)の立ち上がりエッジを検出するエッジ検
出回路20と、所定の時間、検出したエッジ信号を保持
する第二のラッチ回路21及びDFF回路22と、PN
パターン信号にビットエラーを挿入する際に出力するビ
ットエラー挿入信号を生成する第二のAND回路23と
を備えている。
The PN pattern generating section 1 has a PN TIM output circuit 4 for generating the output timing of the PN pattern signal and a P / N circuit for generating an 8-bit PN pattern signal.
An error insertion timing generator 12 includes an N pattern generator 5, an edge detection circuit 15 for detecting a rising edge of an 8k clock signal (8kCLK), and a first latch circuit for holding the detected edge signal for a predetermined time. 16, a first AND circuit 17 constituting a predetermined logic circuit, a first counter circuit 18 for counting the number of bits of the PN pattern signal, and a comparison for generating a bit error insertion timing to be inserted into the PN pattern signal. Circuit 1
9 and the error generation unit 13 outputs the error insertion signal (E
An edge detection circuit 20 for detecting a rising edge of the RR ADD), a second latch circuit 21 and a DFF circuit 22 for holding the detected edge signal for a predetermined time,
A second AND circuit 23 that generates a bit error insertion signal that is output when a bit error is inserted into the pattern signal.

【0018】エラー挿入位置決定部14は、所定の論理
回路を構成する第三のAND回路24と、PNパターン
信号に挿入するビットエラーのビット位置を決定する第
二のカウンタ回路25とを備え、PNパターン/PNエ
ラー挿入部3は、PNパターン信号を構成するビットを
1ビット誤らせるEX OR回路9と、PNパターン信
号を挿入するタイミングを生成する第四のAND回路1
0と、入力データにPNパターン信号を挿入するセレク
ト回路11とを備えている。
The error insertion position determining unit 14 includes a third AND circuit 24 constituting a predetermined logic circuit, and a second counter circuit 25 for determining a bit position of a bit error to be inserted into the PN pattern signal. The PN pattern / PN error insertion section 3 includes an EXOR circuit 9 for erroneously changing one bit constituting the PN pattern signal and a fourth AND circuit 1 for generating a timing for inserting the PN pattern signal.
0 and a select circuit 11 for inserting a PN pattern signal into input data.

【0019】又、図1においてビットエラー挿入回路に
入出力する信号を説明すると、PNINSは、PNパタ
ーン信号を発生させる信号を示し、TIM INSは、
PNパターン信号の挿入位置を示すタイミング信号であ
り、DAT INは、主信号からなるデータ入力を示
す。ERR ADDは、ソフトウェアの指示により非同
期で動作するエラー挿入信号を示し、8kCLKは、8
kHzのクロック信号を示し、8MCLKは、8.19
2Mbit/secのクロック信号を示し、DAT O
UTは、PNパターン信号の挿入及びビットエラーの挿
入処理がなされた主信号のデータ出力を示す。
In FIG. 1, signals input to and output from the bit error insertion circuit will be described. PNINS indicates a signal for generating a PN pattern signal, and TIM INS indicates
This is a timing signal indicating the insertion position of the PN pattern signal, and DAT IN indicates a data input composed of a main signal. ERR ADD indicates an error insertion signal that operates asynchronously under the instruction of software, and 8kCLK indicates 8
kHz clock signal, 8MCLK is 8.19
A clock signal of 2 Mbit / sec.
The UT indicates the data output of the main signal after the insertion of the PN pattern signal and the insertion of the bit error.

【0020】次に、図1の動作を、図2に示した本発明
に係るPNパターンジェネレータのビットエラー挿入回
路の動作イメージ図を含めて説明する。図2の(1)〜
(3)は、1フレーム構成内のビット配置図を示し、
(4)は、ビットエラー挿入位置の決定のために設けた
カウンタの説明図を示す。先ず、外部よりの指示によ
り、PNパターン信号を挿入するTS位置を設定し、
(2)に示す位置にPNパターン信号を挿入する。
(4)に示すカウンタは、1フレーム毎に1つ進むカウ
ンタで、挿入するPNパターン信号を8ビットとした際
は、8カウントのカウンタとする。そこで、カウンタの
取りえる値は0〜7とし、(3)に示すビットエラー挿
入位置に対応する。そこで、外部より1ビットのビット
エラー挿入を指示されると、挿入指示決定ポイントが示
すカウンタの値が、ビットエラーを挿入するビット位置
となり、本図においては、カウンタ値が2の位置でビッ
トエラーの挿入を指示されたので、(3)に示すPNパ
ターン信号の第4ビットの論理を反転させ、PNパター
ン信号にビットエラーを挿入する。従って、ビットエラ
ーの挿入位置の選択は、PNパターン信号を構成する8
ビット内において行われ、ビットエラー挿入指示タイミ
ング以降のPNパターン信号に対して所定の位置にビッ
トエラーが挿入される。当然のことながら、PNパター
ン信号の挿入を16ビットにした場合、カウンタの取り
える範囲は、0〜15となり、挿入するPNパターン信
号のビット数に対応してカウンタの取り得る範囲を可変
すればよい。
Next, the operation of FIG. 1 will be described with reference to the operation image diagram of the bit error insertion circuit of the PN pattern generator according to the present invention shown in FIG. FIG. 2 (1)-
(3) shows a bit arrangement diagram in one frame configuration,
(4) is an explanatory diagram of a counter provided for determining a bit error insertion position. First, according to an external instruction, a TS position where a PN pattern signal is to be inserted is set,
The PN pattern signal is inserted at the position shown in (2).
The counter shown in (4) is a counter that advances by one for each frame. When the PN pattern signal to be inserted is 8 bits, it is an 8 count counter. Therefore, the value that can be taken by the counter is set to 0 to 7 and corresponds to the bit error insertion position shown in (3). Therefore, when a bit error insertion of 1 bit is instructed from the outside, the value of the counter indicated by the insertion instruction decision point becomes the bit position where the bit error is inserted, and in FIG. Therefore, the logic of the fourth bit of the PN pattern signal shown in (3) is inverted, and a bit error is inserted into the PN pattern signal. Therefore, the selection of the insertion position of the bit error depends on the number of bits constituting the PN pattern signal.
This is performed within a bit, and a bit error is inserted at a predetermined position with respect to the PN pattern signal after the bit error insertion instruction timing. Naturally, when the insertion of the PN pattern signal is 16 bits, the range that the counter can take is 0 to 15, and if the range that the counter can take is varied according to the number of bits of the PN pattern signal to be inserted, Good.

【0021】次に、図1の動作を、図3、図4のタイミ
ングチャートを含めて説明する。図3は、本発明に係る
PNパターンジェネレータのビットエラー挿入回路にお
いて、PNパターン信号を挿入する動作を示すタイミン
グチャートであり、図4は、本発明に係るPNパターン
ジェネレータのビットエラー挿入回路において、ビット
エラーを挿入する動作を示すタイミングチャートであ
る。タイミングチャートの信号名に表示している( )
で囲ったアルファベットは、図1に示す本発明に係るP
Nパターンジェネレータのビットエラー挿入回路の一実
施例を示す構成図において、入出力信号及び各構成要素
の入出力部に表示している( )で囲ったアルファベット
と同一な信号を示す。
Next, the operation of FIG. 1 will be described with reference to the timing charts of FIGS. FIG. 3 is a timing chart showing an operation of inserting a PN pattern signal in the bit error insertion circuit of the PN pattern generator according to the present invention. FIG. 6 is a timing chart illustrating an operation of inserting a bit error. Displayed in the signal name of the timing chart ()
The alphabets enclosed by are the Ps according to the present invention shown in FIG.
In the configuration diagram showing an embodiment of the bit error insertion circuit of the N pattern generator, input / output signals and signals identical to the alphabets enclosed in parentheses () displayed on the input / output section of each component are shown.

【0022】そこで、図1及び図3を用いて、主信号か
らなる入力データに8ビットのPNパターン信号を挿入
する際の動作を説明する。PNパターン生成部1は、
(a)PN INS信号を位相反転し、(b)TIM
INS信号と共にOR回路に入力して得たPNパターン
信号の出力タイミング信号である(c)PN TIM信
号を、PN TIM出力回路4から出力し、PNパター
ンジェネレータ5を制御して所定のタイミングで(d)
PN OUT信号を出力する。PNパターン/PNエラ
ー挿入部3は、セレクト回路11において、通常、主信
号で構成する入力データ(e)DAT IN信号を選択
して(f)DAT OUTとして出力しているが、第四
のAND回路10の入力信号である(a)PN INS
及び(b)TIM INSが共に論理「1」であるタイ
ミングにおいてセレクト回路11を動作させ、EX O
R回路9を介してPNパターン信号を挿入し、(f)D
ATOUTとして出力する。
An operation for inserting an 8-bit PN pattern signal into input data composed of a main signal will be described with reference to FIGS. The PN pattern generation unit 1
(A) PN INS signal is inverted, (b) TIM
The PN TIM signal, which is the output timing signal of the PN pattern signal obtained by inputting the PN signal to the OR circuit together with the INS signal, is output from the PN TIM output circuit 4, and the PN pattern generator 5 is controlled at a predetermined timing ( d)
Outputs PN OUT signal. The PN pattern / PN error insertion unit 3 normally selects the input data (e) DAT IN signal composed of the main signal and outputs it as (f) DAT OUT in the select circuit 11, but the fourth AND (A) PN INS which is an input signal of the circuit 10
And (b) operate the select circuit 11 at the timing when both TIM INS are logic “1”, and
A PN pattern signal is inserted through the R circuit 9 and (f) D
Output as ATOUT.

【0023】次に、図1及び図4を用いて、入力データ
に挿入した8ビットのPNパターン信号に、1ビットの
ビットエラーを挿入する際の動作を説明する。エラー挿
入タイミング生成部12において、(g)8kCLK信
号の立ち上がりエッジをエッジ検出回路15により検出
し、(i)8kCLKエッジ検出信号を第一のラッチ回
路16へ入力する。第一のラッチ回路16は、(h)8
MCLK信号に同期させ、前記(i)8kCLKエッジ
検出信号の論理「1」が入力されることによりセットさ
れると共に、前記(c)PN TIM信号の論理「1」
のタイミングによりリセットし、(j)ラッチ1Q信号
となる。更に、(j)ラッチ1Q信号と、(c)PN
TIM信号を第一のAND回路17へ入力し、PNパタ
ーン信号の挿入を開始するタイミング信号である(k)
ラッチ1Q・PN TIM信号を出力する。
Next, the operation of inserting a 1-bit error into the 8-bit PN pattern signal inserted into the input data will be described with reference to FIGS. In the error insertion timing generator 12, (g) the rising edge of the 8 kCLK signal is detected by the edge detection circuit 15, and (i) the 8 kCLK edge detection signal is input to the first latch circuit 16. The first latch circuit 16 has (h) 8
In synchronization with the MCLK signal, it is set by inputting (i) the logic "1" of the 8kCLK edge detection signal, and (c) the logic "1" of the PN TIM signal.
At the timing of (1), and becomes the (j) latch 1Q signal. Further, (j) latch 1Q signal and (c) PN
A timing signal for inputting the TIM signal to the first AND circuit 17 and starting insertion of the PN pattern signal (k)
The latch 1Q outputs a PN TIM signal.

【0024】一方、エラー生成部13は、(l)エラー
挿入信号(ERR ADD)の立ち上がりエッジをエッ
ジ検出回路20が検出し、得られた(m)ERR AD
Dエッジ検出信号を第二のラッチ回路21へ入力する。
第二のラッチ回路21においては、(h)8MCLK信
号に同期させ、前記(m)ERR ADDエッジ検出信
号の論理「1」が入力されることによりセットされると
共に、前記(k)ラッチ1Q・PN TIM信号でリセ
ットする(n)ラッチ2Q信号を出力する。DFF回路
22は、前記(k)ラッチ1Q・PN TIM信号の論
理が「1」において、(n)ラッチ2Q信号を入力して
出力「1」となる(p)DFF出力信号を出力し、ビッ
トエラー挿入信号を生成する条件の1つとする。
On the other hand, the error generator 13 detects (l) the rising edge of the error insertion signal (ERR ADD) by the edge detection circuit 20 and obtains (m) the obtained ERR AD.
The D edge detection signal is input to the second latch circuit 21.
The second latch circuit 21 is set by inputting the logic "1" of the (m) ERR ADD edge detection signal in synchronization with the (h) 8MCLK signal, and the (k) latch 1Q. Reset with the PN TIM signal (n) Output the latch 2Q signal. When the logic of the (k) latch 1Q · PN TIM signal is “1”, the DFF circuit 22 outputs the (n) latch 2Q signal and outputs a “1” (p) DFF output signal, and outputs a bit. This is one of conditions for generating an error insertion signal.

【0025】次に、エラー挿入タイミング生成部12に
設けた第一のカウンタ回路18は、前記(k)ラッチ1
Q・PN TIM信号によりカウント「0」にロードさ
れた後、前記(c)PN TIM信号が論理「1」の際
に(h)8MCLK信号をカウントして(q)カウンタ
1Q信号を出力する。従って、本実施例においては、
「0」〜「7」までカウントして停止する。又、エラー
挿入位置決定部14に設けられた第二のカウンタ25
は、前記(k)ラッチ1Q・PN TIM信号の論理
「1」の際に(h)8MCLK信号を1クロック分カウ
ントして(r)カウンタ2Q信号を出力して停止する。
図4に示すタイムチャートは、1例として、1クロック
分カウントしてカウンタ値「2」となった場合を示し、
本カウンタは、1フレーム毎に1カウント進み、「7」
をカウントすると「0」にロードされる。
Next, the first counter circuit 18 provided in the error insertion timing generator 12 is provided with the (k) latch 1
After the count “0” is loaded by the Q · PN TIM signal, when the (c) PN TIM signal is logic “1”, (h) counts the 8MCLK signal and (q) outputs the counter 1Q signal. Therefore, in this embodiment,
It counts from "0" to "7" and stops. Also, a second counter 25 provided in the error insertion position determination unit 14
(H) When the logic of the (1) latch 1Q PN TIM signal is "1", (h) count the 8MCLK signal for one clock and (r) output the counter 2Q signal and stop.
The time chart shown in FIG. 4 shows, as an example, a case where the counter value becomes “2” after counting for one clock,
This counter advances one count for each frame, and "7"
Is counted and loaded to "0".

【0026】そこで、エラー挿入タイミング生成部12
に備えた比較回路19において、前記(q)カウンタ1
Q信号と前記(r)カウンタ2Q信号を入力し、第二の
カウンタ回路25が出力しているカウンタ値が、第一の
カウンタ回路18が出力しているカウンタ値と一致する
タイミングにおいて、(s)比較信号を出力する。図4
のタイミングチャートにおいては、8ビットのPNパタ
ーン信号の4ビット目が前記タイミングに相当する。更
に、エラー生成部13に備えた第二のAND回路23に
おいて、前記(c)PN TIM信号と、前記(p)D
FF出力信号と、前記(s)比較信号とを入力し、3入
力信号の論理が共に「1」となるタイミングが、8ビッ
トからなるPNパターン信号に1ビットのビットエラー
を挿入するタイミング信号となり、PNパターン/PN
エラー挿入部3に備えたEX OR回路9へ入力する。
Therefore, the error insertion timing generator 12
In the comparison circuit 19 provided in (1), the (q) counter 1
At the timing when the Q signal and the (r) counter 2Q signal are input and the counter value output from the second counter circuit 25 matches the counter value output from the first counter circuit 18, (s ) Output a comparison signal. FIG.
In the timing chart, the fourth bit of the 8-bit PN pattern signal corresponds to the timing. Further, in the second AND circuit 23 provided in the error generating unit 13, the (c) PN TIM signal and the (p) D
The timing at which the FF output signal and the (s) comparison signal are input and the logic of the three input signals are both "1" is a timing signal for inserting a 1-bit bit error into an 8-bit PN pattern signal. , PN pattern / PN
The data is input to an EXOR circuit 9 provided in the error insertion unit 3.

【0027】従って、(d)PN OUT信号と前記第
二のAND回路23の出力信号を入力しているEX O
R回路9は、ビットエラーを挿入するタイミングにおい
て、第二のAND回路23の出力論理が「1」となり、
そのタイミングに位置する(d)PN OUT信号の4
ビット目の論理を反転させ、ビットエラーを挿入した
後、セレクト回路11より(f)DAT OUT信号と
して出力する。尚、本実施例においては、PNパターン
信号が、1TS分の8ビットである場合について説明し
たが、同一実施例において、2TS分の16ビットから
なるPNパターン信号、3TS分の24ビットからなる
PNパターン信号等のような(8ビット×N)ビットの
ビット列に対し、1ビットのビットエラー挿入が可能で
ある。
Therefore, (d) EXO receiving the PN OUT signal and the output signal of the second AND circuit 23
The R circuit 9 sets the output logic of the second AND circuit 23 to “1” at the timing of inserting the bit error,
(D) 4 of the PN OUT signal located at that timing
After inverting the logic of the bit and inserting a bit error, the select circuit 11 outputs it as a (f) DAT OUT signal. In this embodiment, the case where the PN pattern signal is 8 bits for 1TS has been described. However, in the same embodiment, a PN pattern signal consisting of 16 bits for 2TS and a PN pattern consisting of 24 bits for 3TS. It is possible to insert a 1-bit bit error into a (8-bit × N) -bit bit string such as a pattern signal.

【0028】[0028]

【発明の効果】従来のビットエラー挿入回路は、PNパ
ターン信号の先頭ビットにビットエラーを挿入する確率
が高く、偏った試験になりがちであったが、本発明は上
述したように、請求項1、2、3、4、5、6共に、P
Nパターン信号の全てのビット位置に対して、同じ確率
でビットエラーを挿入することができると共に、追加回
路もカウンタと周辺回路のみと軽微でありことから、T
DM伝送装置等を運用する上で大きな効果を発揮するこ
とが可能である。
The conventional bit error insertion circuit has a high probability of inserting a bit error into the first bit of the PN pattern signal, and tends to be a biased test. P, 1, 2, 3, 4, 5, 6
Bit errors can be inserted with the same probability in all bit positions of the N pattern signal, and the additional circuit is only a counter and a peripheral circuit.
It is possible to exert a great effect in operating a DM transmission device or the like.

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

【図1】本発明に係るPNパターンジェネレータのビッ
トエラー挿入回路の一実施例を示す構成図である。
FIG. 1 is a configuration diagram showing one embodiment of a bit error insertion circuit of a PN pattern generator according to the present invention.

【図2】本発明に係るPNパターンジェネレータのビッ
トエラー挿入回路の動作イメージを示す図である。
FIG. 2 is a diagram showing an operation image of a bit error insertion circuit of the PN pattern generator according to the present invention.

【図3】本発明に係るPNパターンジェネレータのビッ
トエラー挿入回路において、PNパターン信号を挿入す
る動作を示すタイミングチャートである。
FIG. 3 is a timing chart showing an operation of inserting a PN pattern signal in the bit error insertion circuit of the PN pattern generator according to the present invention.

【図4】本発明に係るPNパターンジェネレータのビッ
トエラー挿入回路において、ビットエラーを挿入する動
作を示すタイミングチャートである。
FIG. 4 is a timing chart showing an operation of inserting a bit error in the bit error insertion circuit of the PN pattern generator according to the present invention.

【図5】従来から用いられているPNパターンジェネレ
ータのビットエラー挿入回路の構成例である。
FIG. 5 is a configuration example of a bit error insertion circuit of a conventionally used PN pattern generator.

【図6】従来のPNパターンジェネレータを用いたビッ
トエラー挿入回路の動作イメージ図を示す。
FIG. 6 shows an operation image diagram of a conventional bit error insertion circuit using a PN pattern generator.

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

1・・PNパターン生成部、 2・・エラー生成
部、3・・PNパターン/PNエラー挿入部、4・・P
N TIM出力回路、 5・・PNパターンジェネ
レータ、6・・エッジ検出回路、 7・・ラ
ッチ回路、8・・AND回路、 9・・
EX OR回路、10・・AND回路(第四のAND回
路)、11・・セレクト回路、 12・・エ
ラー挿入タイミング生成部、13・・エラー生成部、
14・・エラー挿入位置決定部、15・・エ
ッジ検出回路、 16・・第一のラッチ回路、
17・・第一のAND回路、 18・・第一のカ
ウンタ回路、19・・比較回路、 20
・・エッジ検出回路、21・・第二のラッチ回路、
22・・DFF回路、23・・第二のAND回路、
24・・第三のAND回路、25・・第二のカ
ウンタ回路
1. PN pattern generation unit, 2. Error generation unit, 3. PN pattern / PN error insertion unit, 4. P
N TIM output circuit, 5 PN pattern generator, 6 edge detection circuit, 7 latch circuit, 8 AND circuit, 9 ......
EXOR circuit, 10-AND circuit (fourth AND circuit), 11-select circuit, 12-error insertion timing generator, 13-error generator,
14. Error insertion position determining unit, 15 Edge detection circuit, 16 first latch circuit,
17 ··· first AND circuit, 18 ··· first counter circuit, 19 ·· comparison circuit, 20
..Edge detection circuits, 21. · Second latch circuits,
22 ··· DFF circuit, 23 ··· second AND circuit,
24..third AND circuit, 25..second counter circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】伝送装置間の回線品質を確認する際に主信
号に挿入し試験信号として用いるPNパターン信号への
ビットエラー挿入回路において、 所定のタイミングにより出力する所定ビット長のPNパ
ターン信号及びPNパターン信号出力タイミング信号を
生成するPNパターン生成部と、PNパターン信号に挿
入するビットエラーの挿入タイミング信号を生成するエ
ラー挿入タイミング生成部と、PNパターン信号に挿入
するビットエラーの挿入信号を生成するエラー生成部
と、PNパターン信号に挿入するビットエラーのビット
位置を決定するエラー挿入位置決定部と、入力データに
PNパターン信号を挿入すると共にPNパターン信号を
構成するビット列の任意の位置に1ビットのビットエラ
ーを挿入するPNパターン/PNエラー挿入部とにより
構成したことを特徴とするPNパターンジェネレータの
ビットエラー挿入回路。
A bit error insertion circuit for inserting a PN pattern signal into a PN pattern signal to be used as a test signal when checking the line quality between transmission apparatuses, wherein the PN pattern signal having a predetermined bit length and output at a predetermined timing. A PN pattern generation unit for generating a PN pattern signal output timing signal; an error insertion timing generation unit for generating a bit error insertion timing signal to be inserted into the PN pattern signal; and a bit error insertion signal to be inserted into the PN pattern signal An error generation unit that performs the operation, an error insertion position determination unit that determines the bit position of a bit error to be inserted into the PN pattern signal, and a PN pattern signal that is inserted into the input data and 1 is placed at an arbitrary position in the bit string that constitutes the PN pattern signal. PN pattern / PN error insertion to insert bit error of bit And a bit error insertion circuit of the PN pattern generator.
【請求項2】前記PNパターン生成部は、PNパターン
発生信号及びPNパターン挿入位置タイミング信号を論
理回路に入力してPNパターン信号出力タイミング信号
を出力するPN TIM出力回路と、所定のタイミング
により所定ビット長のPNパターン信号を出力するPN
パターンジェネレータとにより構成したことを特徴とす
る請求項1記戴のPNパターンジェネレータのビットエ
ラー挿入回路。
2. A PN TIM output circuit for inputting a PN pattern generation signal and a PN pattern insertion position timing signal to a logic circuit and outputting a PN pattern signal output timing signal; PN that outputs PN pattern signal of bit length
2. The bit error insertion circuit of the PN pattern generator according to claim 1, wherein the bit error insertion circuit is constituted by a pattern generator.
【請求項3】前記エラー挿入タイミング生成部は、複数
のタイムスロットにより構成する入力データのフレーム
周期の立ち上がりエッジを検出するエッジ検出回路と、
検出した前記エッジ信号を所定の時間クロック信号に同
期して保持する第一のラッチ回路と、該第一のラッチ回
路が出力する保持信号と前記PNパターン信号出力タイ
ミング信号とを入力してPNパターン信号挿入開始タイ
ミング信号を生成する第一のAND回路と、前記PNパ
ターン信号挿入開始タイミング信号によりカウンタをロ
ードした後クロック信号をカウントすることによりPN
パターン信号のビット数をカウントする第一のカウンタ
回路と、前記第一のカウンタ回路出力と後述する第二の
カウンタ回路出力のカウント値を比較してカウント値が
一致するタイミングを生成しビットエラー挿入タイミン
グ信号を出力する比較回路とにより構成したことを特徴
とする請求項1又は2記戴のPNパターンジェネレータ
のビットエラー挿入回路。
3. The error insertion timing generator includes an edge detection circuit for detecting a rising edge of a frame period of input data constituted by a plurality of time slots,
A first latch circuit for holding the detected edge signal in synchronization with a clock signal for a predetermined time; and a holding signal output by the first latch circuit and the PN pattern signal output timing signal to input a PN pattern signal. A first AND circuit for generating a signal insertion start timing signal; and a PN by counting a clock signal after loading a counter with the PN pattern signal insertion start timing signal.
A first counter circuit that counts the number of bits of the pattern signal, and compares the count value of the output of the first counter circuit with the count value of the output of a second counter circuit, which will be described later, to generate timing at which the count values match, and to insert a bit error. 3. A bit error insertion circuit for a PN pattern generator according to claim 1, wherein said bit error insertion circuit comprises a comparison circuit for outputting a timing signal.
【請求項4】前記エラー生成部は、エラー挿入信号の立
ち上がりエッジを検出するエッジ検出回路と、検出した
前記エッジ信号をクロック信号に同期して所定の時間保
持する第二のラッチ回路及びDFF回路と、該DFF回
路が出力する保持信号と前記PNパターン信号出力タイ
ミング信号と前記比較回路が出力するビットエラー挿入
タイミング信号とを入力しPNパターン信号にビットエ
ラーを挿入するためのビットエラー挿入信号を生成する
第二のAND回路とにより構成したことを特徴とする請
求項1乃至3記戴のPNパターンジェネレータのビット
エラー挿入回路。
4. An error detecting section comprising: an edge detecting circuit for detecting a rising edge of an error insertion signal; a second latch circuit and a DFF circuit for holding the detected edge signal for a predetermined time in synchronization with a clock signal And a holding signal output by the DFF circuit, the PN pattern signal output timing signal, and a bit error insertion timing signal output by the comparison circuit, and a bit error insertion signal for inserting a bit error into the PN pattern signal. 4. A bit error insertion circuit for a PN pattern generator according to claim 1, wherein said bit error insertion circuit comprises a second AND circuit for generating.
【請求項5】前記エラー挿入位置決定部は、前記PNパ
ターン信号挿入開始タイミング信号と前記ビットエラー
挿入タイミング信号とを入力し第二のカウンタ回路をロ
ードする第三のAND回路と、前記PNパターン信号挿
入開始タイミング信号を入力してクロック信号をカウン
トしPNパターン信号に挿入するビットエラーの挿入位
置を決定する第二のカウンタ回路とにより構成したこと
を特徴とする請求項1乃至4記戴のPNパターンジェネ
レータのビットエラー挿入回路。
5. An error insertion position determination unit, comprising: a third AND circuit that inputs the PN pattern signal insertion start timing signal and the bit error insertion timing signal and loads a second counter circuit; 5. A second counter circuit which receives a signal insertion start timing signal, counts a clock signal, and determines a bit error insertion position to be inserted into a PN pattern signal. Bit error insertion circuit of PN pattern generator.
【請求項6】前記PNパターン/PNエラー挿入部は、
前記PNパターン信号と前記ビットエラー挿入信号とを
入力しPNパターン信号の所定のビットを1ビット誤ら
せるEX OR回路と、前記PNパターン発生信号及び
前記PNパターン挿入位置タイミング信号とを入力しP
Nパターン信号を主信号に挿入するタイミングを生成す
る第四のAND回路と、該第四のAND回路の出力信号
により制御し入力データ或いはビットエラーを含むPN
パターン信号を選択して出力するセレクト回路とにより
構成したことを特徴とする請求項1乃至5記戴のPNパ
ターンジェネレータのビットエラー挿入回路。
6. The PN pattern / PN error insertion section,
An EXOR circuit that inputs the PN pattern signal and the bit error insertion signal and erroneously corrects a predetermined bit of the PN pattern signal by one bit, and receives the PN pattern generation signal and the PN pattern insertion position timing signal and outputs
A fourth AND circuit for generating a timing for inserting the N pattern signal into the main signal, and a PN including input data or bit error controlled by an output signal of the fourth AND circuit.
6. A bit error insertion circuit for a PN pattern generator according to claim 1, further comprising a selection circuit for selecting and outputting a pattern signal.
JP2001046000A 2001-02-22 2001-02-22 Bit error insertion circuit for PN pattern generator Expired - Fee Related JP4719867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001046000A JP4719867B2 (en) 2001-02-22 2001-02-22 Bit error insertion circuit for PN pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001046000A JP4719867B2 (en) 2001-02-22 2001-02-22 Bit error insertion circuit for PN pattern generator

Publications (2)

Publication Number Publication Date
JP2002247143A true JP2002247143A (en) 2002-08-30
JP4719867B2 JP4719867B2 (en) 2011-07-06

Family

ID=18907701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001046000A Expired - Fee Related JP4719867B2 (en) 2001-02-22 2001-02-22 Bit error insertion circuit for PN pattern generator

Country Status (1)

Country Link
JP (1) JP4719867B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008001545A1 (en) * 2006-06-29 2008-01-03 Panasonic Corporation Data error detecting apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63312754A (en) * 1987-06-15 1988-12-21 Nec Corp Error generation circuit
JPH04242351A (en) * 1991-01-17 1992-08-31 Nec Corp Error pulse generating circuit
JPH0685888A (en) * 1992-08-31 1994-03-25 Ando Electric Co Ltd Disturbance adding signal generating circuit
JPH08317016A (en) * 1995-05-19 1996-11-29 Oki Electric Ind Co Ltd Test method for communication abnormality
JP2000092028A (en) * 1998-09-09 2000-03-31 Fujitsu Ltd Random error generator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63312754A (en) * 1987-06-15 1988-12-21 Nec Corp Error generation circuit
JPH04242351A (en) * 1991-01-17 1992-08-31 Nec Corp Error pulse generating circuit
JPH0685888A (en) * 1992-08-31 1994-03-25 Ando Electric Co Ltd Disturbance adding signal generating circuit
JPH08317016A (en) * 1995-05-19 1996-11-29 Oki Electric Ind Co Ltd Test method for communication abnormality
JP2000092028A (en) * 1998-09-09 2000-03-31 Fujitsu Ltd Random error generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008001545A1 (en) * 2006-06-29 2008-01-03 Panasonic Corporation Data error detecting apparatus

Also Published As

Publication number Publication date
JP4719867B2 (en) 2011-07-06

Similar Documents

Publication Publication Date Title
JP2666679B2 (en) Slot reception synchronization circuit
EP0700181A2 (en) Synchronisation circuit
US5367543A (en) Circuit for detecting synchronizing signal in frame synchronization data transmission
JP2798646B2 (en) Sync signal detection circuit
JP4719867B2 (en) Bit error insertion circuit for PN pattern generator
US7106820B2 (en) System and method for establishing word synchronization
JP3093730B2 (en) Radio selective call receiver
JP3989816B2 (en) Pattern synchronous pull-in device
CA2052811C (en) Framing bit sequence detection in digital data communication systems
JP3338797B2 (en) Apparatus and method for coping with wireless reception data deviation
JPH05191470A (en) Communication condition recognizing method for start-stop transmission
JPH05160810A (en) Code error monitoring circuit
JP2873059B2 (en) Pattern synchronization circuit for wireless communication system
JP2002344435A (en) Bit pattern synchronization circuit
JPH05336096A (en) Frame synchronizing signal detecting circuit
JP2001177583A (en) Asynchronous serial data communication method
JPH1028146A (en) Code error correcting device
EP1337128A1 (en) Cell counter for utopia interface
JP2000124886A (en) Multi-frame synchronization detection method and apparatus
JPH066341A (en) Reception circuit for start-stop system communication
JPH11355379A (en) Register data transfer system and register data transfer method
JPH0425240A (en) Burst signal monitoring circuit
JPH11215108A (en) Signal transmission device and signal transmission method
KR20040011643A (en) Method and Apparatus for Testing Efficiency of UART driver
JPH065832B2 (en) Receive synchronization circuit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050719

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101228

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110307

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees