JPH09282062A - Interface - Google Patents

Interface

Info

Publication number
JPH09282062A
JPH09282062A JP9571596A JP9571596A JPH09282062A JP H09282062 A JPH09282062 A JP H09282062A JP 9571596 A JP9571596 A JP 9571596A JP 9571596 A JP9571596 A JP 9571596A JP H09282062 A JPH09282062 A JP H09282062A
Authority
JP
Japan
Prior art keywords
noise
signal line
signal
interface
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9571596A
Other languages
Japanese (ja)
Inventor
Tomio Yamashita
富夫 山下
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9571596A priority Critical patent/JPH09282062A/en
Publication of JPH09282062A publication Critical patent/JPH09282062A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect a remarkable noise, which can not be completely removed, and to deal with this noise without resetting an entire system by discriminating the signal state of a signal line after the noise is removed by a noise removing circuit, and instructing the execution of noise countermeasure processing when that state is not normal. SOLUTION: Signal lines 110 and 111 dedicated to noise detection are provided in a signal cable 3 and noise removing circuits 101 and 103 are installed. Comparators 102 and 104 respectively compare signal potentials on the signal lines 110 and 111 after noise removing processing with a threshold value settled within a normal range and detect communication abnormality generated on signal lines L0-L7 for data transfer. Corresponding to the input of this abnormality detecting signal, a D flip-flop 102 generates an interrupting signal XIRQ for instructing the noise countermeasure processing to the CPU of a printer 2. When this signal XIRQ is inputted, the CPU decides that noise removal is not completely executed, and performs the predetermined countermeasure processing concerning noise mixture.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タとプリンタ等の周辺機器の間で接続されるパラレル・
インタフェースの内、不平衡型と称されるインタフェー
スに好適なインタフェースに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel computer connected between a host computer and a peripheral device such as a printer.
The present invention relates to an interface suitable for an unbalanced type interface.

【0002】[0002]

【従来の技術】従来の平衡型のインタフェースの代表的
なノイズ除去回路を図1に示す。図1の符号(a)のシ
ステムではホストコンピュータ1のドライバとプリンタ
2のレシーバとの間がインタフェース、すなわち、信号
ケーブル3により接続されている。信号ケーブル3はデ
ータ転送用の信号線および帰線を有し、この信号線と帰
線との間に抵抗r1を設けている。図1の符号(b)の
システムでは上記信号線および帰線のそれぞれに抵抗お
よびコンデンサで構成したローパスフィルタを設けてい
る。
2. Description of the Related Art A typical noise elimination circuit of a conventional balanced type interface is shown in FIG. In the system (a) of FIG. 1, the driver of the host computer 1 and the receiver of the printer 2 are connected by an interface, that is, a signal cable 3. The signal cable 3 has a signal line for data transfer and a return line, and a resistor r1 is provided between the signal line and the return line. In the system of reference numeral (b) of FIG. 1, a low-pass filter composed of a resistor and a capacitor is provided on each of the signal line and the return line.

【0003】従来の不平衡型のインタフェースを図2に
示す。図2において、ホストコンピュータ1の送信回路
10はCPUバス(信号線d0〜d7)に接続のドライ
バ(送信素子)4、プルアップ抵抗5から構成されてい
る。プリンタ2の受信回路20はプルアップ抵抗6、ロ
ーパスフィルタ用抵抗7、ローパスフィルタ用コンデン
サ8、レシーバ(受信素子)9から構成されている。な
お、ローパスフィルタの構成を図3に示しておく。受信
回路20で受信されたデータはCPUバス(信号線d0
〜d7)を介して印刷制御を行うCPU(不図示)に転
送される。
A conventional unbalanced interface is shown in FIG. In FIG. 2, the transmission circuit 10 of the host computer 1 includes a driver (transmission element) 4 connected to the CPU bus (signal lines d0 to d7) and a pull-up resistor 5. The receiving circuit 20 of the printer 2 includes a pull-up resistor 6, a low-pass filter resistor 7, a low-pass filter capacitor 8, and a receiver (reception element) 9. The structure of the low-pass filter is shown in FIG. The data received by the receiving circuit 20 is the CPU bus (signal line d0
Through d7), the data is transferred to a CPU (not shown) that controls printing.

