JPH06311208A - Communication controller - Google Patents
Communication controllerInfo
- Publication number
- JPH06311208A JPH06311208A JP5097791A JP9779193A JPH06311208A JP H06311208 A JPH06311208 A JP H06311208A JP 5097791 A JP5097791 A JP 5097791A JP 9779193 A JP9779193 A JP 9779193A JP H06311208 A JPH06311208 A JP H06311208A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- internal
- communication medium
- receiving means
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Bidirectional Digital Transmission (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、ループバック機能を備
えた通信制御装置のループバック機能を用いて、予め設
定した最小受信レベルにより常に受信手段をチェック
し、異常を検出できるようにした通信制御装置に関する
ものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses a loopback function of a communication control device having a loopback function to constantly check a receiving means by a preset minimum reception level so that an abnormality can be detected. The present invention relates to a control device.
【0002】[0002]
【従来の技術】長距離通信を行う通信媒体上では、信号
レベルの減衰が問題となる。ループバック機能を備えた
通信制御装置は、通信媒体に接続された通信装置が自局
宛の試験用の信号を送出し、それを正常に受信できるか
否かによって、送受信機能の診断を行うように構成され
ている。しかしながら、従来の通信制御装置はループバ
ックにより、受信手段自体の異常検出を行うことを目的
としたものであるために、受信手段の最小受信レベルの
異常を検出することが出来ない、という問題があった。
又、前記の異常を検出する際には、通信制御装置のルー
プバック機能を起動し制御するためのソフトウエアを上
位処理装置に構築しなければならいという欠点もあっ
た。2. Description of the Related Art Attenuation of signal level becomes a problem on a communication medium for long-distance communication. The communication control device with loopback function diagnoses the transmission / reception function by whether the communication device connected to the communication medium sends out the test signal addressed to itself and whether it can receive it normally. Is configured. However, since the conventional communication control device is intended to detect the abnormality of the receiving means itself by loopback, there is a problem that the abnormality of the minimum receiving level of the receiving means cannot be detected. there were.
Further, when detecting the above-mentioned abnormality, there is also a drawback that software for activating and controlling the loopback function of the communication control device must be built in the upper processing device.
【0003】[0003]
【発明が解決しようとする課題】本発明の目的は、上記
のような点を解決するために、ループバック機能を用い
て、最小受信レベルの異常検出を常時行うことができる
装置を実現することにある。SUMMARY OF THE INVENTION In order to solve the above problems, an object of the present invention is to realize an apparatus capable of constantly performing abnormality detection of a minimum reception level by using a loopback function. It is in.
【0004】[0004]
【課題を解決するための手段】この目的を達成するため
に、本発明は、送信及び受信が同一の通信媒体で行われ
る半二重通信方式において、内部の送信信号を変換して
通信媒体上へ出力する送信手段と、通信媒体上の信号を
変換して内部の受信信号として出力する受信手段と、通
信媒体上の信号を、信号として判別できる最小限の信号
レベルに変換して受信手段へ出力する信号減衰手段と、In order to achieve this object, the present invention is a half-duplex communication system in which transmission and reception are performed on the same communication medium, by converting an internal transmission signal and transmitting on the communication medium. To the receiving means, which converts the signal on the communication medium to output as an internal received signal, and the signal on the communication medium to the minimum signal level that can be discriminated as a signal to the receiving means. Output signal attenuation means,
【0005】前記内部の送信信号の有無を検出し、内部
の送信信号が無い場合は、通信媒体上の信号を前記受信
手段へ直接入力し、内部の送信信号が有る場合は、通信
媒体上の信号を前記信号減衰手段を経て前記受信手段へ
入力する切り換え手段と、入力の一方が内部の送信信号
であり、他方の入力が内部の受信信号であり、内部の送
信信号があるときに、内部の送信信号と、内部の受信信
号を比較し、それらの信号が一致していれば正常であ
り、それらの信号が一致していなければ異常であると判
別する比較手段とから構成したことを特徴とする。The presence / absence of the internal transmission signal is detected. When the internal transmission signal is not present, the signal on the communication medium is directly input to the receiving means. When the internal transmission signal is present, the signal on the communication medium is detected. A switching means for inputting a signal to the receiving means via the signal attenuating means, and one of the inputs being an internal transmission signal, the other input being an internal reception signal, and an internal transmission signal Of the internal transmission signal, and if the signals match, it is normal, and if the signals do not match, it is abnormal. And
【0006】[0006]
【作用】本発明では、上位処理装置の出力である内部の
送信信号を、送信手段を通して通信媒体上へ出力する。
当該出力信号を減衰手段を通して受信手段が受信できる
最小受信レベルまで減衰させて受信手段へ入力する。切
り換え手段を用いて、上位処理装置の出力である内部の
送信信号が有る間だけ、受信手段の出力である内部の受
信信号と、前記上位処理装置の出力である内部の送信信
号とのレベル差を比較手段が検出する。レベル差が所定
の値を超えると、異常の状態通知信号を出力する。この
チェックは送信動作の都度繰り返される。In the present invention, the internal transmission signal which is the output of the host processor is output onto the communication medium through the transmitting means.
The output signal is attenuated through the attenuating means to the minimum reception level that can be received by the receiving means and input to the receiving means. By using the switching means, the level difference between the internal received signal which is the output of the receiving means and the internal transmitted signal which is the output of the upper processing apparatus only while the internal transmitted signal which is the output of the upper processing apparatus is present. Is detected by the comparison means. When the level difference exceeds a predetermined value, an abnormal state notification signal is output. This check is repeated every transmission operation.
【0007】[0007]
【実施例】以下図面を用いて本発明を説明する。図1は
本発明の一実施例を示した構成ブロック図である。1は
通信に使用される媒体であり、通常銅線ケーブル又は光
ケーブル等が使用される。この媒体を使用して半二重通
信方式により通信を行う。2は送信すべき内部の送信信
号S1を、所定の通信フレームに変換して通信媒体1上
へ出力する送信手段である。The present invention will be described below with reference to the drawings. FIG. 1 is a configuration block diagram showing an embodiment of the present invention. 1 is a medium used for communication, and usually a copper wire cable or an optical cable is used. Communication is performed by a half-duplex communication method using this medium. Reference numeral 2 is a transmission means for converting the internal transmission signal S 1 to be transmitted into a predetermined communication frame and outputting it on the communication medium 1.
【0008】3は通信媒体1上の信号又はその減衰され
た信号を入力とし、内部の受信信号S2として出力する
受信手段である。4は通信媒体1上の信号を、受信手段
3が信号として判別できる最小限の信号レベルに変換し
て受信手段3へ出力する信号減衰手段である。5は前記
内部の送信信号S1の有無を検出し、内部の送信信号S1
が無い場合は、通信媒体1上の信号を前記受信手段3へ
直接入力し、内部の送信信号S1が有る場合は、通信媒
体1上の信号を前記信号減衰手段4を経て前記受信手段
3へ入力する切り換え手段である。Reference numeral 3 is a receiving means which receives the signal on the communication medium 1 or its attenuated signal as an input and outputs it as an internal received signal S 2 . Reference numeral 4 is a signal attenuating means for converting the signal on the communication medium 1 into a minimum signal level that the receiving means 3 can discriminate as a signal and outputting it to the receiving means 3. 5 detects the presence or absence of the transmission signals S 1 of the inner, inside the transmission signals S 1
If no inputs signals directly on the communication medium 1 to the receiving unit 3, when the transmission signals S 1 inside there, the signals on the communication medium 1 signal attenuation means 4 the reception means 3 via It is a switching means for inputting to.
【0009】6は入力の一方が内部の送信信号S1であ
り、他方の入力が内部の受信信号S2であり、内部の送
信信号S1があるときに、内部の送信信号S1と、内部の
受信信号S2を比較し、それらの信号が一致していれば
正常であり、それらの信号が一致していなければ異常で
あると判別して状態通知信号S3を出力する比較手段で
ある。7は内部の送信信号S1を出力し、内部の受信信
号S2を読み取り処理し、比較手段6が発する異常の状
態通知信号S3を受けた時は送受信の異常処理をする上
位処理装置である。One of the inputs 6 is an internal transmission signal S 1 , the other input is an internal reception signal S 2 , and when the internal transmission signal S 1 is present, the internal transmission signal S 1 The comparison means compares the internal reception signals S 2 and determines that the signals are normal if they match, and abnormal if they do not match, and outputs the status notification signal S 3. is there. Reference numeral 7 is a host processor which outputs an internal transmission signal S 1 , reads an internal reception signal S 2, and processes an abnormal state of transmission / reception when receiving an abnormal state notification signal S 3 from the comparison means 6. is there.
【0010】図2は装置と各手段間の信号の遷移動作を
説明する図である。本図を用いて各部の動作を説明す
る。縦軸は上位処理装置と主な手段の信号の状態遷移を
示す。横軸は時間であり、主な状態遷移に対応した時間
間隔をT1〜T9で示す。この時間間隔は通信の内容によ
り一定しない。FIG. 2 is a diagram for explaining a signal transition operation between the device and each means. The operation of each unit will be described with reference to this drawing. The vertical axis represents the state transition of signals of the host processor and main means. The horizontal axis represents the time indicates the time intervals corresponding to the main state transition T 1 through T 9. This time interval varies depending on the contents of communication.
【0011】時間T1の間は通信が無い状態である。上
位処理装置7は、送受信を停止し、通信媒体1上には信
号が無く、切り換え手段5は通信媒体1を受信手段3へ
接続した状態であり、比較手段6は停止し、状態通知信
号は正常な状態であることを示す。時間T2の間は自局
が送信している状態である。上位処理装置7は、送信状
態となり内部送信信号S1を出力する。切り換え手段5
はこの内部送信信号S1を検出し、通信媒体1を減衰手
段4へ接続する。同時に比較手段6も内部送信信号S1
を検出して起動し、内部送信信号S1と内部の受信信号
S2を比較して差異が無ければ状態通知信号S3は正常と
出力する。通信媒体1上ヘは送信手段2から送信信号が
出力され、有信号状態となる。There is no communication during the time T 1 . The upper processing device 7 stops transmission / reception, there is no signal on the communication medium 1, the switching means 5 is in a state where the communication medium 1 is connected to the receiving means 3, the comparing means 6 is stopped, and the status notification signal is Indicates a normal condition. During the time T 2 , the local station is transmitting. The host processor 7 enters the transmission state and outputs the internal transmission signal S 1 . Switching means 5
Detects this internal transmission signal S 1 and connects the communication medium 1 to the attenuation means 4. At the same time, the comparison means 6 also sends the internal transmission signal S 1
Is detected and activated, the internal transmission signal S 1 and the internal reception signal S 2 are compared, and if there is no difference, the status notification signal S 3 is output as normal. A transmission signal is output from the transmission means 2 onto the communication medium 1 and the signal state is established.
【0012】時間T3は時間T1と同様である。時間T4
は他局が送信している状態であり、通信媒体1は有信号
状態であるが、内部の送信信号S1が無いために、切り
換え手段5は通信媒体1上の信号を受信手段3へ直接入
力するように切り換えられている。尚、比較手段6は起
動せずT3の状態を維持し、上位処理装置7は受信状態
となる。時間T5は時間T1と同様通信の無い状態であ
る。時間T6は時間T2と同様自局が送信している状態で
ある。受信レベルに異常が無い限り上述のT1〜T6の状
態が繰り返される。The time T 3 is similar to the time T 1 . Time T 4
Is a state in which another station is transmitting and the communication medium 1 is in a signal state, but since there is no internal transmission signal S 1 , the switching means 5 directly sends the signal on the communication medium 1 to the receiving means 3. It has been switched to input. It should be noted that the comparison means 6 does not start up and maintains the state of T 3 , and the high-order processing device 7 enters the receiving state. At time T 5 , there is no communication as at time T 1 . Time T 6 is a state in which the local station is transmitting, as at time T 2 . As long as there is no abnormality in the reception level, the above-mentioned states of T 1 to T 6 are repeated.
【0013】時間T7のa時点において、受信手段3の
最小受信レベルが規定範囲外になった場合、即ち受信感
度が低下したか或いは上昇した場合は、自局が次に送信
する時間T8において、上位処理装置7が送信状態とな
り、それを検知して、切り換え手段5は通信媒体1を減
衰手段4へ接続し、比較手段6も起動する。ここで、受
信手段3の受信レベルが変化したため、減衰手段4から
出力される信号レベルに対して、受信手段3は正しい内
部受信信号S2を出力出来なくなる。そこで比較手段6
は内部送信信号S1と内部受信信号S2を比較して一定の
差異が有れば検出し、状態通知信号S3は異常信号を出
力して、上位処理装置7に通知する。このようにして、
受信機能の最小受信レベルの異常検出を常に行うことが
可能な通信制御装置が実現できる。When the minimum reception level of the receiving means 3 is out of the specified range at the time a at time T 7 , that is, when the reception sensitivity is lowered or increased, the time T 8 at which the local station transmits next time At, the host processor 7 enters the transmission state, and upon detecting this, the switching means 5 connects the communication medium 1 to the attenuating means 4 and activates the comparing means 6. Here, since the reception level of the reception means 3 has changed, the reception means 3 cannot output the correct internal reception signal S 2 with respect to the signal level output from the attenuation means 4. Therefore, the comparison means 6
Compares the internal transmission signal S 1 and the internal reception signal S 2 and detects if there is a certain difference, and outputs the status notification signal S 3 as an abnormal signal to notify the upper processing unit 7. In this way
It is possible to realize a communication control device that can always detect an abnormality of the minimum reception level of a reception function.
【0014】[0014]
【発明の効果】本発明によれば、自局が送信している間
に、通信媒体上の送信信号を減衰させて最小受信レベル
の信号を得て、受信手段へ入力するように構成したの
で、減衰手段と、切り換え手段と、比較手段を付加する
のみで、上位処理装置、送信手段を含めて受信手段の異
常検出を自局が送信する都度実施することができる。又
ソフトウエアを上位処理装置に構築しなければならいと
いう欠点も克服された。According to the present invention, while the local station is transmitting, the transmission signal on the communication medium is attenuated to obtain the signal of the minimum reception level, and the signal is input to the receiving means. By only adding the attenuating means, the switching means, and the comparing means, it is possible to carry out the abnormality detection of the receiving means including the host processing device and the transmitting means each time the own station transmits. It also overcomes the drawback of having to build software in the host processor.
【図1】本発明の一実施例を示した構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.
【図2】上位処理装置と各手段間の信号の遷移動作を説
明する図である。FIG. 2 is a diagram for explaining a signal transition operation between a higher-level processing device and each means.
1 通信媒体 2 送信手段 3 受信手段 4 減衰手段 5 切り換え手段 6 比較手段 7 上位処理装置 S1 内部の送信信号 S2 内部の受信信号 S3 状態通知信号1 communication medium 2 transmission unit 3 receiving means 4 attenuating means 5 switching means 6 comparing means 7 host processing apparatus S 1 inside the transmission signal S 2 inside the received signal S 3 state signal
Claims (1)
半二重通信方式において、 内部の送信信号を変換して通信媒体上へ出力する送信手
段と、 通信媒体上の信号を変換して、内部の受信信号として出
力する受信手段と、 通信媒体上の信号を、信号として判別できる最小限の信
号レベルに変換して受信手段へ出力する信号減衰手段
と、 前記内部の送信信号の有無を検出し、内部の送信信号が
無い場合は、通信媒体上の信号を前記受信手段へ直接入
力し、内部の送信信号が有る場合は、通信媒体上の信号
を前記信号減衰手段を経て前記受信手段へ入力する切り
換え手段と、 入力の一方が内部の送信信号であり、他方の入力が内部
の受信信号であり、内部の送信信号があるときに、内部
の送信信号と、内部の受信信号を比較し、それらの信号
が一致していれば正常であり、それらの信号が一致して
いなければ異常であると判別する比較手段とから構成さ
れた通信制御装置。1. In a half-duplex communication system in which transmission and reception are performed in the same communication medium, transmitting means for converting an internal transmission signal and outputting it on the communication medium, and converting the signal on the communication medium , A receiving means for outputting as an internal received signal, a signal attenuating means for converting a signal on a communication medium into a minimum signal level that can be discriminated as a signal and outputting the signal to the receiving means, and the presence or absence of the internal transmitted signal. If there is no internal transmission signal, the signal on the communication medium is directly input to the receiving means. If there is an internal transmission signal, the signal on the communication medium is passed through the signal attenuating means to the receiving means. When there is an internal transmission signal, and one of the inputs is the internal transmission signal, and the other is the internal transmission signal, the internal transmission signal and the internal reception signal are compared. And those signals Matching is normal if, communication control unit consists of a comparison means for determining that the signals are abnormal must match.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5097791A JPH06311208A (en) | 1993-04-23 | 1993-04-23 | Communication controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5097791A JPH06311208A (en) | 1993-04-23 | 1993-04-23 | Communication controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06311208A true JPH06311208A (en) | 1994-11-04 |
Family
ID=14201640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5097791A Pending JPH06311208A (en) | 1993-04-23 | 1993-04-23 | Communication controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06311208A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100344089C (en) * | 2003-02-27 | 2007-10-17 | 株式会社瑞萨科技 | Communication device possessing trouble detection function |
JP2008160486A (en) * | 2006-12-22 | 2008-07-10 | Digital Electronics Corp | Loop back circuit component, connector for communication function diagnosis, communication equipment and communication function diagnosing method |
JP2008234222A (en) * | 2007-03-19 | 2008-10-02 | Ricoh Co Ltd | Usb controller and method of testing usb controller |
-
1993
- 1993-04-23 JP JP5097791A patent/JPH06311208A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100344089C (en) * | 2003-02-27 | 2007-10-17 | 株式会社瑞萨科技 | Communication device possessing trouble detection function |
JP2008160486A (en) * | 2006-12-22 | 2008-07-10 | Digital Electronics Corp | Loop back circuit component, connector for communication function diagnosis, communication equipment and communication function diagnosing method |
JP2008234222A (en) * | 2007-03-19 | 2008-10-02 | Ricoh Co Ltd | Usb controller and method of testing usb controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06311208A (en) | Communication controller | |
US4847593A (en) | Transmission circuit of fire protection/security system | |
JPS61295738A (en) | Transmission controller | |
JP2921105B2 (en) | Modem with condition diagnosis function | |
US5297149A (en) | Emergency circuit for, e.g., numerical control unit | |
JP3816643B2 (en) | Disconnection monitoring system | |
JPH02122730A (en) | Signal line terminating system | |
JP2800765B2 (en) | Optical burst signal output control circuit | |
JPH05191300A (en) | Transmission power control system for radio equipment | |
JPH0847065A (en) | Remote supervisory controller | |
JP2002280977A (en) | Automatic supervisory monitor for multi-channel simultaneous amplification relay broadcast device | |
JP2875468B2 (en) | Remote monitoring system | |
KR960013963B1 (en) | Self examination device for telecommunication system | |
JP2946899B2 (en) | Transmission power control method | |
JPS59114929A (en) | Fault detecting system for transmission line | |
JPH0546158Y2 (en) | ||
JPH06338925A (en) | Interface converter | |
JPH11164277A (en) | Status monitor for catv amplifier and catv amplifier using it | |
JP2591455B2 (en) | Communication device | |
JPH05167476A (en) | Data transmitter | |
JPH05167542A (en) | Alarm suppression system at 1+1 line protection | |
JPS58108843A (en) | Data transmission controlling system | |
JPH10294723A (en) | Multiplex communication system | |
JPH036165A (en) | Carrier detection level setting system | |
JPS59141841A (en) | Monitor device |