JPH01309434A - Line simulator - Google Patents

Line simulator

Info

Publication number
JPH01309434A
JPH01309434A JP13837788A JP13837788A JPH01309434A JP H01309434 A JPH01309434 A JP H01309434A JP 13837788 A JP13837788 A JP 13837788A JP 13837788 A JP13837788 A JP 13837788A JP H01309434 A JPH01309434 A JP H01309434A
Authority
JP
Japan
Prior art keywords
random number
signal
line
bit error
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP13837788A
Other languages
Japanese (ja)
Inventor
Koji Kobayashi
孝次 小林
Atsushi Katsumata
敦 勝亦
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP13837788A priority Critical patent/JPH01309434A/en
Publication of JPH01309434A publication Critical patent/JPH01309434A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To test the behavior and performance of a communication equipment against a communication fault occurred actually in an actual transmission line by giving a parameter such as a bit error rate and generating a noise based on a random number. CONSTITUTION:A parameter setting device 1 inputs a parameter such as a bit error rate to generate a noise occurred in the communication line to a simulator main body 3 via a bus 2. The simulator main body 3 holds the parameter set by the parameter setting device 1, and an error signal generating means generates an error signal decided by the setting parameter from a random number generated from a random number generating means. While the error signal is generated, a line section adds a noise decided by a parameter set by the parameter setting means to the signal inputted externally and the result is outputted. Thus, the operation of the communication equipment against the communication fault is tested.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、通信機器の性能試験等のために通−信号に生
じ得るノイズ現象を模擬的に発生させる回線シミュレー
タに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a line simulator that simulates noise phenomena that may occur in communication signals for purposes such as performance testing of communication equipment.

[従来の技術] 近年、ディジタル通信技術の発達に伴ない、種々の通信
手順を内蔵したLSIの開発が盛んに行われているが、
通信用に開発されたLSIをテストし評価するには、実
際の通信路において起こり得る現象を取り入れる必要が
ある。特に実際の通信路にはノイズがつきものであり、
ノイズによるエラーが伝送信号に発生する。それ故、通
信用LSIは、通信路に生じ得るノイズを考慮して設計
されなければならない。そこで、通信用LSIを試作し
た時にテストするため、一定のノイズを与えてそれに対
するエラーレート(発生率)を測定する装置が知られて
いる。
[Prior Art] In recent years, with the development of digital communication technology, LSIs with built-in various communication procedures have been actively developed.
In order to test and evaluate LSIs developed for communication, it is necessary to incorporate phenomena that may occur in actual communication channels. In particular, noise is inherent in actual communication channels,
Errors due to noise occur in the transmitted signal. Therefore, communication LSIs must be designed taking into consideration the noise that may occur in the communication path. Therefore, in order to test a communication LSI when it is prototyped, a device is known that applies a certain amount of noise and measures the error rate (occurrence rate).

[発明が解決しようとする課題] しかしながら、従来のエラーレ−1・測定装置では、通
信用LSIに与えるノイズは静電ノイズ発生器で発生す
るアナログノイズであり、そのパターンは一定のものに
固定されているため、実際に生じ得るノイズやその他の
現象を反映しているものでなく、種々のノイズに対する
エラーレートの測定はできないという問題点があった。
[Problem to be solved by the invention] However, in the conventional error rate measurement device, the noise given to the communication LSI is analog noise generated by an electrostatic noise generator, and its pattern is fixed to a constant one. Therefore, there was a problem in that it did not reflect noise and other phenomena that could actually occur, and it was not possible to measure error rates for various types of noise.

本発明はかかる問題点に鑑みてなされたものであり1通
信用LSI等の開発に際し、通信回線において実際に生
じ得るノイズを模擬的に発生させることができ、且つ特
定のノイズ発生手順を繰返し実行することによって再現
性のあるテストができる回線シミュレータを提供するこ
とを目的とする。
The present invention has been made in view of these problems, and when developing a communication LSI etc., it is possible to generate noise that can actually occur in a communication line in a simulated manner, and it is possible to repeatedly execute a specific noise generation procedure. The purpose is to provide a line simulator that allows reproducible tests by doing this.

[課題を解決するための手段] 本発明は、実際の通信回線をシミュレートする回線シミ
ュレータであって、通信回線で生じ得るノイズを発生す
るためのエラー信号のパラメータを可変設定するパラメ
ータ設定手段と、乱数を発生する乱数発生手段と、該乱
数発生手段で発生した乱数からパラメータ設定手段で設
定したパラメータによって決定きれるエラー信号を生成
する信号発生手段と、エラー信号が発生している間、外
部から入力された信号にパラメータ設定手段で設定した
パラメータに基づくノイズを付加して出力する回線部と
を備え、前記パラメータ設定手段には乱数発生手段で発
生する乱数の初期値を与える乱数初期値設定手段を含み
、その乱数初期値設定手段から与えられる信号によって
乱数発生手段をプリセットするようにしたものである。
[Means for Solving the Problems] The present invention is a line simulator that simulates an actual communication line, and includes parameter setting means for variably setting the parameters of an error signal for generating noise that may occur on the communication line. , a random number generating means for generating random numbers; a signal generating means for generating an error signal determined from the random number generated by the random number generating means according to parameters set by the parameter setting means; a line section that adds noise based on the parameters set by the parameter setting means to the input signal and outputs the resultant signal; and a random number initial value setting means for giving the initial value of the random number generated by the random number generating means to the parameter setting means. The random number generating means is preset by a signal given from the random number initial value setting means.

[作用] 本発明の回線シミュレータにおいては、パラメータ設定
手段でピットエラーレート等のパラメータを予め設定す
る。パラメータ設定手段では、乱数発生手段で発生する
乱数の初期値も設定可能である。エラー信号発生手段で
は、乱数発生手段で発生した乱数から設定パラメータに
よって決まるエラー信号を発生する。このエラー信号が
発生している間、回線部は、外部から入力された信号に
パラメータ設定手段で設定したパラメータによって決定
されるノイズを付加して出力する。これにより、通信障
害に対する通信装置の動作等のテストをすることができ
る。その際、乱数の初期値を一定にすることにより、特
定の乱数をベースとしたノイズを繰返し発生し、特定の
不具合に対するテストを繰返すことができる。
[Operation] In the line simulator of the present invention, parameters such as pit error rate are set in advance by the parameter setting means. The parameter setting means can also set the initial value of the random number generated by the random number generation means. The error signal generating means generates an error signal determined by the setting parameters from the random number generated by the random number generating means. While this error signal is generated, the line section adds noise determined by the parameters set by the parameter setting means to the signal input from the outside and outputs the added signal. This makes it possible to test the operation of the communication device against communication failures. At this time, by keeping the initial value of the random number constant, it is possible to repeatedly generate noise based on a specific random number and repeatedly test for a specific defect.

[実施例] 第1図は本発明の一実施例を示し、第2図は実施例の回
線シミュレータを接続した通信システムを示す。図の回
線シミュレータは、パラメータ設定器1とシミュレータ
本体3と回線部4とから成る。
[Embodiment] FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows a communication system to which a line simulator of the embodiment is connected. The line simulator shown in the figure consists of a parameter setting device 1, a simulator main body 3, and a line section 4.

パラメータ設定器lは、通信回線で生じ得るノイズを発
生するためのピットエラーレート等のパラメータをバス
2を介してシミュレータ本体3に入力するものであり、
このパラメータ設定器としてはマイクロコンピュータが
使用できる。
The parameter setting device 1 inputs parameters such as pit error rate for generating noise that may occur in the communication line to the simulator main body 3 via the bus 2.
A microcomputer can be used as this parameter setting device.

シミュレータ本体3は、パラメータ設定器1で設定され
たパラメータを保持すると共に、後述の回路で発生した
乱数を上記パラメータに従って選択してビットエラー信
号を発生するものであり、第1図に示す各種のレジスタ
から成るレジスタファイル7と、ビットエラー信号を発
生する信号発生部8と、各回路部の動作に必要なりロッ
ク信号を供給するクロック発生回路9とを含む。
The simulator main body 3 holds the parameters set by the parameter setting device 1, and generates a bit error signal by selecting a random number generated by a circuit described later according to the above parameters, and generates a bit error signal according to the various types shown in FIG. It includes a register file 7 made up of registers, a signal generating section 8 that generates a bit error signal, and a clock generating circuit 9 that supplies lock signals necessary for the operation of each circuit section.

第2図の通信システムでは、本発明の回線シミュレータ
で複数(この場合3本)の回線のシミュレーションを行
うため、シミュレータ本体3に複数の回線部4A 、4
B 、4Cを接続している。各回線部は、複数の通信装
置5A、5B、5Cをループ状に接続した伝送路6A、
6B、6Cに接続される。使用時には、シミュレータ本
体3で発生したビットエラー信号を回線部4A 、 4
B 、 4Cに送り、各回線部で各伝送路6A 、6B
 、6Cから入力された信号にノイズを加える処理を施
して出力する。従って、各通信装置5A 、 5B 、
 5Cの出力をチエツクすることにより、耐ノイズ性等
のテストをすることができる。
In the communication system shown in FIG. 2, the line simulator of the present invention simulates a plurality of lines (three in this case), so the simulator body 3 includes a plurality of line units 4A, 4.
B and 4C are connected. Each line section includes a transmission line 6A connecting a plurality of communication devices 5A, 5B, and 5C in a loop;
Connected to 6B and 6C. When in use, bit error signals generated in the simulator body 3 are transmitted to the line sections 4A, 4.
B, 4C, and each transmission line 6A, 6B in each line section.
, 6C, and outputs the processed signal by adding noise to it. Therefore, each communication device 5A, 5B,
By checking the output of 5C, it is possible to test noise resistance, etc.

以下、第1図に示した回線シミュレータの構成と作用を
説明する。
The configuration and operation of the line simulator shown in FIG. 1 will be explained below.

まず、レジスタファイル7は、パラメータ設定器1で設
定されたパラメータを保持する保持手段として機能する
もので、乱数初期値設定レジスタ11、ビットエラーレ
ート設定レジスタ12、ビットエラーパルス幅設定レジ
スタ13、ピットエラーモード設定レジスタタ14、立
上り遅れ設定レジスタ15、立下り遅れ設定レジスタ1
6、及び回線断続レジスタ17を含んでいる。
First, the register file 7 functions as a holding means for holding the parameters set by the parameter setting device 1, and includes a random number initial value setting register 11, a bit error rate setting register 12, a bit error pulse width setting register 13, a pit Error mode setting register 14, rising delay setting register 15, falling delay setting register 1
6, and a line disconnection register 17.

乱数初期値設定レジスタ11は、後述の疑似乱数発生回
路21の初期値を設定するためのレジスタである。この
レジスタに初期値を書き込むことにより、疑似乱数発生
回路21に直接プリセットを行う。また、このレジスタ
で一定の初期値を設定すると、疑似乱数発生回路21か
ら同じビットエラーパターンを生成できるので、繰返し
テストが可能となる。
The random number initial value setting register 11 is a register for setting an initial value of a pseudo random number generation circuit 21, which will be described later. By writing an initial value into this register, the pseudo random number generation circuit 21 is directly preset. Furthermore, if a certain initial value is set in this register, the same bit error pattern can be generated from the pseudo-random number generation circuit 21, making it possible to perform repeated tests.

ピッI・エラーレート設定レジスタ12は、ビ、。The P/I error rate setting register 12 is set to B.

トエラーレートを設定するためのレジスタで、1回線当
り約1O−3〜10−8回/bitのエラーを設定でき
る。各回線は、同じビットエラーレートでビットエラー
を発生する。また、このレジスタにより各回線毎にビッ
トエラー発生又は非発生を設定することができる。
This is a register for setting the error rate, and it is possible to set an error rate of approximately 10-3 to 10-8 times/bit per line. Each line generates bit errors at the same bit error rate. Further, by using this register, it is possible to set whether a bit error occurs or not for each line.

ビットエラーパルス幅設定レジスタ13は、後述のビッ
トエラー発生時にそのパルス幅を設定するレジスタであ
る。設定範囲は0〜FFFFであり、その設定値nによ
りn〜(n+1)gsecのパルス幅が発生する。
The bit error pulse width setting register 13 is a register that sets the pulse width when a bit error occurs, which will be described later. The setting range is 0 to FFFF, and the setting value n generates a pulse width of n to (n+1) gsec.

ビットエラーモード設定レジスタ14は、後述のように
、伝送路から回線部4に入力された信号にノイズとして
付加するビットエラーの種類(Normal、 Hig
h、Low又は反転)を設定するためのレジスタである
。これを”Normal″に設定した場合は、後述のビ
ットエラー発生時でも、回線部4に入力された信号は変
化しない。しかし、”旧gh”に設定した場合は、ビッ
トエラー発生時に入力信号がHレベルに変化して回線部
4から出力され、”Low”に設定した場合は、ビット
エラー発生時に入力信号がLレベルに変化して出力され
る。また、反転モードにした場合は、ビットエラー発生
時に入力信号が反転して出力される。このピットエラー
モード設定レジスタ14は、複数の回線に対し別々に設
定できる。
As described later, the bit error mode setting register 14 sets the type of bit error (Normal, High) added as noise to the signal input from the transmission path to the line section 4.
h, Low, or inverted). If this is set to "Normal", the signal input to the line section 4 will not change even when a bit error occurs, which will be described later. However, when set to "old gh", the input signal changes to H level and is output from the line section 4 when a bit error occurs, and when set to "Low", the input signal changes to L level when a bit error occurs. will be changed and output. Furthermore, when the inversion mode is set, the input signal is inverted and output when a bit error occurs. This pit error mode setting register 14 can be set separately for a plurality of lines.

立上り、立下り遅れ設定レジスタ15.16は、実際の
伝送路で生ずる立上り時間の遅れ及び立下り時間の遅れ
を個別に設定するレジスタである。
The rise and fall delay setting registers 15 and 16 are registers for individually setting the rise time delay and fall time delay that occur in the actual transmission path.

クロック発生回路9で発生するクロック周波数をボーレ
ートの16倍に設定した場合、1/1Bデ一タビツト時
間単位の遅れを設定できる。これらのレジスタによる遅
れ時間の設定も、複数の回線に対して別々にできる。
When the clock frequency generated by the clock generation circuit 9 is set to 16 times the baud rate, a delay in units of 1/1B data bit time can be set. The delay times can also be set separately for multiple lines using these registers.

回線断続レジスタ17は、回線部に伝送路を断続するた
めのレジスタであり、回線部4からの出力を高インピー
ダンスにすることができる。
The line disconnection register 17 is a register for connecting and disconnecting the transmission path to the line section, and can make the output from the line section 4 high impedance.

次に、信号発生部8は、実際の通信回線に生じ得る現象
のシミュレーションを行うためのエラー信号を発生する
部分であり、疑似乱数発生回路21、ビットエラー発生
回路22及びビットエラーパルス幅発生回路23から成
る。  。
Next, the signal generation section 8 is a section that generates an error signal for simulating phenomena that may occur in an actual communication line, and includes a pseudo random number generation circuit 21, a bit error generation circuit 22, and a bit error pulse width generation circuit. Consists of 23. .

疑似乱数発生回路21は、第3図に示すように32個の
DフリップフロップD1〜D32と、13個のE+rc
lusive OR回路El−E13とから成り1次式
に従って疑似乱数を生成する。
As shown in FIG. 3, the pseudo-random number generation circuit 21 includes 32 D flip-flops D1 to D32 and 13 E+rc
It consists of a lusive OR circuit El-E13 and generates pseudo-random numbers according to a linear equation.

X32+X2G+X23+X22+XIG+X12+X
11+X10+X8 +X7 +X5 +X4 +X2
 +X1 +1すなわち、順次接続したDフリップフロ
ップD1〜D32の間にExclusiveOR回路E
1”’E13を介在させ、各フリップフロップD32〜
D1の出力X32〜x1を変化させることにより、疑似
乱数を発生するものである。このような構成の疑似乱数
発生回路それ自体は公知である。
X32+X2G+X23+X22+XIG+X12+X
11+X10+X8 +X7 +X5 +X4 +X2
+X1 +1 That is, the exclusive OR circuit E is connected between the sequentially connected D flip-flops D1 to D32.
1"'E13, each flip-flop D32~
Pseudo-random numbers are generated by changing the outputs X32 to x1 of D1. The pseudorandom number generation circuit itself having such a configuration is well known.

この疑似乱数発生回路21に、供給されるクロック周波
数の範囲はIMHz〜31.25 KHzで、通常は通
信速度(ボーレート)に合わせる。しかし、通信速度と
異なる値に設定することにより、ピットエラーレートを
大きく変えることもできる。例えばIMHzのクロック
で動作させた場合の周期は、約1.2時間である。
The clock frequency supplied to this pseudo-random number generation circuit 21 is in the range of IMHz to 31.25 KHz, and is usually matched to the communication speed (baud rate). However, by setting it to a value different from the communication speed, the pit error rate can be changed significantly. For example, when operating with an IMHz clock, the cycle is approximately 1.2 hours.

この疑似乱数発生回路21では、発生する乱数の初期値
を設定するため、各DフリップフロップD1〜D32は
セット端子を有し、その端子に前述の乱数初期値設定レ
ジスタ11の出力信号を入力することで、Dフリップフ
ロップをセット状態にする。すなわち、乱数初期値設定
レジスタ11に初期値を書き込むことにより、そのレジ
スタ出力がDフリップフロップD1〜D32のセット端
子に加えられ、疑似乱数発生回路21の初期値をプリセ
ットすることができる。
In this pseudo-random number generation circuit 21, in order to set the initial value of the random number to be generated, each of the D flip-flops D1 to D32 has a set terminal, into which the output signal of the random number initial value setting register 11 is inputted. This puts the D flip-flop in the set state. That is, by writing an initial value into the random number initial value setting register 11, the register output is applied to the set terminals of the D flip-flops D1 to D32, and the initial value of the pseudo random number generation circuit 21 can be preset.

次に、ビットエラー発生回路22は、第4図に示すよう
に、前記ビットエラーレート設定レジスタ12からのビ
ットエラー信号をデコードするデコーダ31と、このデ
コーダ31からの信号により、疑似乱数発生回路21で
生成した疑似乱数のうち使用する信号のみを出力するデ
ータセレクタ32と、このデータセレクタ32から出力
される信号が全てHのときにビットエラー発生信号を出
力するAND回路33とから成る。結果として、データ
セレクタ32で選択された乱数信号の数をnとすると、
1/2’の確率でビットエラー発生信号が出力される。
Next, as shown in FIG. 4, the bit error generation circuit 22 includes a decoder 31 that decodes the bit error signal from the bit error rate setting register 12, and a signal from the decoder 31 to generate a pseudo-random number generation circuit 21. It consists of a data selector 32 that outputs only the signal to be used from among the pseudo-random numbers generated in , and an AND circuit 33 that outputs a bit error occurrence signal when all the signals output from the data selector 32 are H. As a result, if the number of random number signals selected by the data selector 32 is n, then
A bit error occurrence signal is output with a probability of 1/2'.

また、ビットエラーパルス幅発生回路23は、第5図に
示すようにタイマ34とRSフリップフロップ35とか
ら成る。動作時には、第6図に示すように、上記ビット
エラー発生回路22からの出力(ビットエラー発生信号
)をスタート信号としてタイマ34を始動させると共に
、RSフリップフロップ35をセットし、ビットエラー
パルスを発生する。タイマ34は、前述のビットエラー
パルス幅設定レジスタ13で設定されたパルス幅をカウ
ントした後、RSフリップフロップ35をリセットする
。これにより、設定されたパルス幅のビットエラーが得
られる。そのパルス幅は設定値nに対しn〜(n+1)
μsecとなる。ビットエラーパルスが終了しないうち
に次の信号が来た時には、その時点から更に設定値だけ
パルス幅を伸ばす。
Further, the bit error pulse width generation circuit 23 includes a timer 34 and an RS flip-flop 35, as shown in FIG. During operation, as shown in FIG. 6, the timer 34 is started using the output (bit error generation signal) from the bit error generation circuit 22 as a start signal, and the RS flip-flop 35 is set to generate a bit error pulse. do. After counting the pulse width set in the bit error pulse width setting register 13, the timer 34 resets the RS flip-flop 35. This results in a bit error of the set pulse width. The pulse width is n~(n+1) for the set value n.
It becomes μsec. If the next signal comes before the bit error pulse ends, the pulse width is further extended by the set value from that point onwards.

このピットエラーパルス幅発生回路23は、第2図のよ
うに複数の回線部4A 、4B 、4Cを接続した場合
には、各回線部にそれぞれ異なるパルス幅のノイズを発
生させるように回線部の個数分設けられる。
When a plurality of line sections 4A, 4B, and 4C are connected as shown in FIG. 2, this pit error pulse width generation circuit 23 is designed to generate noise with a different pulse width in each line section. There will be a number of locations.

クロック発生回路9は、一定周波数(例えば16MHz
)の水晶発振モジュールからの出力信号を分周し、上述
の各回路に必要なりロック信号を発生するものである。
The clock generation circuit 9 has a constant frequency (for example, 16 MHz).
) is frequency-divided from the output signal from the crystal oscillation module, and generates lock signals necessary for each of the above-mentioned circuits.

次に、回線部4は、これに入力された信号をシミュレー
タ本体3から与えられたパラメータ通りに加工して出力
する部分であり、回線断続もここで行う。また、プロト
コルアナライザ等の外部装置を接続して、モニタ又はシ
ミュレーションをすることも可能である。
Next, the line section 4 is a section that processes the input signal according to the parameters given from the simulator main body 3 and outputs it, and also performs line disconnection. It is also possible to monitor or simulate by connecting an external device such as a protocol analyzer.

詳細には第7図に示すように、回線部4は、伝送路から
入力される信号をレベル変換するレシーバ41と、入力
信号の立上りを検出する立」ニリ検出回路42と、タイ
マ43及び44と、入力信号の立下りを検出する立下り
検出回路45と、RSフリップフロップ46と、ノイズ
付加回路47とその出力信号をレベル変換して伝送路に
出力するドライバ48とを備えている。各検出回路42
゜45はDフリップフロップで、各タイマ43,44は
ダウンカウンタでそれぞれ構成される。
In detail, as shown in FIG. 7, the line section 4 includes a receiver 41 that converts the level of the signal input from the transmission line, a rising edge detection circuit 42 that detects the rising edge of the input signal, and timers 43 and 44. , a fall detection circuit 45 that detects the fall of an input signal, an RS flip-flop 46, a noise addition circuit 47, and a driver 48 that converts the level of its output signal and outputs it to a transmission line. Each detection circuit 42
45 is a D flip-flop, and each of the timers 43 and 44 is a down counter.

動作時には、検出回路42.45が入力信号の立」−り
、立下りを検出すると、タイマ43 、44を始動させ
る。各タイマ43.44は、それぞれレジスタファイル
7の立上り、立下り遅れ設定レジスタ15.16から送
られる信号(立上り、立下り遅れ値)で決められた遅れ
時間後に出力を変化させる。RSフリップフロップ46
は、立上り遅れタイマ43の出力変化でセットされ、立
下り遅れタイマ44の出力変化でリセットされる。これ
により、第8図に示すように、予め設定された立上り、
立下り遅れをもつ信号が出力される。
In operation, the detection circuits 42, 45 start the timers 43, 44 when they detect the rising or falling edge of the input signal. Each of the timers 43 and 44 changes its output after a delay time determined by a signal (rise and fall delay values) sent from the rise and fall delay setting registers 15 and 16 of the register file 7, respectively. RS flip flop 46
is set by a change in the output of the rising delay timer 43, and is reset by a change in the output of the falling delay timer 44. As a result, as shown in FIG.
A signal with a falling delay is output.

このように、検出回路42.45とタイマ43及び44
とRSフリップフロップ46とは、伝送路から入力され
た信号の立」ニリ時間及び立下り時間を、それぞれ1デ
一タビツト時間未満の範囲(次の信号変化の直前まで)
で遅らせることができる波形変換回路を構成している。
In this way, the detection circuits 42, 45 and the timers 43 and 44
and the RS flip-flop 46 are used to adjust the rising and falling times of the signal input from the transmission line within a range of less than 1 digital bit time (until immediately before the next signal change).
It constitutes a waveform conversion circuit that can be delayed by .

設定値をn、この回路に用いるクロックの周期をTとす
ると、遅延時間はnT〜(n+1)Tである。
When the set value is n and the period of the clock used in this circuit is T, the delay time is nT to (n+1)T.

タイマ43及び44に供給するクロック信号としては、
通常はボーレートの16倍の周波数を用いるが、これよ
り周波数の小さいクロックを用いて長い遅延を生じさせ
ることもできる。この場合、立上り遅延時間は次の立上
りの直前まで、立下り遅延時間は次の立下りの直前まで
となる。
The clock signal supplied to the timers 43 and 44 is as follows:
Typically, a frequency of 16 times the baud rate is used, but a clock with a lower frequency can also be used to create longer delays. In this case, the rising delay time is until immediately before the next rising edge, and the falling delay time is until immediately before the next falling edge.

」二記波形変換回路は、立上り/立下りの遅延時間をそ
れぞれ個別に設定することにより、入力信号のデユーテ
ィ比を変えることができる。また、各遅れ値を変化させ
ることにより、ジッタ(波形のゆらぎ)を生じさせるこ
ともできる。
The waveform conversion circuit described in 2 above can change the duty ratio of the input signal by individually setting the rise/fall delay times. Furthermore, by changing each delay value, jitter (waveform fluctuation) can be caused.

次に、回線部4のノイズ出力回路47は、RSフリップ
フロップ46から出力された信号に、前述のビットエラ
ーモード設定レジスタ14からの出力で指定されたエラ
ーモード(Normal、High、Low又は反転)
のノイズを付加するものであり、ビットエラーが発生し
ていない時(ビットエラーパルスがLの時)には、エラ
ーモードに関係なく入力信号をそのまま出力するが、ビ
ットエラーが発生している時(ビットエラーパルスがH
の時)は、エラーモードに従って入力信号を変化させて
出力する。
Next, the noise output circuit 47 of the line section 4 applies the error mode (Normal, High, Low, or inverted) specified by the output from the bit error mode setting register 14 to the signal output from the RS flip-flop 46.
When a bit error does not occur (when the bit error pulse is L), the input signal is output as is regardless of the error mode, but when a bit error occurs, the input signal is output as is. (Bit error pulse is H
), the input signal is changed and output according to the error mode.

すなわち、エラーモードがLow固定の場合にはビット
エラーが発生している間、出力は入力に関係なくLow
になり、エラーモードが旧gh固定の場合には、ビット
エラーが発生している間、出力は入力に関係なくHig
hになる。エラーモードが反転の場合も同様に、ビット
エラーが発生している間出力は入力の反転となる。エラ
ーモードがNormalの場合には、ビットエラーが発
生していても、入力信号がそのまま出力される(ノイズ
は付加されない)。
In other words, if the error mode is fixed to Low, the output will be Low regardless of the input while a bit error occurs.
If the error mode is fixed to the old GH, the output will be High regardless of the input while a bit error occurs.
It becomes h. Similarly, when the error mode is inversion, the output is the inversion of the input while a bit error occurs. When the error mode is Normal, even if a bit error occurs, the input signal is output as is (no noise is added).

上記ノイズ付加回路47からの出力信号は、ドライバ4
8でレベル変換されて伝送路に出力されるが、ドライバ
48は、前述の回線断続レジスタ17からの回線断信号
で閉じられる。すなわち、回線断続レジスタ17が回線
断信号を出力した時は、ドライバ48の出力側が高イン
ピーダンスとなり、伝送路を実質的に切断状態とするこ
とができる。
The output signal from the noise addition circuit 47 is transmitted to the driver 4
The signal is level-converted at step 8 and output to the transmission line, but the driver 48 is closed by the line disconnection signal from the line disconnection register 17 described above. That is, when the line disconnection register 17 outputs a line disconnection signal, the output side of the driver 48 becomes high impedance, and the transmission line can be substantially disconnected.

かくして、実施例の回線シミュレータは、乱数をベース
として予め設定したビットエラーを生じさせ、これに対
する通信装置の反応等のテストを可能にするものである
。また、通信回線で生じ得る波形歪をシミュレートする
ことや回線切断も可能であり、通信装置の性能を総合的
にテストすることができる。
Thus, the line simulator of the embodiment generates a preset bit error based on random numbers, and makes it possible to test the response of a communication device to this error. It is also possible to simulate waveform distortion that may occur in a communication line and disconnect the line, making it possible to comprehensively test the performance of a communication device.

以上、本発明を実施例によって説明したが、本発明はこ
れに限らず、回線シミュレータの各回路部は、上記の機
能を有するものであれば任意の回路で構成することがで
きる。
Although the present invention has been described above with reference to the embodiments, the present invention is not limited thereto, and each circuit section of the line simulator can be configured with any circuit as long as it has the above-mentioned functions.

[発明の効果] 以上のように、本発明によれば、ビットエラーレート等
のパラメータを与えることにより乱数をベースとするノ
イズを発生するようにしたので、実際の伝送路に発生し
やすい通信障害に対する通信装置の挙動や性能を試験す
ることができる。特に、乱数の初期値を与えることによ
って特定のノイズが繰返して発生可能であり、再テスト
によって通信エラーの原因を調べることができる。
[Effects of the Invention] As described above, according to the present invention, noise based on random numbers is generated by giving parameters such as bit error rate, thereby eliminating communication failures that tend to occur on actual transmission paths. It is possible to test the behavior and performance of communication equipment. In particular, specific noise can be repeatedly generated by providing initial values of random numbers, and the cause of communication errors can be investigated by retesting.

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

第1図は本発明の実施例を示すブロック図、第2図は本
発明の回線シミュレータを接続した通信システムの例を
示すプロ・ツク図、第3図は疑似乱数発生回路の説明図
、 第4図はビットエラー発生回路の構成図、第5図はビッ
トエラーパルス幅発生回路の構成図、 第6図はビットエラーパルス幅発生回路に入力される信
号とその出力信号を示す波形図、第7図は回線部の構成
図、 第8図は回線部の波形変換回路に入力される信号とその
出力信号を示す波形図である。 1−一一一パラメータ設定器、 2−一一一バス、 3−−m−シミュレータ本体、 4−−−−回線部、 5A 、5B 、5C−−−一通信装置、6A 、6B
 、6C−−−一伝送路、7−−−−レジスタフアイル
