JP2003204369A - Signal transmission/reception apparatus, circuit and loop- back test method - Google Patents

Signal transmission/reception apparatus, circuit and loop- back test method

Info

Publication number
JP2003204369A
JP2003204369A JP2002001900A JP2002001900A JP2003204369A JP 2003204369 A JP2003204369 A JP 2003204369A JP 2002001900 A JP2002001900 A JP 2002001900A JP 2002001900 A JP2002001900 A JP 2002001900A JP 2003204369 A JP2003204369 A JP 2003204369A
Authority
JP
Japan
Prior art keywords
signal
circuit
error
transmitting
transmission
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
JP2002001900A
Other languages
Japanese (ja)
Other versions
JP3952780B2 (en
Inventor
Takanari Baba
貴成 馬場
Tatsuya Saito
達也 斉藤
Hiroki Yamashita
寛樹 山下
Yusuke Takeuchi
勇介 武内
Satoru Isomura
悟 磯村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2002001900A priority Critical patent/JP3952780B2/en
Priority to US10/309,886 priority patent/US7216269B2/en
Publication of JP2003204369A publication Critical patent/JP2003204369A/en
Application granted granted Critical
Publication of JP3952780B2 publication Critical patent/JP3952780B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/035Arrangements for fault recovery using loopbacks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/071Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using a reflected signal, e.g. using optical time domain reflectometers [OTDR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/242Testing correct operation by comparing a transmitted test signal with a locally generated replica
    • H04L1/243Testing correct operation by comparing a transmitted test signal with a locally generated replica at the transmitter, using a loop-back

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus in which mounting cost and power consumption are reduced by reducing the number of high-speed signal lines connecting a group of transmission circuits to a group of reception circuits which are necessary, in performing a loop-back test of a signal transmission/reception apparatus for signal communication. <P>SOLUTION: Reference numeral 101 denotes a communication apparatus A for transmitting/receiving a parallel signal, reference numeral 103 denotes a communication apparatus B for transmitting/receiving a serial signal, and a reference numeral 102 denotes a signal transmission/reception apparatus provided between the apparatuses 101 and 103 to convert the parallel signal to the serial signal and vice versa. The apparatus 102 consists of a transmission circuit IC 104 and a reception circuit IC 108. The IC 104 comprises a serializer 105 and a transmission driver 107, and the IC 108 comprises an input buffer 111 and a deserializer 109. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、光または電気信号
を用いた信号送受信装置で、正常に通信が行われている
ことを確認する手法に関する。特に、通信装置と信号送
受信装置との間で行われるループバックテスト方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of confirming that communication is normally performed by a signal transmitting / receiving device using an optical or electric signal. In particular, it relates to a loopback test method performed between a communication device and a signal transmitting / receiving device.

【0002】[0002]

【従来の技術】従来、信号通信で使用される交換機、ル
ータ等には、通信装置間の信号伝送のために送信回路と
受信回路とがペアになった光または電気の信号送受信装
置が使用される。このような信号送受信装置では、正常
に通信が行われているかテストするため、通信装置から
送られてきたテスト信号を送信回路から受信回路へその
まま折り返して通信装置へ戻すというテストが行われ
る。通信装置では、通信装置が送信したテスト信号と信
号送受信装置から折り返されたテスト信号との比較を行
い正常に通信が行われているか判断する。このテスト方
式をループバックテスト方式と呼ぶ。この従来技術とし
ては、例えば、米国特許第5,787,114号に記載されてい
る方法がある。
2. Description of the Related Art Conventionally, an optical or electric signal transmitter / receiver in which a transmitter circuit and a receiver circuit are paired for signal transmission between communication devices has been used in exchanges, routers and the like used in signal communication. It In such a signal transmission / reception device, in order to test whether communication is normally performed, a test is performed in which a test signal sent from the communication device is returned from the transmission circuit to the reception circuit as it is and returned to the communication device. The communication device compares the test signal transmitted by the communication device with the test signal returned from the signal transmission / reception device to determine whether communication is normally performed. This test method is called a loopback test method. This conventional technique includes, for example, the method described in US Pat. No. 5,787,114.

【0003】[0003]

【発明が解決しようとする課題】図10で、従来のルー
プバックテスト方式の課題を説明する。図10で1001は
パラレル信号を送受信する通信装置A、1003はシリアル
信号を送受信する通信装置Bであり、1002は通信装置間
でシリアル信号とパラレル信号を相互に変換して信号伝
送を行う信号送受信装置である。1004は送信回路IC、10
08は受信回路ICであり、この図ではそれぞれ別ICで構
成されている場合を示してある。1005はパラレル信号を
シリアル信号に変えるシリアライザ、1007はシリアル信
号TXをドライブする送信ドライバ、1011はシリアル信号
RXを受信する入力バッファ、1009はシリアル信号をパラ
レル信号に変えるデシリアライザである。この信号送受
信装置は、通常の通信時では通信装置Aより送られてき
たパラレル信号TXDをパラレル‐シリアル変換したシリ
アル信号TXを通信装置Bへ送信し、逆に通信装置Bから送
られてきたシリアル信号RXをシリアル‐パラレル変換し
たパラレル信号RXDを通信装置Aへ送信する機能を果す。
一方、ループバックテスト時では、通信装置Aより送ら
れてきたテスト信号のシリアライザ出力信号TXを、送
信回路ICから受信回路ICとを繋ぐ配線1006を経由して、
そのまま折り返してデシリアライザに入力し通信装置A
へ送り返す方法を行っている。しかし、この従来の方式
では、送信回路群と受信回路群の間にテスト信号と同量
の信号を流さなければならない。そのため、信号転送の
ための回路構成と転送時間が必要である。特に信号送受
信装置を送信回路群と受信回路群との別モジュール、あ
るいはICで構成する必要が生じた場合、信号折り返しの
ために送信回路群と受信回路群を繋ぐデータ信号と同じ
伝送速度の回路が必要となる。最近のデータ信号の伝送
速度は1Gbpsを超える高速なものが一般的であり、送信
回路群と受信回路群を繋ぐ信号線およびICピンは、高速
なものが要求される。しかし、一般に高速な信号線およ
びICピンは、低速のものよりも高価であるため実装コス
トの増加を招く。また、信号線の増加により余分な入出
力回路が必要となり消費電力の増加を招く。また、これ
らの構成に安価なものを用いれば、信号伝送の高速化が
できず、装置性能が落ちることになる。
The problem of the conventional loopback test method will be described with reference to FIG. In FIG. 10, reference numeral 1001 is a communication device A for transmitting / receiving parallel signals, 1003 is a communication device B for transmitting / receiving serial signals, and 1002 is signal transmission / reception for mutually converting serial signals and parallel signals between the communication devices for signal transmission. It is a device. 1004 is a transmitter circuit IC, 10
Reference numeral 08 denotes a receiving circuit IC, and in this figure, the case is shown where each is configured by a different IC. 1005 is a serializer that converts a parallel signal into a serial signal, 1007 is a transmission driver that drives the serial signal TX, and 1011 is a serial signal
An input buffer for receiving RX, 1009 is a deserializer that converts a serial signal into a parallel signal. This signal transmission / reception device transmits a serial signal TX obtained by performing parallel-serial conversion of the parallel signal TXD sent from the communication device A to the communication device B during normal communication, and vice versa. Performs the function of transmitting a parallel signal RXD, which is the serial-parallel conversion of the signal RX, to the communication device A.
On the other hand, in the loopback test, the serializer output signal TX of the test signal sent from the communication device A is passed through the wiring 1006 connecting the transmission circuit IC and the reception circuit IC,
Communication device A is returned as it is and input to the deserializer.
I am sending it back to. However, in this conventional method, the same amount of signal as the test signal must be sent between the transmitting circuit group and the receiving circuit group. Therefore, a circuit configuration and a transfer time for signal transfer are required. In particular, when it becomes necessary to configure the signal transmitter / receiver with a separate module for the transmission circuit group and the reception circuit group, or an IC, a circuit having the same transmission speed as the data signal connecting the transmission circuit group and the reception circuit group for signal folding. Is required. Recent data signals are generally transmitted at high speeds exceeding 1 Gbps, and high-speed signal lines and IC pins connecting the transmission circuit group and the reception circuit group are required. However, high-speed signal lines and IC pins are generally more expensive than low-speed ones, which causes an increase in mounting cost. In addition, an increase in the number of signal lines requires extra input / output circuits, resulting in an increase in power consumption. Also, if inexpensive ones are used for these configurations, the signal transmission cannot be speeded up, and the device performance will be degraded.

【0004】本発明は、従来のループバックテストにお
いて、装置内でテスト信号をそのまま転送することによ
るオーバーヘッドを削減することを目的とする。より具
体的には、ループバックテストの際に必要な送信回路群
と受信回路群を繋ぐ高速信号線を削減し、実装コストと
消費電力の低減する装置を提供する。
It is an object of the present invention to reduce the overhead caused by transferring a test signal as it is in a device in a conventional loopback test. More specifically, the present invention provides a device that reduces the mounting cost and power consumption by reducing the number of high-speed signal lines that connect the transmission circuit group and the reception circuit group, which are necessary for the loopback test.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
めの本願発明のテスト方法では、送信回路と受信回路と
を有する信号送受信装置が、他の通信装置との間の通信
の状態をテストするループバックテスト方法であって、
通信装置から送られてきたテスト信号を、受信回路から
送信回路へそのまま折り返して、上記通信装置へ戻すの
ではなく、上記受信回路において上記テスト信号の送信
状態を評価する第1のステップ、上記受信回路から送信
回路へ上記評価に基づいた評価結果信号を伝達する第2
のステップ、上記受信回路は該評価結果に基づいて、テ
スト信号またはテスト信号と異なる信号を上記通信装置
に戻す第3のステップを含むことを特徴とする。
In the test method of the present invention for solving the above problems, a signal transmitting / receiving apparatus having a transmitting circuit and a receiving circuit tests the state of communication with another communication apparatus. Loopback test method
Instead of returning the test signal sent from the communication device from the receiving circuit to the transmitting circuit as it is and returning it to the communication device, the first step of evaluating the transmission state of the test signal in the receiving circuit, the reception Second transmission of an evaluation result signal based on the above evaluation from the circuit to the transmission circuit
And the receiving circuit includes the third step of returning a test signal or a signal different from the test signal to the communication device based on the evaluation result.

【0006】第1のステップにおいては、例えば受信回
路において通信装置から送られてきたテスト信号を、あ
らかじめ決められた正しいテスト信号と比較することに
よって、テスト信号の送信状態(例えば誤り率)を評価
する。第2のステップにおいて、評価結果信号の情報量
は上記テスト信号の情報量よりも小さいこととする。第
3のステップにおいて、送信回路は例えば評価結果に基
づいて、あらかじめ決められた正しいテスト信号の少な
くとも1ビットを反転することによって、テスト信号と
異なる信号を作成し、通信装置に戻す。通信装置側で
は、戻されてきたテスト信号が正しいテスト信号か否か
を検出することにより、通信状態を判定することができ
る。
In the first step, the transmission state (eg error rate) of the test signal is evaluated by comparing the test signal sent from the communication device in the receiving circuit with a predetermined correct test signal, for example. To do. In the second step, the information amount of the evaluation result signal is smaller than the information amount of the test signal. In the third step, the transmitting circuit creates a signal different from the test signal by inverting at least one bit of the predetermined correct test signal based on the evaluation result, and returns the signal to the communication device. On the communication device side, the communication state can be determined by detecting whether or not the returned test signal is a correct test signal.

【0007】信号送受信装置は、例えば、通信装置から
送られてくるパラレル信号をシリアル信号に変換して他
の通信装置に転送する機能を備えていてもよい。この場
合、テスト信号はパラレル信号であり得る。評価結果信
号はテスト信号より情報量が少ないことが好ましく、例
えば、テスト信号の正誤を示す1ビットの信号でもよ
い。受信回路と送信回路が、別々のチップで構成されて
いる場合、上記の1ビットの評価結果信号は、1つのピ
ンの間での転送が可能となる。また、評価結果信号にテ
スト信号より転送速度が遅いものを用いれば、用いる回
路が低価格ですむ。このためには、例えば、評価結果信
号のパルス幅を、テスト信号のパルス幅よりも広くすれ
ばよい。
The signal transmitting / receiving device may have a function of converting a parallel signal sent from the communication device into a serial signal and transferring the serial signal to another communication device, for example. In this case, the test signal may be a parallel signal. The evaluation result signal preferably has a smaller amount of information than the test signal, and may be, for example, a 1-bit signal indicating whether the test signal is correct or incorrect. When the receiving circuit and the transmitting circuit are formed by different chips, the above 1-bit evaluation result signal can be transferred between one pin. Further, if the evaluation result signal having a transfer speed slower than that of the test signal is used, the cost of the circuit used can be reduced. For this purpose, for example, the pulse width of the evaluation result signal may be made wider than the pulse width of the test signal.

【0008】本願発明の他の側面である信号送受信装置
の構成は、信号を受信する第1の回路と信号を発信する
第2の回路を有する信号送受信装置であって、上記第1
の回路は、入力されたテスト信号パターンのエラーの有
無を検出し、エラーが検出された場合、上記第2の回路
にエラーを示すエラー信号を送信し、上記第2の回路
は、上記エラー信号に基づいて、正しいテスト信号パタ
ーンか、誤ったテスト信号パターンのいずれかを発信す
ることを特徴とする。
According to another aspect of the present invention, there is provided a signal transmission / reception device having a first circuit for receiving a signal and a second circuit for transmitting the signal, wherein
Circuit detects the presence or absence of an error in the input test signal pattern, and when an error is detected, transmits an error signal indicating the error to the second circuit, and the second circuit outputs the error signal. It is characterized by transmitting either a correct test signal pattern or an erroneous test signal pattern based on the above.

【0009】具体例としては、第1の回路は並列度a(a
≧1)のパラレル信号を受信信号とし、第2の回路は並
列度b(b≧1)のパラレル信号を発信信号とし、エラー
信号はシリアル信号、または、並列度c(a>c,b>
c)のパラレル信号である。通常はa=bでよい。本願
発明のさらに具体的な構成は、(1)光または電気信号
を用いた並列度n(n≧1)の信号と並列度m(m≧1)の
信号を通信装置間で相互に変換して送受信を行う信号送
受信装置であり、並列度nの信号を受信し並列度mの信
号に変換して送信する送信回路群、および並列度mの信
号を受信し並列度nの信号に変換して送信する受信回路
群で構成される信号送受信装置において、送信回路群に
通信装置から送られるテスト信号のエラー検出回路を有
し、受信回路群に通信装置と同等なテスト信号発生回路
を有するとともに、前記送信回路群のエラー検出回路で
検出したエラーの情報を信号の伝送速度よりも低速で受
信回路群に伝える回路を有し、そのエラー情報を元に前
記テスト信号発生回路でエラーを含むテスト信号を生成
し、通信装置に送り返し戻すループバック機能を持つこ
とを特徴とする。
As a concrete example, the first circuit has a parallel degree a (a
The parallel signal of ≧ 1) is the received signal, the second circuit is the parallel signal of the parallel degree b (b ≧ 1) as the outgoing signal, and the error signal is the serial signal or the parallel degree c (a> c, b>).
It is a parallel signal of c). Usually, a = b is sufficient. A more specific configuration of the present invention is as follows: (1) A signal having a parallel degree n (n ≧ 1) and a signal having a parallel degree m (m ≧ 1) using optical or electric signals are mutually converted between communication devices. A signal transmission / reception device that performs transmission and reception by transmitting a signal of parallel degree n, converts it to a signal of parallel degree m, and transmits it, and receives a signal of parallel degree m and converts it to a signal of parallel degree n. In a signal transmission / reception device configured by a reception circuit group for transmitting by transmitting, a transmission circuit group has an error detection circuit for a test signal sent from the communication device, and a reception circuit group has a test signal generation circuit equivalent to the communication device. A test circuit that transmits error information detected by the error detection circuit of the transmission circuit group to the reception circuit group at a speed lower than the signal transmission speed, and includes a test in the test signal generation circuit based on the error information. Generates a signal to the communication device It is characterized by having a loopback function for sending back.

【0010】また、(2)上記(1)に記載の信号送受
信装置において、送信回路群で受信したテスト信号をエ
ラー検出回路でエラーの有無を検出し、エラー有無の1
ビットの情報を送信回路群から受信回路群へ伝える回路
を有し、そのエラーの有無の情報から受信回路群のテス
ト信号発生回路でエラーの有無を含むテスト信号を生成
し、通信装置に送り返し戻すループバック機能を特徴と
する。
(2) In the signal transmission / reception apparatus according to (1) above, the error detection circuit detects the presence or absence of an error in the test signal received by the transmission circuit group, and the presence or absence of the error is detected.
It has a circuit that transmits bit information from the transmission circuit group to the reception circuit group, and the test signal generation circuit of the reception circuit group generates a test signal including the presence or absence of error from the information on the presence or absence of error, and sends it back to the communication device. It features a loopback function.

【0011】また、(3)上記(1)に記載の信号送受
信装置において、送信回路群で受信したテスト信号をエ
ラー検出回路でエラーのビット数を検出し、エラーのビ
ット数の情報を送信回路群から受信回路群へ伝える回路
を有し、そのエラーのビット数の情報から受信回路群の
テスト信号発生回路で受信した信号と同じエラービット
数を含むテスト信号を生成し、通信装置に送り返し戻す
ループバック機能を特徴とする。
(3) In the signal transmission / reception device according to (1), the error detection circuit detects the number of error bits in the test signal received by the transmission circuit group, and the error bit number information is transmitted to the transmission circuit. From the group to the receiving circuit group, generate a test signal containing the same error bit number as the signal received by the test signal generating circuit of the receiving circuit group from the information of the bit number of the error, and send it back to the communication device It features a loopback function.

【0012】また、(4)上記(1)に記載の信号送受
信装置において、送信回路群で受信したテスト信号をエ
ラー検出回路でエラーのビット位置を検出し、エラーの
ビット位置の情報を送信回路群から受信回路群へ伝える
回路を有し、そのエラーのビット位置の情報から受信回
路群のテスト信号発生回路で受信した信号と同じエラー
のビット位置を含むテスト信号を生成し、通信装置に送
り返し戻すループバック機能を特徴とする。
(4) In the signal transmission / reception device according to (1), the error detection circuit detects the error bit position of the test signal received by the transmission circuit group, and the error bit position information is transmitted to the transmission circuit. From the group to the receiving circuit group, generate a test signal containing the same error bit position as the signal received by the test signal generating circuit of the receiving circuit group from the information of the error bit position, and send it back to the communication device It features a loopback function to return.

【0013】また、(5)上記(1)に記載の信号送受
信装置において、送信回路群で受信したテスト信号をエ
ラー検出回路でエラーを検出し、エラーの情報を信号の
伝送速度よりも低速なビットシリアル信号で送信回路群
から受信回路群へ伝える回路を有し、そのエラーの情報
から受信回路群のテスト信号発生回路で受信した信号と
同じエラー含むテスト信号を再現し、通信装置に送り返
し戻すループバック機能を特徴とする。また、(6)上
記(1)〜(5)に記載の信号送受信装置において、送
信回路群で受信したテスト信号のタイミング信号を送信
回路群から受信回路群へ伝える回路を有し、そのタイミ
ング信号を元に前記テスト信号発生回路で受信したテス
ト信号と同期したエラー情報を含むテスト信号を生成
し、通信装置に送り返し戻すループバック機能を特徴と
する。また、(7)上記(1)〜(6)に記載の信号送
受信装置において、エラー情報を送信回路群から受信回
路群へ伝える回路でエラー情報の伝達の有無を制御する
ことで、エラーの発生場所が送信回路側か受信回路側か
を特定することが可能なループバック機能を特徴とす
る。
(5) In the signal transmitting / receiving device according to (1), the error detection circuit detects an error in the test signal received by the transmission circuit group, and the error information is sent at a speed lower than the signal transmission speed. It has a circuit that transmits from the transmitting circuit group to the receiving circuit group by bit serial signal, reproduces the test signal containing the same error as the signal received by the test signal generating circuit of the receiving circuit group from the error information, and sends it back to the communication device. It features a loopback function. Further, (6) the signal transmission / reception device according to any one of (1) to (5) above, including a circuit for transmitting a timing signal of the test signal received by the transmission circuit group from the transmission circuit group to the reception circuit group, and the timing signal. Based on the above, the test signal generating circuit generates a test signal including error information synchronized with the test signal received by the test signal generating circuit, and sends it back to the communication device. (7) In the signal transmission / reception device according to (1) to (6) above, a circuit for transmitting error information from the transmission circuit group to the reception circuit group controls the presence or absence of transmission of the error information to generate an error. It is characterized by a loopback function capable of specifying whether the place is the transmitting circuit side or the receiving circuit side.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施形態を、例を
用いて図面により詳細に説明する。図1は、本発明によ
る通信装置と信号送受信装置の基本構成例である。この
図で、101はパラレル信号を送受信する通信装置A、103
はシリアル信号を送受信する通信装置Bであり、この2
つの通信装置間でパラレル信号とシリアル信号の変換を
行い信号の送受信を行うのが信号送受信装置102であ
る。この例のような構成でのループバックテスト方法
は、通信装置Aと信号送受信装置間でのループバックと
通信装置Bと信号送受信装置間でのループバックとが考
えられるが、図1では、簡単のため通信装置Aと信号送
受信装置間でのループバックテストについてのみ示す。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings using an example. FIG. 1 is a basic configuration example of a communication device and a signal transmitting / receiving device according to the present invention. In this figure, 101 is a communication device A for transmitting and receiving parallel signals, 103
Is a communication device B that transmits and receives serial signals.
The signal transmitting / receiving device 102 converts parallel signals and serial signals between two communication devices to transmit / receive signals. The loopback test method with the configuration like this example may be a loopback between the communication device A and the signal transmitting / receiving device and a loopback between the communication device B and the signal transmitting / receiving device. Therefore, only the loopback test between the communication device A and the signal transmitting / receiving device is shown.

【0015】この例では、信号送受信装置は、送信回路
IC104と受信回路IC108の送信回路群と受信回路群が別の
ICで構成される。送信回路ICは、パラレル信号をシリア
ル信号に変えるシリアライザ105、シリアル信号TXをド
ライブする送信ドライバ107から構成され、受信回路IC
は、シリアル信号RXを受信する入力バッファ111とシリ
アル信号をパラレル信号に変えるデシリアライザ109で
構成される。通常通信時、すなわち非ループバックテス
ト時は、通信装置Aから送信されたパラレル信号TXDが送
信回路ICでシリアル信号TXに変換して通信装置Bに送信
され、逆に通信装置Bから送信されたシリアル信号RXが
受信回路ICでパラレル信号RXDに変換して通信装置Aに送
信される。
In this example, the signal transmitter / receiver is a transmitter circuit.
IC104 and receiver circuit IC108 has different transmitter and receiver circuits.
Composed of IC. The transmission circuit IC includes a serializer 105 that converts a parallel signal into a serial signal and a transmission driver 107 that drives the serial signal TX.
Is composed of an input buffer 111 that receives the serial signal RX and a deserializer 109 that converts the serial signal into a parallel signal. During normal communication, that is, during the non-loopback test, the parallel signal TXD transmitted from the communication device A is converted into the serial signal TX by the transmission circuit IC and transmitted to the communication device B, and vice versa. The serial signal RX is converted into a parallel signal RXD by the receiving circuit IC and transmitted to the communication device A.

【0016】この例では、本発明の特徴であるループバ
ックテスト回路は、送信回路IC内のエラー検出回路10
6、受信回路IC内のテスト信号発生回路110、およびエラ
ー情報を送信回路ICから受信回路ICに伝達する配線112
で構成される。エラー検出回路106は、あらかじめ通信
装置Aとの間で定められたテスト信号パターンと受信信
号パターンを例えば逐次比較しエラーを検出する。一
方、テスト信号発生回路は、あらかじめ通信装置Aとの
間で定められたテスト信号パターンを発生すると共に、
エラー情報を元にテスト信号パターンの任意のビットを
反転することができる。
In this example, the loopback test circuit, which is a feature of the present invention, is the error detection circuit 10 in the transmission circuit IC.
6, test signal generating circuit 110 in the receiving circuit IC, and wiring 112 for transmitting error information from the transmitting circuit IC to the receiving circuit IC
Composed of. The error detection circuit 106 detects an error by, for example, sequentially comparing a test signal pattern and a received signal pattern, which are predetermined with the communication device A, with each other. On the other hand, the test signal generation circuit generates a test signal pattern defined in advance with the communication device A,
Any bit of the test signal pattern can be inverted based on the error information.

【0017】図2で、本発明のループバックテストの動
作を、送信回路ICから受信回路ICへのエラー情報として
エラーの有無を伝達する場合について、具体例を説明す
る。TP1、TP2はあらかじめ通信装置Aとの間で定められ
たテスト信号パターンである。送信回路ICで受信した信
号TRは、エラー検出回路106でTP1と比較されてE1のよう
に両者に食い違いがあればエラーとして検出される。エ
ラー検出回路106でエラーが検出されるとエラー信号DE
にHレベルが出力される。エラー信号DEは、配線112を通
して受信回路ICのテスト信号発生回路へ伝えられる。テ
スト信号発生回路は、送信回路からのエラー信号DEがL
レベルの場合は、通信装置Aとの間で定められたテスト
信号パターンTP2を発生するが、エラー信号DEのHレベル
を受信するとテスト信号パターンTP2の例えば1ビット
(E2)が反転された信号TTを発生する。この信号TTが通
信装置Aに送信されるので、このループバックテストで
通信装置と信号送受信回路間のループバック経路内での
エラーの有無を試験することが出来る。ここでエラー信
号DEの伝送速度は、テスト信号パターンの1サイクル時
間TPCと同じ程度に低速にすることが出来る。従っ
て、送信回路ICと受信回路ICを繋ぐ配線とICピンは低速
なものが使用でき、実装コストの削減ができる。図3
で、図1と同じ装置構成で、送信回路ICから受信回路IC
へのエラー情報としてエラーの数を伝達する場合のルー
プバックテストの動作例を説明する。TP1、TP2はあらか
じめ通信装置Aとの間で定められたテスト信号パターン
である。送信回路ICで受信した信号TRは、エラー検出回
路でTP1と比較されてE1のように両者に食い違いがあれ
ばエラーとして検出され、エラー検出回路内のカウンタ
でテスト信号パターンの1サイクル内のエラー数がカウ
ントされる。テスト信号パターンの次のサイクルに、例
えばエラー数だけLレベルとHレベルを繰り返すような
エラー信号DEが出力され、配線112を通して受信回路IC
のテスト信号発生回路へ伝えられる。図3の例では、エ
ラーE1が3つあり、エラー信号DEはLレベルとHレ
ベルを3回繰り返す信号となる。テスト信号発生回路
は、エラー信号DEで伝えられたエラー数だけTP2のビッ
ト(E2)を反転させた信号TTを発生する。この信号TTが
通信装置Aに送信されるので、このループバックテスト
でループバック経路内でのエラーの数を試験することが
できる。ここで送信回路ICと受信回路ICへ送信する信号
量は、エラー数2倍のビット数まで圧縮することがで
き、エラー信号DEの伝送速度は、送受信信号に比べて低
速にすることができる。従って上記の例と同様、送信回
路ICと受信回路ICを繋ぐ配線とICピンは低速なものが使
用でき、実装コストの削減ができる。図3では紙面の都
合上,信号(TR、TP1)と信号DEと信号(TT、TP2)の時
刻Tが示すように、時間関係がずれている。また、信号
DEの時間スケールは、他の信号より縮小されている。
なお、この例では、エラーの数伝達方法としてエラーの
数だけLレベルとHレベルを繰り返す方式を用いたが、エ
ラーの数を2進数信号とクロック信号の2ビット信号で
伝達する方式などエラーの数が伝達できる方式であれば
良い。図4で、図1と同じ装置構成で、送信回路ICから
受信回路ICへのエラー情報としてエラーのテスト信号パ
ターン上の位置を伝達する場合のループバックテストの
動作例を説明する。TP1、TP2はあらかじめ通信装置Aと
の間で定められたテスト信号パターンである。送信回路
ICで受信した信号TRは、エラー検出回路でTP1と比較さ
れてE1のように両者に食い違いがあればエラーとして検
出され、エラー検出回路内のメモリにエラーのテスト信
号パターン上の位置が記録される。テスト信号パターン
の次のサイクルに、エラーの位置情報を含んだエラー信
号DEが出力され、配線112を通して受信回路ICのテスト
信号発生回路へ伝えられる。図4の例では、エラーE1
が3つあり、エラー信号DEはそれぞれのエラーの位置
情報のデータセット、ER1, ER2, ER3からなる信号とな
る。テスト信号発生回路は、エラー信号DEからエラーの
位置情報を再現したTP2のビット(E2)を反転させた信
号TTを発生する。この信号TTが通信装置Aに送信される
ので、エラーの位置を再現したループバックテストがで
きる。ここで送信回路ICと受信回路ICへ送信する信号量
は、(エラー数)×(テスト信号パターンのビット数を
2進数で表したビット数)程度に圧縮することができ、
エラー信号DEの伝送速度は、送受信信号に比べて低速に
することができる。従って上記の例と同様、送信回路IC
と受信回路ICを繋ぐ配線とICピンは低速なものが使用で
き、実装コストの削減ができる。図4では紙面の都合
上,信号(TR、TP1)と信号DEと信号(TT、TP2)の時間
Tで示すように、時間関係がずれている。また、信号D
Eの時間スケールは、他の信号より縮小されている。図
5で、図1と同じ装置構成で、送信回路ICから受信回路
ICへのエラー情報を信号の伝送速度よりも低速なビット
シリアル信号で伝達する場合のループバックテストの動
作例を説明する。TP1、TP2はあらかじめ通信装置Aとの
間で定められたテスト信号パターンである。送信回路IC
で受信した信号TRは、エラー検出回路でTP1と比較され
てE1のように両者に食い違いがあればエラーとして検出
され、エラー検出回路内のメモリにエラー情報が記録さ
れる。テスト信号パターンの次のサイクルに、送受信信
号の伝送速度よりも低速なビットシリアル信号としてエ
ラー信号DEが出力され、配線112を通して受信回路ICの
テスト信号発生回路へ伝えられる。テスト信号発生回路
は、エラー信号DEから送信回路ICで受信したテスト信
号を再現したTP2のビット(E2)を反転させた信号TTを
発生する。図5の例では、エラー信号DEとしてテスト
信号パターン1サイクルをそのまま1/100低速にして送
信回路ICから受信回路ICへ送っている。この場合、
ループバックテストを行うのに送信回路ICから受信回
路ICへの信号伝送時間、すなわちテスト信号パターン
のサイクル時間TPCの100倍の時間がかかってしまうが、
送信回路ICで受信したテスト信号をそのまま送り返す、
従来のループバックテストと同等の試験ができる。エラ
ー信号DEの伝送速度は、送受信信号に比べて低速なの
で、送信回路ICと受信回路ICを繋ぐ配線とICピンは低速
なものが使用でき、実装コストの削減ができる。図5で
は紙面の都合上,信号(TR、TP1)と信号DEと信号(TT、
TP2)の時間Tで示すように、時間関係がずれている。
また、信号DEの時間スケールは、他の信号より縮小さ
れている。
A specific example of the operation of the loopback test of the present invention will be described with reference to FIG. 2 in which the presence or absence of an error is transmitted from the transmission circuit IC to the reception circuit IC as error information. TP1 and TP2 are test signal patterns determined in advance with the communication device A. The signal TR received by the transmission circuit IC is compared with TP1 by the error detection circuit 106, and if there is a discrepancy between the two, such as E1, it is detected as an error. When the error detection circuit 106 detects an error, the error signal DE
H level is output to. The error signal DE is transmitted to the test signal generating circuit of the receiving circuit IC through the wiring 112. In the test signal generation circuit, the error signal DE from the transmission circuit is L
In the case of the level, the test signal pattern TP2 defined with the communication device A is generated, but when the H level of the error signal DE is received, for example, the signal TT in which 1 bit (E2) of the test signal pattern TP2 is inverted is received. To occur. Since this signal TT is transmitted to the communication device A, it is possible to test whether or not there is an error in the loopback path between the communication device and the signal transmission / reception circuit by this loopback test. Here, the transmission speed of the error signal DE can be made as low as the one cycle time TPC of the test signal pattern. Therefore, the wiring connecting the transmitter circuit IC and the receiver circuit IC and the IC pin having a low speed can be used, and the mounting cost can be reduced. Figure 3
With the same device configuration as in Fig. 1, the transmitter circuit IC to the receiver circuit IC
An example of the operation of the loopback test in the case of transmitting the number of errors as the error information is described. TP1 and TP2 are test signal patterns determined in advance with the communication device A. The signal TR received by the transmitter circuit IC is compared with TP1 by the error detection circuit, and if there is a discrepancy between the two like E1, it is detected as an error, and the counter in the error detection circuit detects an error within one cycle of the test signal pattern. The number is counted. In the next cycle of the test signal pattern, for example, an error signal DE that repeats L level and H level by the number of errors is output, and the receiving circuit IC is passed through the wiring 112.
Is transmitted to the test signal generating circuit. In the example of FIG. 3, there are three errors E1, and the error signal DE is a signal in which the L level and the H level are repeated three times. The test signal generation circuit generates a signal TT which is the bit (E2) of TP2 inverted by the number of errors transmitted by the error signal DE. Since this signal TT is sent to the communication device A, this loopback test can test the number of errors in the loopback path. Here, the amount of signals transmitted to the transmitting circuit IC and the receiving circuit IC can be compressed to a bit number that is twice the number of errors, and the transmission speed of the error signal DE can be slower than that of the transmission / reception signal. Therefore, as in the above example, the wiring connecting the transmission circuit IC and the reception circuit IC and the IC pin can be low speed, and the mounting cost can be reduced. In FIG. 3, due to space limitations, the time relationship between the signals (TR, TP1), the signal DE, and the signal (TT, TP2) is different, as shown by the time T. Further, the time scale of the signal DE is smaller than that of other signals.
In this example, a method of repeating the L level and the H level by the number of errors is used as a method of transmitting the number of errors, but a method of transmitting the number of errors by a 2-bit signal of a binary signal and a clock signal Any method capable of transmitting the number may be used. In FIG. 4, an operation example of the loopback test in the case of transmitting the position of the error on the test signal pattern as the error information from the transmission circuit IC to the reception circuit IC with the same device configuration as in FIG. 1 will be described. TP1 and TP2 are test signal patterns determined in advance with the communication device A. Transmission circuit
The signal TR received by the IC is compared with TP1 in the error detection circuit, and if there is a discrepancy between the two like E1, it is detected as an error, and the position of the error on the test signal pattern is recorded in the memory in the error detection circuit. It In the next cycle of the test signal pattern, the error signal DE including the error position information is output and transmitted to the test signal generation circuit of the reception circuit IC through the wiring 112. In the example of FIG. 4, the error E1
There are three error signals, and the error signal DE is a signal including a data set of position information of each error, ER1, ER2, and ER3. The test signal generation circuit generates a signal TT by inverting the bit (E2) of TP2 that reproduces the error position information from the error signal DE. Since this signal TT is transmitted to the communication device A, a loopback test that reproduces the error position can be performed. Here, the amount of signals transmitted to the transmitting circuit IC and the receiving circuit IC can be compressed to about (the number of errors) × (the number of bits of the test signal pattern expressed in binary number),
The transmission speed of the error signal DE can be set lower than that of the transmission / reception signal. Therefore, as in the above example, the transmitter circuit IC
It is possible to use low-speed wiring and IC pins that connect the and receiving circuit ICs, and reduce the mounting cost. In FIG. 4, due to space limitations, the time relationship between the signals (TR, TP1), the signal DE, and the signal (TT, TP2) is different as shown by the time T. Also, the signal D
The time scale of E is smaller than the other signals. In FIG. 5, with the same device configuration as in FIG. 1, the transmitter circuit IC to the receiver circuit
A description will be given of an operation example of the loopback test when the error information to the IC is transmitted by a bit serial signal having a speed lower than the signal transmission speed. TP1 and TP2 are test signal patterns determined in advance with the communication device A. Transmitter circuit IC
The signal TR received at is compared with TP1 by the error detection circuit, and if there is a discrepancy between the two like E1, it is detected as an error, and error information is recorded in the memory in the error detection circuit. In the next cycle of the test signal pattern, the error signal DE is output as a bit serial signal having a speed lower than the transmission speed of the transmission / reception signal, and is transmitted to the test signal generation circuit of the reception circuit IC through the wiring 112. The test signal generation circuit generates a signal TT by inverting the bit (E2) of TP2 that reproduces the test signal received by the transmission circuit IC from the error signal DE. In the example of FIG. 5, one cycle of the test signal pattern is sent as the error signal DE at 1/100 low speed as it is and sent from the transmission circuit IC to the reception circuit IC. in this case,
It takes 100 times as long as the signal transmission time from the transmitter circuit IC to the receiver circuit IC, that is, 100 times the cycle time TPC of the test signal pattern to perform the loopback test.
Send back the test signal received by the transmitter circuit IC as it is,
A test equivalent to the conventional loopback test can be performed. Since the transmission speed of the error signal DE is lower than that of the transmission / reception signal, the wiring connecting the transmission circuit IC and the reception circuit IC and the IC pin having a low speed can be used, and the mounting cost can be reduced. In FIG. 5, due to space limitations, signals (TR, TP1), signals DE and signals (TT,
As shown by the time T of TP2), the time relationship is shifted.
Further, the time scale of the signal DE is smaller than that of other signals.

【0018】図6は、本発明による通信装置と信号送受
信装置の第2の構成例である。通信装置と信号送受信装
置の構成、信号送受信装置内の送信回路ICと受信回路IC
の構成は上記基本構成例と同じである。この図で、601
はパラレル信号を送受信する通信装置A、603はシリアル
信号を送受信する通信装置Bであり、この2つの通信機
間でパラレル信号とシリアル信号の変換を行い信号の送
受信を行うのが信号送受信装置602である。図6でも図
1と同様に、簡単のため通信装置Aと信号送受信装置間
でのループバックテストについてのみを示す。
FIG. 6 shows a second configuration example of the communication device and the signal transmitting / receiving device according to the present invention. Configuration of communication device and signal transmission / reception device, transmission circuit IC and reception circuit IC in the signal transmission / reception device
The configuration of is the same as that of the above basic configuration example. In this figure, 601
Is a communication device A for transmitting and receiving parallel signals, and 603 is a communication device B for transmitting and receiving serial signals. The signal transmitting and receiving device 602 converts the parallel signal and the serial signal between these two communication devices to transmit and receive signals. Is. Similar to FIG. 1, FIG. 6 shows only the loopback test between the communication device A and the signal transmitting / receiving device for simplification.

【0019】この例では、信号送受信装置は、送信回路
IC604と受信回路IC608の送信回路群と受信回路群が別の
ICで構成される。送信回路ICは、パラレル信号をシリア
ル信号に変えるシリアライザ605、シリアル信号TXをド
ライブする送信ドライバ607から構成され、受信回路IC
は、シリアル信号RXを受信する入力バッファ611とシリ
アル信号をパラレル信号に変えるデシリアライザ609で
構成される。通常通信時、すなわち非ループバックテス
ト時は、通信装置Aから送信されたパラレル信号TXDが送
信回路ICでシリアル信号TXに変換して通信装置Bに送信
され、逆に通信装置Bから送信されたシリアル信号RXが
受信回路ICでパラレル信号RXDに変換して通信装置Aに送
信される。
In this example, the signal transmitter / receiver is a transmitter circuit.
IC604 and receiver circuit IC608 has separate transmitter and receiver circuits.
Composed of IC. The transmission circuit IC includes a serializer 605 that converts a parallel signal into a serial signal and a transmission driver 607 that drives the serial signal TX.
Is composed of an input buffer 611 that receives the serial signal RX and a deserializer 609 that converts the serial signal into a parallel signal. During normal communication, that is, during the non-loopback test, the parallel signal TXD transmitted from the communication device A is converted into the serial signal TX by the transmission circuit IC and transmitted to the communication device B, and vice versa. The serial signal RX is converted into a parallel signal RXD by the receiving circuit IC and transmitted to the communication device A.

【0020】この例では、ループバックテスト回路は、
送信回路IC内のエラー検出回路606、受信回路IC内のテ
スト信号発生回路610、エラー情報を送信回路ICから受
信回路ICに伝達する配線612、テスト信号のタイミング
情報を送信回路ICから受信回路ICに伝達する配線613で
構成される。エラー検出回路は、あらかじめ通信装置A
との間で定められたテスト信号パターンと受信信号パタ
ーンを例えば逐次比較しエラーを検出する。またエラー
検出回路は、別の機能としてテスト信号パターンのタイ
ミング情報を抽出する。一方、テスト信号発生回路は、
あらかじめ通信装置Aとの間で定められたテスト信号パ
ターンを発生すると共に、エラー情報を元にテスト信号
パターンの任意のビットを反転することができる。ま
た、テスト信号発生回路は、タイミング情報を元にテス
ト信号パターンの発生タイミングを制御することができ
る。
In this example, the loopback test circuit is
Error detection circuit 606 in the transmitter circuit IC, test signal generation circuit 610 in the receiver circuit IC, wiring 612 for transmitting error information from the transmitter circuit IC to the receiver circuit IC, timing information of the test signal from the transmitter circuit IC to the receiver circuit IC It is composed of the wiring 613 which transmits to. The error detection circuit is previously installed in the communication device A.
An error is detected by, for example, successively comparing the test signal pattern and the received signal pattern defined between the above and the above. The error detection circuit also extracts the timing information of the test signal pattern as another function. On the other hand, the test signal generation circuit
It is possible to generate a predetermined test signal pattern with the communication device A and invert any bit of the test signal pattern based on the error information. Further, the test signal generation circuit can control the generation timing of the test signal pattern based on the timing information.

【0021】図7で上記第2の具体例でのループバック
テストの動作例を、送信回路ICから受信回路ICへのエラ
ー情報としてエラーの有無を伝達する場合について説明
する。TP1はあらかじめ通信装置Aとの間で定められたテ
スト信号パターンである。送信回路ICで受信した信号TR
は、エラー検出回路でTP1と比較されて、E1のように両
者に食い違いがあればエラーとして検出される。エラー
検出回路でエラーが検出されるとエラー信号DEにHレベ
ルが出力される。エラー信号は、配線612を通して受信
回路ICのテスト信号発生回路へ伝えられる。また、エラ
ー検出回路は、テスト信号パターンの開始タイミングを
抽出してタイミング信号DTにHレベルが出力される。タ
イミング信号DTは、配線613を通して受信回路ICのテス
ト信号発生回路へ伝えられる。テスト信号発生回路は、
送信回路からのタイミング信号DTを元にテスト信号パタ
ーンの発生を開始する。送信回路からのエラー信号がL
レベルの場合は、通信装置Aとの間で定められたテスト
信号パターンTP1を発生するが、エラー信号DEのHレベル
を受信するとテスト信号パターンTP1の例えば1ビット
(E2)が反転された信号TTを発生する。この信号TTが通
信装置Aに送信されるので、このループバックテストで
ループバック経路内でのエラーの有無を試験することが
できる。この第2の例では通信機Aから受信するテスト信
号パターンと通信機Aに送信するテスト信号パターン間
の同期をとることが出来るので、通信機Aからは従来の
受信信号をそのまま折り返すループバック信号と等価に
みえる。
An operation example of the loopback test in the second specific example will be described with reference to FIG. 7 in which the presence or absence of an error is transmitted as error information from the transmitting circuit IC to the receiving circuit IC. TP1 is a test signal pattern determined in advance with the communication device A. Signal TR received by transmitter circuit IC
Is compared with TP1 by the error detection circuit, and if there is a discrepancy between the two like E1, it is detected as an error. When the error detection circuit detects an error, an H level is output to the error signal DE. The error signal is transmitted to the test signal generation circuit of the reception circuit IC through the wiring 612. Further, the error detection circuit extracts the start timing of the test signal pattern and outputs the H level as the timing signal DT. The timing signal DT is transmitted to the test signal generation circuit of the reception circuit IC through the wiring 613. The test signal generation circuit
Generation of the test signal pattern is started based on the timing signal DT from the transmission circuit. The error signal from the transmitter circuit is L
In the case of the level, the test signal pattern TP1 defined with the communication device A is generated, but when the H level of the error signal DE is received, for example, the signal TT in which 1 bit (E2) of the test signal pattern TP1 is inverted is generated. To occur. Since this signal TT is transmitted to the communication device A, it is possible to test whether or not there is an error in the loopback path by this loopback test. In this second example, since the test signal pattern received from the communication device A and the test signal pattern transmitted to the communication device A can be synchronized, the loopback signal from the communication device A that loops back the conventional received signal as it is. Looks equivalent to

【0022】図8は、本発明による通信装置と信号送受
信装置の第3の構成例である。通信装置と信号送受信装
置の構成、信号送受信装置内の送信回路ICと受信回路IC
の構成は上記基本構成例と同じである。この図で、801
はパラレル信号を送受信する通信装置A、803はシリアル
信号を送受信する通信装置Bであり、この2つの通信機
間でパラレル信号とシリアル信号の変換を行い信号の送
受信を行うのが信号送受信装置802である。図8でも図
1と同様に、簡単のため通信装置Aと信号送受信装置間
でのループバックテストについてのみを示す。
FIG. 8 shows a third configuration example of the communication device and the signal transmitting / receiving device according to the present invention. Configuration of communication device and signal transmission / reception device, transmission circuit IC and reception circuit IC in the signal transmission / reception device
The configuration of is the same as that of the above basic configuration example. In this figure, 801
Is a communication device A that transmits and receives parallel signals, and 803 is a communication device B that transmits and receives serial signals. It is the signal transmission and reception device 802 that converts parallel signals and serial signals between these two communication devices and transmits and receives signals. Is. Similar to FIG. 1, FIG. 8 shows only the loopback test between the communication device A and the signal transmitting / receiving device for simplification.

【0023】この例では、信号送受信装置は、送信回路
IC804と受信回路IC808の送信回路群と受信回路群が別の
ICで構成される。送信回路ICは、パラレル信号をシリア
ル信号に変えるシリアライザ805、シリアル信号TXをド
ライブする送信ドライバ807から構成され、受信回路IC
は、シリアル信号RXを受信する入力バッファ811とシリ
アル信号をパラレル信号に変えるデシリアライザ809で
構成される。通常通信時(非ループバックテスト時)
は、通信装置Aから送信されたパラレル信号TXDが送信回
路ICでシリアル信号TXに変換して通信装置Bに送信さ
れ、逆に通信装置Bから送信されたシリアル信号RXが受
信回路ICでパラレル信号RXDに変換して通信装置Aに送信
される。
In this example, the signal transmitter / receiver is a transmitter circuit.
IC804 and receiver circuit IC808 has separate transmitter and receiver circuits.
Composed of IC. The transmission circuit IC is composed of a serializer 805 that converts a parallel signal into a serial signal and a transmission driver 807 that drives the serial signal TX.
Is composed of an input buffer 811 for receiving the serial signal RX and a deserializer 809 for converting the serial signal into a parallel signal. During normal communication (non-loopback test)
The parallel signal TXD transmitted from the communication device A is converted into a serial signal TX by the transmission circuit IC and transmitted to the communication device B, while the serial signal RX transmitted from the communication device B is a parallel signal transmitted by the reception circuit IC. It is converted to RXD and transmitted to communication device A.

【0024】この例では、ループバックテスト回路は、
送信回路IC内のエラー検出回路806、受信回路IC内のテ
スト信号発生回路810、エラー情報を送信回路ICから受
信回路ICに伝達する配線812、テスト信号のタイミング
情報を送信回路ICから受信回路ICに伝達する配線813で
構成される。また、エラー信号の送信回路ICから受信回
路ICへの伝達可否をスイッチ814で制御する。エラー検
出回路は、あらかじめ通信装置Aとの間で定められたテ
スト信号パターンと受信信号パターンを例えば逐次比較
しエラーを検出する。またエラー検出回路は別の機能と
してテスト信号パターンのタイミング情報を抽出する。
一方、テスト信号発生回路は、あらかじめ通信装置Aと
の間で定められたテスト信号パターンを発生すると共
に、エラー情報を元にテスト信号パターンの任意のビッ
トを反転することができる。また、テスト信号発生回路
は、タイミング情報を元にテスト信号パターンの発生タ
イミングを制御することができる。図9で上記第3の具
体例でのループバックテストの動作例を、送信回路ICか
ら受信回路ICへのエラー情報としてエラー数を伝達する
場合について説明する。TP1、TP2はあらかじめ通信装置
Aとの間で定められたテスト信号パターンである。送信
回路ICで受信した信号TRは、エラー検出回路でTP1と比
較されて両者に食い違いがあればエラー(E1)として検
出され、エラー検出回路内のカウンタでテスト信号パタ
ーン1サイクル内のエラー数がカウントされる。テスト
信号パターンの次のサイクルに、例えばエラー数だけL
レベルとHレベルを繰り返すようなエラー信号DEが出力
され、配線812を通して受信回路ICのテスト信号発生回
路へ伝えられる。図9の例では、エラーE1が3つあ
り、エラー信号DEはLレベルとHレベルを3回繰り返
す信号となる。また、エラー検出回路は、テスト信号パ
ターンの開始タイミングを抽出してタイミング信号DTに
Hレベルが出力される。タイミング信号DTは、配線を通
して受信回路ICのテスト信号発生回路へ伝えられる。テ
スト信号発生回路は、送信回路からのタイミング信号DT
を元にテスト信号パターンの発生を開始し、エラー信号
DEで伝えられたエラー数だけTP2のビット(E2)を反転
させた信号TTを発生する。この信号TTが通信装置Aに送
信されるので、このループバックテストでループバック
経路内でのエラーの数を得ることが出来る。ここで、エ
ラー信号の送信回路ICから受信回路ICへの伝達を制御す
ることにより、エラーが受信側で起きたのか送信側で起
きたのかを特定することが出来き、ループバックテスト
時の障害対策に有効である。図9では紙面の都合上,信
号(TR、TP1)と信号DEと信号(TT、TP2)の時刻Tが示
すように、時間関係がずれている。また、信号DEの時
間スケールは、他の信号より縮小されている。
In this example, the loopback test circuit is
Error detection circuit 806 in the transmitter circuit IC, test signal generation circuit 810 in the receiver circuit IC, wiring 812 for transmitting error information from the transmitter circuit IC to the receiver circuit IC, timing information of the test signal from the transmitter circuit IC to the receiver circuit IC It is composed of a wire 813 for transmitting to. The switch 814 controls whether or not the error signal can be transmitted from the transmission circuit IC to the reception circuit IC. The error detection circuit detects an error by, for example, successively comparing the test signal pattern and the received signal pattern, which are predetermined with the communication device A, with each other. The error detection circuit also extracts the timing information of the test signal pattern as another function.
On the other hand, the test signal generation circuit can generate a test signal pattern defined in advance with the communication device A and can invert any bit of the test signal pattern based on the error information. Further, the test signal generation circuit can control the generation timing of the test signal pattern based on the timing information. An operation example of the loopback test in the third specific example will be described with reference to FIG. 9 in which the number of errors is transmitted from the transmission circuit IC to the reception circuit IC as error information. TP1 and TP2 are communication devices in advance
It is a test signal pattern defined with A. The signal TR received by the transmission circuit IC is compared with TP1 by the error detection circuit, and if there is a discrepancy between them, it is detected as an error (E1), and the counter in the error detection circuit detects the number of errors in one cycle of the test signal pattern. Is counted. In the next cycle of the test signal pattern, for example, the number of errors L
An error signal DE that repeats the level and the H level is output and transmitted to the test signal generating circuit of the receiving circuit IC through the wiring 812. In the example of FIG. 9, there are three errors E1 and the error signal DE is a signal that repeats L level and H level three times. The error detection circuit also extracts the start timing of the test signal pattern and outputs it as the timing signal DT.
H level is output. The timing signal DT is transmitted to the test signal generating circuit of the receiving circuit IC through the wiring. The test signal generator circuit uses the timing signal DT from the transmitter circuit.
The test signal pattern starts to be generated based on
The signal TT is generated by inverting the bit (E2) of TP2 by the number of errors transmitted by DE. Since this signal TT is transmitted to the communication device A, this loopback test can obtain the number of errors in the loopback path. Here, by controlling the transmission of the error signal from the transmitting circuit IC to the receiving circuit IC, it is possible to identify whether the error occurred on the receiving side or the transmitting side, and a failure during the loopback test. It is effective as a countermeasure. In FIG. 9, due to space limitations, the time relationship between the signals (TR, TP1), the signal DE, and the signal (TT, TP2) is different as shown by the time T. Further, the time scale of the signal DE is smaller than that of other signals.

【0025】また上記具体例にしめすように本発明は、
従来の受信信号をそのまま折り返すループバック方式に
比べ送信回路ICから受信回路ICに伝達する信号の伝送速
度を低速にするので、送信回路ICと受信回路IC内の高速
入出力回路の数を削減でき、消費電力を低減することが
できる。
Further, as shown in the above specific example, the present invention is
Compared with the conventional loopback method that loops back the received signal as it is, the transmission speed of the signal transmitted from the transmission circuit IC to the reception circuit IC is made slower, so the number of high-speed input / output circuits in the transmission circuit IC and the reception circuit IC can be reduced. The power consumption can be reduced.

【0026】上記で示した例は,2つの通信装置間でシ
リアル‐パラレル変換を行う送受信装置であるが、一般
に並列度n(n≧1)の信号と並列度m(m≧1)の信号とを
変換する送受信装置にも簡単に適用できる。
The example shown above is a transmission / reception device that performs serial-parallel conversion between two communication devices. Generally, a signal with parallel degree n (n ≧ 1) and a signal with parallel degree m (m ≧ 1) are used. It can be easily applied to a transmission / reception device that converts and.

【0027】[0027]

【発明の効果】ループバックテスト時に送信回路ICから
受信回路ICに伝達する信号を、送受信信号をそのまま折
り返すのではなく必要なエラー情報に限るので、送信回
路ICと受信回路ICを繋ぐ高速信号線やICピンを削減で
き、実装コストを削減することができる。また、送信回
路ICと受信回路IC内の高速入出力回路の数を削減でき、
消費電力を低減することができる。
The signal transmitted from the transmitting circuit IC to the receiving circuit IC at the time of the loopback test is limited to necessary error information instead of returning the transmitted / received signal as it is. Therefore, a high-speed signal line connecting the transmitting circuit IC and the receiving circuit IC. And IC pins can be reduced, and mounting cost can be reduced. Also, the number of high-speed input / output circuits in the transmitter circuit IC and the receiver circuit IC can be reduced,
Power consumption can be reduced.

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

【図1】本発明を施した信号送受信回路の基本構成例の
ブロック図である。
FIG. 1 is a block diagram of a basic configuration example of a signal transmission / reception circuit to which the present invention is applied.

【図2】図1の信号送受信回路のループバックテスト時
の信号タイミング関係の波形図1である。
2 is a waveform diagram 1 of signal timing relationships during a loopback test of the signal transmitting / receiving circuit of FIG.

【図3】図1の信号送受信回路のループバックテスト時
の信号タイミング関係の波形図2である。
FIG. 3 is a waveform diagram 2 of signal timing relationships during a loopback test of the signal transmitting / receiving circuit of FIG.

【図4】図1の信号送受信回路のループバックテスト時
の信号タイミング関係の波形図3である。
FIG. 4 is a waveform diagram 3 of signal timing relationships during a loopback test of the signal transmitting / receiving circuit of FIG.

【図5】図1の信号送受信回路のループバックテスト時
の信号タイミング関係の波形図4である。
5 is a waveform diagram 4 of signal timing relationships during a loopback test of the signal transmitting / receiving circuit of FIG.

【図6】本発明の信号送受信回路の第2の構成例のブロ
ック図である。
FIG. 6 is a block diagram of a second configuration example of the signal transmission / reception circuit of the present invention.

【図7】図6の信号送受信回路のループバックテスト時
の信号タイミング関係の波形図である。
7 is a waveform diagram of signal timing relationships during a loopback test of the signal transmission / reception circuit of FIG.

【図8】本発明の信号送受信回路の第3の構成例のブロ
ック図である。
FIG. 8 is a block diagram of a third configuration example of the signal transmission / reception circuit of the present invention.

【図9】図8の信号送受信回路のループバックテスト時
の信号タイミング関係の波形図である。
9 is a waveform diagram of signal timing relationships during a loopback test of the signal transmission / reception circuit of FIG.

【図10】従来の信号送受信回路の基本構成例のブロッ
ク図である。
FIG. 10 is a block diagram of a basic configuration example of a conventional signal transmitting / receiving circuit.

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

101, 601, 801, 1001 通信装置A 103, 603, 803, 1003 通信装置B 102, 602, 802, 1002 信号送受信装置 104, 604, 804, 1004 送信回路IC 105, 605, 805, 1005 シリアライザ 106, 606, 806 エラー検出回路 107, 607, 807, 1007 ドライバ回路 108, 608, 808, 1008 受信回路IC 109, 609, 809, 1009 デシリアライザ 110, 610, 810 テスト信号発生回路 111, 611, 811, 1011 入力バッファ回路 112, 612, 812 エラー信号伝送用配
線 613, 813 タイミング信号伝送用
配線 814 エラー信号伝送制御ス
イッチ 1020 ループバック信号伝送
用配線 TXD 送信パラレル信号 RXD 受信パラレル信号 TX 送信シリアル信号 RX 受信シリアル信号 TR エラー検出回路入力信
号 DE エラー情報信号 TT テスト信号発生回路出
力 DT タイミング信号 DL 従来例でのループバッ
ク信号 E1, E2 エラービット TPC テスト信号パターン
サイクル時間 TP1, TP2 通信装置Aとの間で定
められたテスト信号パターン T 時刻。
101, 601, 801, 1001 Communication device A 103, 603, 803, 1003 Communication device B 102, 602, 802, 1002 Signal transmission / reception device 104, 604, 804, 1004 Transmission circuit IC 105, 605, 805, 1005 Serializer 106, 606, 806 Error detection circuit 107, 607, 807, 1007 Driver circuit 108, 608, 808, 1008 Receiver circuit IC 109, 609, 809, 1009 Deserializer 110, 610, 810 Test signal generation circuit 111, 611, 811, 1011 Input Buffer circuit 112, 612, 812 Error signal transmission wiring 613, 813 Timing signal transmission wiring 814 Error signal transmission control switch 1020 Loopback signal transmission wiring TXD transmission parallel signal RXD reception parallel signal TX transmission serial signal RX reception serial signal TR Error detection circuit input signal DE Error information signal TT Test signal generation circuit output DT Timing signal DL Conventional loopback signal E1, E2 Error bit TPC test signal pattern cycle time TP1, TP2 Determined between communication device A Test belief Pattern T time.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山下 寛樹 東京都国分寺市東恋ケ窪一丁目280番地 株式会社日立製作所中央研究所内 (72)発明者 武内 勇介 東京都青梅市新町六丁目16番地の3 株式 会社日立製作所デバイス開発センタ内 (72)発明者 磯村 悟 東京都青梅市新町六丁目16番地の3 株式 会社日立製作所デバイス開発センタ内 Fターム(参考) 2G132 AA00 AB01 AC03 AD06 AG01 AH03 AK07 AL09 5K035 AA01 BB01 DD02 GG01 GG08 JJ05 MM03 MM06    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Hiroki Yamashita             1-280, Higashi Koikekubo, Kokubunji, Tokyo             Central Research Laboratory, Hitachi, Ltd. (72) Inventor Yusuke Takeuchi             3 shares at 6-16 Shinmachi, Ome City, Tokyo             Hitachi Device Development Center (72) Inventor Satoru Isomura             3 shares at 6-16 Shinmachi, Ome City, Tokyo             Hitachi Device Development Center F-term (reference) 2G132 AA00 AB01 AC03 AD06 AG01                       AH03 AK07 AL09                 5K035 AA01 BB01 DD02 GG01 GG08                       JJ05 MM03 MM06

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】光または電気信号を用いた並列度n(n≧
1)の信号と並列度m(m≧1)の信号を通信装置間で相互
に変換して送受信を行う信号送受信装置であり、並列度
nの信号を受信し並列度mの信号に変換して送信する送
信回路群、および並列度mの信号を受信し並列度nの信
号に変換して送信する受信回路群で構成される信号送受
信装置において、送信回路群に通信装置から送られるテ
スト信号のエラー検出回路を有し、受信回路群に通信装
置と同等なテスト信号発生回路を有するとともに、前記
送信回路群のエラー検出回路で検出したエラーの情報を
信号の伝送速度よりも低速で受信回路群に伝える回路を
有し、そのエラー情報を元に前記テスト信号発生回路で
エラーを含むテスト信号を生成し、通信装置に送り返す
ループバック機能を持つことを特徴とする信号送受信装
置。
1. A parallel degree n (n ≧ n) using optical or electrical signals.
A signal transmission / reception device for converting a signal of 1) and a signal of parallelism m (m ≧ 1) between communication devices to perform transmission / reception, receiving a signal of parallelism n and converting it to a signal of parallelism m. In a signal transmitting / receiving device configured by a transmitting circuit group for transmitting and transmitting a signal of parallelism m, converting the signal into a signal of parallelism n and transmitting the signal, a test signal transmitted from the communication device to the transmitting circuit group. Error detection circuit, the receiving circuit group has a test signal generation circuit equivalent to the communication device, and the information of the error detected by the error detection circuit of the transmitting circuit group is received at a speed lower than the signal transmission speed. A signal transmitting / receiving apparatus having a circuit for transmitting to a group, having a loopback function of generating a test signal containing an error in the test signal generating circuit based on the error information and sending the test signal back to the communication apparatus.
【請求項2】送信回路群で受信したテスト信号をエラー
検出回路でエラーの有無を検出し、エラー有無の1ビッ
トの情報を送信回路群から受信回路群へ伝える回路を有
し、そのエラーの有無の情報から受信回路群のテスト信
号発生回路でエラーの有無を含むテスト信号を生成し、
通信装置に送り返し戻すループバック機能を特徴とする
請求項1に記載の信号送受信装置。
2. An error detection circuit detects the presence or absence of an error in a test signal received by the transmission circuit group, and has a circuit for transmitting 1-bit information indicating the presence or absence of the error from the transmission circuit group to the reception circuit group. The test signal generation circuit of the receiving circuit group generates a test signal including the presence or absence of an error from the information on the presence or absence,
The signal transmitting / receiving apparatus according to claim 1, wherein the signal transmitting / receiving apparatus has a loopback function of sending back to the communication apparatus.
【請求項3】送信回路群で受信したテスト信号をエラー
検出回路でエラーのビット数を検出し、エラーのビット
数の情報を送信回路群から受信回路群へ伝える回路を有
し、そのエラーのビット数の情報から受信回路群のテス
ト信号発生回路で受信した信号と同じエラービット数を
含むテスト信号を生成し、通信装置に送り返し戻すルー
プバック機能を特徴とする請求項1に記載の信号送受信
装置。
3. A test signal received by a transmission circuit group is detected by an error detection circuit to detect an error bit number, and a circuit for transmitting information on the error bit number from the transmission circuit group to the reception circuit group is provided. 2. The signal transmission / reception according to claim 1, wherein a test signal including the same error bit number as the signal received by the test signal generating circuit of the receiving circuit group is generated from the information of the bit number and sent back to the communication device. apparatus.
【請求項4】送信回路群で受信したテスト信号をエラー
検出回路でエラーのビット位置を検出し、エラーのビッ
ト位置の情報を送信回路群から受信回路群へ伝える回路
を有し、そのエラーのビット位置の情報から受信回路群
のテスト信号発生回路で受信した信号と同じエラーのビ
ット位置を含むテスト信号を生成し、通信装置に送り返
し戻すループバック機能を特徴とする請求項1に記載の
信号送受信装置。
4. An error detection circuit detects a bit position of an error in a test signal received by the transmission circuit group, and transmits information of the bit position of the error from the transmission circuit group to the reception circuit group. The signal according to claim 1, wherein a test signal including a bit position having the same error as the signal received by the test signal generating circuit of the receiving circuit group is generated from the bit position information and is sent back to the communication device. Transceiver.
【請求項5】送信回路群で受信したテスト信号をエラー
検出回路でエラーを検出し、エラーの情報を信号の伝送
速度よりも低速なビットシリアル信号で送信回路群から
受信回路群へ伝える回路を有し、そのエラーの情報から
受信回路群のテスト信号発生回路で受信した信号と同じ
エラー含むテスト信号を再現し、通信装置に送り返し戻
すループバック機能を特徴とする請求項1に記載の信号
送受信装置。
5. A circuit for detecting an error in a test signal received by a transmission circuit group by an error detection circuit, and transmitting error information from the transmission circuit group to the reception circuit group by a bit serial signal slower than the signal transmission speed. The signal transmission / reception according to claim 1, further comprising: a loopback function of reproducing a test signal including the same error as the signal received by the test signal generation circuit of the reception circuit group from the error information and sending the test signal back to the communication device. apparatus.
【請求項6】送信回路群で受信したテスト信号のタイミ
ング信号を送信回路群から受信回路群へ伝える回路を有
し、そのタイミング信号を元に前記テスト信号発生回路
で受信したテスト信号と同期したエラー情報を含むテス
ト信号を生成し、通信装置に送り返し戻すループバック
機能を特徴とする請求項1〜4のうちいずれかに記載の
信号送受信装置。
6. A circuit for transmitting a timing signal of a test signal received by a transmitting circuit group from the transmitting circuit group to the receiving circuit group, and synchronizing with a test signal received by the test signal generating circuit based on the timing signal. The signal transmitting / receiving apparatus according to claim 1, wherein the signal transmitting / receiving apparatus has a loopback function of generating a test signal including error information and sending the test signal back to the communication apparatus.
【請求項7】エラー情報を送信回路群から受信回路群へ
伝える回路でエラー情報の伝達の有無を制御すること
で、エラーの発生場所が送信回路側か受信回路側かを特
定することが可能なループバック機能を特徴とする請求
項1〜5のうちいずれかに記載の信号送受信装置。
7. A circuit for transmitting error information from a transmission circuit group to a reception circuit group controls presence / absence of transmission of error information, thereby making it possible to specify whether the error occurrence location is on the transmission circuit side or the reception circuit side. 6. The signal transmitting / receiving apparatus according to claim 1, wherein the signal transmitting / receiving apparatus has a simple loopback function.
【請求項8】信号を受信する第1の回路と信号を発信す
る第2の回路を有する信号送受信装置であって、 上記第1の回路は、入力されたテスト信号パターンのエ
ラーの有無を検出し、エラーが検出された場合、上記第
2の回路にエラーを示すエラー信号を送信し、 上記第2の回路は、上記エラー信号に基づいて、正しい
テスト信号パターンか、誤ったテスト信号パターンのい
ずれかを発信することを特徴とする信号送受信回路。
8. A signal transmission / reception device having a first circuit for receiving a signal and a second circuit for transmitting a signal, wherein the first circuit detects the presence or absence of an error in an input test signal pattern. If an error is detected, an error signal indicating an error is transmitted to the second circuit, and the second circuit outputs a correct test signal pattern or an erroneous test signal pattern based on the error signal. A signal transmission / reception circuit characterized by transmitting either of them.
【請求項9】上記第1の回路は並列度a(a≧1)のパラ
レル信号を受信信号とし、上記第2の回路は並列度b(b
≧1)のパラレル信号を発信信号とし、上記エラー信号
はシリアル信号、または、並列度c(a>c,b>c)
のパラレル信号であることを特徴とする請求項8記載の
信号送受信回路。
9. The first circuit uses a parallel signal with parallelism a (a ≧ 1) as a received signal, and the second circuit has parallelism b (b).
A parallel signal of ≧ 1) is used as a transmission signal, and the error signal is a serial signal or a parallel degree c (a> c, b> c).
9. The signal transmitting / receiving circuit according to claim 8, wherein the signal transmitting / receiving circuit is a parallel signal.
【請求項10】上記第1の回路は、受信されたパラレル
信号をシリアル信号に変換するシリアライザと、該シリ
アル信号を送信する送信ドライバを有する送信回路ICで
あることを特徴とする請求項8記載の信号送受信回路。
10. The transmission circuit IC having a serializer for converting a received parallel signal into a serial signal and a transmission driver for transmitting the serial signal, wherein the first circuit is a transmission circuit IC. Signal transmitting and receiving circuit.
【請求項11】上記第2の回路は、シリアル信号を受信
する入力バッファと、該シリアル信号をパラレル信号に
変換するデシリアライザを有する受信回路ICであること
を特徴とする請求項8記載の信号送受信回路。
11. The signal transmission / reception according to claim 8, wherein the second circuit is a reception circuit IC having an input buffer for receiving a serial signal and a deserializer for converting the serial signal into a parallel signal. circuit.
【請求項12】上記第1の回路は、あらかじめ定められ
たテスト信号パターンと入力されたテスト信号パターン
を比較しエラーのエラーの有無を検出することを特徴と
する請求項8記載の信号送受信回路。
12. The signal transmission / reception circuit according to claim 8, wherein the first circuit compares a predetermined test signal pattern with an input test signal pattern to detect the presence or absence of an error. .
【請求項13】上記第2の回路は、あらかじめ定められ
たテスト信号パターンを発生すると共に、エラー情報を
元に該テスト信号パターンの任意のビットを反転して発
信するテスト信号発生回路を有することを特徴とする請
求項8記載の信号送受信回路。
13. The second circuit has a test signal generation circuit for generating a predetermined test signal pattern and inverting and transmitting an arbitrary bit of the test signal pattern based on error information. 9. The signal transmitting / receiving circuit according to claim 8.
【請求項14】上記エラー信号はLとHの2レベルを有
し、上記テスト信号発生回路は、エラー信号がLレベル
の場合はテスト信号パターンを発生するが、Hレベルを
受信するとテスト信号パターンの少なくとも1ビットを
反転して発信することを特徴とする請求項13記載の信
号送受信回路。
14. The error signal has two levels, L and H, and the test signal generation circuit generates a test signal pattern when the error signal is at L level, but when the H level is received, the test signal pattern is generated. 14. The signal transmission / reception circuit according to claim 13, wherein at least one bit of the signal is inverted and transmitted.
【請求項15】送信回路と受信回路とを有する信号送受
信装置が、他の通信装置との間の通信の状態をテストす
るテスト方法であって、上記通信装置から送られてきた
テスト信号を、受信回路から送信回路へそのまま折り返
して、上記通信装置へ戻すのではなく、上記受信回路に
おいて上記テスト信号の送信状態を評価する第1のステ
ップ、上記受信回路から送信回路へ上記評価に基づいた
評価結果信号を伝達する第2のステップ、上記送信回路
は該評価結果に基づいて、テスト信号またはテスト信号
と異なる信号を上記通信装置に戻す第3のステップを含
むことを特徴とするループバックテスト方法。
15. A test method, in which a signal transmitting / receiving device having a transmitting circuit and a receiving circuit tests the state of communication with another communication device, wherein a test signal sent from the communication device is Rather than returning from the receiving circuit to the transmitting circuit as it is and returning it to the communication device, a first step of evaluating the transmission state of the test signal in the receiving circuit, evaluation from the receiving circuit to the transmitting circuit based on the evaluation A loopback test method comprising a second step of transmitting a result signal and a third step of returning the test signal or a signal different from the test signal to the communication device based on the evaluation result by the transmission circuit. .
【請求項16】上記第1のステップにおいて、受信回路
において上記通信装置から送られてきたテスト信号を、
あらかじめ決められた正しいテスト信号と比較すること
によって、上記テスト信号の送信状態を評価することを
特徴とする請求項15記載のループバックテスト方法。
16. The test signal transmitted from the communication device in the receiving circuit in the first step,
16. The loopback test method according to claim 15, wherein the transmission state of the test signal is evaluated by comparing with a predetermined correct test signal.
【請求項17】上記第2のステップにおいて、上記評価
結果信号の情報量は上記テスト信号の情報量よりも小さ
いことを特徴とする請求項15記載のループバック方
法。
17. The loopback method according to claim 15, wherein in the second step, the information amount of the evaluation result signal is smaller than the information amount of the test signal.
【請求項18】上記第2のステップにおいて、上記評価
結果信号の転送速度は上記テスト信号の転送速度よりも
小さいことを特徴とする請求項15記載のループバック
方法。
18. The loopback method according to claim 15, wherein, in the second step, the transfer rate of the evaluation result signal is lower than the transfer rate of the test signal.
【請求項19】上記第3のステップにおいて、送信回路
は該評価結果に基づいて、あらかじめ決められた正しい
テスト信号の少なくとも1ビットを反転することによっ
て、正しいテスト信号と異なる信号を作成し、上記通信
装置に戻すことを特徴とする請求項15記載のループバ
ックテスト方法。
19. In the third step, the transmitting circuit creates a signal different from the correct test signal by inverting at least one bit of the predetermined correct test signal based on the evaluation result. The loopback test method according to claim 15, wherein the loopback test is performed by returning to the communication device.
JP2002001900A 2002-01-09 2002-01-09 Signal transmitting / receiving device, circuit, and loopback test method Expired - Fee Related JP3952780B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002001900A JP3952780B2 (en) 2002-01-09 2002-01-09 Signal transmitting / receiving device, circuit, and loopback test method
US10/309,886 US7216269B2 (en) 2002-01-09 2002-12-05 Signal transmit-receive device, circuit, and loopback test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002001900A JP3952780B2 (en) 2002-01-09 2002-01-09 Signal transmitting / receiving device, circuit, and loopback test method