【0004】電源監視装置21は電源の投入時にプリン
タのシステム全体のリセットを行うほか、信号ケーブル
3の電圧異常を検出したときにステム全体をリセットす
る。送信回路10と受信回路20の間を接続する信号ケ
ーブル3はデータ転送用の信号線、接地用編組線、接地
線を有し、外部はシールド被覆されている。
The power supply monitoring device 21 resets the entire system of the printer when the power is turned on, and resets the entire system when an abnormal voltage of the signal cable 3 is detected. The signal cable 3 connecting between the transmission circuit 10 and the reception circuit 20 has a signal line for data transfer, a braided wire for grounding, and a grounding wire, and the outside is shielded.

【0005】[0005]

【発明が解決しようとする課題】本発明に関わる不平衡
型のインタフェースにおけるノイズの信号線への重畳を
説明する。信号線ケーブル3へ飛来したノイズ、すなわ
ち、放射ノイズは接地用編組線、接地線およびデータ転
送用の信号線L0〜L7に到達するが、接地線編組線の
接地インピーダンスは低いので、ノイズが到達してもた
だちに吸収される。ところが、飛来したノイズは編組線
を通過して接地インピーダンスの高いデータ転送用の信
号線(以下、単に信号線と称す)L1〜L7に混入す
る。混入地点を図3においてinと表記している。信号
線の電位がロー(Lo)の状態の時のノイズ混入波形を
図4に示し、信号線の電位がハイ(Hi)の時のノイズ
混入波形を図5に示す。このノイズ波形がプリンタ2の
ローパスフィルタにおいて図6に示す特性に従って、充
放電され、ノイズ波形が除去される。
The superposition of noise on the signal line in the unbalanced interface according to the present invention will be described. The noise that has flown into the signal line cable 3, that is, radiated noise, reaches the grounding braided wire, the grounding wire, and the signal lines L0 to L7 for data transfer, but the noise reaches because the grounding impedance of the grounding wire braided wire is low. However, it is immediately absorbed. However, the flying noise passes through the braided wire and is mixed into the data transfer signal lines (hereinafter simply referred to as signal lines) L1 to L7 having a high ground impedance. The mixing point is indicated as in in FIG. FIG. 4 shows a noise mixing waveform when the potential of the signal line is low (Lo), and FIG. 5 shows a noise mixing waveform when the potential of the signal line is high (Hi). This noise waveform is charged and discharged in the low-pass filter of the printer 2 according to the characteristics shown in FIG. 6, and the noise waveform is removed.

【0006】ノイズの長さがローパスフィルタの時定数
より小さい場合には上記ノイズ波形は除去されるが、図
7、図8に示す時定数tより大きい場合、すなわち、図
4の閾値VHmin,図5の閾値VLminを越えるよ
うなノイズ波形の場合、ローパスフィルタはノイズ波形
を完全に除去できず、ノイズの一部がレシーバ9に転送
されてしまう。電源電圧監視装置21ではデータ転送用
信号線の電圧異常を検出するとCPUに対して割り込み
信号Xresetを出力する。これに応じてCPUが作
動し、システム全体をリセットする。この結果、メモリ
が記憶していた印刷処理のための各種のパラメータやこ
れまでにホストコンピュータ1から受信したデータが消
失するという問題があった。
When the noise length is smaller than the time constant of the low-pass filter, the noise waveform is removed, but when it is larger than the time constant t shown in FIGS. 7 and 8, that is, the threshold VHmin in FIG. When the noise waveform exceeds the threshold value VLmin of 5, the low-pass filter cannot completely remove the noise waveform, and a part of the noise is transferred to the receiver 9. The power supply voltage monitoring device 21 outputs an interrupt signal Xreset to the CPU when detecting a voltage abnormality in the data transfer signal line. In response to this, the CPU operates and resets the entire system. As a result, there is a problem that various parameters for print processing stored in the memory and data received from the host computer 1 so far are lost.

【0007】そこで、本発明の目的は、ノイズ除去しき
れないような大きいノイズを検出し、かつ、システム全
体をリセットすることなくこのノイズに対処することの
可能なインタフェースを提供することにある。
Therefore, an object of the present invention is to provide an interface capable of detecting a large amount of noise that cannot be completely removed, and dealing with this noise without resetting the entire system.

【0008】[0008]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、第1の機器の送信回路と
第2の機器の受信回路との間を信号線で接続し、該信号
線に混入したノイズをノイズ除去回路により除去するイ
ンタフェースにおいて、ノイズが混入した場合の前記第
2の機器側のノイズ対処処理を予め定めておき、前記ノ
イズ除去回路により除去された後の前記信号線の信号状
態が正常であるか否かを判定する判定手段と、否定判定
が得られた場合には前記ノイズ対処処理の実行を指示す
る指示手段とを具えたことを特徴とする。
In order to achieve such an object, the invention of claim 1 connects a transmission circuit of a first device and a reception circuit of a second device with a signal line. In the interface for removing the noise mixed in the signal line by the noise removing circuit, the noise handling processing on the second device side when the noise is mixed is determined in advance, and after the noise removing circuit removes the noise. It is characterized by further comprising: determination means for determining whether or not the signal state of the signal line is normal, and instructing means for instructing execution of the noise countermeasure process when a negative determination is obtained.

【0009】請求項2の発明は、請求項1に記載のイン
タフェースにおいて、前記判定手段は前記信号線とは別
個の信号線であって、前記第1の機器の送信回路と前記
第2の機器の受信回路との間を接続する信号線と、該信
号線に混入するノイズを除去するノイズ除去回路と、該
ノイズ除去回路のノイズ除去処理後の信号電圧を正常範
囲と定める閾値と比較する比較器とを有し、該比較器の
比較結果により前記ノイズ除去回路により除去された後
の前記信号線の信号状態が正常であるか否かを判定する
ことを特徴とする。
According to a second aspect of the present invention, in the interface according to the first aspect, the judging means is a signal line separate from the signal line, and the transmitting circuit of the first device and the second device. A signal line connecting between the receiving circuit and the receiving circuit, a noise removing circuit for removing noise mixed in the signal line, and a signal voltage after the noise removing process of the noise removing circuit are compared with a threshold value that defines a normal range. And determining whether the signal state of the signal line after being removed by the noise removal circuit is normal based on the comparison result of the comparator.

【0010】請求項3の発明は、請求項2に記載のイン
タフェースにおいて、前記別個の信号線を前記ノイズの
検出用に専用的に使用することを特徴とする。
According to a third aspect of the present invention, in the interface according to the second aspect, the separate signal line is used exclusively for detecting the noise.

【0011】請求項4の発明は、請求項2に記載のイン
タフェースにおいて前記別個の信号線は2本であり、そ
の内の1本を+極性のノイズの検出用に使用し、他方の
1本を−極性のノイズの検出用に使用することを特徴と
する。
According to a fourth aspect of the present invention, in the interface according to the second aspect, the two separate signal lines are used, one of them is used for detecting + polarity noise, and the other one is used. Is used for the detection of polar noise.

【0012】請求項5の発明は、請求項1に記載のイン
タフェースにおいて、前記判定手段は前記信号線とは別
個の信号線であって、前記第1の機器の送信回路と前記
第2の機器の受信回路との間を接続する信号線と、該信
号線に混入したノイズのレベルが正常と定める範囲と比
較する比較器とを有し、該比較器の比較結果により前記
ノイズ除去回路により除去された後の前記信号線の信号
状態が正常であるか否かを判定することを特徴とする。
According to a fifth aspect of the present invention, in the interface according to the first aspect, the determination means is a signal line separate from the signal line, and the transmission circuit of the first device and the second device. And a comparator for comparing the level of noise mixed in the signal line with a range determined to be normal, and removed by the noise removal circuit according to the comparison result of the comparator. It is characterized in that it is determined whether or not the signal state of the signal line after being processed is normal.

【0013】請求項6の発明は、請求項5に記載のイン
タフェースにおいて前記別個の信号線は1本であり、該
別個の信号線に混入したノイズを変圧器により増幅し、
当該増幅したノイズを整流器により比較することを特徴
とする。
According to a sixth aspect of the present invention, in the interface according to the fifth aspect, the number of the separate signal lines is one, and the noise mixed in the separate signal lines is amplified by a transformer.
The amplified noise is compared by a rectifier.

【0014】請求項7の発明は、請求項1に記載のイン
タフェースにおいて、前記ノイズ対処処理は前記第1の
機器に対して再送信を要求する処理であることを特徴と
する。
According to a seventh aspect of the invention, in the interface according to the first aspect, the noise coping process is a process for requesting the first device to retransmit.

【0015】請求項8の発明は、請求項1に記載のイン
タフェースにおいて、前記ノイズ対処処理は前記第2の
機器で使用する特定のパラメータの再セット処理である
ことを特徴とする。
According to an eighth aspect of the present invention, in the interface according to the first aspect, the noise coping process is a resetting process of a specific parameter used by the second device.

【0016】請求項9の発明は、請求項1に記載のイン
タフェースにおいて、前記信号線の電圧異常を検出する
異常検出手段と、当該電圧異常が検出されたときには前
記第2の機器全体のリセットを指示するリセット指示手
段とをさらに具えたことを特徴とする。
According to a ninth aspect of the present invention, in the interface according to the first aspect, abnormality detecting means for detecting a voltage abnormality of the signal line and resetting of the entire second device when the voltage abnormality is detected. And a reset instruction means for instructing.

【0017】請求項10の発明は、請求項1に記載の指
示手段の指示と、請求項9に記載のリセット指示手段の
指示が共に発生した場合には該リセット指示の指示する
処理を実行せず、前記指示手段の指示する処理を実行す
ることを特徴とする。
According to a tenth aspect of the present invention, when both the instruction of the instruction means according to the first aspect and the instruction of the reset instruction means according to the ninth aspect occur, processing for instructing the reset instruction is executed. Instead, the process instructed by the instructing means is executed.

【0018】請求項11の発明は、請求項1に記載のイ
ンタフェースにおいて、前記第1の機器はホストコンピ
ュータであって、前記第2の機器はプリンタであること
を特徴とする。
According to an eleventh aspect of the invention, in the interface according to the first aspect, the first device is a host computer and the second device is a printer.

【0019】[0019]

【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図3に本発明を適用したインタフェース
の構成を示す。なお、図2の従来例と同一の箇所には同
一の符号を付して詳細な説明を省略し、従来例との相違
点を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 3 shows the structure of an interface to which the present invention is applied. The same parts as those of the conventional example shown in FIG.

【0020】ホストコンピュータ1の送信回路10とプ
リンタ2の受信回路20のデータ転送用信号線に関連す
る回路は従来と同様とすることができる。本実施例で
は、ノイズ除去後のデータ信号に異常があるか否かを判
定し、異常判定が得られた場合には異常対処処理とし
て、プリンタ2のCPUが各種、パラメータの再設定を
行う。
The circuits related to the data transfer signal lines of the transmission circuit 10 of the host computer 1 and the reception circuit 20 of the printer 2 can be the same as the conventional ones. In the present embodiment, it is determined whether or not there is an abnormality in the data signal after noise removal, and if an abnormality determination is obtained, the CPU of the printer 2 resets various parameters as abnormality processing.

【0021】このために、ノイズ検出用専用の信号線1
10、111が信号ケーブル3内に設けて有る。不平衡
型インタフェースでは通常、信号ケーブル3内には空き
の信号線を有しているので、その信号線s(+),s
(−)を使用する。信号線110は電位が下がる(−と
表記)ノイズを検出するための信号線である。信号線1
11は電位があがる(+と表記)ノイズを検出するため
の信号線である。信号線110、111にはデータ信号
線に設置されているノイズ除去回路(ローパスフィル
タ)と同一のノイズ除去回路101、103を設置す
る。
Therefore, the signal line 1 dedicated to noise detection is used.
10 and 111 are provided in the signal cable 3. Since the unbalanced interface normally has an empty signal line in the signal cable 3, the signal line s (+), s
Use (-). The signal line 110 is a signal line for detecting noise whose potential drops (denoted by −). Signal line 1
Reference numeral 11 is a signal line for detecting noise (indicated as +) whose potential rises. The same noise removal circuits 101 and 103 as the noise removal circuit (low-pass filter) installed on the data signal lines are installed on the signal lines 110 and 111.

【0022】比較器102は信号線110上のノイズ除
去処理後の信号電位を正常範囲と定める閾値と比較する
ことにより完全に除去できず、ノイズ除去後の信号電位
が閾値より小さくなる−ノイズ、すなわち、データ転送
用信号線L0〜L7がローレベルのときに生じる通信異
常を検出する。比較器104は信号線111上のノイズ
除去処理後の信号電位を正常範囲と定める閾値と比較す
ることにより完全に除去できず、ノイズ除去後の信号電
位が閾値より多きくなる+ノイズ、すなわち、データ転
送用信号線L0〜L7がハイレベルのときに生じる通信
異常を検出する。上記通信異常を検出したとき比較器1
02、104からはハイレベルの異常検出信号がオア
(OR)ゲートを介してD型フリップフロップ106に
入力される。この異常検出信号の入力に応じてD型フリ
ップフロップ106はプリンタ2のCPUに対してノイ
ズ対処処理を指示するための割り込み信号XIRQを発
生する。なお、本実施例では従来と同様、システム全体
のリセットを指示するために電源電圧監視装置21がデ
ータ信号線の電圧異常を検出した場合にはCPUに対し
て割り込み信号Xresetが出力される。
The comparator 102 cannot completely remove the signal potential after noise removal processing on the signal line 110 by comparing it with a threshold value which defines a normal range, and the signal potential after noise removal becomes smaller than the threshold value-noise, That is, the communication abnormality that occurs when the data transfer signal lines L0 to L7 are at the low level is detected. The comparator 104 cannot completely remove the signal potential after noise removal processing on the signal line 111 by comparing it with a threshold value that defines a normal range, and the signal potential after noise removal becomes larger than the threshold value + noise, that is, A communication abnormality that occurs when the data transfer signal lines L0 to L7 are at a high level is detected. When the above communication abnormality is detected, the comparator 1
A high level abnormality detection signal is input to the D-type flip-flop 106 from 02 and 104 through an OR gate. In response to the input of this abnormality detection signal, the D-type flip-flop 106 generates an interrupt signal XIRQ for instructing the CPU of the printer 2 to perform noise countermeasure processing. In this embodiment, as in the conventional case, when the power supply voltage monitoring device 21 detects a voltage abnormality of the data signal line in order to instruct the reset of the entire system, the interrupt signal Xreset is output to the CPU.

【0023】割り込み信号Xreset、XIRQのい
ずれかがが発生した場合にはCPUは図10に示す処理
手順を実行する。CPUは割り込み信号Xresetを
第1の割り込み端子に入力すると、割り込み信号XIR
Qが第2の入力端子に入力されているか否かを判別する
(図10のステップS1)。
When either of the interrupt signals Xreset or XIRQ is generated, the CPU executes the processing procedure shown in FIG. When the CPU inputs the interrupt signal Xreset to the first interrupt terminal, the interrupt signal XIR
It is determined whether or not Q is input to the second input terminal (step S1 in FIG. 10).

【0024】ここで肯定判定が得られた場合にはノイズ
除去が完全に行われなかったと確定し、CPUはノイズ
混入に対する対処処理を行う(ステップS2)。本実施
例においてはデータ送信側のホストコンピュータ1に対
してデータの再送信を要求するメッセージを送信する。
また、予め定めたプリンタ側で使用するパラメータを再
セットする(ステップS2)。
If an affirmative determination is obtained here, it is determined that the noise removal has not been completely performed, and the CPU executes a process for coping with noise mixing (step S2). In this embodiment, a message requesting retransmission of data is transmitted to the host computer 1 on the data transmitting side.
Further, the parameters used on the printer side which are set in advance are reset (step S2).

【0025】一方、ステップS1の判定で割り込み信号
IRQが発生していない場合はノイズ混入ではなく、シ
ステム全体に関わる電圧異常と判断し、従来と同様、装
置全体のリセット(初期化処理)を実行する(ステップ
S3)。
On the other hand, if it is determined in step S1 that the interrupt signal IRQ is not generated, it is determined that not the noise is mixed but the voltage abnormality related to the entire system, and the reset (initialization process) of the entire device is executed as in the conventional case. Yes (step S3).

【0026】また、割り込み信号Xreset信号が発
生せず、割り込み信号XIRQのみが発生した場合には
上述したステップS2のノイズ対処処理が実行される。
When the interrupt signal Xreset signal is not generated and only the interrupt signal XIRQ is generated, the noise coping process of step S2 is executed.

【0027】以上、説明したように、本実施例ではノイ
ズ除去が完全に行われていない事態を検出できるので、
システム全体をリセットすることなく、通信エラー関連
する回復処理を行えばよい。
As described above, in the present embodiment, it is possible to detect the situation where the noise removal is not completely performed.
Recovery processing related to communication errors may be performed without resetting the entire system.

【0028】第2実施例のシステム構成を図11に示
す。第2実施例ではノイズの混入を検出する信号線11
1が1本のみであり、信号線111に変圧器200およ
び整流器201が接続されている。この構成では信号線
111に混入したノイズは変圧器200の2次側L2で
n倍に増幅され、次に整流器201で整流される。これ
によりノイズの極性(+/−)に関係なく+極性の電圧
が発生するので比較器202によりデータ転送用信号線
L0〜L7について正常と定める閾値よりも大きい電圧
を検出したときにフリップフロップ102により割り込
み信号XIRQを発生させる。
FIG. 11 shows the system configuration of the second embodiment. In the second embodiment, the signal line 11 for detecting the mixing of noise
There is only one, and the transformer 200 and the rectifier 201 are connected to the signal line 111. In this configuration, noise mixed in the signal line 111 is amplified by n times on the secondary side L2 of the transformer 200, and then rectified by the rectifier 201. As a result, a voltage of positive polarity is generated regardless of the polarity (+/−) of noise, so that the flip-flop 102 is detected when the comparator 202 detects a voltage higher than a threshold value determined to be normal for the data transfer signal lines L0 to L7. Generates an interrupt signal XIRQ.

【0029】この例では信号線が1本でよいという利点
がある。なお、電源電圧監視装置21を有し、CPUが
図9の処理手順を実行することは言うまでもない。
This example has the advantage that only one signal line is required. It goes without saying that the CPU has the power supply voltage monitoring device 21 and the CPU executes the processing procedure of FIG. 9.

【0030】[0030]

【発明の効果】以上、説明したように請求項1の発明に
よれば、ノイズ除去が完全に行われなかったことを検出
できるので、システム全体をリセットすることなくそれ
により生じるエラーに対処できる。
As described above, according to the first aspect of the present invention, it is possible to detect that noise removal has not been completely performed, and therefore it is possible to deal with an error caused by the resetting without resetting the entire system.

【0031】請求項2、3、5の発明によれば、データ
通信に使用しないノイズ検出用の信号線を設置すること
で混入したノイズおよびノイズ除去の状態を確実に検出
できる。
According to the second, third, and fifth aspects of the present invention, by installing a signal line for noise detection that is not used for data communication, it is possible to reliably detect the mixed noise and the noise removal state.

【0032】請求項4の発明によれば、+および−極性
の両方のノイズを検出することができる。
According to the invention of claim 4, noise of both + and − polarities can be detected.

【0033】請求項6の発明ではノイズ検出用の信号線
1本で+および−極性の両方のノイズを検出することが
できる。
According to the sixth aspect of the present invention, it is possible to detect noise of both + and − polarities with one signal line for noise detection.

【0034】請求項7の発明によれば、ノイズにより破
壊されたデータについて正しいデータを受信できる。
According to the invention of claim 7, correct data can be received with respect to the data destroyed by noise.

【0035】請求項8の発明では、ノイズにより破壊さ
れたデータによるパラメータの変更を正しいものに回復
できる。
According to the eighth aspect of the invention, it is possible to restore the correct parameter change due to the data destroyed by noise.

【0036】請求項9の発明では、ノイズによる通信異
常だけでなく、ノイズを含む一般的な電圧異常などの通
信異常を検出できる。
According to the invention of claim 9, not only the communication abnormality due to noise but also the communication abnormality such as general voltage abnormality including noise can be detected.

【0037】請求項10の発明では上記一般的な電圧異
常とノイズによる通信異常とを弁別できる。
According to the tenth aspect of the invention, the general voltage abnormality and the communication abnormality due to noise can be discriminated.

【0038】請求項11の発明では、通信のデータ容量
が多いプリンタの誤動作を阻止し、印刷の失敗を減少さ
せ、経済効果を高めることができる。
According to the eleventh aspect of the present invention, it is possible to prevent malfunction of a printer having a large amount of communication data, reduce printing failures, and enhance economic effects.

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

【図1】平衡型の従来例のシステム構成を示す回路図で
ある。
FIG. 1 is a circuit diagram showing a system configuration of a balanced type conventional example.

【図2】不平衡型の従来例のシステム構成を示す回路図
である。
FIG. 2 is a circuit diagram showing a system configuration of an unbalanced conventional example.

【図3】ローパスフィルタの一例を示す回路図である。FIG. 3 is a circuit diagram showing an example of a low-pass filter.

【図4】ノイズが混入した信号波形を示す波形図であ
る。
FIG. 4 is a waveform diagram showing a signal waveform in which noise is mixed.

【図5】ノイズが混入した信号波形を示す波形図であ
る。
FIG. 5 is a waveform diagram showing a signal waveform in which noise is mixed.

【図6】ローパスフィルタの特性を示す説明図である。FIG. 6 is an explanatory diagram showing characteristics of a low-pass filter.

【図7】ローパスフィルタの特性を示す説明図である。FIG. 7 is an explanatory diagram showing characteristics of a low-pass filter.

【図8】ローパスフィルタの特性を示す説明図である。FIG. 8 is an explanatory diagram showing characteristics of a low-pass filter.

【図9】本実施例のシステム構成を示す回路図である。FIG. 9 is a circuit diagram showing a system configuration of the present embodiment.

【図10】異常検知後のデータ回復処理の内容を示すフ
ローチャートである。
FIG. 10 is a flowchart showing the contents of data recovery processing after abnormality detection.

【図11】第2の実施例のシステム構成を示す回路図で
ある。
FIG. 11 is a circuit diagram showing a system configuration of a second embodiment.

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

1 ホストコンピュータ 2 プリンタ 3 信号ケーブル 10 送信回路 20 受信回路 1 host computer 2 printer 3 signal cable 10 transmitter circuit 20 receiver circuit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 第1の機器の送信回路と第2の機器の受
信回路との間を信号線で接続し、該信号線に混入したノ
イズをノイズ除去回路により除去するインタフェースに
おいて、 ノイズが混入した場合の前記第2の機器側のノイズ対処
処理を予め定めておき、 前記ノイズ除去回路により除去された後の前記信号線の
信号状態が正常であるか否かを判定する判定手段と、 否定判定が得られた場合には前記ノイズ対処処理の実行
を指示する指示手段とを具えたことを特徴とするインタ
フェース。
1. An interface in which noise is mixed in an interface in which a transmitting circuit of a first device and a receiving circuit of a second device are connected by a signal line, and noise mixed in the signal line is removed by a noise removing circuit. And a determination means for determining whether or not the signal state of the signal line after being removed by the noise removal circuit is normal in advance, An interface comprising: an instruction means for instructing execution of the noise coping processing when a determination is obtained.
【請求項2】 請求項1に記載のインタフェースにおい
て、前記判定手段は前記信号線とは別個の信号線であっ
て、前記第1の機器の送信回路と前記第2の機器の受信
回路との間を接続する信号線と、該信号線に混入するノ
イズを除去するノイズ除去回路と、該ノイズ除去回路の
ノイズ除去処理後の信号電圧を正常範囲と定める閾値と
比較する比較器とを有し、該比較器の比較結果により前
記ノイズ除去回路により除去された後の前記信号線の信
号状態が正常であるか否かを判定することを特徴とする
インタフェース。
2. The interface according to claim 1, wherein the determination means is a signal line separate from the signal line, and the determination circuit is a transmission circuit of the first device and a reception circuit of the second device. A signal line connecting between the signal lines, a noise removing circuit for removing noise mixed in the signal line, and a comparator for comparing the signal voltage after the noise removing process of the noise removing circuit with a threshold value defining a normal range An interface characterized by determining whether or not the signal state of the signal line after being removed by the noise removal circuit is normal based on the comparison result of the comparator.
【請求項3】 請求項2に記載のインタフェースにおい
て、前記別個の信号線を前記ノイズの検出用に専用的に
使用することを特徴とするインタフェース。
3. The interface according to claim 2, wherein the separate signal line is exclusively used for detecting the noise.
【請求項4】 請求項2に記載のインタフェースにおい
て前記別個の信号線は2本であり、その内の1本を+極
性のノイズの検出用に使用し、他方の1本を−極性のノ
イズの検出用に使用することを特徴とするインタフェー
ス。
4. The interface according to claim 2, wherein the number of the separate signal lines is two, one of which is used for detection of positive polarity noise, and the other one of which is negative polarity noise. An interface characterized by being used for detection of.
【請求項5】 請求項1に記載のインタフェースにおい
て、前記判定手段は前記信号線とは別個の信号線であっ
て、前記第1の機器の送信回路と前記第2の機器の受信
回路との間を接続する信号線と、該信号線に混入したノ
イズのレベルが正常と定める範囲と比較する比較器とを
有し、該比較器の比較結果により前記ノイズ除去回路に
より除去された後の前記信号線の信号状態が正常である
か否かを判定することを特徴とするインタフェース。
5. The interface according to claim 1, wherein the determination unit is a signal line separate from the signal line, and the determination circuit is a transmission circuit of the first device and a reception circuit of the second device. A signal line connecting between the signal line and a comparator for comparing with a range in which the level of noise mixed in the signal line is determined to be normal, and the comparator after being removed by the noise removing circuit according to the comparison result of the comparator An interface characterized by determining whether or not the signal state of a signal line is normal.
【請求項6】 請求項5に記載のインタフェースにおい
て前記別個の信号線は1本であり、該別個の信号線に混
入したノイズを変圧器により増幅し、当該増幅したノイ
ズを整流器により比較することを特徴とするインタフェ
ース。
6. The interface according to claim 5, wherein the number of the separate signal lines is one, the noise mixed in the separate signal lines is amplified by a transformer, and the amplified noise is compared by a rectifier. Interface characterized by.
【請求項7】 請求項1に記載のインタフェースにおい
て、前記ノイズ対処処理は前記第1の機器に対して再送
信を要求する処理であることを特徴とするインタフェー
ス。
7. The interface according to claim 1, wherein the noise coping process is a process of requesting retransmission of the first device.
【請求項8】 請求項1に記載のインタフェースにおい
て、前記ノイズ対処処理は前記第2の機器で使用する特
定のパラメータの再セット処理であることを特徴とする
インタフェース。
8. The interface according to claim 1, wherein the noise coping process is a process of resetting a specific parameter used by the second device.
【請求項9】 請求項1に記載のインタフェースにおい
て、前記信号線の電圧異常を検出する異常検出手段と、
当該電圧異常が検出されたときには前記第2の機器全体
のリセットを指示するリセット指示手段とをさらに具え
たことを特徴とするインタフェース。
9. The interface according to claim 1, further comprising an abnormality detecting unit that detects an abnormality in the voltage of the signal line,
An interface further comprising reset instruction means for instructing reset of the entire second device when the voltage abnormality is detected.
【請求項10】 請求項1に記載の指示手段の指示と、
請求項9に記載のリセット指示手段の指示が共に発生し
た場合には該リセット指示の指示する処理を実行せず、
前記指示手段の指示する処理を実行することを特徴とす
るインタフェース。
10. The instruction of the instruction means according to claim 1,
When the instruction of the reset instruction means according to claim 9 is also generated, the processing instructing the reset instruction is not executed,
An interface for executing a process instructed by the instructing means.
【請求項11】 請求項1に記載のインタフェースにお
いて、前記第1の機器はホストコンピュータであって、
前記第2の機器はプリンタであることを特徴とするイン
タフェース。
11. The interface according to claim 1, wherein the first device is a host computer,
An interface characterized in that the second device is a printer.
JP9571596A 1996-04-17 1996-04-17 Interface Pending JPH09282062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9571596A JPH09282062A (en) 1996-04-17 1996-04-17 Interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9571596A JPH09282062A (en) 1996-04-17 1996-04-17 Interface

Publications (1)

Publication Number Publication Date
JPH09282062A true JPH09282062A (en) 1997-10-31

Family

ID=14145191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9571596A Pending JPH09282062A (en) 1996-04-17 1996-04-17 Interface

Country Status (1)

Country Link
JP (1) JPH09282062A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100737000B1 (en) * 2005-03-23 2007-07-09 세이코 엡슨 가부시키가이샤 Data transfer control device and electronic instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100737000B1 (en) * 2005-03-23 2007-07-09 세이코 엡슨 가부시키가이샤 Data transfer control device and electronic instrument

Similar Documents

Publication Publication Date Title
CN1326371C (en) Bus system for data transfer
JP2005006305A (en) Inter-integrated circuit router for supporting individual transmission rate
JP2005004746A (en) System and method for detecting presence of device connected to inter-integrated circuit router and resetting device
JP4294544B2 (en) Integrated circuit bus router for improved security
JP3920280B2 (en) Data transmission method through I2C router
US5941997A (en) Current-based contention detection and handling system
JPH09282062A (en) Interface
JPS60117843A (en) Signal output system of data transmission system
US20220191717A1 (en) Communication device and image forming apparatus
US20230236647A1 (en) Receiver detection system and receiver detection device
JP4570753B2 (en) Error code sending apparatus and method
JPH10511824A (en) Method and apparatus for transmitting a signal over a wire pair with activity detection capability
JP2002204280A (en) Device and method for processing information and device capable of utilizing serial communication
US20030021390A1 (en) Device for connection of a device on a telephone line
JP2004165924A (en) Transmission data control method for serial communication
JP3232797B2 (en) Receiver circuit with carrier sense
JP3761441B2 (en) Operation monitoring device for data terminal device
JP2005085151A (en) Usb buffer circuit
JP2851085B2 (en) Terminal power off detection method
JPS59158140A (en) Data transmission system
JPH02312418A (en) Communication equipment for vehicle use
JPH07129291A (en) Connecting device for bus
JPH08147176A (en) Illegal interruption request signal detecting circuit
JPH0595306A (en) Balanced signal transmission circuit
JPS61144940A (en) Malfunction preventing circuit