、 8−一一一信号発生部、 9−一一一クロック発生回路。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing an example of a communication system to which the line simulator of the present invention is connected, FIG. 3 is an explanatory diagram of a pseudo-random number generation circuit, Figure 4 is a configuration diagram of the bit error generation circuit, Figure 5 is a configuration diagram of the bit error pulse width generation circuit, Figure 6 is a waveform diagram showing the signal input to the bit error pulse width generation circuit and its output signal, and Figure 6 is a waveform diagram showing the signal input to the bit error pulse width generation circuit and its output signal. FIG. 7 is a configuration diagram of the line section, and FIG. 8 is a waveform diagram showing signals input to the waveform conversion circuit of the line section and their output signals. 1-111 parameter setting device, 2-111 bus, 3--m-simulator main body, 4--line section, 5A, 5B, 5C----1 communication device, 6A, 6B
, 6C---1 transmission line, 7---register file, 8-111 signal generation section, 9-111 clock generation circuit.

Claims (1)

【特許請求の範囲】 通信回線で生じ得るノイズを発生するためのエラー信号
のパラメータを可変設定するパラメータ設定手段と、 乱数を発生する乱数発生手段と、 該乱数発生手段で発生した乱数から前記パラメータ設定
手段で設定したパラメータによって決定されるエラー信
号を生成する信号発生手段と、前記エラー信号が発生し
ている間、外部から入力された信号に前記パラメータ設
定手段で設定したパラメータに基づくノイズを付加して
出力する回線部とを備え、 前記パラメータ設定手段は、前記乱数発生手段で発生す
る乱数の初期値を与える乱数初期値設定手段を含み、前
記乱数発生手段は、前記乱数初期値設定手段から与えら
れる信号によってプリセットされるように構成したこと
を特徴とする回線シミュレータ。
[Scope of Claims] Parameter setting means for variably setting parameters of an error signal for generating noise that may occur in a communication line; Random number generation means for generating random numbers; and Generating the parameters from the random numbers generated by the random number generation means. a signal generating means for generating an error signal determined by a parameter set by the setting means; and while the error signal is being generated, adding noise based on the parameter set by the parameter setting means to an externally input signal. the parameter setting means includes a random number initial value setting means for giving an initial value of the random number generated by the random number generating means, and the random number generating means outputs a random number from the random number initial value setting means. A line simulator characterized in that it is configured to be preset according to a given signal.
JP13837788A 1988-06-07 1988-06-07 Line simulator Pending JPH01309434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13837788A JPH01309434A (en) 1988-06-07 1988-06-07 Line simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13837788A JPH01309434A (en) 1988-06-07 1988-06-07 Line simulator

Publications (1)

Publication Number Publication Date
JPH01309434A true JPH01309434A (en) 1989-12-13

Family

ID=15220512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13837788A Pending JPH01309434A (en) 1988-06-07 1988-06-07 Line simulator

Country Status (1)

Country Link
JP (1) JPH01309434A (en)

Similar Documents

Publication Publication Date Title
US5422891A (en) Robust delay fault built-in self-testing method and apparatus
KR101174186B1 (en) Method and apparatus for injecting transient hardware faults for software testing
US6873939B1 (en) Method and apparatus for evaluating and calibrating a signaling system
KR20030068201A (en) Enhanced loopback testing of serial devices
JPH0418329B2 (en)
JP2008521272A (en) On-chip jitter insertion system and method
KR20230108337A (en) Systems, methods and devices for high-speed input/output margin testing
JP3262281B2 (en) Test method and test equipment for electronic circuits
JPWO2019241600A5 (en) Test measuring device and transmitter of test measuring device
JP2019523429A (en) System and method for built-in self-test of electronic circuits
JP2007234009A (en) Simultaneous code checker and hardware efficient high-speed i/o having built-in self-test and debug function
US7228515B2 (en) Methods and apparatuses for validating AC I/O loopback tests using delay modeling in RTL simulation
JP2000002755A (en) Testing device for operation characteristic of component using serial transmission
JPH01309446A (en) Line simulator
JPH01309434A (en) Line simulator
WO2008056206A1 (en) Method for testing noise immunity of an integrated circuit and a device having noise immunity testing capabilities
JPH01309435A (en) Line simulator
JPH01309433A (en) Line simulator
JP2985056B2 (en) IC test equipment
JP2685666B2 (en) Dynamic test method for digital logic circuits
JPH05896B2 (en)
JP2006092072A (en) Circuit function verification method
JPH07334552A (en) Connection verification method
JPH01210875A (en) Testing method for prescaler
JPH02197912A (en) Clock skew adjusting system