Publications (2)

Publication Number Publication Date
JP2003204369A true JP2003204369A (en) 2003-07-18
JP3952780B2 JP3952780B2 (en) 2007-08-01

Family

ID=27641905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002001900A Expired - Fee Related JP3952780B2 (en) 2002-01-09 2002-01-09 Signal transmitting / receiving device, circuit, and loopback test method

Country Status (2)

Country Link
US (1) US7216269B2 (en)
JP (1) JP3952780B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7490275B2 (en) 2001-02-02 2009-02-10 Rambus Inc. Method and apparatus for evaluating and optimizing a signaling system
JP3976664B2 (en) * 2002-11-20 2007-09-19 日本電気株式会社 Radio base station apparatus and loopback test method
JP2006250586A (en) * 2005-03-08 2006-09-21 Fujitsu Ltd Semiconductor integrated circuit and its test method
US20070121711A1 (en) * 2005-11-30 2007-05-31 Offord Glen E PLL with programmable jitter for loopback serdes testing and the like
JP4422134B2 (en) * 2006-09-29 2010-02-24 Okiセミコンダクタ株式会社 USB test circuit
GB0702574D0 (en) * 2007-02-09 2007-03-21 Texas Instruments Ltd Loopback circuit
CN101072136B (en) * 2007-06-25 2011-05-04 华为技术有限公司 Method, device and system for detecting internal channel fault of communication network element
CN101488842B (en) * 2009-02-27 2011-12-28 华为技术有限公司 Signal loop-back method, series parallel/parallel series converter, chip and printed circuit board
EP2407889A1 (en) * 2009-03-10 2012-01-18 Fujitsu Limited Transmission/reception device, transmission device, reception device, and data transmission/reception method
US10972183B2 (en) * 2014-04-21 2021-04-06 Arris Enterprises Llc N-input receiver: RFoG OBI mitigation with retransmission

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2246826B2 (en) * 1972-09-23 1974-08-08 Licentia Patent-Verwaltungs-Gmbh, 6000 Frankfurt System for the secure transmission of binary coded data in blocks
JPS60235545A (en) * 1984-05-08 1985-11-22 Nec Corp Signal reflecting system in pcm transmission system
US5956370A (en) * 1996-01-17 1999-09-21 Lsi Logic Corporation Wrap-back test system and method
US5787114A (en) * 1996-01-17 1998-07-28 Lsi Logic Corporation Loop-back test system and method
US5790563A (en) * 1996-02-05 1998-08-04 Lsi Logic Corp. Self test of core with unpredictable latency
US6005696A (en) * 1997-03-11 1999-12-21 Bell Atlantic Network Services, Inc. Backhauling test procedures for communications networks
US6560727B1 (en) * 1999-10-21 2003-05-06 Sandia Corporation Bit error rate tester using fast parallel generation of linear recurring sequences

Also Published As

Publication number Publication date
JP3952780B2 (en) 2007-08-01
US7216269B2 (en) 2007-05-08
US20040218665A1 (en) 2004-11-04

Similar Documents

Publication Publication Date Title
US6977960B2 (en) Self test circuit for evaluating a high-speed serial interface
US7082556B2 (en) System and method of detecting a bit processing error
US8750138B2 (en) Physical layer loopback
US7464307B2 (en) High performance serial bus testing methodology
US7701861B1 (en) Physical layer and physical layer diagnostic system with reversed loopback test
US6914884B2 (en) Communication control circuit
US7992058B2 (en) Method and apparatus for loopback self testing
US8135872B2 (en) USB controller and a testing method of the USB controller
US6341142B2 (en) Serial data transceiver including elements which facilitate functional testing requiring access to only the serial data ports, and an associated test method
US20040205416A1 (en) Communication apparatus with failure detect function
JP2003204369A (en) Signal transmission/reception apparatus, circuit and loop- back test method
US6763486B2 (en) Method and apparatus of boundary scan testing for AC-coupled differential data paths
JP2006518947A (en) Techniques for automatic eye diagram decomposition for testing high-speed serial receivers.
US6529480B1 (en) Self-test for 10/100 Mbit ethernet physical layer devices
JP3409739B2 (en) Automatic skew adjuster
EP1272861A1 (en) A method and apparatus for testing digital circuitry
JP2001060977A (en) Transmission system
KR19990017963U (en) Internal processing communication path test apparatus and method
CN114942866A (en) LIN main testing device
CN116961869A (en) Test system and test method
JPH09149481A (en) Apparatus and method for receving highway data duplexed in full electronic switching device
JPH11154941A (en) Communication equipment, communication system and communication method
JPH01255346A (en) System for testing communication control equipment
KR20020059011A (en) loop-back testing device of the BUS-system
JP2000354024A (en) Serial data transmitter and receiver and serial data transmission-reception system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041119

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070312

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: 20070410

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070423

R151 Written notification of patent or utility model registration

Ref document number: 3952780

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140511

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees