JPH10197584A - Transmission delay setting device - Google Patents
Transmission delay setting deviceInfo
- Publication number
- JPH10197584A JPH10197584A JP177597A JP177597A JPH10197584A JP H10197584 A JPH10197584 A JP H10197584A JP 177597 A JP177597 A JP 177597A JP 177597 A JP177597 A JP 177597A JP H10197584 A JPH10197584 A JP H10197584A
- Authority
- JP
- Japan
- Prior art keywords
- delay
- memory
- serial
- signal
- read
- 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
Links
Landscapes
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば電力系統保
護用ディジタルリレーの模擬試験時に伝送路の遅延量を
所望値に設定するための伝送遅延設定装置、特にその遅
延時間測定回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission delay setting device for setting a delay amount of a transmission line to a desired value during a simulation test of, for example, a power system protection digital relay, and more particularly to a delay time measuring circuit thereof.
【0002】[0002]
【従来の技術】ディジタルリレーにおいては、自端と相
手端との間で情報の授受を行っている。その場合、伝送
系(主に伝送路)で遅延を生じる。このため、ディジタ
ルリレーの模擬試験時には、伝送路の遅延を設定する必
要がある。2. Description of the Related Art In a digital relay, information is exchanged between a self end and a counter end. In that case, a delay occurs in the transmission system (mainly the transmission path). For this reason, it is necessary to set the delay of the transmission line at the time of the simulation test of the digital relay.
【0003】伝送路には、光ファイバ方式の伝送路やメ
タリック伝送路などがある。光伝送路の場合、図6に示
すように光PCMリレー101、102の間に実長の光
ファイバボックス111、112を設置することによ
り、伝送路の遅延を設定することがある。光ファイバの
遅延は5μS/kmであり、遅延量としては非常に小さ
い。The transmission path includes an optical fiber transmission path and a metallic transmission path. In the case of an optical transmission line, the delay of the transmission line may be set by installing real-length optical fiber boxes 111 and 112 between the optical PCM relays 101 and 102 as shown in FIG. The delay of the optical fiber is 5 μS / km, which is very small.
【0004】また、メタリック伝送路の場合も、遅延よ
りも波形の方が重要視されるにしても、実長の伝送路を
用意することになる。[0004] In the case of a metallic transmission line, a real-length transmission line is prepared even if the waveform is more important than the delay.
【0005】[0005]
【発明が解決しようとする課題】しかし、このような実
長の伝送路では、容易に長さを変えられないため、任意
の伝送遅延量を設定することができず、所望の遅延量に
よる伝送タイミングでの模擬試験を実施することは容易
でない。However, in such a real-length transmission line, the length cannot be easily changed, so that an arbitrary transmission delay amount cannot be set, and transmission with a desired delay amount is not possible. It is not easy to conduct a simulation test at the right time.
【0006】このため、2ポートメモリ、汎用メモリあ
るいはFIFOメモリを使い、入力信号をS/P変換し
て一度メモリに蓄積し、これを読み出し、P/S変換し
て出力信号とする際の、書き込みアドレスと読み出しア
ドレスの差分、あるいはメモリへの書き込みタイミング
と読み出しタイミングの時間差(遅れ)を利用して遅延
を発生させるようにした伝送遅延設定装置が提案され、
本出願人によって先に出願されている(特願平8−34
6993号「伝送遅延設定装置」)。For this reason, when using a two-port memory, a general-purpose memory, or a FIFO memory, an input signal is subjected to S / P conversion, stored once in a memory, read out, and subjected to P / S conversion to obtain an output signal. A transmission delay setting device has been proposed in which a delay is generated by using a difference between a write address and a read address or a time difference (delay) between a write timing and a read timing to a memory,
The applicant has previously filed an application (Japanese Patent Application No. 8-34).
No. 6993 "Transmission delay setting device").
【0007】これにより、実長の光ファイバなどを必要
とせずに、任意の遅延量を設定できるようになり、所望
の遅延量による伝送タイミングでの模擬試験を実施する
ことが可能となる。図7に光PCMリレーの模擬試験に
適用した場合の接続関係を示す。図中、101及び10
2は光PCMリレー、103は2回路分の遅延回路を備
えた伝送遅延設定装置、104及び105は両光PCM
リレー101、102と伝送遅延設定装置103との間
に設けた光−電気変換器、106及び107は両光PC
Mリレー101、102と伝送遅延設定装置103との
間に設けた電気−光変換器である。As a result, an arbitrary amount of delay can be set without using a real-length optical fiber or the like, and a simulation test can be performed at a transmission timing with a desired amount of delay. FIG. 7 shows a connection relationship when applied to a simulation test of an optical PCM relay. In the figure, 101 and 10
2 is an optical PCM relay, 103 is a transmission delay setting device provided with two delay circuits, and 104 and 105 are both optical PCMs.
The optical-electrical converters 106 and 107 provided between the relays 101 and 102 and the transmission delay setting device 103 are optical PCs.
This is an electro-optical converter provided between the M relays 101 and 102 and the transmission delay setting device 103.
【0008】このように、伝送遅延をディジタル的に任
意に設定できる伝送遅延設定装置103を伝送路に設置
すると、図8に示すようにディジタルリレーの模擬試験
時に自端と相手端(親局と折り返し局)との間に任意の
伝送遅延時間tを設定可能となり、任意の遅延量による
情報の伝達遅れのタイミング模擬試験を行える。As described above, when the transmission delay setting device 103 capable of arbitrarily setting the transmission delay digitally is installed on the transmission line, as shown in FIG. An arbitrary transmission delay time t can be set with respect to the return station, and a timing simulation test of information transmission delay due to an arbitrary delay amount can be performed.
【0009】但し、出力信号が設定値通り遅延している
かどうかは、入出力の波形観測・比較を行わなければ確
認できない。実際、入出力伝送波形を比較しようとして
も、波形の変化が激しく比較し難い。However, whether or not the output signal is delayed according to the set value cannot be confirmed unless the input and output waveforms are observed and compared. Actually, even when trying to compare the input and output transmission waveforms, the waveforms change greatly and are difficult to compare.
【0010】本発明は上記事情に鑑みてなされたもの
で、伝送遅延用のメモリICに遅延測定用として1ビッ
ト追加し、そのメモリのリングバッファ長さ(時間)な
どを計測する遅延時間測定回路を付設することにより、
任意の遅延量を設定でき、かつ遅延時間を常時確認でき
る伝送遅延設定装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and provides a delay time measuring circuit for adding one bit for delay measurement to a memory IC for transmission delay and measuring a ring buffer length (time) of the memory. By attaching
It is an object of the present invention to provide a transmission delay setting device capable of setting an arbitrary delay amount and constantly checking a delay time.
【0011】[0011]
【課題を解決するための手段】本発明は、入力信号をシ
リアル/パラレル変換するシリアル/パラレル変換部
と、シリアル/パラレル変換されたデータを格納する、
データ構成ビット数に1ビットを追加した複数ビット幅
の2ポートメモリと、この2ポートメモリの伝送データ
部分から読み出されたデータをパラレル/シリアル変換
するパラレル/シリアル変換部と、伝送クロックに基づ
いて書き込みアドレスや書き込み信号、読み出し信号を
生成するとともに、書き込みアドレスと遅延量設定値と
の加算または減算によって読み出しアドレスを生成する
書き込み及び読み出し回路と、2ポートメモリの1ビッ
ト追加部分の出力を反転して入力に戻すことにより、2
ポートメモリのリングバッファ長さに相当する時間毎に
反転する矩形波信号を作成するとともに、この出力を遅
延時間計測用カウンタのイネーブル信号とし、2ポート
メモリのリングバッファの長さに相当する時間、計数入
力をカウントし、このカウント結果をラッチし表示器に
表示する遅延時間測定回路とを備え、書き込みアドレス
と読み出しアドレスの差分に応じた遅延を発生させ、か
つその遅延時間を測定表示するようにしたことを特徴と
する。According to the present invention, there is provided a serial / parallel conversion section for serial / parallel conversion of an input signal, and storing the serial / parallel converted data.
A two-port memory having a plurality of bit widths obtained by adding one bit to the number of data constituent bits, a parallel / serial conversion unit for performing parallel / serial conversion of data read from a transmission data part of the two-port memory, and a transmission clock A write and read circuit for generating a write address, a write signal, and a read signal, and generating a read address by adding or subtracting a write address and a delay amount setting value, and inverting an output of a 1-bit additional portion of a 2-port memory. And return to input,
A rectangular wave signal that is inverted every time corresponding to the length of the ring buffer of the port memory is created, and this output is used as an enable signal of the counter for measuring the delay time, and the time corresponding to the length of the ring buffer of the two-port memory, A delay time measuring circuit that counts a count input, latches the count result, and displays the result on a display, generates a delay corresponding to a difference between a write address and a read address, and measures and displays the delay time. It is characterized by having done.
【0012】本発明は、入力信号をシリアル/パラレル
変換するシリアル/パラレル変換部と、シリアル/パラ
レル変換されたデータを格納する、データ構成ビット数
に1ビット追加した複数ビット幅の汎用メモリと、この
汎用メモリの伝送データ部分から読み出されたデータを
パラレル/シリアル変換するパラレル/シリアル変換部
と、前記シリアル/パラレル変換部の出力側に設けたラ
ッチ回路及び伝送データ用入力側ゲート回路と、伝送ク
ロックに基づいて書き込みアドレスや書き込み信号、読
み出し信号、ゲート切り替え信号を生成するとともに、
書き込みアドレスと遅延量設定値との加算または減算に
よって読み出しアドレスを生成し、書き込みアドレスと
読み出しアドレスのバス切り替えをゲート切り替え信号
に基づいて時分割で行うようにした書き込み及び読み出
し回路と、汎用メモリの1ビット追加部分の出力を反転
して入力に戻すことにより、汎用メモリのリングバッフ
ァ長さに相当する時間毎に反転する矩形波信号を作成す
るとともに、この出力を遅延時間計測用カウンタのイネ
ーブル信号とし、汎用メモリのリングバッファの長さに
相当する時間、計数入力をカウントし、このカウント結
果をラッチし表示器に表示する遅延時間測定回路とを備
え、書き込みアドレスと読み出しアドレスの差分に応じ
た遅延を発生させ、かつその遅延時間を測定表示するよ
うにしたことを特徴とする。According to the present invention, there is provided a serial / parallel converter for serial / parallel conversion of an input signal, a general-purpose memory for storing serial / parallel-converted data, a plurality of bits having a data configuration bit number added by one bit, A parallel / serial converter for parallel / serial conversion of data read from the transmission data portion of the general-purpose memory, a latch circuit provided on the output side of the serial / parallel converter, and a transmission data input side gate circuit; While generating a write address, a write signal, a read signal, and a gate switching signal based on the transmission clock,
A write and read circuit that generates a read address by adding or subtracting a write address and a delay amount setting value, and performs a time-division bus switch between the write address and the read address based on a gate switch signal; By inverting the output of the one-bit additional portion and returning it to the input, a rectangular wave signal that is inverted every time corresponding to the ring buffer length of the general-purpose memory is created, and this output is used as an enable signal of the delay time measurement counter. A delay time measuring circuit that counts the count input for a time corresponding to the length of the ring buffer of the general-purpose memory, latches the count result, and displays the result on a display device, according to the difference between the write address and the read address. A special feature is that a delay is generated and the delay time is measured and displayed. To.
【0013】また本発明は、入力信号をシリアル/パラ
レル変換するシリアル/パラレル変換部と、シリアル/
パラレル変換されたデータを格納する、データ構成ビッ
ト数に1ビット追加した複数ビット幅のFIFOメモリ
と、このFIFOメモリの伝送データ部分から読み出さ
れたデータをパラレル/シリアル変換するパラレル/シ
リアル変換部と、伝送クロックをカウントしその内容か
ら書き込み信号と伝送データ部分のメモリ幅毎の出力パ
ルスを発生させ、かつ遅延量設定値から伝送データ部分
のメモリ幅毎の出力パルス数を減算しそのカウントアッ
プ時に読み出し兼P/Sロード信号を発生させるように
した書き込み及び読み出し回路と、FIFOメモリの1
ビット追加部分の出力を反転して入力に戻すことによ
り、FIFOメモリの深さに相当する時間毎に反転する
矩形波信号を作成するとともに、この出力を遅延時間計
測用カウンタのイネーブル信号とし、FIFOメモリの
深さに相当する時間、計数入力をカウントし、このカウ
ント結果をラッチし表示器に表示する遅延時間測定回路
とを備え、書き込みタイミングと読み出しタイミングの
時間差により遅延を発生させ、かつその遅延時間を測定
表示するようにしたことを特徴とする。The present invention also provides a serial / parallel converter for serial / parallel conversion of an input signal;
A FIFO memory having a plurality of bits with one bit added to the number of data constituent bits for storing parallel-converted data, and a parallel-to-serial converter for performing parallel-to-serial conversion of data read from a transmission data portion of the FIFO memory Counts the transmission clock, generates a write signal and an output pulse for each memory width of the transmission data part from the content, and subtracts the number of output pulses for each memory width of the transmission data part from the delay amount setting value and counts up. A write / read circuit for generating a read / P / S load signal at times, and a FIFO memory 1
By inverting the output of the bit addition portion and returning it to the input, a rectangular wave signal that is inverted every time corresponding to the depth of the FIFO memory is created, and this output is used as an enable signal of the delay time measurement counter, A delay time measuring circuit that counts a count input for a time corresponding to the depth of the memory, latches the count result, and displays the result on a display, and generates a delay due to a time difference between a write timing and a read timing; It is characterized in that the time is measured and displayed.
【0014】[0014]
【発明の実施の形態】図1に本発明の実施形態1を示
す。図中、1は入力信号(シリアルデータ)のシリアル
/パラレル(S/P)変換を行うS/P変換部、2はパ
ラレル/シリアル(P/S)変換を行ってシリアルデー
タの出力信号を得るP/S変換部、10はS/P変換さ
れたデータを格納する2ポートメモリである。2ポート
メモリ10は、S/P変換データが8ビットのデータ構
成であれば、1ビット追加して9ビット幅とし、8ビッ
ト幅の部分(伝送データ部分)に並列の8ビットデータ
をS/P変換するタイミングに同期して書き込む。つま
り、8クロックに1回ずつの書き込み処理とする。1ビ
ット追加部分は、遅延時間測定用とする。また、メモリ
容量は、遅延量の最大値を基にして決定する。FIG. 1 shows a first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an S / P converter for performing serial / parallel (S / P) conversion of an input signal (serial data), and reference numeral 2 denotes an output signal of serial data by performing parallel / serial (P / S) conversion. The P / S conversion unit 10 is a two-port memory for storing S / P converted data. If the S / P conversion data has a data configuration of 8 bits, the 2-port memory 10 adds 1 bit to the 9-bit width and converts the 8-bit data parallel to the 8-bit width portion (transmission data portion) to the S / P data. Write in synchronization with the timing of P conversion. That is, the writing process is performed once every eight clocks. The one-bit additional part is used for delay time measurement. Further, the memory capacity is determined based on the maximum value of the delay amount.
【0015】11はクロックパルスをカウントして書き
込みアドレスを生成するカウンタ、13は遅延量設定回
路、14は書き込みアドレスと設定遅延量との加算(ま
たは減算)を行って読み出しアドレスを生成する加算
(または減算)回路である。これらと、カウンタ11の
内容から書き込み信号と読み出し信号を作成するデコー
ダ(図示省略)などによって、2ポートメモリ10の書
き込み、読み出し回路を構成している。回路14の算術
機能を加算とするか、減算とするかは、メモリに対して
アドレスをインクリメントしながら書き込むか、ディク
リメントしながら書き込むかによって決まる。インクリ
メントの場合は減算、ディクリメントの場合は加算とす
る。この場合、メモリ容量に対して、この演算が桁下が
り、桁上がりをしてメモリ空間を越えても、有効なアド
レスビットだけ使用すれば、自動的にメモリ空間の中を
リングバッファして使用可能である。また、カウンタ1
1は、自動的に巡回し、メモリ10への書き込みアドレ
スを発生するリングカウンタとする。Numeral 11 denotes a counter which counts clock pulses to generate a write address, 13 denotes a delay amount setting circuit, and 14 adds (or subtracts) the write address and the set delay amount to generate a read address. Or subtraction) circuit. These, together with a decoder (not shown) for creating a write signal and a read signal from the contents of the counter 11, constitute a write and read circuit of the two-port memory 10. Whether the arithmetic function of the circuit 14 is added or subtracted depends on whether the address is written to the memory while incrementing or decrementing the address. In the case of increment, subtraction is performed, and in the case of decrement, addition is performed. In this case, even if this operation is carried out of the memory space due to carry down and carry over, the memory space can be automatically used as a ring buffer by using only valid address bits. It is. Also, counter 1
1 is a ring counter that automatically circulates and generates a write address to the memory 10.
【0016】201は2ポートメモリ10の1ビット追
加部分の出力を反転するNOT回路(インバータ)、2
02はこのNOT回路201の出力を入力とするDフリ
ップフロップで、その出力を2ポートメモリ10の1ビ
ット追加部分の入力としている。つまり、2ポートメモ
リ10の1ビット追加部分の出力を反転して入力に戻す
ことにより、2ポートメモリ10のリングバッファ長さ
に相当する時間毎に反転する矩形波信号を作成するよう
にしている。203は遅延時間計測用カウンタ、204
はラッチ回路、205は伝送遅延時間を表示する7セグ
メント表示器である。遅延時間計測用カウンタ203
は、2ポートメモリ10の1ビット追加部分の出力をイ
ネーブル信号とし、2ポートメモリのリングバッファの
長さに相当する時間、計数入力(例えば、10kHzク
ロック)をカウントする。カウント結果はラッチ回路2
04でラッチし表示器205に表示する。12ビットカ
ウンタを使用し、10kHzクロックを計数入力とした
場合、測定精度(分解能)は0.1ms、測定範囲は3
桁表示0.1〜20.0msとなる。Reference numeral 201 denotes a NOT circuit (inverter) for inverting the output of the one-bit additional portion of the two-port memory 10;
A D flip-flop 02 receives the output of the NOT circuit 201 as an input. The output of the D flip-flop is used as an input of a 1-bit additional portion of the two-port memory 10. That is, by inverting the output of the one-bit additional portion of the two-port memory 10 and returning it to the input, a rectangular wave signal that is inverted every time corresponding to the ring buffer length of the two-port memory 10 is created. . 203 is a delay time measurement counter, 204
, A latch circuit; and 205, a 7-segment display for displaying the transmission delay time. Delay time counter 203
Uses the output of the one-bit additional portion of the two-port memory 10 as an enable signal and counts a count input (for example, a 10 kHz clock) for a time corresponding to the length of the ring buffer of the two-port memory. Count result is latch circuit 2
At 04, the data is latched and displayed on the display 205. When a 12 kHz counter is used and a 10 kHz clock is used as a count input, the measurement accuracy (resolution) is 0.1 ms, and the measurement range is 3
The digit display becomes 0.1 to 20.0 ms.
【0017】次に、動作について述べる。設定回路14
で書き込みアドレスと読み出しアドレスの差分の遅延量
を設定し、データを入力すると、入力信号は8クロック
毎にS/P変換され、S/P変換のタイミングに同期し
て8ビットデータが2ポートメモリ10に書き込まれ
る。そのアドレスは、カウンタ11によるクロックのカ
ウントに伴って生成される。アドレスビットは有限であ
り、例えばメモリ容量に応じたビット長である。メモリ
10に対してアドレスをインクリントしながら書き込む
場合、読み出しアドレスは書き込みアドレスから遅延設
定値を減算することによって決定される。Next, the operation will be described. Setting circuit 14
When the delay amount of the difference between the write address and the read address is set and data is input, the input signal is S / P converted every eight clocks, and the 8-bit data is synchronized with the S / P conversion timing. Written to 10. The address is generated as the counter 11 counts the clock. The address bits are finite and have a bit length according to the memory capacity, for example. When writing an address to the memory 10 while incrementing it, the read address is determined by subtracting the delay setting value from the write address.
【0018】データの書き込み後、遅延設定時間が経過
すると読み出しアドレスがそのデータの書き込み時の書
き込みアドレスと等しくなり、データの読み出しが行わ
れる。このデータがP/S変換部2でP/S変換され
て、出力信号(シリアルデータ)となる。この結果、デ
ータの伝送は、書き込みアドレスと読み出しアドレスの
差分に比例した時間だけ遅延することになる。この伝送
遅延動作は、発明が解決しようとする課題の欄で挙げた
先願の明細書に記述してあり、ここでの詳述は省略す
る。After writing the data, when the delay set time has elapsed, the read address becomes equal to the write address at the time of writing the data, and the data is read. This data is subjected to P / S conversion by the P / S converter 2 to become an output signal (serial data). As a result, data transmission is delayed by a time proportional to the difference between the write address and the read address. This transmission delay operation is described in the specification of the earlier application listed in the section of the problem to be solved by the invention, and the detailed description is omitted here.
【0019】一方、伝送データの書き込みに伴い、2ポ
ートメモリ10の1ビット追加部分にもDフリップフロ
ップ202の出力(例えば、Hレベル)が逐次書き込ま
れる。この2ポートメモリ10の1ビット追加部分への
Hレベル情報(Dフリップフロップ202の出力)の書
き込みは、伝送データ分だけ続く。そして、設定遅延量
が経過すると、該当するメモリアドレスから順次読み出
される。2ポートメモリ10の1ビット追加部分の出力
は、遅延時間計測用カウンタ203のイネーブル信号と
なっており、そのLレベルからHレベルへの立ち上がり
でカウンタ203がクリアされ、続いて計数入力のカウ
ントが行われる。2ポートメモリ10の1ビット追加部
分の出力のHレベルは、2ポートメモリ10のリングバ
ッファ長さに相当する時間継続されることになり、その
間カウンタ203において計数入力がカウントされる。
このカウント結果、つまり伝送データの伝送遅延時間の
計数出力がラッチ回路204にラッチされ、表示器20
5に表示される。そのタイミングの表示は、後述の実施
形態2のタイミングチャート(図3)に兼用させてお
り、リングバッファ長さ(時間)が伝送遅延時間を示し
ている。On the other hand, with the writing of the transmission data, the output (eg, H level) of the D flip-flop 202 is sequentially written to the one-bit additional portion of the two-port memory 10. The writing of the H level information (the output of the D flip-flop 202) to the one-bit additional portion of the two-port memory 10 continues for the transmission data. Then, when the set delay amount has elapsed, the data is sequentially read from the corresponding memory address. The output of the one-bit additional portion of the two-port memory 10 is an enable signal for the delay time measurement counter 203, and the counter 203 is cleared at the rise from the L level to the H level. Done. The H level of the output of the one-bit additional portion of the two-port memory 10 continues for a time corresponding to the length of the ring buffer of the two-port memory 10, and the counter 203 counts the count input during that time.
The count result, that is, the count output of the transmission delay time of the transmission data is latched by the latch circuit 204, and the display 20
5 is displayed. The display of the timing is also used in the timing chart (FIG. 3) of the second embodiment described later, and the length (time) of the ring buffer indicates the transmission delay time.
【0020】なお、伝送遅延時間を示すことになるリン
グバッファ長さ(時間)は、2ポートメモリ10の1ビ
ット追加部分の入出力レベル関係を反対にすれば、Lレ
ベルの時間がこれに相当する。The ring buffer length (time) indicating the transmission delay time corresponds to the L-level time if the input / output level relation of the 1-bit additional portion of the 2-port memory 10 is reversed. I do.
【0021】図2に本発明の実施形態2を示す。図中、
1は入力信号(シリアルデータ)のシリアル/パラレル
(S/P)変換を行うS/P変換部、2はパラレル/シ
リアル(P/S)変換を行ってシリアルデータの出力信
号を得るP/S変換部、3は前記S/P変換部1の出力
側に設けたラッチ回路、4は伝送データ用入力側ゲート
回路、5は伝送データ用出力側ゲート回路、20はS/
P変換されたデータを格納する汎用メモリである。汎用
メモリ20は、S/P変換データが8ビットのデータ構
成であれば、そのビット幅8に1ビットを追加した9ビ
ット幅とし、8ビット幅部分(伝送データ部分)に並列
の8ビットデータをS/P変換するタイミングに同期し
て書き込む。つまり、8クロックに1回ずつの書き込み
処理とする。1ビット追加部分は、遅延時間測定用とす
る。また、メモリ容量は、遅延量の最大値を基にして決
定する。FIG. 2 shows a second embodiment of the present invention. In the figure,
1 is an S / P converter for performing serial / parallel (S / P) conversion of an input signal (serial data), and 2 is a P / S for performing parallel / serial (P / S) conversion to obtain an output signal of serial data. The converter 3, a latch circuit 3 provided on the output side of the S / P converter 1, a transmission data input gate circuit 5, a transmission data output gate circuit 20, and an S / P converter 20
This is a general-purpose memory for storing P-converted data. If the S / P conversion data has an 8-bit data configuration, the general-purpose memory 20 has a 9-bit width obtained by adding 1 bit to the 8-bit data, and the 8-bit data parallel to the 8-bit width portion (transmission data portion). Is written in synchronization with the timing of S / P conversion. That is, the writing process is performed once every eight clocks. The one-bit additional part is used for delay time measurement. Further, the memory capacity is determined based on the maximum value of the delay amount.
【0022】21はクロックパルスをカウントして書き
込みアドレスを生成するカウンタ、23は遅延量設定回
路、24は書き込みアドレスと設定遅延量との加算(ま
たは減算)を行って読み出しアドレスを生成する加算
(または減算)回路、25は書き込み側のタイミングに
より生成されるアドレスと読み出し側のタイミングによ
り生成されるアドレスを時分割に切り替えるマルチプレ
クサである。このマルチプレクサ25を切り替える信号
としてゲート切替信号を利用する。これらと、カウンタ
21の内容から書き込み信号、読み出し信号とゲート切
替信号を作成するデコーダ(図示省略)などによって、
汎用メモリ20の書き込み、読み出し回路を構成してい
る。回路24の算術機能を加算とするか、減算とするか
は、メモリに対してアドレスをインクリメントしながら
書き込むか、ディクリメントしながら書き込むかによっ
て決まる。インクリメントの場合は減算、ディクリメン
トの場合は加算とする。この場合、メモリ容量に対し
て、この演算が桁下がり、桁上がりをしてメモリ空間を
越えても、有効なアドレスビットだけ使用すれば、自動
的にメモリ空間の中をリングバッファして使用可能であ
る。また、書き込みアドレスを生成するカウンタ21は
リングカウンタとし、自動的に巡回するようなアドレス
生成回路(タイムアップ後、リロードする回路)とす
る。Reference numeral 21 denotes a counter that counts clock pulses to generate a write address; 23, a delay amount setting circuit; and 24, an addition (or subtraction) between the write address and the set delay amount to generate a read address. Or a subtraction) circuit 25, which is a multiplexer for switching the address generated by the write-side timing and the address generated by the read-side timing in a time-division manner. A gate switching signal is used as a signal for switching the multiplexer 25. A decoder (not shown) that generates a write signal, a read signal, and a gate switching signal from the contents of the counter 21 and the like,
The write / read circuit of the general-purpose memory 20 is configured. Whether the arithmetic function of the circuit 24 is added or subtracted depends on whether the address is written to the memory while incrementing or decrementing the address. In the case of increment, subtraction is performed, and in the case of decrement, addition is performed. In this case, even if this operation is carried out of the memory space due to carry down and carry over, the memory space can be automatically used as a ring buffer by using only valid address bits. It is. Further, the counter 21 for generating the write address is a ring counter, and is an address generation circuit (circuit for reloading after a time-up) that automatically circulates.
【0023】201は汎用メモリ20の1ビット追加部
分の出力を反転するNOT回路(インバータ)、202
はこのNOT回路201の出力を入力とするDフリップ
フロップ、206はこのDフリップフロップ202の出
力を汎用メモリ20の1ビット追加部分に入力する遅延
測定用入力側ゲート回路、207は汎用メモリ20の1
ビット追加部分の出力をNOT回路201に入力する遅
延測定用出力側ゲート回路である。つまり、汎用メモリ
20の1ビット追加部分の出力を反転して入力に戻すこ
とにより、汎用メモリ20のリングバッファ長さに相当
する時間毎に反転する矩形波信号を作成するようにして
いる。203は遅延時間計測用カウンタ、204はラッ
チ回路、205は伝送遅延時間を表示する7セグメント
表示器である。遅延時間計測用カウンタ203は、遅延
測定用出力側ゲート回路207の出力をイネーブル信号
とし、汎用メモリ20のリングバッファの長さに相当す
る時間、計数入力(例えば、10kHzクロック)をカ
ウントする。カウント結果はラッチ回路204でラッチ
し表示器205に表示する。12ビットカウンタを使用
し、10kHzクロックを計数入力とした場合、測定精
度(分解能)は0.1ms、測定範囲は3桁表示0.1
〜20.0msとなる。Reference numeral 201 denotes a NOT circuit (inverter) for inverting the output of the one-bit additional portion of the general-purpose memory 20;
Is a D flip-flop which receives the output of the NOT circuit 201 as an input, 206 is a delay measurement input side gate circuit which inputs the output of the D flip-flop 202 to a one-bit additional portion of the general-purpose memory 20, and 207 is a gate of the general-purpose memory 20. 1
This is a delay measurement output side gate circuit that inputs the output of the bit addition part to the NOT circuit 201. That is, by inverting the output of the one-bit additional portion of the general-purpose memory 20 and returning it to the input, a rectangular wave signal that is inverted every time corresponding to the ring buffer length of the general-purpose memory 20 is created. 203 is a delay time measurement counter, 204 is a latch circuit, and 205 is a 7-segment display for displaying the transmission delay time. The delay time measurement counter 203 uses the output of the delay measurement output side gate circuit 207 as an enable signal and counts a count input (for example, a 10 kHz clock) for a time corresponding to the length of the ring buffer of the general-purpose memory 20. The count result is latched by the latch circuit 204 and displayed on the display 205. When a 12-bit counter is used and a 10 kHz clock is used as the count input, the measurement accuracy (resolution) is 0.1 ms, and the measurement range is 3 digits.
220.0 ms.
【0024】次に、動作について述べる。タイミングの
一例を図3に示す。設定回路24では、入力部のアドレ
ス生成回路のアドレスに遅延設定値に対応した分の遅れ
アドレスを設定する。入力信号は8クロック毎にS/P
変換され、S/P変換のタイミングに同期して8ビット
データが汎用メモリ20に書き込まれる。メモリへの書
き込み処理はゲート切り替え信号がLの時に実施され
る。つまり、ゲート切り替え信号のLへの立ち下がり
で、その前に入力されたクロック8個分の入力信号がS
/P変換され、ラッチ回路3にラッチされる。このラッ
チされたデータは、書き込み信号のHへの立ち上がりで
メモリ20に書き込まれる。伝送データ用の入力側と出
力側のゲート回路4及び5は、入力側データとメモリ2
0から出力されるデータが衝突しないようにするための
もので、メモリ20からデータが出力される時(読み出
し時)、入力側ゲート回路4を閉じて入力側と電気的に
遮断している。ゲート回路4及び5は、ゲート切り替え
信号がLの間は開いている。Next, the operation will be described. FIG. 3 shows an example of the timing. The setting circuit 24 sets a delay address corresponding to the delay set value in the address of the address generation circuit of the input unit. Input signal is S / P every 8 clocks
The 8-bit data is converted and written into the general-purpose memory 20 in synchronization with the timing of the S / P conversion. The writing process to the memory is performed when the gate switching signal is at L. In other words, when the gate switching signal falls to L, the input signals for eight clocks input before that fall to S.
/ P conversion and latched by the latch circuit 3. The latched data is written to the memory 20 at the rise of the write signal to H. The input side and output side gate circuits 4 and 5 for transmission data are connected to the input side data and the memory 2.
This is for preventing data output from 0 from colliding. When data is output from the memory 20 (during reading), the input side gate circuit 4 is closed to electrically disconnect from the input side. The gate circuits 4 and 5 are open while the gate switching signal is at L.
【0025】書き込みアドレスは、カウンタ21による
クロックのカウントに伴って生成され、マルチプレクサ
25を通して汎用メモリ20に付与される。アドレスビ
ットは有限であり、例えばメモリ容量に応じたビット長
である。メモリ20に対してアドレスをインクリントし
ながら書き込む場合、読み出しアドレスは書き込みアド
レスから遅延設定値を減算することによって決定され
る。The write address is generated in accordance with the clock count by the counter 21, and is provided to the general-purpose memory 20 through the multiplexer 25. The address bits are finite and have a bit length according to the memory capacity, for example. When the address is written to the memory 20 while being incremented, the read address is determined by subtracting the delay setting value from the write address.
【0026】データの書き込み後、遅延設定時間が経過
すると読み出しアドレスがそのデータの書き込み時の書
き込みアドレスと等しくなる。これがマルチプレクサ2
5を介して汎用メモリ20に付与されると、出力側のタ
イミングでデータが読み出される。つまり、ゲート切り
替え信号がHになると読み出し処理となる。この時、入
力側ゲート回路4は閉じられる。読み出し信号のLへの
立ち下がりに応じてメモリ20からデータが読み出さ
れ、出力側ゲート回路5を経てP/S変換部2に入力さ
れる。このデータがP/S変換部2でP/S変換され
て、出力信号(シリアルデータ)となる。この読み出し
信号も8回に1回の割合で発生する。After writing the data, when the delay set time has elapsed, the read address becomes equal to the write address at the time of writing the data. This is multiplexer 2
5, the data is read out at the timing on the output side. That is, when the gate switching signal becomes H, the reading process is performed. At this time, the input side gate circuit 4 is closed. Data is read from the memory 20 in response to the fall of the read signal to L, and is input to the P / S converter 2 via the output side gate circuit 5. This data is subjected to P / S conversion by the P / S converter 2 to become an output signal (serial data). This read signal is also generated once every eight times.
【0027】一方、伝送データの書き込みに伴い、汎用
メモリ20の1ビット追加部分にもDフリップフロップ
202の出力(例えば、Hレベル)が逐次書き込まれ
る。この汎用メモリ20の1ビット追加部分へのHレベ
ル情報(Dフリップフロップ202の出力)の書き込み
は、伝送データ分だけ続く。そして、設定遅延量が経過
すると、該当するメモリアドレスから順次読み出され
る。汎用メモリ20の1ビット追加部分の出力は、遅延
測定用出力側ゲート回路207を介して遅延時間計測用
カウンタ203のイネーブル信号となっており、そのL
レベルからHレベルへの立ち上がりでカウンタ203が
クリアされ、続いて計数入力のカウントが行われる。汎
用メモリ20の1ビット追加部分の出力のHレベルは、
汎用メモリ20のリングバッファ長さに相当する時間継
続されることになり、その間カウンタ203において計
数入力がカウントされる。このカウント結果、つまり伝
送データの伝送遅延時間の計数出力がラッチ回路204
にラッチされ、表示器205に表示される。そのタイミ
ングは、図3に示すようにリングバッファ長さ(時
間)、つまり伝送遅延時間を示している。On the other hand, with the writing of the transmission data, the output (eg, H level) of the D flip-flop 202 is sequentially written to the one-bit additional portion of the general-purpose memory 20. The writing of the H level information (the output of the D flip-flop 202) to the one-bit additional portion of the general-purpose memory 20 continues for the transmission data. Then, when the set delay amount has elapsed, the data is sequentially read from the corresponding memory address. The output of the one-bit additional portion of the general-purpose memory 20 becomes an enable signal of the delay time measurement counter 203 via the delay measurement output side gate circuit 207, and its L signal is output.
At the rise from the level to the H level, the counter 203 is cleared, and then the counting input is counted. The H level of the output of the 1-bit additional portion of the general-purpose memory 20 is
The time corresponding to the length of the ring buffer of the general-purpose memory 20 is continued, during which the counter 203 counts the count input. The count result, that is, the count output of the transmission delay time of the transmission data is output to the latch circuit 204.
And is displayed on the display 205. The timing indicates a ring buffer length (time), that is, a transmission delay time, as shown in FIG.
【0028】図4に本発明の実施形態3を示す。図中、
1は入力信号(シリアルデータ)のシリアル/パラレル
(S/P)変換を行うS/P変換部、2はパラレル/シ
リアル(P/S)変換を行ってシリアルデータの出力信
号を得るP/S変換部、30はS/P変換されたデータ
を格納するFIFOメモリIC(以後、単にFIFOと
呼ぶ)である。FIFO30は、S/P変換データが8
ビットのデータ構成であれば、これに1ビット追加して
9ビット幅とし、並列の8ビットデータをS/P変換す
るタイミングに同期して8ビット幅の部分(伝送データ
部分)に書き込む。つまり、8クロックに1回ずつの書
き込み処理とする。また、メモリ深さは、遅延量の最大
値か、それ以上とする。FIG. 4 shows a third embodiment of the present invention. In the figure,
1 is an S / P converter for performing serial / parallel (S / P) conversion of an input signal (serial data), and 2 is a P / S for performing parallel / serial (P / S) conversion to obtain an output signal of serial data. The conversion unit 30 is a FIFO memory IC (hereinafter, simply referred to as FIFO) for storing S / P converted data. The FIFO 30 stores 8 S / P conversion data.
In the case of a bit data configuration, one bit is added to the data configuration to make it a 9-bit width, and the 8-bit data is written in an 8-bit width portion (transmission data portion) in synchronization with the timing of S / P conversion. That is, the writing process is performed once every eight clocks. The memory depth is set to the maximum value of the delay amount or more.
【0029】31はクロックパルスをカウントするカウ
ンタ(8ビットカウンタ)、33は遅延量設定回路、3
4は減算回路(ダウンカウンタ)で、前記遅延量設定回
路33の設定遅延量を設定入力、前記カウンタ31の出
力(巡回回数)を減算入力とする。この減算回路(ダウ
ンカウンタ)34の零出力(カウントアップ出力)を読
み出し兼P/Sロード信号とする。これらと、カウンタ
31の内容から書き込み信号を作成するデコーダ(図示
省略)などによって、FIFO30の書き込み、読み出
し回路を構成している。Reference numeral 31 denotes a counter for counting clock pulses (8-bit counter); 33, a delay amount setting circuit;
Reference numeral 4 denotes a subtraction circuit (down counter) which sets the input delay amount of the delay amount setting circuit 33 and inputs the output (number of cycles) of the counter 31 as a subtraction input. The zero output (count-up output) of the subtraction circuit (down counter) 34 is read and used as a P / S load signal. These and a decoder (not shown) for creating a write signal from the contents of the counter 31 constitute a write / read circuit of the FIFO 30.
【0030】201はFIFO30の1ビット追加部分
の出力を反転するNOT回路(インバータ)、202は
このNOT回路201の出力を入力とするDフリップフ
ロップで、その出力をFIFO30の1ビット追加部分
の入力としている。つまり、FIFO30の1ビット追
加部分の出力を反転して入力に戻すことにより、FIF
O30の深さ(ストアされたデータ量)に相当する時間
毎に反転する矩形波信号を作成するようにしている。2
03は遅延時間計測用カウンタ、204はラッチ回路、
205は伝送遅延時間を表示する7セグメント表示器で
ある。遅延時間計測用カウンタ203は、FIFO30
の1ビット追加部分の出力をイネーブル信号とし、FI
FO30の深さに相当する時間、計数入力(例えば、1
0kHzクロック)をカウントする。カウント結果はラ
ッチ回路204でラッチし表示器205に表示する。1
2ビットカウンタを使用し、10kHzクロックを計数
入力とした場合、測定精度(分解能)は0.1ms、測
定範囲は3桁表示0.1〜20.0msとなる。Numeral 201 denotes a NOT circuit (inverter) for inverting the output of the one-bit additional part of the FIFO 30, and numeral 202 denotes a D flip-flop which receives the output of the NOT circuit 201 as an input. And In other words, by inverting the output of the 1-bit additional portion of the FIFO 30 and returning it to the input, the FIFO 30
A rectangular wave signal that is inverted every time corresponding to the depth of O30 (the amount of stored data) is created. 2
03 is a delay time measurement counter, 204 is a latch circuit,
Reference numeral 205 denotes a 7-segment display for displaying the transmission delay time. The delay time measurement counter 203 is a FIFO 30
Is used as an enable signal and the FI
A time corresponding to the depth of the FO 30 and a count input (for example, 1
0 kHz clock). The count result is latched by the latch circuit 204 and displayed on the display 205. 1
When a 2-bit counter is used and a 10 kHz clock is used as a count input, the measurement accuracy (resolution) is 0.1 ms, and the measurement range is 0.1 to 20.0 ms in three digits.
【0031】次に、動作について述べる。タイミングの
一例を図5に示す。この実施形態では、書き込み、読み
出しのアドレス生成を必要せず、FIFO30への書き
込みタイミングと読み出しタイミングの時間差により遅
延が発生する。遅延量設定回路33は、入力部の書き込
み信号に対応した遅延データ分の遅れをもって読み出し
信号を設定できるような方式とする。入力信号は8クロ
ック毎にS/P変換され、S/P変換のタイミングに同
期して8ビットデータがFIFO30の8ビット幅の部
分(伝送データ部分)に書き込まれる。このデータは、
直ちにFIFO30の出口に移送される。データの書き
込み後、遅延設定時間が経過すると減算回路34に零出
力(読み出し兼P/Sロード信号)が生じる。これに伴
い、データの読み出しが行われP/S変換部2でP/S
変換されて、出力信号(シリアルデータ)となる。この
結果、データの伝送は、書き込みタイミングと読み出し
タイミングの時間差だけ遅延することになる。Next, the operation will be described. An example of the timing is shown in FIG. In this embodiment, generation of addresses for writing and reading is not required, and a delay occurs due to a time difference between the writing timing to the FIFO 30 and the reading timing. The delay amount setting circuit 33 is configured to be capable of setting a read signal with a delay corresponding to delay data corresponding to a write signal of the input unit. The input signal is subjected to S / P conversion every eight clocks, and 8-bit data is written to an 8-bit width portion (transmission data portion) of the FIFO 30 in synchronization with the S / P conversion timing. This data is
It is immediately transferred to the outlet of the FIFO 30. After the data writing, when the delay set time has elapsed, a zero output (readout and P / S load signal) is generated in the subtraction circuit 34. Along with this, the data is read out and the P / S
It is converted to an output signal (serial data). As a result, data transmission is delayed by the time difference between the write timing and the read timing.
【0032】一方、伝送データの書き込みに伴い、FI
FO30の1ビット追加部分にもDフリップフロップ2
02の出力(例えば、Hレベル)が逐次書き込まれる。
このFIFO30の1ビット追加部分へのHレベル情報
(Dフリップフロップ202の出力)の書き込みは、伝
送データ分だけ続く。そして、設定遅延量が経過する
と、先に書き込まれた遅延測定用情報から順次読み出さ
れる。FIFO30の1ビット追加部分の出力は、遅延
時間計測用カウンタ203のイネーブル信号となってお
り、そのLレベルからHレベルへの立ち上がりでカウン
タ203がクリアされ、続いて計数入力のカウントが行
われる。FIFO30の1ビット追加部分の出力のHレ
ベルは、FIFO30の深さに相当する時間継続される
ことになり、その間カウンタ203において計数入力が
カウントされる。このカウント結果、つまり伝送データ
の伝送遅延時間の計数出力がラッチ回路204にラッチ
され、表示器205に表示される。そのタイミングは、
図5に示すようにFIFO30の深さ(時間)、つまり
伝送遅延時間を示している。On the other hand, as the transmission data is written,
D flip-flop 2 is also added to the 1-bit additional part of FO30.
02 (for example, H level) is sequentially written.
The writing of the H level information (the output of the D flip-flop 202) to the 1-bit additional portion of the FIFO 30 continues for the transmission data. Then, when the set delay amount has elapsed, the information is sequentially read from the previously written delay measurement information. The output of the 1-bit additional portion of the FIFO 30 is an enable signal for the delay time measurement counter 203. The counter 203 is cleared at the rise from the L level to the H level, and then the count input is performed. The H level of the output of the 1-bit additional portion of the FIFO 30 continues for a time corresponding to the depth of the FIFO 30, and the counter 203 counts the count input during that time. The count result, that is, the count output of the transmission delay time of the transmission data is latched by the latch circuit 204 and displayed on the display 205. The timing is
As shown in FIG. 5, the depth (time) of the FIFO 30, that is, the transmission delay time is shown.
【0033】なお、この場合も、伝送遅延時間を示すこ
とになるFIFO30の深さ(時間)は、FIFO30
の1ビット追加部分の入出力レベル関係を反対にすれ
ば、Lレベルの時間がこれに相当する。In this case as well, the depth (time) of the FIFO 30, which indicates the transmission delay time, is determined by the FIFO 30
If the input / output level relationship of the 1-bit additional portion is reversed, the L-level time corresponds to this.
【0034】上述したように、各実施形態は、S/P変
換後の並列データのビット数に遅延測定用の1ビットを
追加したビット幅のメモリを使用し、その1ビット追加
部分でリングバッファ長さ(時間)、あるいはFIFO
の深さ(RAMの場合のリングバッファの長さに相当)
毎に反転する矩形波信号を作成するとともに、1ビット
追加部分の出力を遅延時間計測用カウンタのイネーブル
信号として計数制御を行うようにしたものであり、簡易
な構成でありながら伝送遅延を常時、正確に確認でき
る。As described above, each embodiment uses a memory having a bit width in which one bit for delay measurement is added to the number of bits of parallel data after S / P conversion, and a ring buffer is used in the one-bit addition part. Length (hours) or FIFO
Depth (equivalent to the length of the ring buffer in the case of RAM)
In addition to creating a rectangular wave signal that is inverted every time, the output of the one-bit additional portion is used as a count control as an enable signal of the delay time measurement counter. Can be confirmed accurately.
【0035】[0035]
【発明の効果】以上のように本発明によれば、伝送遅延
に伝送データ構成のビット数に対応したビット幅のメモ
リICを使用し、その書き込みアドレスと読み出しアド
レスの差分、あるいは書き込みタイミングと読み出しタ
イミングの時間差(遅れ)に応じて任意の遅延設定を可
能とした場合、遅延時間測定用として1ビット追加した
メモリビット幅とし、その出力を反転して入力に戻し
て、リングバッファの長さ、あるいはFIFOの深さに
相当する時間毎に反転する矩形波信号を作成するととも
に、1ビット追加部分の出力を遅延時間計測用カウンタ
のイネーブル信号として計数入力をカウントし、ラッ
チ、表示するようにしたので、設定通りに伝送データが
遅延しているか否かを表示によって常時確認することが
できる。しかも、その確認を、容易に、かつ確実に行え
る、といった利点がある。As described above, according to the present invention, a memory IC having a bit width corresponding to the number of bits of a transmission data structure is used for a transmission delay, and a difference between a write address and a read address, or a write timing and a read When an arbitrary delay can be set according to the timing difference (delay), the memory bit width is set to one bit added for measuring the delay time, the output is inverted and returned to the input, and the length of the ring buffer is determined. Alternatively, a rectangular wave signal that is inverted every time corresponding to the depth of the FIFO is created, and the count input is counted, latched, and displayed by using the output of the additional one bit as the enable signal of the delay time measurement counter. Therefore, whether or not the transmission data is delayed as set can always be confirmed by the display. Moreover, there is an advantage that the confirmation can be performed easily and reliably.
【図1】本発明の実施形態1を示す回路構成図。FIG. 1 is a circuit diagram showing a first embodiment of the present invention.
【図2】本発明の実施形態2を示す回路構成図。FIG. 2 is a circuit diagram showing a second embodiment of the present invention.
【図3】実施形態2のタイミングチャート。FIG. 3 is a timing chart of the second embodiment.
【図4】本発明の実施形態3を示す回路構成図。FIG. 4 is a circuit configuration diagram showing a third embodiment of the present invention.
【図5】実施形態3のタイミングチャート。FIG. 5 is a timing chart of the third embodiment.
【図6】従来例を示す構成説明図。FIG. 6 is a configuration explanatory view showing a conventional example.
【図7】メモリICを応用した伝送遅延設定装置(先
願)を光PCMリレーの模擬試験に適用した場合の接続
図。FIG. 7 is a connection diagram in a case where a transmission delay setting device (first application) to which a memory IC is applied is applied to a simulation test of an optical PCM relay.
【図8】メモリIC応用の伝送遅延設定装置(先願)を
光PCMリレーの模擬試験に適用した場合の遅延特性
図。FIG. 8 is a delay characteristic diagram when a transmission delay setting device (first application) applied to a memory IC is applied to a simulation test of an optical PCM relay.
1…S/P変換部 2…P/S変換部 3…ラッチ回路 4…伝送データ用入力側ゲート 5…伝送データ用出力側ゲート 10…2ポートメモリ 11…カウンタ 13…遅延量設定回路 14…加算または減算回路 20…汎用メモリ 21…カウンタ 23…遅延量設定回路 24…加算または減算回路 25…マルチプレクサ 30…FIFO 31…カウンタ 33…遅延量設定回路 34…減算回路(ダウンカウンタ) 201…NOT回路 202…Dフリップフロップ 203…遅延時間計測用カウンタ 204…ラッチ回路 205…7セグメント表示器 207…遅延測定用出力側ゲート回路 DESCRIPTION OF SYMBOLS 1 ... S / P conversion part 2 ... P / S conversion part 3 ... Latch circuit 4 ... Transmission data input side gate 5 ... Transmission data output side gate 10 ... 2 port memory 11 ... Counter 13 ... Delay amount setting circuit 14 ... Addition or subtraction circuit 20 General-purpose memory 21 Counter 23 Delay amount setting circuit 24 Addition or subtraction circuit 25 Multiplexer 30 FIFO 31 Counter 33 Delay amount setting circuit 34 Subtraction circuit (down counter) 201 NOT circuit 202 ... D flip-flop 203 ... Delay time measurement counter 204 ... Latch circuit 205 ... 7-segment display 207 ... Delay measurement output side gate circuit
Claims (3)
シリアル/パラレル変換部と、シリアル/パラレル変換
されたデータを格納する、データ構成ビット数に1ビッ
トを追加した複数ビット幅の2ポートメモリと、この2
ポートメモリの伝送データ部分から読み出されたデータ
をパラレル/シリアル変換するパラレル/シリアル変換
部と、伝送クロックに基づいて書き込みアドレスや書き
込み信号、読み出し信号を生成するとともに、書き込み
アドレスと遅延量設定値との加算または減算によって読
み出しアドレスを生成する書き込み及び読み出し回路
と、2ポートメモリの1ビット追加部分の出力を反転し
て入力に戻すことにより、2ポートメモリのリングバッ
ファ長さに相当する時間毎に反転する矩形波信号を作成
するとともに、この出力を遅延時間計測用カウンタのイ
ネーブル信号とし、2ポートメモリのリングバッファの
長さに相当する時間、計数入力をカウントし、このカウ
ント結果をラッチし表示器に表示する遅延時間測定回路
とを備え、書き込みアドレスと読み出しアドレスの差分
に応じた遅延を発生させ、かつその遅延時間を測定表示
するようにしたことを特徴とする伝送遅延設定装置。1. A serial / parallel converter for serial / parallel conversion of an input signal, a two-port memory for storing serial / parallel-converted data and having a plurality of bit widths obtained by adding one bit to a data configuration bit number; This 2
A parallel / serial converter for converting data read from the transmission data portion of the port memory into parallel / serial; a write address, a write signal, and a read signal based on a transmission clock; A write and read circuit that generates a read address by addition or subtraction with the above, and by inverting the output of the one-bit additional portion of the two-port memory and returning it to the input, every time corresponding to the ring buffer length of the two-port memory A rectangular wave signal which is inverted to the above is generated, and this output is used as an enable signal of the delay time measurement counter, the count input is counted for a time corresponding to the length of the ring buffer of the 2-port memory, and the count result is latched. A delay time measurement circuit for displaying on the display Transmission delay setting device, characterized in that to generate a delay corresponding to the difference between dress and the read address, and was set to measure display the delay time.
シリアル/パラレル変換部と、シリアル/パラレル変換
されたデータを格納する、データ構成ビット数に1ビッ
ト追加した複数ビット幅の汎用メモリと、この汎用メモ
リの伝送データ部分から読み出されたデータをパラレル
/シリアル変換するパラレル/シリアル変換部と、前記
シリアル/パラレル変換部の出力側に設けたラッチ回路
及び伝送データ用入力側ゲート回路と、伝送クロックに
基づいて書き込みアドレスや書き込み信号、読み出し信
号、ゲート切り替え信号を生成するとともに、書き込み
アドレスと遅延量設定値との加算または減算によって読
み出しアドレスを生成し、書き込みアドレスと読み出し
アドレスのバス切り替えをゲート切り替え信号に基づい
て時分割で行うようにした書き込み及び読み出し回路
と、汎用メモリの1ビット追加部分の出力を反転して入
力に戻すことにより、汎用メモリのリングバッファ長さ
に相当する時間毎に反転する矩形波信号を作成するとと
もに、この出力を遅延時間計測用カウンタのイネーブル
信号とし、汎用メモリのリングバッファの長さに相当す
る時間、計数入力をカウントし、このカウント結果をラ
ッチし表示器に表示する遅延時間測定回路とを備え、書
き込みアドレスと読み出しアドレスの差分に応じた遅延
を発生させ、かつその遅延時間を測定表示するようにし
たことを特徴とする伝送遅延設定装置。2. A serial / parallel converter for serial / parallel conversion of an input signal, a general-purpose memory for storing serial / parallel-converted data and having a multi-bit width obtained by adding one bit to a data configuration bit number, A parallel / serial converter for converting the data read from the transmission data portion of the memory into parallel / serial; a latch circuit provided on the output side of the serial / parallel converter; a transmission data input side gate circuit; , A write address, a write signal, a read signal, and a gate switching signal are generated, and a read address is generated by adding or subtracting the write address and the delay amount setting value. Time-sharing based on signal By inverting the output of the 1-bit additional portion of the general-purpose memory and returning the input to the input, a rectangular wave signal that is inverted every time corresponding to the ring buffer length of the general-purpose memory is created, A delay time measuring circuit for counting the count input for a time corresponding to the length of the ring buffer of the general-purpose memory, using the output as an enable signal of the delay time measuring counter, latching the count result, and displaying the result on a display. A delay according to a difference between a write address and a read address, and measuring and displaying the delay time.
シリアル/パラレル変換部と、シリアル/パラレル変換
されたデータを格納する、データ構成ビット数に1ビッ
ト追加した複数ビット幅のFIFOメモリと、このFI
FOメモリの伝送データ部分から読み出されたデータを
パラレル/シリアル変換するパラレル/シリアル変換部
と、伝送クロックをカウントしその内容から書き込み信
号と伝送データ部分のメモリ幅毎の出力パルスを発生さ
せ、かつ遅延量設定値から伝送データ部分のメモリ幅毎
の出力パルス数を減算しそのカウントアップ時に読み出
し兼P/Sロード信号を発生させるようにした書き込み
及び読み出し回路と、FIFOメモリの1ビット追加部
分の出力を反転して入力に戻すことにより、FIFOメ
モリの深さにに相当する時間毎に反転する矩形波信号を
作成するとともに、この出力を遅延時間計測用カウンタ
のイネーブル信号とし、FIFOメモリの深さに相当す
る時間、計数入力をカウントし、このカウント結果をラ
ッチし表示器に表示する遅延時間測定回路とを備え、書
き込みタイミングと読み出しタイミングの時間差により
遅延を発生させ、かつその遅延時間を測定表示するよう
にしたことを特徴とする伝送遅延設定装置。3. A serial / parallel conversion unit for serial / parallel conversion of an input signal, a FIFO memory for storing serial / parallel-converted data and having a plurality of bit widths obtained by adding one bit to the number of data constituent bits,
A parallel / serial converter for parallel / serial conversion of data read from the transmission data portion of the FO memory, counting a transmission clock, and generating a write signal and an output pulse for each memory width of the transmission data portion from the content; A write and read circuit for subtracting the number of output pulses for each memory width of the transmission data portion from the delay amount setting value and generating a read / P / S load signal when counting up, and a 1-bit additional portion of a FIFO memory Is inverted and returned to the input to generate a rectangular wave signal that is inverted every time corresponding to the depth of the FIFO memory, and this output is used as an enable signal of the delay time measurement counter, and the output of the FIFO memory is Count the count input for the time corresponding to the depth, latch this count result, and display it on the display. And a delay time measuring circuit for generates a delay by the time difference between the write timing and read timing and transmission delay setting device is characterized in that so as to measure display the delay time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP177597A JP3598702B2 (en) | 1997-01-09 | 1997-01-09 | Transmission delay setting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP177597A JP3598702B2 (en) | 1997-01-09 | 1997-01-09 | Transmission delay setting device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10197584A true JPH10197584A (en) | 1998-07-31 |
| JP3598702B2 JP3598702B2 (en) | 2004-12-08 |
Family
ID=11510958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP177597A Expired - Fee Related JP3598702B2 (en) | 1997-01-09 | 1997-01-09 | Transmission delay setting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3598702B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105720959A (en) * | 2014-12-04 | 2016-06-29 | 国家电网公司 | Method and system for testing trigger time-delay of relay protection tester |
-
1997
- 1997-01-09 JP JP177597A patent/JP3598702B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105720959A (en) * | 2014-12-04 | 2016-06-29 | 国家电网公司 | Method and system for testing trigger time-delay of relay protection tester |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3598702B2 (en) | 2004-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3626307A (en) | Counting system for measuring a difference between frequencies of two signals | |
| US3843893A (en) | Logical synchronization of test instruments | |
| KR920008741A (en) | Wiring network and method for comparing the relative deviation between two asynchronous instructions and program value strabismus | |
| JP3598702B2 (en) | Transmission delay setting device | |
| US5153501A (en) | Waveform measuring device | |
| JPS63271625A (en) | Timing system | |
| JPH10185978A (en) | Transmission delay setting device | |
| JP2976276B2 (en) | Timing generator | |
| US6633966B1 (en) | FIFO memory having reduced scale | |
| SU1211676A1 (en) | Apparatus for testing characteristics of electric signals | |
| JPH0479545B2 (en) | ||
| EP0825614B1 (en) | Arrangement and method of measuring the speed of memory unit in an integrated circuit | |
| SU1444673A1 (en) | Device for measuring amplitude of sinusoidal voltage | |
| JPH0411388Y2 (en) | ||
| US6894947B2 (en) | Semiconductor integrated circuit for a liquid crystal display driver system | |
| SU566331A1 (en) | Time interval measuring circuit | |
| JPS58224498A (en) | Memory device of waveform | |
| KR100239702B1 (en) | Linear fifo memory | |
| JP3013767B2 (en) | Frame timing phase adjustment circuit | |
| JPH0528526Y2 (en) | ||
| SU1767520A1 (en) | Graphical information indicator | |
| KR20010061433A (en) | High speed sampling data saving circuit | |
| JP2543721Y2 (en) | Waveform measuring device | |
| SU1190499A1 (en) | Digital delay line | |
| US5235269A (en) | Waveform measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040730 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040824 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040906 |
|
| 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: 20080924 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080924 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090924 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090924 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100924 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110924 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110924 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120924 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120924 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130924 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |