JP2016133972A - Communication system and image forming apparatus - Google Patents

Communication system and image forming apparatus Download PDF

Info

Publication number
JP2016133972A
JP2016133972A JP2015008031A JP2015008031A JP2016133972A JP 2016133972 A JP2016133972 A JP 2016133972A JP 2015008031 A JP2015008031 A JP 2015008031A JP 2015008031 A JP2015008031 A JP 2015008031A JP 2016133972 A JP2016133972 A JP 2016133972A
Authority
JP
Japan
Prior art keywords
master device
signal
communication
slave
slave devices
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
JP2015008031A
Other languages
Japanese (ja)
Inventor
石井 努
Tsutomu Ishii
努 石井
坪田 浩和
Hirokazu Tsubota
浩和 坪田
浜田 勉
Tsutomu Hamada
勉 浜田
祐理 三浦
Yuuri Miura
祐理 三浦
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2015008031A priority Critical patent/JP2016133972A/en
Publication of JP2016133972A publication Critical patent/JP2016133972A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a communication system that has a configuration in which at least one slave device is connected to a master device, and can improve resistance against external noise compared with a case of transmitting with a constant signal strength; and an image forming apparatus.SOLUTION: A communication system comprises a master device 20 that transmits a signal transmitted from the upstream side to the downstream side, and a slave device 40A that is connected onto the downstream side of the master device 20 and transmits the signal to an execution part connected onto the downstream side to cause the execution part to execute processing corresponding to the signal. The master device 20 includes a log collection part 24 that collects communication information including the state of delay in communication with the slave device 40A, and strength changing means 25 that changes the strength of the signal to be transmitted to the slave device 40A on the basis of the communication information collected by the log collection part 24.SELECTED DRAWING: Figure 3

Description

本発明は、通信システム及び画像形成装置に関する。   The present invention relates to a communication system and an image forming apparatus.

従来、パケット転送に要するレイテンシ(遅延時間)の発生を抑制し、効率のよいデータ転送を実現するために、マスターデバイスと、マスターデバイスからデータが転送されるスレーブデバイスとを備え、スレーブデバイスは、マスターデバイスから送信されたデータ転送リクエストに基づいてデータ転送レートを計測し、計測したデータ転送レートに応じてデータ転送リクエストの量を制限する制限リクエストをマスターデバイスに送信するデータ転送システムが提案されている(例えば、特許文献1参照)。   Conventionally, in order to suppress the occurrence of latency (delay time) required for packet transfer and realize efficient data transfer, a master device and a slave device to which data is transferred from the master device are provided. There has been proposed a data transfer system that measures a data transfer rate based on a transmitted data transfer request, and transmits a restriction request that limits the amount of the data transfer request according to the measured data transfer rate to the master device (for example, Patent Document 1).

特開2010−218351号公報JP 2010-218351 A

本発明の目的は、マスターデバイスに少なくとも1つのスレーブデバイスが接続された構成において、信号強度を一定にして送信する場合と比較して外来ノイズに対する耐性を向上させることができる通信システム及び画像形成装置を提供することにある。   An object of the present invention is to provide a communication system and an image forming apparatus capable of improving resistance to external noise as compared with the case where transmission is performed with a constant signal strength in a configuration in which at least one slave device is connected to a master device. It is to provide.

[1]上流側から送信された信号を下流側に送信するマスターデバイスと、
前記マスターデバイスの下流側に接続され、前記信号を下流側に送信するスレーブデバイスとを備え、
前記マスターデバイスは、前記スレーブデバイスとの間の通信状態を示す通信情報を記憶部に記録する記録手段と、
前記記憶部に記録された前記通信情報に基づいて、前記マスターデバイスが前記スレーブデバイスに送信する前記信号の強度を変更する強度変更手段とを有する、通信システム。
[1] a master device that transmits a signal transmitted from the upstream side to the downstream side;
A slave device connected downstream of the master device and transmitting the signal downstream;
The master device has a recording unit that records communication information indicating a communication state with the slave device in a storage unit;
A communication system, comprising: strength changing means for changing the strength of the signal transmitted from the master device to the slave device based on the communication information recorded in the storage unit.

[2]上流側から送信された信号を下流側に送信するマスターデバイスと、
前記マスターデバイスの下流側に直列又は並列に接続され、前記信号を下流側に送信する複数のスレーブデバイスとを備え、
前記マスターデバイスは、前記スレーブデバイスとの間の通信状態を示す通信情報を記憶部に記録する記録手段と、
前記記憶部に記録された前記通信情報に基づいて、前記マスターデバイスが前記スレーブデバイスに送信する前記信号の強度を変更する第1の強度変更手段とを備え、
最も下流側に接続された前記スレーブデバイスを除く前記スレーブデバイスは、前記記憶部に記録された前記通信情報に基づいて、前記マスターデバイスが下流側に接続された前記スレーブデバイスに送信する前記信号の強度を変更する第2の強度変更手段をそれぞれ有する、
通信システム。
[2] A master device that transmits a signal transmitted from the upstream side to the downstream side;
A plurality of slave devices connected in series or in parallel to the downstream side of the master device and transmitting the signal downstream;
The master device has a recording unit that records communication information indicating a communication state with the slave device in a storage unit;
First intensity changing means for changing the intensity of the signal transmitted from the master device to the slave device based on the communication information recorded in the storage unit;
The slave devices excluding the slave device connected to the most downstream side, based on the communication information recorded in the storage unit, the strength of the signal transmitted by the master device to the slave device connected to the downstream side Each having second strength changing means for changing
Communications system.

[3] 前記強度変更手段は、前記信号の強度を変更する際に、前記マスターデバイス又は前記スレーブデバイスが前記信号のオン、オフを判定するための閾値を変更する、
、前記[1]又は[2]に記載の通信システム。
[3] The intensity changing unit changes a threshold for the master device or the slave device to determine whether the signal is on or off when changing the intensity of the signal.
The communication system according to [1] or [2].

[4]前記マスターデバイスの前記記録手段は、前記通信情報を参照可能な状態で前記記憶部に記録する、前記[1]から[3]のいずれかに記載の通信システム。 [4] The communication system according to any one of [1] to [3], wherein the recording unit of the master device records the communication information in the storage unit in a referable state.

[5]前記マスターデバイスと前記スレーブデバイスとの間及び前記複数のスレーブデバイス間を接続するケーブルに非遮蔽型ケーブルを用いた、
前記[2]から[4]のいずれかに記載の通信システム。
[5] An unshielded cable is used as a cable connecting between the master device and the slave device and between the plurality of slave devices.
The communication system according to any one of [2] to [4].

[6]前記[1]から[5]のいずれかに記載の通信システムと、
前記マスターデバイスの前記上流側に接続された、前記信号を前記マスターデバイスに送信する制御部と、
前記実行部と、
を備えた画像形成装置。
[6] The communication system according to any one of [1] to [5];
A controller connected to the upstream side of the master device and transmitting the signal to the master device;
The execution unit;
An image forming apparatus.

請求項1、6に係る発明によれば、マスターデバイスに少なくとも1つのスレーブデバイスが接続された構成において、信号強度を一定にして送信する場合と比較して外来ノイズに対する耐性を向上させることができる。
請求項2に係る発明によれば、外来ノイズの影響を受けている箇所から下流側に送信される信号の強度を変更することができる。
請求項3に係る発明によれば、閾値を変更しない場合と比較して外来ノイズの影響を低減して信号のオン及びオフを判定することができる。
請求項4に係る発明によれば、通信異常の発生箇所及び原因の特定をすることができる。
請求項5に係る発明によれば、遮蔽型ケーブルを用いた場合と比較して信号を伝送するケーブルのコストを低減することが可能になる。
According to the first and sixth aspects of the invention, in a configuration in which at least one slave device is connected to the master device, it is possible to improve resistance to external noise as compared with the case where transmission is performed with a constant signal strength.
According to the invention which concerns on Claim 2, the intensity | strength of the signal transmitted downstream from the location which received the influence of external noise can be changed.
According to the invention which concerns on Claim 3, compared with the case where a threshold value is not changed, the influence of an external noise can be reduced and it can determine ON / OFF of a signal.
According to the invention which concerns on Claim 4, the occurrence location and cause of communication abnormality can be specified.
According to the invention which concerns on Claim 5, compared with the case where a shielded type cable is used, it becomes possible to reduce the cost of the cable which transmits a signal.

図1は、本発明の第1の実施の形態に係る通信システムが適用された画像形成装置の概略の構成例を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration example of an image forming apparatus to which the communication system according to the first embodiment of the present invention is applied. 図2は、第1の実施の形態に係る通信システムの要部の構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of a main part of the communication system according to the first embodiment. 図3は、送受信部の一例を示し、(a)は、信号の強度を変更して送信する本実施の形態の送受信部の回路図、(b)は、信号の強度を一定にして送信する送受信部の回路図である。3A and 3B show an example of a transmission / reception unit. FIG. 3A is a circuit diagram of the transmission / reception unit according to the present embodiment for changing the signal strength and transmitting the signal. FIG. 3B is a diagram illustrating transmission with a constant signal strength. It is a circuit diagram of a transmission / reception part. 図4は、通信強度を変更する際のフローチャートである。FIG. 4 is a flowchart for changing the communication strength. 図5は、マスターデバイスとスレーブデバイスとの間の通信の通信ログの一例であり、(a)は、マスターデバイスからスレーブデバイスに送信された信号の通信ログを示す図、(b)は、スレーブデバイスからマスターデバイスに送信される信号の通信ログを示す図である。FIG. 5 is an example of a communication log of communication between a master device and a slave device, (a) is a diagram showing a communication log of signals transmitted from the master device to the slave device, and (b) is from the slave device. It is a figure which shows the communication log of the signal transmitted to a master device. 図6は、送受信部が差動信号線に出力する信号を示し、(a)は、信号強度小の通信モードの信号を示す図、(b)は、信号強度大の通信モードの信号を示す図である。6A and 6B show signals output from the transmission / reception unit to the differential signal line. FIG. 6A shows a signal in a communication mode with a low signal strength. FIG. 6B shows a signal in a communication mode with a high signal strength. FIG. 図7は、本発明の第2の実施の形態に係る通信システムが適用された画像形成装置の構成例を示すブロック図である。FIG. 7 is a block diagram showing a configuration example of an image forming apparatus to which the communication system according to the second embodiment of the present invention is applied. 図8は、本発明の第3の実施の形態に係る通信システムが適用された画像形成装置の構成例を示すブロック図である。FIG. 8 is a block diagram showing a configuration example of an image forming apparatus to which the communication system according to the third embodiment of the present invention is applied.

以下、本発明の実施の形態について図面を参照して説明する。なお、各図中、実質的に同一の機能を有する構成要素については、同一の符号を付してその重複した説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, in each figure, about the component which has the substantially same function, the same code | symbol is attached | subjected and the duplicate description is abbreviate | omitted.

[第1の実施の形態]
図1は、本発明の第1の実施の形態に係る通信システムが適用された画像形成装置の概略の構成例を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration example of an image forming apparatus to which the communication system according to the first embodiment of the present invention is applied.

(画像形成装置の全体の構成)
この画像形成装置1は、画像形成装置1の各部を制御する信号を生成するCPU10と、CPU10と接続され、CPU10で生成され信号を下流側に送信するマスターデバイス20と、マスターデバイス20の下流側に接続されたスレーブデバイス40Aと、スレーブデバイス40Aの下流側に直列又は並列に接続された複数のスレーブデバイス40B〜40Eと、メモリやハードディスクで構成されて通信ログや画像データ等を含む各種のデータを記憶する記憶部30とを備える。ここで、CPU10は、制御部の一例である。
(Overall configuration of image forming apparatus)
The image forming apparatus 1 is connected to the CPU 10 that generates a signal for controlling each unit of the image forming apparatus 1, the master device 20 that is connected to the CPU 10 and transmits the signal generated by the CPU 10 to the downstream side, and the downstream side of the master device 20. The slave device 40A, a plurality of slave devices 40B to 40E connected in series or in parallel on the downstream side of the slave device 40A, and various data including a communication log, image data, and the like are configured by a memory and a hard disk Storage unit 30. Here, the CPU 10 is an example of a control unit.

マスターデバイス20及びスレーブデバイス40A〜40Eは、記憶部30に記憶される通信情報に基づいて、応答時間が設定値を超えている場合、又は再送回数が設定値を超えている場合に下流側に送信する信号の強度を変更する機能を有する。   Based on the communication information stored in the storage unit 30, the master device 20 and the slave devices 40A to 40E transmit downstream when the response time exceeds the set value or when the number of retransmissions exceeds the set value. The function of changing the intensity of the signal to be transmitted is provided.

スレーブデバイス40A〜40Eの接続態様は、様々なものが考えられる。本実施の形態では、マスターデバイス20に4つのスレーブデバイス40A〜40Dが直列に接続し、スレーブデバイス40Eは、スレーブデバイス40Bに並列に接続している。なお、スレーブデバイスの個数及び接続は、図1で開示するものに限定されず、スレーブデバイスの個数は、1つでも6つ以上でもよい。また、1つのスレーブデバイス40A〜40Eの下流に3つ以上のスレーブデバイスを並列に接続してもよい。さらに、マスターデバイス20に複数のスレーブデバイスを接続してもよい。   Various connection modes of the slave devices 40A to 40E can be considered. In the present embodiment, four slave devices 40A to 40D are connected in series to the master device 20, and the slave device 40E is connected in parallel to the slave device 40B. The number and connection of slave devices are not limited to those disclosed in FIG. 1, and the number of slave devices may be one or six or more. Further, three or more slave devices may be connected in parallel downstream of one slave device 40A to 40E. Further, a plurality of slave devices may be connected to the master device 20.

「下流側」とは、CPU10側からスレーブデバイス40A〜40E側に信号が送信される方向を意味している。「上流側」とは、下流側と反対側、すなわちスレーブデバイス40A〜40E側からCPU10側に信号が送信される方向を意味している。   The “downstream side” means a direction in which a signal is transmitted from the CPU 10 side to the slave devices 40A to 40E side. “Upstream side” means a direction in which a signal is transmitted from the side opposite to the downstream side, that is, from the slave devices 40A to 40E side to the CPU 10 side.

「応答時間」とは、マスターデバイス20がスレーブデバイス40A〜40Eのいずれかに信号を送信してから、当該スレーブデバイス40A〜40Eのからマスターデバイス20に応答が返信されるまでの時間、又はスレーブデバイス40A〜40Eのいずれかがマスターデバイス20に信号を送信してから、マスターデバイス20から当該スレーブデバイス40A〜40Eに応答が返信されるまでの時間を意味している。   The “response time” is the time from when the master device 20 transmits a signal to any of the slave devices 40A to 40E until the response is returned from the slave device 40A to 40E to the master device 20, or the slave device 40A. ~ 40E means the time from when a signal is transmitted to the master device 20 until a response is returned from the master device 20 to the slave devices 40A to 40E.

「再送回数」とは、マスターデバイス20又はスレーブデバイス40A〜40Eのいずれかが信号を送信した後、この信号を受信した当該マスターデバイス20又はスレーブデバイス40A〜40Eのいずれかから応答が返信されるまでに所定の時間毎に前記信号を再送した回数を意味している。   The “number of retransmissions” means that after either the master device 20 or the slave devices 40A to 40E transmits a signal, a response is returned from either the master device 20 or the slave device 40A to 40E that has received this signal. It means the number of times that the signal is retransmitted every predetermined time.

画像形成装置1は、さらに、スレーブデバイス40A〜40Eの下流側にそれぞれ接続されたI/Oデバイス50A〜50Eを備える。I/Oデバイス50A〜50Eは、例えば、それぞれ現像系、転写系、定着系、紙搬送系及び記録制御系等の装置である。なお、I/Oデバイス50A〜50Eは、実行部の一例である。   The image forming apparatus 1 further includes I / O devices 50A to 50E connected to the downstream sides of the slave devices 40A to 40E, respectively. The I / O devices 50A to 50E are devices such as a development system, a transfer system, a fixing system, a paper transport system, and a recording control system, respectively. The I / O devices 50A to 50E are examples of execution units.

I/Oデバイス50A〜50Eは、スレーブデバイス40A〜40Eから送信された信号に基づいて現像、転写、定着、紙搬系及び記録制御に応じた処理を実行する。また、I/Oデバイス50A〜50Eは、処理完了等の処理状態を示す信号をスレーブデバイス40A〜40D及びマスターデバイス20を介してCPU10に送信する。   The I / O devices 50A to 50E execute processing corresponding to development, transfer, fixing, paper transport system, and recording control based on the signals transmitted from the slave devices 40A to 40E. In addition, the I / O devices 50 </ b> A to 50 </ b> E transmit signals indicating a processing state such as processing completion to the CPU 10 via the slave devices 40 </ b> A to 40 </ b> D and the master device 20.

CPU10がマスターデバイス20、スレーブデバイス40A〜40E及びI/Oデバイス50A〜50Eに送信する信号、及びI/Oデバイス50A〜50Eがマスターデバイス20、スレーブデバイス40A〜40E及びI/Oデバイス50A〜50Eを介してCPU10に送信する信号には、各種の信号が含まれる。   Signals transmitted by the CPU 10 to the master device 20, slave devices 40A to 40E and I / O devices 50A to 50E, and I / O devices 50A to 50E via the master device 20, slave devices 40A to 40E, and I / O devices 50A to 50E The signal transmitted to the CPU 10 includes various signals.

すなわち、各種の信号には、I/Oデバイス50A〜50Eに送信されるデータ信号、I/Oデバイス50A〜50Eの状態を問い合わせる問い合わせ信号、I/Oデバイス50A〜50Eから送信される状態通知信号、マスターデバイス20とスレーブデバイス40A〜40Eの間で通信状態を確認するために送受信される通信状態確認信号等が含まれる。   That is, various signals include a data signal transmitted to the I / O devices 50A to 50E, an inquiry signal for inquiring about the status of the I / O devices 50A to 50E, and a status notification signal transmitted from the I / O devices 50A to 50E. In addition, a communication status confirmation signal transmitted and received to confirm the communication status between the master device 20 and the slave devices 40A to 40E is included.

さらに、マスターデバイス20からスレーブデバイス40A〜40Eに送信される信号には、ヘッダーとして当該信号を中継するスレーブデバイス40A〜40Eを指定する指定情報を含む。信号を受信したスレーブデバイス40A〜40Eは、指定情報に基づいて自己が指定されたと判断した場合、当該信号をI/Oデバイス50A〜50Eに送信する。   Furthermore, the signal transmitted from the master device 20 to the slave devices 40A to 40E includes designation information that designates the slave devices 40A to 40E that relay the signal as a header. When the slave devices 40A to 40E that have received the signal determine that they are designated based on the designation information, the slave devices 40A to 40E transmit the signal to the I / O devices 50A to 50E.

また、信号を受信したスレーブデバイス40A〜40Cは、指定信号に基づいて自己が指定されず、下流側のスレーブデバイス40B〜40Eが指定されていると判断した場合、当該信号を下流側のスレーブデバイス40B〜40Eに送信する。   In addition, when it is determined that the slave devices 40A to 40C that have received the signal are not designated by themselves based on the designation signal and the downstream slave devices 40B to 40E are designated, the slave devices 40A to 40C are designated as downstream slave devices. It transmits to 40B-40E.

(マスターデバイス及びスレーブデバイス)
図2は、第1の実施の形態に係る通信システムの要部を示すブロック図である。なお、図2では、スレーブデバイス40A、40Bのみを図示し、他のスレーブデバイス40C〜40E、及びこれら接続するI/Oデバイス50C〜50Eの図示を省略している。スレーブデバイス40A〜40Eは、構成が同一であるため、主にスレーブデバイス40Aについて以下説明する。
(Master device and slave device)
FIG. 2 is a block diagram illustrating a main part of the communication system according to the first embodiment. In FIG. 2, only the slave devices 40A and 40B are shown, and the other slave devices 40C to 40E and the I / O devices 50C to 50E to be connected are not shown. Since the slave devices 40A to 40E have the same configuration, the slave device 40A will be mainly described below.

マスターデバイス20は、上流側に接続されたCPU10、及び下流側に接続されたスレーブデバイス40Aとの間で信号を送受信する送受信部22と、マスターデバイス20とスレーブデバイス40Aとの間の通信状態を示す通信ログを生成するログ生成部23と、ログ生成部23で生成された通信ログ、及びスレーブデバイス40A〜40Eから収集した通信ログを記憶部30に記憶するログ収集部24と、マスターデバイス20及びスレーブデバイス40A〜40E(図2では、スレーブデバイス40A、40Bのみを図示する。)を制御する制御部21とを有する。ここで、ログ収集部24は、記録手段の一例であり、通信ログは、通信情報の一例である。   The master device 20 includes a transmission / reception unit 22 that transmits and receives signals between the CPU 10 connected to the upstream side and the slave device 40A connected to the downstream side, and communication indicating a communication state between the master device 20 and the slave device 40A. A log generation unit 23 for generating a log; a communication log generated by the log generation unit 23; and a log collection unit 24 for storing communication logs collected from the slave devices 40A to 40E in the storage unit 30, and the master device 20 and the slave device And a control unit 21 that controls the slave devices 40A to 40E (only the slave devices 40A and 40B are illustrated in FIG. 2). Here, the log collection unit 24 is an example of a recording unit, and the communication log is an example of communication information.

マスターデバイス20は、スレーブデバイス40A〜40Eに信号を送信し、スレーブデバイス40A〜40Eから一定時間内に応答が返信されない場合には、信号をスレーブデバイス40A〜40Eに再送するように構成されている。   The master device 20 is configured to transmit a signal to the slave devices 40A to 40E and retransmit the signal to the slave devices 40A to 40E when a response is not returned from the slave devices 40A to 40E within a predetermined time.

マスターデバイス20とスレーブデバイス40Aとの間、及びスレーブデバイス40A〜40E間は、複数本の差動信号線100、信号線101及びグランド線102で接続されている。複数の差動信号線100は、信号を上流側から下流側に伝送する差動信号線と、信号を下流側から上流側に伝送する差動信号線をそれぞれ少なくとも1本(1対)含んでいる。信号線101は、信号強度モードを通知するために用いられる。なお、差動信号線100は、例えばツイストペアケーブルであるが、これに限定されず差動信号を伝送するケーブルであれば、他のケーブルも用いることができる。   A plurality of differential signal lines 100, signal lines 101, and ground lines 102 are connected between the master device 20 and the slave device 40A and between the slave devices 40A to 40E. The plurality of differential signal lines 100 each include at least one differential signal line (a pair) for transmitting a signal from the upstream side to the downstream side and a differential signal line for transmitting the signal from the downstream side to the upstream side. Yes. The signal line 101 is used to notify the signal strength mode. The differential signal line 100 is, for example, a twisted pair cable. However, the present invention is not limited to this, and other cables can be used as long as they are cables that transmit differential signals.

スレーブデバイス40Aは、スレーブデバイス40Aの各部を制御する制御部41と、上流側に接続されたマスターデバイス20、及び下流側に接続されたスレーブデバイス40Bとの間で信号を送受信する送受信部42と、マスターデバイス20、及びスレーブデバイス40Bとの間の通信状態を示す通信ログを生成するログ生成部43とを備える。   The slave device 40A includes a control unit 41 that controls each unit of the slave device 40A, a master device 20 connected to the upstream side, and a transmission / reception unit 42 that transmits and receives signals between the slave device 40B connected to the downstream side, A log generation unit 43 that generates a communication log indicating a communication state between the master device 20 and the slave device 40B.

スレーブデバイス40A〜40Eは、マスターデバイス20と同様に、信号をマスターデバイス20に送信し、一定時間内に応答が返信されない場合には、マスターデバイス20に信号を再送するように構成されている。   Similar to the master device 20, the slave devices 40 </ b> A to 40 </ b> E are configured to transmit a signal to the master device 20 and retransmit the signal to the master device 20 when a response is not returned within a certain time.

スレーブデバイス40A〜40Eは、マスターデバイス20から送信された信号をI/Oデバイス50A〜50Eに中継する。   The slave devices 40A to 40E relay the signal transmitted from the master device 20 to the I / O devices 50A to 50E.

マスターデバイス20の送受信部22は、下流側のスレーブデバイス40A〜40Eにそれぞれ接続される差動信号線100に出力する信号の信号強度を変更する強度変更部25を有する。強度変更部25の詳細については、後述する。   The transmission / reception unit 22 of the master device 20 includes an intensity changing unit 25 that changes the signal intensity of a signal output to the differential signal line 100 connected to each of the downstream slave devices 40A to 40E. Details of the strength changing unit 25 will be described later.

スレーブデバイス40A〜40Cは、自己よりも下流側のスレーブデバイス40B〜40Eに接続された差動信号線100に出力する信号の強度を変更する強度変更部45を有する。なお、マスターデバイス20の強度変更部25は、第1の強度変更手段の一例であり、スレーブデバイス40A〜40Eの強度変更部45は、第2の強度変更手段の一例である。   Each of the slave devices 40A to 40C includes an intensity changing unit 45 that changes the intensity of a signal output to the differential signal line 100 connected to the slave devices 40B to 40E on the downstream side of itself. The strength changing unit 25 of the master device 20 is an example of a first strength changing unit, and the strength changing unit 45 of the slave devices 40A to 40E is an example of a second strength changing unit.

マスターデバイス20のログ生成部23は、それぞれ下流側のスレーブデバイス40A〜40Eに送信した信号に対する応答がスレーブデバイス40A〜40Eから返信されるまでの再送回数をカウントするカウンタ231と、スレーブデバイス40A〜40Eに信号を送信してからこの信号に対する応答がマスターデバイス20に返信されるまでの応答時間を計測するタイマ232とを有する。ログ生成部23は、遅延状態、すなわち再送回数及び応答時間を含む通信ログを生成する。   The log generation unit 23 of the master device 20 includes a counter 231 that counts the number of retransmissions until responses to signals transmitted to the downstream slave devices 40A to 40E are returned from the slave devices 40A to 40E, and the slave devices 40A to 40E. And a timer 232 for measuring a response time from when a signal is transmitted to when a response to the signal is returned to the master device 20. The log generation unit 23 generates a communication log including a delay state, that is, the number of retransmissions and a response time.

スレーブデバイス40A〜40Eのログ生成部43は、マスターデバイス20に送信した信号に対する応答がマスターデバイス20から返信されるまでに行われた再送回数をカウントするカウンタ441と、マスターデバイス20に信号を送信してから信号に対する応答が返信されるまでの応答時間を計測するタイマ432とを備える。ログ生成部43は、遅延状態、すなわち再送回数及び応答時間を含む通信ログを生成する。   The log generation unit 43 of the slave devices 40 </ b> A to 40 </ b> E transmits a signal to the master device 20 and a counter 441 that counts the number of retransmissions performed until a response to the signal transmitted to the master device 20 is returned from the master device 20. A timer 432 for measuring a response time until a response to the signal is returned. The log generation unit 43 generates a communication log including a delay state, that is, the number of retransmissions and a response time.

マスターデバイス20のログ収集部24は、マスターデバイス20のログ生成部23が生成した通信ログ、及びスレーブデバイス40A〜40Eのログ生成部43が生成した通信ログを収集する。このログ収集部24は、通信ログを画像形成装置1の管理者等が参照可能なテキスト形式等の状態で記憶部30に履歴情報として記憶する。   The log collection unit 24 of the master device 20 collects the communication log generated by the log generation unit 23 of the master device 20 and the communication log generated by the log generation unit 43 of the slave devices 40A to 40E. The log collection unit 24 stores the communication log in the storage unit 30 as history information in a text format or the like that can be referred to by the administrator of the image forming apparatus 1.

例えば、ログ収集部24は、図5(a)、図5(b)に示すように、マスターデバイス20からスレーブデバイス40A〜40Eに送信した信号における遅延情報を示す通信ログLog1、及びスレーブデバイス40A〜40Eからマスターデバイス20に送信した信号における遅延情報を示す通信ログLog2を記憶部30に記録する。通信ログLog1、Log2は、閲覧しやすいように再送回数及び応答時間がスレーブデバイス40A〜40E毎に区分されて記憶部30に記録されている。   For example, as illustrated in FIGS. 5A and 5B, the log collection unit 24 includes a communication log Log1 indicating delay information in signals transmitted from the master device 20 to the slave devices 40A to 40E, and the slave devices 40A to 40A. A communication log Log 2 indicating delay information in the signal transmitted from 40E to the master device 20 is recorded in the storage unit 30. The communication logs Log <b> 1 and Log <b> 2 are recorded in the storage unit 30 by being divided for each slave device 40 </ b> A to 40 </ b> E so as to be easily browsed.

通信ログLo1、Log2が閲覧できるように記憶部30に記憶されていることにより、通信異常が発生した場合に、管理者等が通信異常の発生箇所及び原因を特定するために通信ログを用いて、迅速かつ適切な処置を画像形成装置1に施すことができる。   By storing the communication logs Lo1 and Log2 in the storage unit 30 so that they can be browsed, when a communication abnormality occurs, an administrator or the like uses the communication log to identify the location and cause of the communication abnormality. The image forming apparatus 1 can be quickly and appropriately treated.

マスターデバイス20の制御部21は、記憶部30に記憶されている通信ログを一定時間毎に参照し、マスターデバイス20とスレーブデバイス40Aとの間、又はスレーブデバイス40A〜40E間の差動信号線100に通信異常が発生しているか否かを判断する。また、マスターデバイス20の制御部21は、通信異常が発生していると判断した場合、通信ログに基づいて通信異常が発生している箇所を特定し、当該箇所から上流側のマスターデバイス20又はスレーブデバイス40A〜40Cから送信する信号の通信モードを信号強度小の通信モードから信号強度大の通信モードに切り替える。   The control unit 21 of the master device 20 refers to the communication log stored in the storage unit 30 at regular intervals, and sets the differential signal line 100 between the master device 20 and the slave device 40A or between the slave devices 40A to 40E. It is determined whether a communication error has occurred. In addition, when the control unit 21 of the master device 20 determines that a communication abnormality has occurred, the controller 21 identifies a location where the communication abnormality has occurred based on the communication log, and the upstream master device 20 or slave device from the location. The communication mode of signals transmitted from 40A to 40C is switched from a communication mode with a low signal strength to a communication mode with a high signal strength.

(送受信部)
図3は、送受信部の一例を示し、(a)は、信号の強度を変更して送信する本実施の形態の送受信部22の回路図であり、(b)は、信号の強度を一定にして送信する比較例の送受信部の回路図である。
(Transceiver)
FIG. 3 shows an example of the transmission / reception unit. (A) is a circuit diagram of the transmission / reception unit 22 of the present embodiment that transmits the signal with the intensity changed, and (b) shows a constant signal strength. It is a circuit diagram of the transmission / reception part of the comparative example which transmits.

マスターデバイス20の送受信部22は、制御部21等から出力された信号を差動増幅する差動増幅器221と、強度変更部25とを備える。強度変更部25は、差動増幅器221と差動信号線100とを接続する第1及び第2の経路252、253、及び第1の経路252と第2の経路253とを切り替えるスイッチ254a〜254dを備える。スイッチ254a〜254dは、それぞれ接点a1、a2、接点b1、b2、接点c1、c2及び接点d1、d2を有し、制御部21の制御に従って各接点を切り替える。なお、スイッチ254a〜254dは、例えば半導体スイッチであるが、リレー回路等を用いてもよい。   The transmission / reception unit 22 of the master device 20 includes a differential amplifier 221 that differentially amplifies a signal output from the control unit 21 and the like, and an intensity changing unit 25. The intensity changing unit 25 includes first and second paths 252 and 253 that connect the differential amplifier 221 and the differential signal line 100, and switches 254a to 254d that switch between the first path 252 and the second path 253. Is provided. The switches 254 a to 254 d have contacts a 1, a 2, contacts b 1, b 2, contacts c 1, c 2 and contacts d 1, d 2, respectively, and switch each contact according to the control of the control unit 21. The switches 254a to 254d are, for example, semiconductor switches, but relay circuits or the like may be used.

図3(b)に示す比較例の送受信部22Aは、ノイズ耐性を向上させるため、差動信号線100をシールド103で覆ったケーブル200によって上流側の送受信部22Aと下流側の送信部42Aとを接続している。このシールド103は、グランドGNDに接続して外来ノイズを遮蔽し、差動信号線100にノイズが混入するのを抑制している。しかし、シールド103を有するケーブル200を用いた構成では、ノイズ耐性を向上させることができるが、ケーブルのコストが増大し、このために画像形成装置1のコスト高を招くという問題がある。   The transmission / reception unit 22A of the comparative example shown in FIG. 3 (b) includes an upstream transmission / reception unit 22A and a downstream transmission unit 42A by a cable 200 in which the differential signal line 100 is covered with a shield 103 in order to improve noise resistance. Is connected. The shield 103 is connected to the ground GND to shield external noise, and suppresses noise from entering the differential signal line 100. However, in the configuration using the cable 200 having the shield 103, noise resistance can be improved, but the cost of the cable increases, which causes a problem that the cost of the image forming apparatus 1 is increased.

一方、本実施の形態の強度変更部25は、制御部21の制御に基づいて、スイッチ254a〜254dを切り替え、第1の経路252又は第2の経路253を通過した差動信号を差動信号線100を介してスレーブデバイス40Aに出力することにより、シールドを有しない非遮蔽型ケーブルを用いてもノイズ耐性を向上させることができる。そのため、応答時間及び再送回数を減らすことができ、マスターデバイス20及びスレーブデバイス40A〜40EがCPU10から送信された信号をI/Oデバイス50A〜50Eに高速、かつ、確実に伝送することが可能になる。   On the other hand, the intensity changing unit 25 according to the present embodiment switches the switches 254a to 254d based on the control of the control unit 21, and converts the differential signal that has passed through the first path 252 or the second path 253 to the differential signal. By outputting to the slave device 40A via the line 100, it is possible to improve noise resistance even when an unshielded cable without a shield is used. Therefore, the response time and the number of retransmissions can be reduced, and the master device 20 and the slave devices 40A to 40E can transmit the signals transmitted from the CPU 10 to the I / O devices 50A to 50E at high speed and reliably. .

強度変更部25の第1の経路252は、スイッチ254aの接点a1とスイッチ254cの接点c1とを接続する信号線252a、及びスイッチ254bの接点b1とスイッチ254dの接点d1とを接続する信号線252bで構成され、差動増幅器221から出力された信号を直接差動信号線100に出力する。   The first path 252 of the strength changing unit 25 includes a signal line 252a that connects the contact point a1 of the switch 254a and the contact point c1 of the switch 254c, and a signal line 252b that connects the contact point b1 of the switch 254b and the contact point d1 of the switch 254d. The signal output from the differential amplifier 221 is directly output to the differential signal line 100.

強度変更部25の第2の経路253は、スイッチ254aの接点a2とスイッチ254cの接点c2とを接続する信号線253a、及びスイッチ254bの接点b2とスイッチ254dの接点d2とを接続する信号線253bで構成される。第2の経路253には、差動増幅器221から出力された信号の電流の一部を分流する分流回路255が設けられている。第2の経路253は、分流回路255で分流された信号を差動信号線100に出力する。   The second path 253 of the strength changing unit 25 includes a signal line 253a that connects the contact point a2 of the switch 254a and the contact point c2 of the switch 254c, and a signal line 253b that connects the contact point b2 of the switch 254b and the contact point d2 of the switch 254d. Consists of. The second path 253 is provided with a shunt circuit 255 that shunts a part of the current of the signal output from the differential amplifier 221. The second path 253 outputs the signal shunted by the shunt circuit 255 to the differential signal line 100.

第2の経路253の分流回路255は、信号線253aに設けられた抵抗R1と、信号線253aと信号線253bとを接続する線路上に設けられた抵抗R2とを有し、抵抗R1、R2の抵抗値の比に基づいて、差動増幅器221から出力された信号の強度、すなわち電流値を小さくして差動信号線100に出力する。   The shunt circuit 255 of the second path 253 includes a resistor R1 provided on the signal line 253a and a resistor R2 provided on a line connecting the signal line 253a and the signal line 253b, and the resistors R1 and R2 Based on the resistance value ratio, the intensity of the signal output from the differential amplifier 221, that is, the current value is reduced and output to the differential signal line 100.

スレーブデバイス40A〜40Eの送受信部42は、図3(a)において図示を省略しているが、マスターデバイス20の送受信部22と同様に、差動増幅器と、第1の経路と、第2の経路及びスイッチa〜dを有する強度変更部45を備える。   The transmission / reception units 42 of the slave devices 40A to 40E are not shown in FIG. 3A, but, like the transmission / reception unit 22 of the master device 20, the differential amplifier, the first path, and the second path And an intensity changing unit 45 having switches a to d.

(画像形成装置の動作)
次に、画像形成装置1の動作の一例について説明する。図4は、信号強度を変更する際のフローチャートの一例である。図5は、マスターデバイス20とスレーブデバイス40A〜40Eとの間の通信における通信ログの一例であり、(a)は、マスターデバイス20からスレーブデバイス40A〜40Eに送信された信号の通信ログ、(b)は、スレーブデバイス40A〜40Eからマスターデバイス20に送信された信号の通信ログである。図6は、送受信部22、42が差動信号線100に出力する信号を示し、(a)は、信号強度小の通信モードの信号を示す図、(b)は、信号強度大の通信モードの信号を示す図である。
(Operation of image forming apparatus)
Next, an example of the operation of the image forming apparatus 1 will be described. FIG. 4 is an example of a flowchart for changing the signal strength. FIG. 5 is an example of a communication log in communication between the master device 20 and the slave devices 40A to 40E. (A) is a communication log of signals transmitted from the master device 20 to the slave devices 40A to 40E. Is a communication log of signals transmitted from the slave devices 40A to 40E to the master device 20. 6A and 6B show signals output from the transmission / reception units 22 and 42 to the differential signal line 100, FIG. 6A shows a signal in a communication mode with a low signal strength, and FIG. 6B shows a communication mode with a high signal strength. It is a figure which shows the signal of.

電源が投入されて画像形成装置1が動作しているとき、マスターデバイス20は、一定時間毎に、マスターデバイス20とスレーブデバイス40Aとの間の差動信号線100又はスレーブデバイス40A〜40E間の差動信号線100に通信異常が発生しているか否かを判断し、この判断に基づいて信号強度の変更を行う。なお、電源投入時の初期設定として信号強度小の通信モードが設定され、閾値が小の値に設定されているものとする。   When the power is turned on and the image forming apparatus 1 is operating, the master device 20 detects the differential signal line 100 between the master device 20 and the slave device 40A or the differential between the slave devices 40A to 40E at regular intervals. It is determined whether or not a communication abnormality has occurred in the signal line 100, and the signal strength is changed based on this determination. It is assumed that a communication mode with a small signal strength is set as an initial setting when power is turned on, and a threshold value is set to a small value.

マスターデバイス20の制御部21は、応答時間が設定値を超えているか否かを判断する(S1)。すなわち、マスターデバイス20の制御部21は、記憶部30に記憶されている通信ログを参照し、マスターデバイス20がスレーブデバイス40A〜40Eのいずれかに信号を送信してから、スレーブデバイス40A〜40Eからの応答がマスターデバイス20に返信されるまでの応答時間、又はスレーブデバイス40A〜40Eのいずれかがマスターデバイス20に信号を送信してから、マスターデバイス20からの応答がスレーブデバイス40A〜40Eのいずれかに返信されるまでの応答時間が設定値を超えているか否かを判断する。   The control unit 21 of the master device 20 determines whether or not the response time exceeds the set value (S1). That is, the control unit 21 of the master device 20 refers to the communication log stored in the storage unit 30, and after the master device 20 transmits a signal to any of the slave devices 40 </ b> A to 40 </ b> E, The response time until the response is returned to the master device 20, or after any of the slave devices 40A to 40E transmits a signal to the master device 20, the response from the master device 20 is returned to any of the slave devices 40A to 40E. It is determined whether or not the response time until the time exceeds the set value.

例えば、応答時間の設定値が100msの場合、通信ログLog2では、マスターデバイス20がスレーブデバイス40Eに信号を送信してからスレーブデバイス40Eからマスターデバイス20に応答が返信されるまでの応答時間が120msであり、他のスレーブデバイス40A〜40Dとの間の応答時間は、100ms未満であるため、マスターデバイス20の制御部21は、スレーブデバイス40Bとスレーブデバイス40Eとの間に通信異常が発生していると判断する。   For example, when the set value of the response time is 100 ms, in the communication log Log2, the response time from when the master device 20 transmits a signal to the slave device 40E until the response is returned from the slave device 40E to the master device 20 is 120 ms. Since the response time between the other slave devices 40A to 40D is less than 100 ms, the control unit 21 of the master device 20 determines that a communication abnormality has occurred between the slave device 40B and the slave device 40E. To do.

マスターデバイス20の制御部21は、応答時間が設定値を超えていないと判断した場合(S1:No)、マスターデバイス20がスレーブデバイス40A〜40Eから応答が返信されるまでに信号を再送した再送回数、又はスレーブデバイス40A〜40Eがマスターデバイス20から応答が返信されるまでにスレーブデバイス40A〜40Eが信号を再送した再送回数が設定値を超えているか否かを判断する(S2)。   When the control unit 21 of the master device 20 determines that the response time does not exceed the set value (S1: No), the master device 20 retransmits the signal until the response is returned from the slave devices 40A to 40E, Alternatively, the slave devices 40A to 40E determine whether or not the number of retransmissions that the slave devices 40A to 40E have retransmitted the signal before the response is returned from the master device 20 exceeds the set value (S2).

例えば、再送回数の設定値が3回の場合、通信ログLog1では、スレーブデバイス40Eから応答が返信されるまでの再送回数が5回であり、かつ、他のスレーブデバイス40A〜40Dから応答が返信されるまでの再送回数が3回未満であるため、マスターデバイス20の制御部21は、スレーブデバイス40Bとスレーブデバイス40Eとの間に通信異常が発生していると判断する。また、通信ログLog2では、スレーブデバイス40Eの再送回数は、設定値と同じ3回であるので、制御部21は、スレーブデバイス40Bとスレーブデバイス40Eとの間に通信異常が発生していないと判断する。   For example, when the set value of the number of retransmissions is 3, in the communication log Log1, the number of retransmissions until the response is returned from the slave device 40E is 5, and the response is returned from the other slave devices 40A to 40D. Since the number of retransmissions until the transmission is less than 3, the control unit 21 of the master device 20 determines that a communication abnormality has occurred between the slave device 40B and the slave device 40E. Further, in the communication log Log2, since the number of retransmissions of the slave device 40E is the same as the set value, the control unit 21 determines that no communication abnormality has occurred between the slave device 40B and the slave device 40E. To do.

なお、制御部21は、ステップS1及びS2において、通信ログLog1及び通信ログLog2の両方の応答時間又は再送時間が設定値を超えている場合に、通信異常が発生していると判断してもよいし、通信ログLog1及び通信ログLog2のうち一方の再送時間又は応答時間が設定値を超えている場合に通信異常が発生していると判断してもよい。   The control unit 21 may determine that a communication abnormality has occurred when the response time or retransmission time of both the communication log Log1 and the communication log Log2 exceeds the set value in steps S1 and S2. Alternatively, it may be determined that a communication error has occurred when one of the retransmission time or the response time of the communication log Log1 and the communication log Log2 exceeds a set value.

マスターデバイスの20の制御部21は、再送回数が設定値を超えていないと判断した場合(S2:No)、現在の通信モードが信号強度大の通信モードでスレーブデバイス40A〜40Eに信号を送信しているか否かを判断する(S3)。   When the control unit 21 of the master device 20 determines that the number of retransmissions does not exceed the set value (S2: No), the master communication device 21 transmits a signal to the slave devices 40A to 40E in the communication mode in which the current communication mode is high in signal strength. It is determined whether or not (S3).

制御部21は、信号強度小の通信モードで下流側のスレーブデバイス40A〜40Eに信号を送信していると判断した場合(S3:No)、処理を完了する。   When the control unit 21 determines that a signal is transmitted to the downstream slave devices 40A to 40E in the communication mode with a small signal strength (S3: No), the process is completed.

一方、マスターデバイス20の制御部21は、信号強度大の通信モードで下流側のスレーブデバイス40A〜40Eに信号を送信していると判断した場合(S3:Yes)、マスターデバイス20の強度変更部25又はスレーブデバイス40A〜40Eの強度変更部45を制御して信号強度小の通信モードに変更させる(S4)。   On the other hand, if the control unit 21 of the master device 20 determines that a signal is being transmitted to the slave devices 40A to 40E on the downstream side in the communication mode with a large signal strength (S3: Yes), the strength changing unit 25 of the master device 20 or The intensity changing unit 45 of the slave devices 40A to 40E is controlled to change to a communication mode with a low signal intensity (S4).

すなわち、制御部21は、マスターデバイス20の送受信部22が下流側のスレーブデバイス40A〜40Eに送信する信号の強度(電圧)を図6(b)に示す信号強度大の通信モード(例えば、信号の電圧の最小値が−5V、最大値が5V)から、図6(a)に示す信号強度小の通信モード(例えば、信号の電圧の最小値が−2.5V、最大値が2.5V)に変更させる。   That is, the control unit 21 sets the strength (voltage) of the signal transmitted from the transmitting / receiving unit 22 of the master device 20 to the slave devices 40A to 40E on the downstream side in the communication mode (for example, the signal level) shown in FIG. From the minimum voltage value of −5V and the maximum value of 5V) to the communication mode with a small signal strength shown in FIG. 6A (for example, the minimum value of the signal voltage is −2.5V and the maximum value is 2.5V). To change.

さらに、制御部21は、信号線101の電圧をローレベルにすることで信号のオン、オフを判定する図6(b)に示す閾値を大の値(例えば、−4.5V、4.5V)から図6(a)に示す小の値(例えば、−2V、2V)に変更させる(S5)。   Further, the controller 21 determines whether the signal is on or off by setting the voltage of the signal line 101 to a low level. The threshold value shown in FIG. 6B is set to a large value (for example, −4.5 V, 4.5 V). ) To a small value (for example, −2V, 2V) shown in FIG. 6A (S5).

マスターデバイス20の制御部21は、応答時間が設定値を超えていると判断した場合(S1:Yes)、又は再送回数が設定値を超えていると判断した場合(S2:Yes)、送受信部22又は送受信部42から下流側のスレーブデバイス40A〜40Eに送信する信号を信号強度大の通信モードに変更させる(S6)。   When the control unit 21 of the master device 20 determines that the response time exceeds the set value (S1: Yes), or when it determines that the number of retransmissions exceeds the set value (S2: Yes), the transmission / reception unit 22 Alternatively, the signal transmitted from the transmission / reception unit 42 to the downstream slave devices 40A to 40E is changed to a communication mode with a high signal strength (S6).

すなわち、制御部21は、送受信部22又は42が下流側のスレーブデバイス40A〜40Eに送信する信号の強度(電圧)を図6(a)に示す信号強度小の通信モードから、図6(b)に示す信号強度大の通信モードに変更させる。   That is, the control unit 21 changes the strength (voltage) of the signal transmitted from the transmission / reception unit 22 or 42 to the slave devices 40A to 40E on the downstream side from the communication mode with small signal strength shown in FIG. ) To change to a communication mode with a large signal strength shown in FIG.

制御部21は、送信する信号を通信強度大の通信モードに変更した後(S6)、グランド線102の電圧をハイレベルにしてスレーブデバイス40A〜40Eの制御部41に信号強度大の通信モードを通知し、制御部41に信号のオン、オフを判定する閾値を小の値から大の値に変更させる(S7)。   After changing the signal to be transmitted to a communication mode with a high communication strength (S6), the control unit 21 sets the voltage of the ground line 102 to a high level and sets the communication mode with a high signal strength to the control unit 41 of the slave devices 40A to 40E. The control unit 41 changes the threshold for determining whether the signal is on or off from a small value to a large value (S7).

[第2の実施の形態]
図7は、本発明の第2の実施の形態に係る通信システムが適用された画像形成装置の概略の構成例を示すブロック図である。
[Second Embodiment]
FIG. 7 is a block diagram showing a schematic configuration example of an image forming apparatus to which the communication system according to the second embodiment of the present invention is applied.

第1の実施の形態では、マスターデバイス20のみがログ収集部24を有していたが、本実施の形態では、マスターデバイス20及びスレーブデバイス40A〜40Eがログ収集部24、44を有している点で第1の実施の形態と異なる。以下、第1の実施の形態と異なる点を中心に説明する。   In the first embodiment, only the master device 20 has the log collection unit 24. However, in this embodiment, the master device 20 and the slave devices 40A to 40E have the log collection units 24 and 44. This is different from the first embodiment. The following description will focus on differences from the first embodiment.

本実施の形態の画像形成装置1は、マスターデバイス20と、スレーブデバイス40A〜40Eとを有する。各スレーブデバイス40A〜40Eは、それぞれスレーブデバイス40A〜40E間の通信ログ、及びマスターデバイス20とスレーブデバイス40A〜40Eとの間の通信ログを収集するログ収集部44をそれぞれ有している。スレーブデバイス40A〜40Eのログ収集部44は、収集した通信ログを差動信号線100を介して記憶部30に記憶する。   The image forming apparatus 1 according to the present embodiment includes a master device 20 and slave devices 40A to 40E. Each of the slave devices 40A to 40E has a log collection unit 44 that collects a communication log between the slave devices 40A to 40E and a communication log between the master device 20 and the slave devices 40A to 40E, respectively. The log collection unit 44 of the slave devices 40 </ b> A to 40 </ b> E stores the collected communication log in the storage unit 30 via the differential signal line 100.

スレーブデバイス40A〜40Cの制御部41は、記憶部30に記憶された通信ログを参照し、下流側のスレーブデバイス40B〜40Eとの間の差動信号線100に通信異常が発生しているか否かを判断する。制御部41は、差動信号線100に通信異常が発生していると判断した場合、通信異常が発生している差動信号線100を介した通信モードを大の通信モードに変更する。なお、制御部41は、I/Oデバイス50A〜50Eとの間の差動信号線100に通信異常が発生しているか否かを判断してもよい。   The control unit 41 of the slave devices 40A to 40C refers to the communication log stored in the storage unit 30, and whether or not a communication abnormality has occurred in the differential signal line 100 between the slave devices 40B to 40E on the downstream side. Determine whether. When the control unit 41 determines that a communication abnormality has occurred in the differential signal line 100, the control unit 41 changes the communication mode via the differential signal line 100 in which the communication abnormality has occurred to a large communication mode. Note that the control unit 41 may determine whether a communication abnormality has occurred in the differential signal line 100 between the I / O devices 50A to 50E.

[第3の実施の形態]
図8は、本発明の第3の実施の形態に係る通信システムが適用された画像形成装置の概略の構成例を示すブロック図である。
[Third Embodiment]
FIG. 8 is a block diagram showing a schematic configuration example of an image forming apparatus to which the communication system according to the third embodiment of the present invention is applied.

第1の実施の形態では、マスターデバイス20とスレーブデバイス40Aとの間、及びスレーブデバイス40A〜40E間を接続する線路に信号線101を用いていたが、本実施の形態では、信号線101を有していない点で第1の実施の形態と異なる。以下、第1の実施の形態と異なる点を中心に説明する。   In the first embodiment, the signal line 101 is used as a line connecting the master device 20 and the slave device 40A and between the slave devices 40A to 40E. However, in the present embodiment, the signal line 101 is provided. This is different from the first embodiment in that this is not done. The following description will focus on differences from the first embodiment.

本実施の形態の画像形成装置1に電源が投入された場合、マスターデバイス20の制御部21は、スレーブデバイス40A〜40Eに信号を送信し、それぞれのスレーブデバイス40A〜40Eを識別する識別番号を設定する。この際、マスターデバイス20のログ収集部24は、マスターデバイス20及びスレーブデバイス40A〜40Eから通信ログを収集して記憶部30に記録する。   When the image forming apparatus 1 according to the present embodiment is turned on, the control unit 21 of the master device 20 transmits a signal to the slave devices 40A to 40E and sets identification numbers for identifying the slave devices 40A to 40E. To do. At this time, the log collection unit 24 of the master device 20 collects communication logs from the master device 20 and the slave devices 40A to 40E and records them in the storage unit 30.

マスターデバイス20の制御部21は、記憶部30に記録された通信ログに基づいて、応答時間が設定値を超えているか否か、又は再送回数が設定値を超えているか否かによって差動信号線100に通信異常が発生しているか否かを判断する。制御部21は、差動信号線100に通信異常が発生していると判断した場合、通信異常が発生している差動信号線100に信号を出力するマスターデバイス20又はスレーブデバイス40A〜40Cに信号強度を大の通信モードにする指令信号を送信する。   Based on the communication log recorded in the storage unit 30, the control unit 21 of the master device 20 determines the differential signal line depending on whether the response time exceeds the set value or whether the number of retransmissions exceeds the set value. It is determined whether a communication abnormality has occurred in 100. When it is determined that a communication abnormality has occurred in the differential signal line 100, the control unit 21 outputs a signal to the master device 20 or the slave devices 40A to 40C that output signals to the differential signal line 100 in which the communication abnormality has occurred. A command signal for setting the communication mode with a high strength is transmitted.

指令信号を受信したマスターデバイス20又はスレーブデバイス40A〜40Eは、強度変更部25、45を制御して通信モードを信号強度大の通信モードに変更する。また、通信モードを信号強度大の通信モードとする指令信号を受信したスレーブデバイス40A〜40Eは、受信した信号のオン、オフを判定する閾値を大の値にする。   The master device 20 or the slave devices 40A to 40E that have received the command signal control the strength changing units 25 and 45 to change the communication mode to a communication mode with a high signal strength. In addition, the slave devices 40A to 40E that have received a command signal for setting the communication mode to a communication mode with a high signal strength set a large threshold value for determining whether the received signal is on or off.

[変形例]
なお、本発明の実施の形態は、上記各実施の形態に限定されるものではなく、本発明の要旨を変更しない範囲内で種々に変形、実施が可能である。例えば、マスターデバイス20又はスレーブデバイス40A〜40Eの強度変更部25、45は、通信ログの再送回数又は応答時間に基づいて、3段以上の信号強度の変更を行ってもよい。
[Modification]
The embodiments of the present invention are not limited to the above-described embodiments, and various modifications and implementations are possible without departing from the scope of the present invention. For example, the strength changing units 25 and 45 of the master device 20 or the slave devices 40A to 40E may change the signal strength of three or more stages based on the number of communication log retransmissions or the response time.

また、マスターデバイス20又はスレーブデバイス40A〜40Eの強度変更部25、45は、通信ログの再送回数又は応答時間に基づいて、送信する信号の電流値を制御して、直線的に信号強度を変更してもよい。   Further, the intensity changing units 25 and 45 of the master device 20 or the slave devices 40A to 40E change the signal intensity linearly by controlling the current value of the signal to be transmitted based on the number of retransmissions of the communication log or the response time. May be.

また、マスターデバイス20と、スレーブデバイス40A〜40Eとの間の信号線は、差動信号線に限定されず、シングルエンド伝送によって信号を送受信するものであってもよい。また、上流方向の通信と下流方向の通信とに共通の信号線を用いてもよい。   Further, the signal line between the master device 20 and the slave devices 40A to 40E is not limited to the differential signal line, and may transmit and receive signals by single-ended transmission. A common signal line may be used for upstream communication and downstream communication.

また、マスターデバイス20及びスレーブデバイス40A〜40Eは、差動信号線100に混入したノイズを検出し、ノイズを検出した場合に通信モードを信号強度大の通信モードに変更する構成としてもよい。   In addition, the master device 20 and the slave devices 40A to 40E may be configured to detect noise mixed in the differential signal line 100 and change the communication mode to a communication mode with high signal strength when noise is detected.

また、スレーブデバイス40A〜40Eは、差動信号線100のいずれかに通信異常が発生していると判断された場合、上流側のマスターデバイス20又はスレーブデバイス40A〜40Cに送信する信号を信号強度大の通信モードに変更してもよい。   Further, when the slave devices 40A to 40E determine that a communication abnormality has occurred in any of the differential signal lines 100, the signals transmitted to the upstream master device 20 or the slave devices 40A to 40C have high signal strength. The communication mode may be changed.

また、差動信号線100のいずれかに通信異常が発生していると判断された場合、全てのマスターデバイス20、及びスレーブデバイス40A〜Eの間で送受信される信号を通信強度大の通信モードに変更してもよい。   When it is determined that a communication error has occurred in any of the differential signal lines 100, signals transmitted and received between all the master devices 20 and the slave devices 40A to 40E are set to a communication mode with a high communication strength. It may be changed.

また、例えば本発明の要旨を変更しない範囲内で、上記実施の形態の構成要素の一部を省くことが可能であり、上記実施の形態のフローにおいて、ステップの追加、削除、変更、入替え等が可能である。   In addition, for example, it is possible to omit some of the constituent elements of the above-described embodiment within a range not changing the gist of the present invention, and in the flow of the above-mentioned embodiment, addition, deletion, change, replacement, etc. of steps Is possible.

1…画像形成装置、10…CPU、20…マスターデバイス、21…制御部、22、22A…送受信部、23…ログ生成部、24…ログ収集部、25…強度変更部、30…記憶部、40A〜40E…スレーブデバイス、41…制御部、42、42A…送受信部、43…ログ生成部、43…ログ収集部、45…強度変更部、50A〜50E…I/Oデバイス50、100…差動信号線、101…信号線、102…グランド線、103…シールド、200…ケーブル、221…差動増幅器、231…カウンタ、232…タイマ、252…第1の経路、252a、252b…信号線、253…第2の経路、253a、253b…信号線、254a〜254d…スイッチ、255…分流回路、432…タイマ、441…カウンタ、a1〜d1…接点、a2〜d2…接点、Log1、Log2…通信ログ、R1、R2…抵抗
DESCRIPTION OF SYMBOLS 1 ... Image forming apparatus, 10 ... CPU, 20 ... Master device, 21 ... Control part, 22, 22A ... Transmission / reception part, 23 ... Log generation part, 24 ... Log collection part, 25 ... Strength change part, 30 ... Storage part, 40A ˜40E, slave device, 41, control unit, 42, 42A, transmission / reception unit, 43, log generation unit, 43, log collection unit, 45, intensity changing unit, 50A-50E, I / O device 50, 100, differential Signal line 101 ... Signal line 102 ... Ground line 103 ... Shield 200 ... Cable 221 ... Differential amplifier 231 ... Counter 232 ... Timer 252 ... First path 252a, 252b ... Signal line 253 2nd path, 253a, 253b ... signal line, 254a-254d ... switch, 255 ... shunt circuit, 432 ... timer, 441 ... counter, a1-d1 ... contact, 2~d2 ... contact, Log1, Log2 ... communication log, R1, R2 ... resistance

Claims (6)

上流側から送信された信号を下流側に送信するマスターデバイスと、
前記マスターデバイスの下流側に接続され、前記信号を下流側に送信するスレーブデバイスとを備え、
前記マスターデバイスは、前記スレーブデバイスとの間の通信状態を示す通信情報を記憶部に記録する記録手段と、
前記記憶部に記録された前記通信情報に基づいて、前記マスターデバイスが前記スレーブデバイスに送信する前記信号の強度を変更する強度変更手段とを有する、通信システム。
A master device that transmits a signal transmitted from the upstream side to the downstream side;
A slave device connected downstream of the master device and transmitting the signal downstream;
The master device has a recording unit that records communication information indicating a communication state with the slave device in a storage unit;
A communication system, comprising: strength changing means for changing the strength of the signal transmitted from the master device to the slave device based on the communication information recorded in the storage unit.
上流側から送信された信号を下流側に送信するマスターデバイスと、
前記マスターデバイスの下流側に直列又は並列に接続され、前記信号を下流側に送信する複数のスレーブデバイスとを備え、
前記マスターデバイスは、前記スレーブデバイスとの間の通信状態を示す通信情報を記憶部に記録する記録手段と、
前記記憶部に記録された前記通信情報に基づいて、前記マスターデバイスが前記スレーブデバイスに送信する前記信号の強度を変更する第1の強度変更手段とを備え、
最も下流側に接続された前記スレーブデバイスを除く前記スレーブデバイスは、前記記憶部に記録された前記通信情報に基づいて、前記マスターデバイスが下流側に接続された前記スレーブデバイスに送信する前記信号の強度を変更する第2の強度変更手段をそれぞれ有する、
通信システム。
A master device that transmits a signal transmitted from the upstream side to the downstream side;
A plurality of slave devices connected in series or in parallel to the downstream side of the master device and transmitting the signal downstream;
The master device has a recording unit that records communication information indicating a communication state with the slave device in a storage unit;
First intensity changing means for changing the intensity of the signal transmitted from the master device to the slave device based on the communication information recorded in the storage unit;
The slave devices excluding the slave device connected to the most downstream side, based on the communication information recorded in the storage unit, the strength of the signal transmitted by the master device to the slave device connected to the downstream side Each having second strength changing means for changing
Communications system.
前記強度変更手段は、前記信号の強度を変更する際に、前記マスターデバイス又は前記スレーブデバイスが前記信号のオン、オフを判定するための閾値を変更する、
請求項1又は2に記載の通信システム。
The strength changing means changes a threshold for the master device or the slave device to determine whether the signal is on or off when changing the strength of the signal.
The communication system according to claim 1 or 2.
前記マスターデバイスの前記記録手段は、前記通信情報を参照可能な状態で前記記憶部に記録する、請求項1から3のいずれか1項に記載の通信システム。   The communication system according to any one of claims 1 to 3, wherein the recording unit of the master device records the communication information in the storage unit in a state where the communication information can be referred to. 前記マスターデバイスと、前記スレーブデバイスとの間及び前記複数のスレーブデバイス間を接続するケーブルに非遮蔽型ケーブルを用いた、
請求項1から4のいずれか1項に記載の通信システム。
Using a non-shielded cable as a cable connecting between the master device and the slave device and between the plurality of slave devices,
The communication system according to any one of claims 1 to 4.
請求項1から5のいずれか1項に記載の通信システムと、
前記マスターデバイスの前記上流側に接続された、前記信号を前記マスターデバイスに送信する制御部と、
前記スレーブデバイスの下流側に接続し、前記スレーブデバイスから送信された信号に基づいて処理を実行する実行部と、
を備えた画像形成装置。
A communication system according to any one of claims 1 to 5;
A controller connected to the upstream side of the master device and transmitting the signal to the master device;
An execution unit connected to the downstream side of the slave device and executing processing based on a signal transmitted from the slave device;
An image forming apparatus.
JP2015008031A 2015-01-19 2015-01-19 Communication system and image forming apparatus Pending JP2016133972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015008031A JP2016133972A (en) 2015-01-19 2015-01-19 Communication system and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015008031A JP2016133972A (en) 2015-01-19 2015-01-19 Communication system and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2016133972A true JP2016133972A (en) 2016-07-25

Family

ID=56438102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015008031A Pending JP2016133972A (en) 2015-01-19 2015-01-19 Communication system and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2016133972A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003092606A (en) * 2001-09-17 2003-03-28 Fujitsu Ten Ltd Electronic signal communication method and system
JP2005332316A (en) * 2004-05-21 2005-12-02 Ricoh Co Ltd Data distribution device, data transfer device and image processing device
WO2006100754A1 (en) * 2005-03-22 2006-09-28 Fujitsu Limited Information transmitting apparatus and information transmitting method
JP2007053648A (en) * 2005-08-19 2007-03-01 Fujitsu Ltd Device having communication function, and method, system, and program for automatic adjustment of transmitter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003092606A (en) * 2001-09-17 2003-03-28 Fujitsu Ten Ltd Electronic signal communication method and system
JP2005332316A (en) * 2004-05-21 2005-12-02 Ricoh Co Ltd Data distribution device, data transfer device and image processing device
WO2006100754A1 (en) * 2005-03-22 2006-09-28 Fujitsu Limited Information transmitting apparatus and information transmitting method
JP2007053648A (en) * 2005-08-19 2007-03-01 Fujitsu Ltd Device having communication function, and method, system, and program for automatic adjustment of transmitter

Similar Documents

Publication Publication Date Title
US10447493B2 (en) MAC and physical layer techniques for enabling communications on shared physical medium with multi-drop capability
EP1762062B1 (en) Latency controlled redundant routing
JP5811140B2 (en) Communications system
JP2012199724A (en) Data transmitter, data receiver, data transmitter/receiver and control method of data transmitter/receiver
US20180331852A1 (en) Communication network for transmission of messages
JP2012085149A (en) Communication apparatus, communication system and program
WO2012169456A1 (en) Vehicle control device, vehicle control system
US20160173295A1 (en) device and measuring method for ascertaining the internal delay time of a can bus connection unit
US9154285B2 (en) Communications apparatus, system and method with error mitigation
US20210058495A1 (en) Communication device, communication system, and protocol switchover method
US10789115B2 (en) Transmitter that does not resend a packet despite receipt of a message to resend the packet
JP2016133972A (en) Communication system and image forming apparatus
EP2680502A1 (en) Network based on data transmission with time slots
JP6299768B2 (en) Information processing system, information processing apparatus, and data communication method
JPWO2013014793A1 (en) Communication device
JP2006525720A (en) Error detection and suppression in TDMA-based network nodes
JP2007116263A (en) Electronic apparatus and data communication control method
US10574514B2 (en) Duplex control device and duplex system
JP2006262386A (en) Control system
KR101712370B1 (en) Ethernet device and system for supporting error packet analysis
JP2013162270A (en) Pulse counting device
JP5182417B2 (en) Transmission data error checking device and method
CN109032851B (en) Link fault determination method and device
KR20230087111A (en) Apparatus and method for identifying errors of controller for vehicle
US20220021555A1 (en) Decentralised communication system and corresponding control method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150303

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180814

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180919

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20180919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190424

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190903